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

504 Коммитов

Автор SHA1 Сообщение Дата
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
Jonathan French 2a7783727b Bug 1340232 - Return flex property for small push reflows (#2205) 2017-02-27 15:44:43 -05:00
Jonathan French 131a67eb85 Bug 1340232 - Remove unused -webkit css from main page (#2197) 2017-02-24 12:50:25 -05:00
Jonathan French 4086a7fb2f Bug 1340232 - Remove unused -webkit css from info-panel (#2189) 2017-02-21 15:34:12 -05:00
Jonathan French 5fee89a24a Bug 1340232 - Remove unused -webkit css in the pinboard (#2182) 2017-02-16 16:12:43 -05:00
jgraham 3919352ca8 Bug 1339508 - Organise keyboard help panel into sections. (#2168)
Make sure that the panel is centred on the screen
2017-02-15 12:28:38 +00:00
Jonathan French bebcaf94a3 Bug 1322158 - Slide info panel onscreen during job selection (#2020) 2017-02-10 13:51:38 -05: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
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
Jonathan French 8ca53c7f10 Bug 1329040 - Remove dead Retrigger dropdown css (#2065) 2017-01-06 16:06:16 -05:00
William Lachance 8614ecfec4 Bug 1285007 - Make Taskcluster options more discoverable (#2052)
Create an per-job "extras" job button in Treeherder and put "backfill"
and the current set of taskcluster options (one click loaner, inspect task)
in there, if they exist.
2017-01-03 17:51:22 -05: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
William Lachance bfa3def90f Bug 1315808 - New log viewer (#2050)
* Written in react.js for speed
* Does not require custom treeherder backend API's
* Improved scrolling
* Fixes issues in URL when linking directly to line numbers
2016-12-29 15:14:48 -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
Jonathan French 16188c4d84 Bug 1207460 - Add actionbar button color (#2010) 2016-12-01 15:30:26 -05:00
KWierso b6f411d8cd Bug 1088204 - Warn the user when server revision has changed (#1901) r=wlach 2016-12-01 12:03:09 -08:00
Jonathan French 35848a065f Bug 1207460 - Split retrigger menu into separate btns
This includes all the work from reverted PR1960 and adds some
missing ng-clicks. It also switches them to real buttons
in the markup to the block the click through, and adds
a new title generator for backfill.
2016-11-30 13:14:07 -05:00
Jonathan French 3e86ab64e5 Bug 1319300 - Move the pin counter to the pinboard btn (#1997) 2016-11-30 09:58:08 -08:00
Jonathan French 07478d1852 Bug 1318935 - Improve btn/menu layout in Admin page (#1988)
* Bug 1318935 - Improve btn/menu layout in Admin page

* Bug 1318935 - Use Treeherder Admin menu-name in css name
2016-11-23 13:27:22 -08:00
Cameron Dawson 67f83a2033 Revert "Bug 1207460 - Split retrigger menu into separate btns (#1960)"
The retrigger and backfill buttons don't work after this change.  I think
an ng-click was forgotten in the PR.

This reverts commit 86235ae3e4.
2016-11-21 19:24:03 -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
Jonathan French 86235ae3e4 Bug 1207460 - Split retrigger menu into separate btns (#1960) 2016-11-18 12:52:01 -05:00
Brian Stack dba3913684 Bug 1317515 - Fix rendering order of job buttons (#1979) 2016-11-15 09:39:43 -05:00
Kris Rivera 88766c37ab Bug 1157149 - added a secondary count indicating the number of filtered unclassified failures (#1908) 2016-10-13 16:54:56 -07:00
Kris Rivera ddd5512c11 Bug 1234648 - added a new button to toggle duplicate jobs being shown inside of groups (#1918) 2016-10-13 16:46:41 -07:00
KWierso f7e2c5cd42 Bug 1205747 - Ensure the retrigger/backfill menu gets styled (#1893) r=camd
The menus in the app header navbar get a subtle grey background on hover.
For some reason, the same is not applying to the retrigger/backfill menu.
This patch just forces the same style change to occur for this menu.
2016-10-04 16:35:29 -07:00
William Lachance 72bdd4c67a Bug 1293264 - Show distinctive banner when user tries to cancel all jobs (#1874)
This also reverts the previous behaviour where we'd cancel a single job
if one was selected. This new approach hopefully makes it harder to
accidentally delete all jobs when only intending to cancel one, while
still being intuitive if that's really what you want to do.
2016-09-26 16:34:33 -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
KWierso 8ef82f44dc Bug 1278746 - Add the ability to set block,depends on,see also fields (#1662) r=emorley 2016-09-06 18:46:36 +01:00
KWierso 4d1b7fe63a Bug 1293447 - Use a placeholder attribute instead of a separate element for placeholder text (#1769) r=camd 2016-08-10 00:18:51 +01:00
KWierso 8c6be586aa Restrict the summary field to 255 characters (#1773) r=emorley 2016-08-09 20:57:34 +01:00
jgraham 0d32de7ead Bug 1292643 - Flip the Ignore/Save All buttons to the other side of the panel and prevent them scrolling (#1765) 2016-08-08 19:21:14 +01:00
jgraham 532587b811 Bug 1292672 - Put autoclassification radio labels inside a <label> element. (#1766)
This makes them clickable to select the corresponding radio input.
2016-08-08 18:16:52 +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
Jonathan French b3835ef5d0 Bug 1281944 - Make job-panel classification star match job color (#1674) 2016-07-14 11:16:02 -07:00
William Lachance 31afd89cdd Bug 1286314 - Use correct font with new "hidden jobs" text in navbar (#1679) 2016-07-12 16:56:23 -04:00
KWierso 172afd396c Bug 1120477 - Change the hidden jobs toggle's glyphs to something hopefully more discoverable (#1596) r=camd
* Bug 1120477 - Change the hidden jobs toggle's glyphs to something hopefully more discoverable

* Add some text, but only if the window can fit it
2016-07-06 22:12:34 +01:00
KWierso 5d4b9ecb55 Bug 1244989 - Move the 'add profile' and 'add exclusion' buttons to the top of the sheriff panel (#1598) r=camd 2016-06-17 16:38:31 +01: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
Roy fe3db57315 Bug 1200692 - Display current exclusion and revision state in tooltip 2016-05-27 12:49:06 -07:00
Nihal Singh 4236aaab41 Outside click clears popup 2016-05-17 23:13:29 +05:30
Nihal Singh 6529a5c527 Created a popup close button 2016-05-16 22:29:20 +05:30
KWierso 7920884a0c Merge pull request #1158 from KWierso/quickfiltersmallwindows
Bug 1227264 - Only expand the quickfilter bar if the window is at least 850px wide r=camd
2016-05-12 10:35:36 -07:00
KWierso 3ada40c569 Bug 1207398 - Disable the backfill button on try repos (#1102)
* Bug 1207398 - Disable the backfill button on try repos

* Move long strings into controller.js to make the html shorter
2016-05-12 14:55:32 +02:00
Wes Kocher 1c8cb71498 Bug 1227264 - Only expand the quickfilter bar if the window is at least 850px wide 2016-05-11 18:20:14 -07:00
Wes Kocher d979c5b888 Bug 1201982 - Add fa-pencil on hover for sheriff panel job exclusion
entries

This adds a pencil icon when you hover over a job exclusion in the sheriff
panel list. Also included are some spacing fixes for CSS around the
changes I made.
2016-05-08 01:20:07 -07:00
Wes Kocher 64c2c72e93 Bug 1270682 - Stop selecting the spaces around a revision when double-clicking a revision 2016-05-05 17:18:14 -07:00
James Graham ac1abe83c4 Bug 1268330 - Show all bug suggestions in the autoclassify panel 2016-04-29 15:01:03 +01:00