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

57 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher fd20a61c8e
Bug 1241535 - Add support to job actions for collecting gecko profiles of performance tests. r=camd (#4128) 2018-10-12 18:38:18 -04:00
Cameron Dawson 3fdd8d4ca1
Bug 1498139 - Fix when selected job is out of push range (#4129) 2018-10-11 12:11:18 -07:00
Cameron Dawson 01c3c73703
Bug 1450041 - Convert job dup and count to properties (#4119) 2018-10-10 08:39:00 -07:00
Cameron Dawson 614985c656
Bug 1450041 - Remove unused autoclassify events (#4120)
* Remove unused autoclassifyVerified event
* Remove unused autoclassifySaveAll event
* Remove unused autoclassifySave event
* Remove unused autoclassifySelectOption event
* Remove unused autoclassifyChangeSelection event
* Remove unused autoclassifyOpenLogViewer event
* Remove unused autoclassifyToggleExpandOptions event
* Remove unused autoclassifyToggleEdit event
2018-10-10 08:37:25 -07:00
Cameron Dawson 68f6001822
Bug 1450040 - Replace ThResultSetStore with Pushes context (#4102)
* Switch from using job.result_set_id to job.push_id
* Switch to using template strings for aggregateIds
* Fix notification where selected job not in push range
* Fix push status notifications(watching) to use safe React lifecycle method
* Fix some lodash _ imports to specific file imports
* Remove last usage of globalFilterChanged event
* Rename usage internal to PushJobs from "platforms" to "filteredPlatforms"

This takes what ThResultSetStore used to do and moves it to a React Context
called "Pushes.jsx" and into the "Push.jsx" component to manage
its own jobs.
2018-10-09 11:50:43 -07:00
Cameron Dawson 1b0eb3bbe8
Bug 1494667 - Fix selecting job within count on page load (#4081) 2018-10-02 08:31:28 -07:00
Ed Morley 8a9375675e
Revert "Bug 1494665 - Open interactive tasks in a new tab after triggering (#4077)" (#4088)
This reverts commit f96bcb910e.
2018-10-01 14:52:13 +01:00
Hassan Ali f96bcb910e Bug 1494665 - Open interactive tasks in a new tab after triggering (#4077) 2018-10-01 14:10:44 +01:00
ionutgoldan d9a357ce4e Bug 1494214 - Bring related branches in graphs (#4069) 2018-10-01 08:52:55 -04:00
KWierso ba4d82b902 Bug 1494202 - Add Android 5.0 x86-64 to thPlatformMap (#4068) 2018-09-26 13:21:07 +01:00
Cameron Dawson 46568ce088 Move the constants.js file to /helpers 2018-09-21 13:09:46 -07:00
Ed Morley 87426ad87e
Bug 1492462 - Remove actions.yaml fallback for trigger new jobs (#4043)
Some more cleanup that's possible now ESR52 is EOL.

As a result `TaskclusterModel.load()` can no longer return `null`
(it will throw instead), so the null-checks have been removed.
2018-09-20 14:24:20 +01:00
Cameron Dawson 51bc2affb8 Convert onLocationChangeSuccess handler to React 2018-09-11 12:36:09 -07:00
Cameron Dawson 2a48b96dea Bug 1489507 - Fix not loading older pushes more than once 2018-09-10 09:31:18 -07:00
Cameron Dawson edbc680937 Bug 1488869 - Convert all usages of angular location window.location 2018-09-06 14:18:37 -07:00
Cameron Dawson 5406ebb45c
Bug 1450033 - Convert Job Filtering component to ReactJS (#3971) 2018-09-04 12:25:42 -07:00
Cameron Dawson 3af1db6b2c Bug 1485090 - Convert ResultSet Model to ReactJS 2018-08-27 09:01:14 -07:00
renovate[bot] 2b908cede1 Update dependency taskcluster-client-web to v8 (#3642) 2018-08-16 14:45:46 -07:00
Cameron Dawson 7b0a1c400d
Bug 1465987 - BugFiler post-merge cleanup (#3913) 2018-08-13 15:40:33 -07:00
Cameron Dawson 76656421fb
Bug 1479832 - Fix repo urls having inappropriate params (#3906) 2018-08-13 15:39:30 -07: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 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 135615d308
Bug 1450038 - Stop using dangerouslySetInnerHTML (#3785)
Using components based on react-linkify, we can replace all
usages of dangerouslySetInnerHtml.  This also allowed us
to remove a few related helper functions.

enable no-danger eslint rule
2018-07-16 08:09:17 -07:00
Cameron Dawson 057c3415cc
Bug 1473167 - Fix 'Retrigger All' provides no feedback (#3766) 2018-07-13 22:10:12 -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
Sebastian Hengst 5f73137198 Bug 1474558 - Only show unexpected reftest failures by default (#3774) 2018-07-11 14:22:31 +01: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
alvaroReina 2f01563401 Bug 1469834 - Lodash .isUndefined to native ES6 (#3689) 2018-06-27 12:24:39 -07:00
Ed Morley 3e31201ae8 Bug 1468658 - Fix/enable eslint 'comma-dangle'
https://eslint.org/docs/rules/comma-dangle

Changes performed by `--fix`.
2018-06-13 22:43:15 -07:00
Ed Morley 9ac0d2b8f9 Bug 1468658 - Fix/enable eslint 'space-infix-ops'
https://eslint.org/docs/rules/space-infix-ops

Changes performed by `--fix`.
2018-06-13 22:43:15 -07:00
Ed Morley 3420c1685b Bug 1468658 - Fix/enable eslint 'spaced-comment'
https://eslint.org/docs/rules/spaced-comment

Changes performed by `--fix`.
2018-06-13 22:43:15 -07:00
Ed Morley fe4f377d31 Bug 1468658 - Fix/enable eslint 'quotes'
https://eslint.org/docs/rules/quotes

Changes performed by `--fix`.
2018-06-13 22:43:15 -07:00
Cameron Dawson 15721f009c
Bug 1450022 - Convert the rest of Details Panel to ReactJS (#3621) 2018-06-13 15:40:38 -07:00
Cameron Dawson 7eb466affd
Bug 1465355 - Fix Treeherder forgetting being logged in (#3593) 2018-05-30 12:43:37 -07:00
Cameron Dawson eddbc1c8a7
Bug 1450039 - Convert Models for accessing API data to Classes (#3568) 2018-05-25 10:32:21 -07:00
Ed Morley 55654a1195
Bug 1363722 - Allow login to work in all development workflows (#3534)
Previously it was not possible to test features that required an
authenticated user when:
* using `yarn start` with Vagrant (bug 1363722), which meant slower
  watch builds
* pointing the UI at the prod/stage API (bug 1317752), which was
  extremely limiting

Now login works in all environments, since the frontend no longer uses a
URL prefix, but instead webpack-dev-server proxies non-webpack URLs to
the chosen `BACKEND_DOMAIN` - avoiding cross-domain issues. Cookies are
rewritten to remove any `secure` directive (which is set on production),
so that they can still be read from HTTP localhost. The `Referer` has to
also be changed to stop Django's CSRF checks from rejecting request.

The slower "build into `dist` and watch" mode is therefore no longer
necessary, so `yarn start:local` instead invokes webpack-dev-server just
like `yarn start` - and the `local-watch.js` workaround has been
removed.

Support for the "publish to GitHub with hardcoded `SERVICE_DOMAIN`"
workflow has been dropped, since it was already rarely used and there is
no way to make it support login.

The API domain environment variable was renamed to `BACKEND_DOMAIN` to
avoid potential confusion given it no longer behaves the same as
`SERVICE_DOMAIN` used to.

NB: For full stack Vagrant workflows users must now connect to port
*5000* on localhost, not 8000.
2018-05-10 17:58:04 +01:00
Cameron Dawson 46763562e5
Bug 1457205 - Convert Job Details tab to ReactJS (#3491) 2018-04-26 11:54:24 -07:00
Cameron Dawson 7663ae2b67 Bug 1450020 - Convert Perf Details tab to ReactJS 2018-04-26 09:22:45 -07:00
Cameron Dawson e09775179b
Bug 1450018 - Convert Similar jobs tab to ReactJS (#3455) 2018-04-25 13:29:51 -07:00
Ed Morley 47ac771a84 Bug 1456894 - Import jQuery explicitly
The last remaining `ProvidePlugin` definition cannot be removed since
AngularJS and Flot both expect `window.jQuery` to be defined (and
whilst AngularJS falls back to jqLite, it's buggy). It's not possible
to set `window.jQuery` manually in the entrypoints, since ES6 imports
are hoisted, thereby giving no opportunity to modify window first.
2018-04-25 19:48:41 +01:00
Ed Morley f522727087 Bug 1456894 - Import React explicitly
Rather than relying on `ProvidePlugin`.
2018-04-25 19:48:41 +01:00
Ed Morley cc64c07802 Bug 1456894 - Import lodash explicitly
Rather than relying on `ProvidePlugin`.
2018-04-25 19:48:41 +01:00
Cameron Dawson 5d23735359
Bug 1446427 - Convert Autoclassify panel to ReactJS (#3414) 2018-04-24 12:39:06 -07:00
Eli Perelman 17df068b46 Update links to Taskcluster Tools interactions (#3421) 2018-04-09 19:32:22 +01:00
Cameron Dawson 0b5fec254a
Bug 1449240 - Convert Angular values.js to import-able constants (#3378)
After looking at these, I think I want to go back to using "th" prefix and "ph" prefix.
It is a nice way to see right off the bat that these are constants that are established
by our code and not some external library.  So converting ``platformMap`` back to
``thPlatformMap``.  It also makes for less code/blame churn as we move to imported
constants.

* Move thOptionOrder to constants.js
* Move thFailureResults to constants.js
* Move thRepoGroupOrder to constants.js
* Move thFavIcons to constants.js
* Move phCompareDefaultOriginalRepo to constants.js
* Move phCompareDefaultNewRepo to constants.js
* Move thDefaultRepo to constants.js
* Move thTitleSuffixLimit to constants.js
* Move phTimeRanges to constants.js
* Move thDateFormat to constants.js
* Move phDefaultTimeRangeValue to constants.js
* Move phTimeRangeValues to constants.js
* Move phBlockers to constants.js
* Move phDefaultFramework to constants.js
* Move phAlertSummaryStatusMap to constants.js
* Move phAlertSummaryIssueTrackersMap to constants.js
* Move phAlertStatusMap to constants.js
* Move thJobNavSelectors to constants.js
* Move thPerformanceBranches to constants.js
* Move phDashboardValues to dashboard.js
* Move phCompareBaseLineDefaultTimeRange to constants.js
* Move thPinboardCountError to constants.js
* Remove now-unused values.js
* Move thResultStatusFilters to constants.js
* Move thEvents to constants.js
* Move thAggregateIds to a aggregateIdHelper.js
* Move thReftestStatus to jobHelper.js
* Remove now-unused provider.js
2018-04-04 10:01:17 -07:00
Sarah Clements ac5a4b1525 Bug 1445295 - Specify selectedJob in intermittent failures links (#3356)
* change jobsUrl to include job_id for revision link in Bug Details View table
* remove domain from jobsUrl
2018-03-21 13:39:09 -07:00
Cameron Dawson 50034a713b
Bug 1444207 - Consolidate failure_summary_panel to /details-panel (#3341)
* Rename the component to a *Tab and move to /details-panel folder
* cleanup indentation
* cleanup props and panel elements
* Use deconstruction for props object
* simplify onclick event calls with anonymous functions
* Move filerInAddress logic to FailureSummaryTab
* Move the data-fetching into the main controller like the other
  tabs so we can do away with the special controller for the
  failure summary tab.
* Move functions to helpers instead of filters and take less
  values as params
* Eliminate failure_summary/controller
* Moved logic to either the parent controller or into helpers and
  the FailureSummaryTab
* Use helper function for bugzilla url
2018-03-16 08:55:04 -07: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
Cameron Dawson cca48d14df
Bug 1444134 - Consolidate references to SERVICE_DOMAIN (#3319)
* Don't use SERVICE_DOMAIN for references to the front-end code
* Change getRootUrl to getApiUrl to better represent what it is for
* Convert other usages of SERVICE_DOMAIN to getApiUrl
* Convert usages of SERVICE_DOMAIN to getProjectUrl
* Convert uses of SERVICE_DOMAIN to getServiceUrl
* Convert tests to use ``urlHelper``
2018-03-08 15:48:31 -08:00