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

813 Коммитов

Автор SHA1 Сообщение Дата
Cameron Dawson 49368ca7ff
Bug 1450024 - Convert Notifications to ReactJS (#4132) 2018-10-12 17:16:20 -07:00
Guilherme Bayer 3a42016453 Bug 1450026 - Convert Userguide to ReactJS (#3902) 2018-10-08 16:15:18 -07:00
ionutgoldan a0c1b607de Bug 1468172 - Introduce nudge functionality for perf alerts (#3671) 2018-08-28 22:27:15 +01:00
Cameron Dawson d0ba251c66
Bug 1450025 - Convert TaskCluster Job Actions to ReactJS (#3891)
* Convert Custom Job Actions Dialog to ReactJS
* Convert associated services to helper and model
2018-08-10 13:33:20 -07:00
Cameron Dawson ed2e800d90
Bug 1465987 - Convert the BugFiler to ReactJS (#3878) 2018-08-06 10:54:00 -07:00
Cameron Dawson f3641ab27c
Bug 1479973 - Fix issues with login and using custom actions (#3866) 2018-08-01 13:46:27 -07:00
Cameron Dawson 28460c5b10
Bug 1450030 - Convert primary nav bar to ReactJS (#3832)
* Prevent flicker when switching from Perfherder to Treeherder
   The page would reload an extra time while the route gets changed. 
   This way, we set it to the default route directly.
* Cleanup displayed message when an invalid "repo" param is set
* Improve the logic in _checkFieldFilters
* Have Perfherder use React login
2018-07-27 10:39:22 -07:00
Cameron Dawson bc4e8a7b14
Bug 1450032 - Convert bottom (secondary) nav bar to ReactJS (#3779)
Also convert term resultState back to resultStatus

I had wanted to migrate to using "resultState" instead, as it
seemed more descriptive of what it is.  But the filter params
are using "resultStatus" and it would not be worth
the effort to migrate.  It doesn't really matter, but I want to be
consistent to remove confusion, so moving these terms back
to "resultStatus"-ish names.
2018-07-13 16:04:51 -07:00
Cameron Dawson 8409206291
Bug 1472047 - Convert the Treeherder Update bar to ReactJS (#3737)
* Bug 1472047 - Convert the Treeherder Update bar to ReactJS
2018-06-29 13:19:13 -07:00
Rok Garbas c7aa8eed3a Bug 1471541 - Remove links to the deprecated clobberer service (#3734) 2018-06-29 16:14:21 +01:00
Cameron Dawson b7d5fa77b0
Bug 1469917 - Convert the Active Filters bar to React (#3690) 2018-06-28 09:23:26 -07:00
ionutgoldan d96936ccb9 Bug 1463699 - Make perf alert API handle users with multiple accounts (#3638)
Previously users who had multiple accounts with the same email address
(but different login methods) would receive exceptions when trying to
create/edit performance alerts. Now the unique `username` field is used
from the Django User model, instead of the non-unique `email`.
2018-06-21 18:24:47 +01:00
Cameron Dawson 15721f009c
Bug 1450022 - Convert the rest of Details Panel to ReactJS (#3621) 2018-06-13 15:40:38 -07:00
ionutgoldan df5cb3fcf4 Bug 1461351 - Fix dropdown glitch in perf alerts dropdown (#3559) 2018-05-30 12:26:47 +01:00
William Lachance 0ff475768c
Fix hiding series in perfherder graphs view (#3577)
Apparently angular wasn't so happy about the event being bound to
"ng-click", but "ng-change" (which is what's recommended by the
angular documentation) works fine.
2018-05-24 10:51:42 -04:00
ionutgoldan 38c2f35589 Bug 1443772 - Refactor *.js hard coded issue_tracker ids (#3554) 2018-05-17 10:01:45 -04:00
ionutgoldan e3c9c9ed99 Bug 1451657 - Integrate confirming state into current logic flow (#3547) 2018-05-14 16:35:16 +01:00
Hassan Ali 85766e2787
Bug 1415868 - Use hooks for actions (#3502)
* Add hooks for actions

* Remove task from context for kind == hook

Also display hookGroupId/hookId for kind=hook
in the modal.

* Move taskcluster-lib-scopes to the vendor chunk
2018-05-09 15:03:23 -04:00
ionutgoldan 9a47ad307c Bug 1451661 - Highlight significant alerts from alert summary (#3469) 2018-05-09 15:42:01 +01:00
Cameron Dawson 5d23735359
Bug 1446427 - Convert Autoclassify panel to ReactJS (#3414) 2018-04-24 12:39:06 -07:00
Jonathan French 081dbe63b1 Bug 1405666 - Enable mousetrap shortcuts inside checkboxes (#3448) 2018-04-16 16:06:02 -07:00
Jonathan French e8c2ac2e63 Bug 1454075 - Clean up login button and remove dead class (#3445) 2018-04-13 15:15:48 -07:00
Cameron Dawson 6fc039e58b
Bug 1352862 - Restore the 'i' keyboard shortcut to toggle in-progress jobs (#3430)
* Alphabetize keyboard shortcuts to help avoid introducing conflicts
* Also make a few autoclassify shortcuts use ctrl to reduce confusion
* Enable multi-select on a mac in the autoclassify panel
2018-04-10 15:35:43 -07:00
Ed Morley e694ba0533
Bug 1451457 - Removed unused partials (#3398)
The `login.html` partial is a leftover from the switch to Auth0 in
bug 1395356, and `errorActions.html` appears to have never been used
since it landed in 8e56de8 (bug 1321798).
2018-04-05 18:32:25 +01:00
Ed Morley 163a94a2f6
Bug 1451428 - Remove unused settings panel (#3395)
Since it's hidden and has never been used.

The `thSettingsPanel.html` partial is a leftover from when this
feature was first added in 3e625f3 / 6b0c56e.
2018-04-04 20:34:26 +01:00
William Lachance fa8cff0d7f
Bug 1451053 - Add information on whether higher or lower is better to graph tooltip (#3388) 2018-04-04 08:28:03 -04:00
ionutgoldan aa40c6a7e4 Bug 1376829 - Add notes to alert summaries (#3345) 2018-04-03 09:15:27 -04:00
Sarah Clements 30df0aae6c Bug 1367362 - Add an intermittent failures view (#3296)
Adds a new view to display intermittent test failure occurrences,
to replace the functionality currently provided by the legacy
OrangeFactor tool.

Includes the new API endpoints originally reviewed in #3271.
2018-03-13 13:52:17 +00:00
Tom Ritter 3a9ecff51b Add a checkbox to hide result lines without one run for each side (#3303) 2018-03-07 13:28:11 -05:00
Ed Morley bd870cf8ce
Bug 1441493 - Use rel="noopener" for all target != null links (#3275)
This helps prevent:
https://www.owasp.org/index.php/Reverse_Tabnabbing

We're not also using `noreferrer`, since most browsers now support
`noopener` (https://caniuse.com/#search=noopener) and the link targets
are all Mozilla properties where the referrer may be useful.

The auth.js `window.open()` has not been changed, since the login
callback makes use of `window.opener`.
2018-02-27 19:17:42 +00:00
Ed Morley 32f303199d
Bug 1441164 - Remove unused AngularJS code (#3267)
Found with the help of `list-angular-usages.sh`.
2018-02-26 21:10:11 +00:00
Cameron Dawson 324a37bf10 Bug 1440057 - Remove reference to repoName in ThResultSetStore functions 2018-02-23 17:18:56 -08:00
ionutgoldan 0badc9ec5f Bug 1428032 - Allow linking Perfherder alerts to Servo GitHub PRs (#3211) 2018-02-21 15:03:20 +00:00
Cameron Dawson f984acf9a8
Bug 1434677 - Convert rendering list of pushes from angular to ReactJS (#3206)
This adds some new components and removes the AngularJS ng-repeat for
pushes.  In the course of this work, some of the AngularJS providers were
converted to helper functions.

In a couple cases, I had to add new code to the AngularJS areas so that it
would continue to interact well between Angular and React.

Also:
* Rename some functions and CSS classes from resultset to push
* Add unlistening for events during unmount of components
2018-02-20 10:31:11 -08:00
Cameron Dawson f40f3faae7 Bug 1242905 - Replace rendering of pushes and jobs with ReactJS
This replaces the logic that was in clonejobs.js that formerly
handled rendering the pushes, platforms and jobs and converts it to
ReactJS.  The ReactJS code is hosted as a directive in AngularJS
using ngReact reactDirective.

This also removes the feature where you can hide revisions because
it was believed to not be used and added unnecessary complications
to the code.

Co-authored-by: Casey Williams cwillia5@gmail.com
2018-02-13 16:19:14 -08:00
Jonathan French 92a60fb6a4 Bug 1371843 - Expose Clear all when the pinboard is dirty 2018-02-12 09:27:20 -08:00
Jonathan French a8e7a12954 Bug 1434456 - Remove scrollbar from shortcut table in userguide 2018-02-12 09:11:31 -08:00
Ed Morley 8e4c7db6c5
Revert "Bug 1401518 - Make Add new jobs menu require a decision task" (#3186)
This reverts commit d41c318173.
2018-02-01 20:50:46 +00:00
Jonathan French d41c318173 Bug 1401518 - Make Add new jobs menu require a decision task 2018-01-30 14:30:08 -08:00
ionutgoldan 2eef134966 Bug 1428792 - Remove unused dashboards from Perfherder (#3167) 2018-01-30 09:54:12 -05:00
Ed Morley 49339088f6 Bug 1364894 - Load HTML with html-loader not raw-loader
Neutrino 4 configures `file-loader` as the loader for HTML (rather than
the more usual `html-loader`), which means the HTML is not parsed to
look for further dependencies such as `<img src="...">` tags. Our
custom Neutrino config overrode that to `raw-loader` (presumably to
work around bugs caused by the use of `file-loader`), which doesn't
parse HTML either.

Instead, these assets were being manually copied to `dist/img/` by
`neutrino-custom/production.js`'s `CopyPlugin` rule, effectively
circumventing the webpack build process.

Newer Neutrino correctly uses `html-loader`, causing our HTML to be
parsed during the webpack build for the first time. However now that
the images are being resolved at build time rather than runtime, the
relative paths need to be updated to account for the directory layout
differences between `src/` and `dist/`, to prevent build errors.

A significant benefit of this change is that images referenced from
HTML will now be output with hashed filenames, meaning they get given
long-lived `Cache-Control` headers by WhiteNoise.

See:
https://webpack.js.org/loaders/file-loader/
https://webpack.js.org/loaders/raw-loader/
https://webpack.js.org/loaders/html-loader/
2018-01-24 23:43:58 +00:00
Kartikaya Gupta 6a10bdf674 Bug 1430171 - Allow scrolling the shortcut table when viewing on smaller screens 2018-01-16 17:07:26 -08:00
Sebastian Hengst e6017f74c9 Bug 1428088 - Make 'fixed by commit' autofill of revision work on Chrome (#3102) 2018-01-07 21:58:58 +00:00
Cameron Dawson cb8ae4fba0
Bug 1409679 - On-demand bug suggestion fetch in test-view (#3104) 2018-01-05 11:29:06 -08:00
Tom Prince 186c93bb12 Bug 1409679 - Temporarily comment out link to test-based view (#3080)
Since the GraphQL API is disabled due to performance impact on other
web requests, which means the test based view isn't able to load.
2017-12-31 16:06:46 +00:00
Sarah Clements 4b9cb14ad9 Bug 1424091 - convert annotations panel to a react component 2017-12-20 10:45:34 -08:00
Jonathan French 343c0295ae Bug 1422208 - Stop the watched repo dropdown clipping off screen 2017-12-19 11:27:22 -08:00
Cameron Dawson a7e4848aad
Bug 1366909 - Merge Test view app into Treeherder repository (#3001)
Modify the code to:
* share assets and global settings wherever possible
* update links going both directions
* other small UI tweaks for uniformity with Treeherder
* Fixed a few routing dead-ends on the react side
* Removed the dead TestDetail file we weren't using anyway
* fix production domain urls
2017-12-14 08:03:32 -08:00
William Lachance 16b37a92fd
Bug 1419846 - Move tier menu to top (#2974) 2017-11-27 11:43:12 -05:00
Jonathan French 09b106fd1a Bug 1419923 - Pull unimplemented F1 key from shortcut table (#2975) 2017-11-22 21:14:39 +00:00