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

2839 Коммитов

Автор SHA1 Сообщение Дата
Cameron Dawson 5406ebb45c
Bug 1450033 - Convert Job Filtering component to ReactJS (#3971) 2018-09-04 12:25:42 -07:00
Cameron Dawson 032fe0a133
Add generic ErrorBoundary (#3968) 2018-08-31 10:53:45 -07:00
Cameron Dawson f87f841e51
Bug 1473287 - Fix when Desktop notifications not supported (#3960) 2018-08-30 17:01:24 -07:00
Sarah Clements 934bad9187
Bug 1486660 - IFV UI error-handling additions (#3963)
Add spinner to ease transitions, add error boundaries,
add query param validation prior to api requests
2018-08-28 17:10:28 -07:00
Cameron Dawson d8fc1c8648
Bug 1486176 - Fix app not showing on Treestatus error (#3966) 2018-08-28 15:58:53 -07:00
ionutgoldan a0c1b607de Bug 1468172 - Introduce nudge functionality for perf alerts (#3671) 2018-08-28 22:27:15 +01:00
Sarah Clements 7eed4ffa82
Bug 1460999 - improve error handling for IFV (#3911)
refactor intermittent failure endpoints and add query param serializer
to provide query param validation. Add tree and bug_id validation in
view. Refactor redux fetch actions to catch all errors. Add error
message component using bootstrap alerts.
2018-08-27 17:34:57 -07:00
Cameron Dawson 541c06c0a4 Bug 1486148 - Convert ClassificationTypes model to ReactJS 2018-08-27 11:54:39 -07:00
Cameron Dawson 3af1db6b2c Bug 1485090 - Convert ResultSet Model to ReactJS 2018-08-27 09:01:14 -07:00
Cameron Dawson d8c8954866 Bug 1485090 - Improve error handling in JobModel.getList 2018-08-27 09:01:14 -07:00
Cameron Dawson be3b8c6a6c Bug 1485090 - Cleanup props for default user object prior to load 2018-08-27 09:01:14 -07:00
Sarat Addepalli af7e94cfdb Bug 1468160 - Convert _.max to use native ES6 JS (#3858)
Two instances have been left using lodash for now, since `Math.max()`
does not preserve `Date()` objects unlike lodash. These cases have
been converted to use the tree-shaking compatible import form.
2018-08-24 09:38:16 +01:00
Cameron Dawson 60052faa19 Bug 1473777 - Fix error message if job is missing 2018-08-23 09:55:44 -07:00
Cameron Dawson a1dc384a9b Bug 1482536 - Convert Repository Model to ReactJS 2018-08-21 10:53:45 -07:00
Cameron Dawson 815901366f Bug 1482536 - Stop using deprecated ``urlBasePath`` 2018-08-21 10:53:45 -07:00
Cameron Dawson 5ed0ab98fa Bug 1482536 - Convert favicon to ReactJS 2018-08-21 10:53:45 -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 920052fdff
Fix dates on NotificationsMenu (#3905)
The dates were all off because the toShortDateStr function
expects timestamps in seconds, but we were passing
milliseconds.  Just need to divide by 1000.
2018-08-13 15:40:04 -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 4e1e4c5c20
Bug 1465987 - Make BugFiler comment field resizable (#3893) 2018-08-09 15:20:49 -07:00
Cameron Dawson e7f026d499
React work cleanup (#3892)
* Remove vestigial pinboard service file
* Test cleanup: hanging commas, arrow functions, quotes, etc.
* Fix async job tests.  Using .then meant they sometimes didn't 
  return before the test run completedand would throw a warning 
  AND not execute the test ``expect``.
* Fix resultset tests fetching
  Some models changed to use ``fetch`` so we needed to use 
 ``fetchMock`` instead of ``$httpBackend`` for setting expected results.
* Fix warnings in bugfiler tests: We needed to pass some dummy objects 
  for PropTypes that are required.
* Fix warnings in JobGroup tests: We needed to pass some dummy objects 
  for PropTypes that are required here, too.
2018-08-08 17:00:51 -07:00
Sarat Addepalli 44032ff518 Bug 1476652 1468308 1476243 - _.omit, _.invert, _.mapValues to ES6 (#3859)
Since _.omit, _.invert, and _.mapValues are all used only once in
the treeherder codebase, for building a map of buildbot buildername
to taskcluster tasklabel, this commit fixes all the three at once
instead of three different bugs.

Related Bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1476652
- https://bugzilla.mozilla.org/show_bug.cgi?id=1468308
- https://bugzilla.mozilla.org/show_bug.cgi?id=1476243
2018-08-08 16:54:15 -07:00
Sarat Addepalli 6a37e7be5c Bug 1468102 - Import remove explicitly from lodash (#3890) 2018-08-08 14:29:47 -04:00
Sarat Addepalli 4b4e51cb54 Bug 1470735 - Import just forIn from lodash for perfherder compare (#3861) 2018-08-08 14:00:47 -04:00
Sarat Addepalli 4c565943df Bug 1476541 - Convert _.delay to use native ES6 JS (#3862) 2018-08-06 15:36:10 -07:00
Sarat Addepalli fc3708ef1f Bug 1476654 Replace lodash _.padEnd (#3857) 2018-08-06 15:33:03 -07:00
Sarat Addepalli b9fe4ab2c6 Bug 1468161 - Convert _.min to use native ES6 JS (#3860) 2018-08-06 15:15:12 -07:00
Eliott Vincent 1955db0588 Bug 1468159 - convert _.union() usages to ES6 (#3655) 2018-08-06 14:44:04 -07:00
Cameron Dawson ed2e800d90
Bug 1465987 - Convert the BugFiler to ReactJS (#3878) 2018-08-06 10:54:00 -07:00
Cameron Dawson f4fa05ea3f
Bug 1477208 -Fix Pressing ENTER key in the comment refreshes the page (#3879) 2018-08-03 13:51:48 -07:00
Cameron Dawson a1b52a7d61
Bug 1479328 - Fix missing aria-labels (#3869) 2018-08-01 22:50:39 -07:00
Cameron Dawson d5595b5067
Bug 1480009 - Fix add new jobs not showing (#3868) 2018-08-01 15:42:35 -07:00
Cameron Dawson f3641ab27c
Bug 1479973 - Fix issues with login and using custom actions (#3866) 2018-08-01 13:46:27 -07:00
Soundharya AM b083aa1bff Bug 1476546 - Convert lodash .isString() to native ES6 JS (#3799) 2018-08-01 12:10:59 +02:00
Cameron Dawson cd176ebdd7
Update dependency eslint-plugin-react to 7.10.x (#3849)
* Update dependency eslint-plugin-react to 7.10.x
* Fix violations of react/jsx-no-target-blank
* Fix violations of react/sort-comp
* Remove renovate ignore
2018-07-31 11:30:08 -07:00
Gabriel Vîjială 9fb4c965e5 Bug 1479766 - Add platform mapping for android-em-4-3-armv7-api16-ccov (#3853) 2018-07-31 19:37:22 +02:00
renovate[bot] e1794856f7 Update dependency react-select to v2 (#3823) 2018-07-30 13:11:56 -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
Eliott Vincent d8d144f3d6 Bug 1468111 - convert _.clone() usages to ES6 (#3647) 2018-07-25 16:29:02 -07:00
Cameron Dawson 7cda642b68
Fix text color on closed repos (#3831) 2018-07-25 15:38:20 -07:00
Cameron Dawson 4fa8d8bb2a
Bug 1476702 - Fix login broken after update to Auth0-js 9.7.2 (#3800) 2018-07-18 13:39:45 -07:00
Cameron Dawson 1474a02f3c
Bug 1475436 - [a11y] Fix expose result status filters as check boxes (#3795) 2018-07-18 13:29:43 -07:00
srinivas a664f8c6a9 Bug 1467975 - Convert lodash .each() to native ES6 JS (#3699) 2018-07-17 10:10:14 -07:00
KWierso 33bb723a56 Bug 1475438 - Add the job result/status to the job button's title attribute (#3793)
This somewhat improves the accessibility of Treeherder for blind users, as a screen reader can read the title attribute, and the user doesn't need to open each log to find the status.
2018-07-17 09:49:09 -07:00
Cameron Dawson 5ea7602f8d
Bug 1476109 - Fix jobs disappear when selected job has null details title (#3796) 2018-07-17 08:31:14 -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