219 Commits

Author SHA1 Message Date
Boris Yakobowski
300ea2316f Clarify error message
The current report does not allow navigation when there are
no messages, and it's not worth resurrecting this functionality.
Document the behavior instead.

Change-Id: I8288b536dfe1482aaf3fc40f9a992d46bbecae4b
TN: V316-059
2022-08-25 19:17:27 +02:00
Matthieu Eyraud
28f11c3b28 Transition WebUI to Angular 13
This commit transition the application to Angular 13, and refactors the
build process to use the Angular CLI instead of hacking a webpack config.

It also removes a lot of things: junk code, or features that are no longer
needed, like the following:

    * The Codepeer history view of the various runs is removed

    * The refresh review / add review buttons with their associated dialog
      are removed

Change-Id: I8adb19aa2ec8303aa23bd38a916fac35947ee69a
Depends-On: Ie50b0def8c0c2485f890eb46317b53b62b4382dd
TN: V316-059
2022-08-24 17:02:53 +00:00
David Assamoi
fc33d738f2 Fix performance issue visible when numerous messages are loaded
Convert messages list to a dict
Use onPush detection changes in angular to avoid listening to
all single event (in particular keyup ones) when entering a review.
Adjust main page settings with regards to change detection mechanism

Part of T515-011

Change-Id: I5cb13d35d7069e4588397155288e670e2bc823f9
2020-09-07 17:52:23 +02:00
Boris Yakobowski
4f6295f6ca T515-004 fix typo in the spelling of INTENTIONAL
Change-Id: I5b1cce2e4e0fc7c39f26b9e220db7681b4ce99f3
2020-05-18 11:26:21 +02:00
Lespinasse
ba0c83abf4 WebUI: modify testsuite to fit with GAIA
Change-Id: Ia48afa35db4809d229b7c6a0511c4e5f0591e80b
For: S923-005
2020-04-30 15:59:49 +02:00
Lespinasse
7f1d02df0f Webui: Race condition
- Change the way race_condtions.xml nin-existence is handled

Change-Id: I89df88578b19e448f9266f50b6e52faf834dd64b
For: T323-017
2020-04-29 17:20:00 +02:00
Lespinasse
68085babf4 Webui: Bug at loading
- There was a bug when a particular timing in
		the loading of the sources occur.

Change-Id: Ib63a22b33bd819a2567bf0823b110182c653baf1
For: SC20-020
2020-04-28 20:15:26 +02:00
Lespinasse
d3e7e12f62 Webui : Race condition - Add new function for particular case
Change-Id: I74e4887ac873a5b6520dbf13a261f753a1a4c4eb
For: T323-017
2020-04-28 20:14:52 +02:00
Lespinasse
c97bb1e039 Webui: review testsuite
- Add a case to race-condition test

Change-Id: I70a5909a73758406708e083ad5c31e6c90627390
For: S923-005
2020-04-28 20:14:52 +02:00
Lespinasse
aa677beb56 Webui : Work on race condition
- Add lock name to race object
	- Change few design
	- Add the selected state to race object

Change-Id: If6abac416e963aae00353ae0a1d15ee7c4ec0270
For: T323-017
2020-04-27 16:54:29 +02:00
Lespinasse
033e977909 Webui: Review testsuites
- Add test for race condition
	- Add test for user review
	- Check name of test for GAIA sanity

TODO:
	- FInish test for codepeer run info

Change-Id: I362826b58b81c68eb628ae0c3dec6fe6ba924018
For: S923-005
2020-04-27 16:49:35 +02:00
Boris Yakobowski
7a441e1284 Update error message after switch to flask
no-tn-check

Change-Id: I18b80931b3249df22add5f97ed89aadda3e939eb
2020-04-20 17:32:52 +02:00
Lespinasse
f6d76869f0 WebUI: View for race condition
- Race conditon are now gloabal and not per file
	- Design reviewed

Change-Id: I799e6d99bb532ad3d562e59dc13ab90b2369df80
For: T323-017
2020-04-16 12:07:21 +02:00
Lespinasse
37a7beeeba WebUI : recent regressions
- Trouble about loading the run info of codepeer,
		depending of the loading time
	- Changed the call to get run info to fix it.

Change-Id: I39c486d48dfa029f6e9c42be96d4417bac007638
For: T402-008
2020-04-10 14:34:59 +02:00
Lespinasse
bcbf8cb6a4 Webui : cache error with chrome
- Change the get function for annotated source

Change-Id: Icf0eeed472d7b634d0eb53003fc4bea2e3adf45a
For: T316-036
2020-04-03 16:00:00 +02:00
Lespinasse
2b79b715cf WebUI: Hide annotations toggle
- Created a togle to show/hide annoations
	- Show toggle only if ther are annotations

For: T316-035

Change-Id: I88637d67779392d62ba882f58d32d35f71915b05
2020-03-26 13:44:39 +01:00
Lespinasse
d596f25b5b Webui : Add race condition for Codepeer
- Get race condition file
	- Parse race condition file
	- Create new in annotated source tab to show race condition
	- Add sorting to race condition
	- Add scrolling to race condition

Change-Id: Ic81417cb707c1301199700bf979a18a8149864c0
For: T323-017
2020-03-25 14:30:45 +01:00
Jeanne Lespinasse
3212e6daaf Revert "Webui & GnatCoverage integration"
This reverts commit 0686d4e6a1.

Change-Id: I642cb21e062f1974bf84102a58470e149debf26a
2020-03-10 16:56:52 +01:00
Lespinasse
0686d4e6a1 Webui & GnatCoverage integration
- Fix errors when not running codepeer
	- Change default ranking for GNatcoverage
	- Add coverage status to GNATcoverage message
	- Change line background to show coverage status
	- Add coverage per file in message/project view
	- Add coverage per folder in project view
	- Add coverage per project in project view

Change-Id: I166c578dec20ec61dd88026f6fe0b641341f85ec
For: SB20-012
2020-03-05 17:13:27 +01:00
Lespinasse
da74bdd111 WebUI: Filter tiles activation
Change-Id: Ia3e781d664dcff8f45675524ca3312fa27c02aeb
For: T302-005
2020-03-02 11:24:35 +01:00
Lespinasse
555cf1f0ec WebUI & GNATcoverage integration
- Interface is working with .xcov+ output

TODO:
	- Change to xml output to get more information

Change-Id: Ibcc663f7ae0ef51d544a095662b72d27a2d58a81
For: SB20-012
2020-02-20 15:02:43 +01:00
Lespinasse
62cf6129bf WebUI: Patch for custom review sorting
- Changed min priority to 1, cause 0 is for Uncategorized

Change-Id: I1116d2ab07e3d5576c616c70f4f2a4c5aad67497
For: S911-034
2020-01-28 13:22:36 +01:00
Lespinasse
cc55e722bd WebUI: Deactivate custom status of NOT_A_BUG kind
Change-Id: Ib14dbf5d073deec1087b0c5cdb70a7999aa1cf55
For: T124-004
2020-01-27 12:46:51 +01:00
Lespinasse
f34bd5e4a5 WebUI: No sorting after changing review status
- Add reviewStatusSorting after creating review

Change-Id: I3426e6c37b492b2fdc0fdcb03e285fa341b70449
For: S911-034
2020-01-24 17:30:04 +01:00
Lespinasse
747e1bcd66 WebUI: Reviews not taken into account
- Change button name

Change-Id: I0c95d5a210f5fe519657386a8117a02b3ccd2fc4
For: T103-016
2020-01-22 18:09:47 +01:00