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

266 Коммитов

Автор SHA1 Сообщение Дата
Sarah Clements 2af31737e4
add title to new index.html template (#6051) 2020-02-21 14:28:02 -08:00
Sarah Clements f83e08b69d
Bug 1497931 - Remove jquery and Bootstrap (#6035)
* refactor components using bootstrap elements with reactstrap
* add template for cdn to access Bootstrap CSS
* remove bootstrap, jquery and angular library
* fixes to get tests passing and add bootstrap link to csp
2020-02-21 12:10:03 -08:00
Cameron Dawson b52813161f
Bug 1450042 - Treeherder converted to full React (#4167) 2018-10-23 10:34:03 -07:00
Cameron Dawson 63dcf774f8
Fix window scroll-height (#4150) 2018-10-16 10:33:57 -07:00
Cameron Dawson 16a56aeb34
Bug 1499141 - Remove Angular MainCtrl (#4144)
* Convert setting window title to ReactJS
2018-10-15 15:52:45 -07:00
Cameron Dawson 593e28b992
Bug 1499141 - Convert display of on-screen shortcuts to react (#4142) 2018-10-15 15:24:09 -07:00
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
Cameron Dawson 27d4db6568 Bug 1492273 - Use a Context to manage selectedJob
This will allow us to use the SelectedJob context coming in the next commit.
These changes are tangled with that next commit, but I hoped this would
make it easier to review by removing this noise.
2018-09-21 12:49:54 -07:00
Cameron Dawson a1dc384a9b Bug 1482536 - Convert Repository Model to ReactJS 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
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 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
Cameron Dawson b7d5fa77b0
Bug 1469917 - Convert the Active Filters bar to React (#3690) 2018-06-28 09:23:26 -07:00
Cameron Dawson a81e7a85c7
Bug 1469047 - Create common React ancestor for PushList and DetailsPanel (#3673)
This will allow better interaction between the two components.  As we convert
more items (like navbars, etc) we will move them into this umbrella Treeherder
component.
2018-06-18 08:59:50 -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 4f2ee0c88b
Bug 1408791 - Move to using react2angular (#3462)
* Also fixes Bug 1451492 - Wording of Treeherder view for brand-new Try push is still sometimes the unfriendly version
2018-04-17 15:47:56 -07: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
Cameron Dawson 51dc3cc938 Bug 1408100 - Upgrade to Bootstrap 4
This adds the upgrade to Bootstrap 4, and some basic changes and
some CSS tweaks we needed to keep out UI consistent.

The simpler changes are things like:

* Classes that were renamed
* Adding classes that are now needed (dropdown-item, etc)
* Change an item from a button to a span
* Changing order of items (modal header close button, etc)
* CSS class syntax changes

The other changes are lots of CSS padding, margin, font and
other spacing tweaks.
2017-11-09 11:12:09 -08:00
Ed Morley d26651edb4 Bug 1403195 - Fix styling and mismatched tags in userguide.html (#2790)
The `class='kbd'` usages were missed from the changes in bug 1339508.
The mismatched tags have been present since the original landing in
bug 1139421.

Also removes a stray whitespace character from index.html.
2017-09-27 00:00:59 +01:00
KWierso ea917ece60 Bug 1362178 - Don't hide the bottom panel when a job group gets expanded (#2449) r=camd 2017-05-05 11:14:07 -07:00
Casey Williams afa7d63d1d Bug 1336556 - Replace grunt build system with neutrino/webpack 2017-03-29 22:07:24 +01:00
William Lachance a45f2d3c48 Bug 1344018 - Add ability to execute custom taskcluster actions per job (#2220) 2017-03-09 15:07:29 -05:00
William Lachance 69ea1f63bf Bug 1345565 - Upgrade lodash.js to 4.17.4 (#2238) 2017-03-09 14:11:08 -05:00
jgraham 8e56de8590 Bug 1321798 - Rewrite the autoclassification UI (#2089)
This rewrite is intended to address the numerous problems that prevented
the old autoclassify UI from recieving wide adoption, and makes the
following changes:

* Moves the code to use angular 1.5 components, for maintainability

* Reduces the number of HTTP requests to one GET / one POST (associated
  with the TextLogError objects), for performance.

* Adds the concept of a selection so that operations can be performed on
  multiple lines at once

* Reorganises the panel a bit to fit better with the rest of the
  treeherder UI.

* Removes the "Ignore Others" action, which, though occasionally helpful,
  was based on an unreliable heuristic.

* Reduces the number of unhelpful bug suggestions displayed by default
  where there are many, and ensures that the most plausible suggestions
  are shown first.

* Adds keybindings for all operations, so that it is possible to use the
  autoclassify panel without touching the mouse.

* Adds basic heuristics for which option to select by default.
2017-03-05 10:36:10 +00:00
Casey Williams de1137aeb8 Bug 1336556 - Apply strict DI in angular controllers & apps
This will prevent some minification errors after the migration from grunt
to webpack.
2017-03-01 21:35:55 +00:00
Jonathan French 22aca110b6 Bug 1336575 - Remove unused pinboard class 2017-02-06 17:15:21 +00:00
KWierso 26ad5dc473 Bug 1322923 - Expose from/to-Change filter parameters in the main UI (#2030) r=camd 2017-02-02 15:25:26 -10:00
Brian Stack b1af249f1b Bug 1273096 - Interact with taskcluster directly (#2057) (#2057)
Add taskcluster credentials to local storage for use against
taskcluster api directly, rather than via pulse messages and
pulse_actions. This only ports backfilling for now, but eventually
all actions should be possible with this setup.
2017-01-24 15:35:23 -08:00
William Lachance 8c2b39c76e Revert "Bug 1242905 - React component for plaform TDs"
This reverts commit 9d54ed77c7.
2017-01-18 08:06:48 -05:00
Casey Williams 9d54ed77c7 Bug 1242905 - React component for plaform TDs
Replaces TD elements for platforms in job lists with a new react
component.
2017-01-10 09:36:54 -08:00
Shruti Jasoria 76286eb5bd Bug 1206173 - Have a loading symbol when changing the date range in Perfherder (#2031) 2016-12-29 15:28:12 -05:00
Casey Williams 676e1f4738 Bug 1242905 - Revision list react component (#2029)
Begins migration of job rendering to react by replacing cloned revision
lists with a new react component. Related changes:

- Prepends the ignore-job-on-click attribute with data- so that react
  will render it
- Makes the linkifyBugs filter wrap its html attributes in quotes
  consistently
- Adds explict whitespace via CSS in a few places that previously
  depended on whitespace in markup
2016-12-22 11:35:00 -08:00
KWierso b6f411d8cd Bug 1088204 - Warn the user when server revision has changed (#1901) r=wlach 2016-12-01 12:03:09 -08:00
William Lachance 64dcd973f8 Bug 1318893 - Fix click behaviour for job groups (#1989)
Do this by making the job groups a clickable button, which is incidentally
also better behaviour for screen readers (since it gives a hint that the
element is clickable)
2016-11-21 11:53:27 -05:00
camd ba8165c239 Bug 1273034 - Transition to Taskcluster Auth from Persona (#1922)
In this commit, Sheriff access is still maintained in the
Treeherder DB, rather than using the scopes derived from
LDAP.

For local usage with Vagrant, this requires accessing
Treeherder with localhost instead of
local.treeherder.mozilla.org

Loggin in to the Django Admin is not enabled in this
branch.  Do use the admin, you must first login through
the normal Treeherder front-end.  Then the admin will
be accessible if the user has the privileges to do so.

Persona login will still be technically possible through the
login.taskcluster.net site.  But that choice will go away
shortly.
2016-11-18 10:54:48 -08:00
William Lachance b035647fe2 Bug 1281820 - Remove all bug suggestion artifact storage code + tests (#1927) 2016-10-18 11:32:52 -04:00
William Lachance 8fc9754f4e Bug 1281820 - Stop using bug suggestions artifacts
Instead, generate the data when required. We will store the return value
of this in memcache for a day to ensure things are responsive for the sheriffs
when classifying recent failures.
2016-10-07 10:51:41 -04:00
Cameron Dawson fb435816b0 Bug 1266116 - Add the Admin page: Full-page exclusion editor
This moves the Sheriff panel out to a full-page app.  The functionality
is basically the same, however.  Much of the logic and HTML were just
copied from the Sheriff panel.

This also introduces ReactJS to the repo.  This was used to speed up
the rendering of the reference data lists in the Exclusions detail
editor.  The ``reactselect`` component is defined as normal JavaScript.
We decided not to introduce using JSX at this time.
2016-09-15 14:28:42 -07:00
William Lachance f0105d47f5 Bug 1258861 - Move text log steps and errors into main database (#1696)
This changes ingestion, the API endpoints, and the frontend to match
the new structure. For now we continue to store text_log_summary artifacts,
though they don't do anything anymore.
2016-09-12 12:30:36 -04:00
William Lachance 98952774b9 Bug 1296692 - Move series/compare/math models/factories to their own files
These are big enough that they deserve their own files, especially
the compare service.
2016-08-25 11:20:08 -04:00
James Graham c95a59b3a6 Bug 1294155 - Refactor key events handling.
Move the key events into an array, and bind once when the controller is
initalized rather than every keypress. Deal with special cases by providing
the option to override the stopCallback behaviour on a per-combo basis
rather than by dynamically unbinding and rebinding keys.
2016-08-11 19:39:36 +01:00
KWierso 09ef553945 Bug 1287911 - Add the ability to tag revisions with metadata (#1706) r=camd
* Bug 1287911 - Add the ability to tag revisions with metadata

* Bug 1287911 - Make backout commit text be red in the list of revisions
2016-07-28 17:55:43 +01:00
crosscent b1a82fba55 Bug 1284275 - Upgrade AngularJS and it's dependencies to 1.4.9, and upgrade AngularUI Bootstrap to 1.3.3 (#1644) 2016-07-04 16:22:22 -04:00
KWierso 710b529b6b Bug 1117583 - Add UI to Treeherder to use the new bug filing api (#1374) r=camd
This adds a new modal form to Treeherder's UI that appears when the user clicks the new "file bug" button.

The script pulls in information about the failure and pre-fills a lot of the form. It attempts to automatically find the product/component for the soon-to-be-filed bug based on the failure's file path, and includes a search box to find other products/components.

The summary by default is the failure line that the user clicked, but the user can show all of the failure lines from the failed job if more needs to be added.

Links to the parsed log, full log and (if applicable) the reftest viewer are included by default in the bug's first comment, but the user can opt to not include them in the submission.

Additional information can be included in the first comment by adding it to the large textarea in the form.

After you click "Submit Bug", the UI sends the new bug information to the Bugfiler API, which then formats the information properly for it to submit to Bugzilla's REST API using a server-side bugzilla account. The API returns either the bug id or a failure message. If a bug id is returned, the UI selects the failure and adds the bug to the classification. If a failure message is returned, the message is displayed to the user and the form becomes re-editable and re-submittable.
2016-06-07 18:12:18 -07:00
William Lachance 82221633b8 Bug 1270629 - Replace Job Info artifacts with a "jobdetail" endpoint
This is simpler and removes one more type of artifact from the per-project
databases.
2016-05-09 20:09:26 -04:00
William Lachance 5e8e6d12a3 Revert "Bug 1270629 - Replace Job Info artifacts with a "jobdetail" endpoint"
This reverts commit af9c208792.
2016-05-09 16:08:26 -04:00
William Lachance af9c208792 Bug 1270629 - Replace Job Info artifacts with a "jobdetail" endpoint
This is simpler and removes one more type of artifact from the per-project
databases.
2016-05-09 14:51:42 -04:00
James Graham af1db11451 Bug 1252854 - Front end changes to allow structured and unstructured lines to both be displayed in the autoclassify UI. 2016-04-19 19:16:08 +01:00