Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
Cameron Dawson 45bb58dcd5
Bug 1649822 - Rework Push Health Test Failure Layout (#6588) 2020-07-07 20:30:39 -07:00
Cameron Dawson 8314626c46
Bug 1647451 - Follow-up improvements to Push Health details panel (#6566) 2020-07-06 10:40:13 -07:00
renovate[bot] d6ba99312c
Update dependency prettier to v2 (#6323)
* Update dependency prettier to v2
* Automatic prettier fixes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Armen Zambrano G <armenzg@mozilla.com>
2020-04-30 15:40:38 -04:00
Sarah Clements 2937baff39
Bug 1620160 - Relax login requirements for UI features (#6350)
Since taskcluster requires credentials for actions - which we
retrieve via their third party login - many of the isLoggedIn for users
can be relaxed.

* Changes made to Push Health and the jobs-view - PushAction, CustomJobActions, ActionBar, PushHeader.
2020-04-24 16:11:01 -07:00
Bola Ahmed Buari 1fb930b3e6
Bug 1513597 - Enable and fix ESLint react/forbid-prop-types rules (#6308)
Co-authored-by: Tom Prince <mozilla@hocat.ca>
2020-04-23 12:19:25 -07:00
Cameron Dawson ec0e79a8ba
Bug 1625998 - Filter failed builds/linting for parent push (#6243) 2020-04-03 16:04:31 -07:00
Cameron Dawson a72958354f
Bug 1602968 - Push Health better tab title and tmp favicon (#6195) 2020-03-27 18:10:04 -07:00
Cameron Dawson 0e50ba014a
Bug 1612224 - Compare current Health push to its parent (#6165) 2020-03-26 16:59:38 -07:00
Cameron Dawson bda34885b1
Bug 1623165 - Push Health Perf and Commit History UI cleanup (#6156) 2020-03-18 12:28:36 -07:00
Cameron Dawson d0e8dc9839
Bug 1620667 - Refactor currentRepo property and CommitHistory layout (#6114) 2020-03-09 16:32:03 -07:00
Cameron Dawson 62cfe2c8c4
Bug 1616311 - Add ability to copy test group name to clipboard (#6103)
* Bug 1616311 - Fix when a key starts with a numeral

We use this as an `id` or query selector at times.  So it must
start with a character.

* Bug 1616311 - Pass the correct revision to CommitHistory

We were passing the revision of the parent, not the current revision
for which we are showing the RevisionList

* Bug 1616311 - Add ability to copy test group name to clipboard
2020-03-04 16:18:24 -08:00
Cameron Dawson bfdd99d9b9 Bug 1618751 - Push Health show trunk parent and commits 2020-03-04 14:48:24 -08:00
Cameron Dawson c7d873eda8
Bug 1617734 - Push health ui a11y improvements (#6059)
* CSS Cleanup
* Use darker-info and darker-secondary for a11y
* Put Parent Push metric at end of list and clean it up
* Add a `scrollToLine` when clicking/expanding metric names
2020-02-27 10:01:46 -08:00
Cameron Dawson ac5d8367a9
Bug 1612223 - Group Push Health crash signatures (#5985) 2020-02-12 16:47:20 -08:00
Cameron Dawson 19cddb7b1d
Bug 1612224 - Give access to parent of Push Health commit (#5902) 2020-02-07 14:40:56 -08:00
Cameron Dawson b5f8e971ac Bug 1610242 - Fix push-health navbars 2020-01-28 12:46:19 -08:00
Cameron Dawson 1da752bead Bug 1610705 - Add filtering by Test path, platform and config 2020-01-23 14:43:55 -08:00
Cameron Dawson f29e0c0ad7 Bug 1608260 - Minor tweak fixup for Push Health UI status bar 2020-01-13 13:13:09 -08:00
Cameron Dawson 6a5271d76f Bug 1608260 - Reduce noise in Push Health UI and add concise status 2020-01-13 09:39:37 -08:00
Cameron Dawson 9c235566a1
Bug 1604324 - Push Health show failed performance tasks (#5761) 2019-12-19 16:38:39 -08:00
Cameron Dawson 3ba10ee22d
Bug 1600626 - Add progress status to Push Health (#5755) 2019-12-16 13:36:58 -08:00
Cameron Dawson 61f6a05442
Bug 1561684 - Add Build results to Push Health (#5665) 2019-11-22 11:08:27 -08:00
Cameron Dawson 8e55c4584c
Bug 1561683 - Add linting results to Push Health (#5662) 2019-11-22 10:34:57 -08:00
Cameron Dawson eeed1d759f
Bug 1597835 - Refactor Push Health to ease adding new metric support (#5661)
The push_health.py file is now 'tests.py' where we will add 'linting.py', etc.
Changed a couple function names to make them a little more explicit.

* Change the 'metrics' field in the result to an object instead of
an array.  This way the UI can ask for each metric more easily.
It'd rather have the UI decide what order to display the metrics
than the API.

This also makes the 'Metric.jsx' component simpler and just control
expand / collapse and display of basic pass / fail.
2019-11-22 10:19:04 -08:00
Cameron Dawson 7f72192565
Bug 1574651 - add tc_root_url to each repository (#5405)
* Bug 1574651 - add tc_root_url to each repository

* Fix issues introduced since initial creation of this feature
* Fix unit tests
* Fix retriggers in Compare Chooser of Perfherder
2019-09-30 16:18:07 -07:00
Cameron Dawson 0ddd5a80e1
Bug 1510280 - Convert Notifications to Redux (#5030)
This introduces Redux back into Treeherder.  While redux is often considered
unnecessary for simple apps in favor of Context, Treeherder is not simple.

Using Redux here allows us to abstract out certain functionality into
libraries that can be self-contained.  And it does a better job of managing
the functions needed to modify the state in these areas.  This is the first
context I am converting and will likely have minimal (if any) noticeable
performance gain.  But converting SelectedJob and Pusehs should end up having
a larger impact.
2019-06-06 14:39:50 -07:00
Cameron Dawson fcfd45a899
Fix minor Push Health layout (#4949) 2019-05-08 15:04:07 -07:00
Cameron Dawson f396e03f36
Bug 1521157 - Enable retriggering jobs in Push Health (#4862)
* Stop using model_to_dict

I had to switch away from using ``model_to_dict`` to convert the jobs to be ``JSON`` serializable because that function will strip away the ``_id`` from fields like ``job_type``.  This was fine in the Push Health UI itself, but when I started using the shared code of retriggering, then the ``job`` objects didn't have matching fields with what was in Treeherder.

* Add notifications to Push Health

We need the notifications system for retriggers.

* Enable retriggering jobs in Push Health

This required passing the ``user`` down to ``TestFailure``
2019-04-05 16:51:45 -07:00
Sarah Clements 7245a93d32
Bug 1527824 - refactor and replace usage of PushModel.getList (#4713)
update usage in SelectorCard and in other components
2019-02-27 10:26:50 -08:00
Cameron Dawson 5352266b49
Bug 1521157 - Create /push/health API for Push Health view (#4520)
This API returns fake/canned data in the format that the Push Health
view expects.
2019-02-01 09:58:20 -08:00
Cameron Dawson 83655506e8
Bug 1521157 - Update dataset for unit tests (#4502) 2019-01-29 10:43:39 -08:00
Cameron Dawson d2e83bdb90
Bug 1521157 - Create a prototype for the Push Health View (#4475) 2019-01-24 08:15:46 -08:00