The status page filter is missing support for the new refs format
introduced by the circular dependency refactor.
Change-Id: I0324619a1a80ef99d7383549fd70823043d0c331
This better matches our use of icons elsewhere (example: build list
table column header). It also separates the icon from the queue
length indicator which reads sort of like an icon as well.
Change-Id: Ib460826e657ab3c9d36e7f2734c620f5afe43486
Add a "promote" button in the actions menu of a change, if the
currently logged in user is an admin on the tenant and if the pipeline
is dependent.
Clicking the button opens a modal, so that the user can confirm her decision.
Change-Id: I8262888aef9ba1a106e0b321cc4cf2e14465b90c
Add specific icons next to pipelines names on the tenant
status page to help differentiate their characteristics. A mouseover
text provides a brief summary for each type of pipeline.
Type <-> Icon mapping:
* independent: FlaskIcon (it is for experiments)
* dependent: CodeBranchIcon (integration pipeline)
* serial: SortAmountDownIcon (deploy all and in order)
* supercedent: BundleIcon (deploy latest)
* default: StreamIcon (icon used for pipelines in the build/buildset page)
Change-Id: Ia16993af70d133f15aad9a212737805c3623b76e
This is an old PF3 CSS rule which seems to conflict with some of the
PF4 rules. As a result, the styles for the h3 headings (used for the
pipeline names) are styled differently than the other headings used
in zuul-web. Especially the margin is set to 0 which makes the headings
look a little "broken" and the containers for the different pipelines
are crushed together.
This is the only occurrence of this rule, so I just removed it and
adapted the "broken" heading to a PF4 Title. Those are small changes,
but the overall result should look much cleaner and more PF4-like.
Change-Id: I226149588f2f3b6ee5d09aa43e1b8c085390ece1
With I876c3634b5616b6fc88f3ee529958b32f2ceda43 we have the length of the
pipeline event queues in the status JSON and can display those in the
web UI.
Change-Id: I8a437a288736ce5b3c892129bca9bbee6fefb98a
Previously indentation was not checked at all and in order to avoid
reviewers time with style checks, we can enforce it with eslint.
Current js/jsx changes were made by: yarn lint-fix
Note this this change can easily become outdated so we need to
coordinate and merge it quickly as each rebase would loose previous
votes.
Change-Id: I85883fc8db924ad4ce9acad5acdd42aed7e4d0e4
The status page shows a lot of content wich makes it sometimes difficult
to see where a pipeline "container" (in terms of UI) starts or ends.
This change emphasizes the pipeline names a little, so the beginning of
a new pipeline container is easier to spot.
Change-Id: I4201b935abb9b1365b3a570f3e00a0b492240bf8
Since Patternfly 4 (PF4) is a complete rewrite of the framework that
doesn't require bootstrap and comes with a new npm package, it's
possible to include both side-by-side in a project.
This change includes the necessary PF4 packages and updates the header,
navbar, drawer (shows the config errors) and global page layout with PF4
components. Once this is done, we should be able to update the other
components step by step to PF4.
Points to keep in mind for the migration phase:
1. Some Patternfly 3 CSS rules are overridden by Patternfly 4
wildcards, mostly (re)setting the padding and margin of various
elements to 0.
To fix this unwanted behaviour, there is a pf4-migration.css file
included were we can keep track on those rules and ensure that the
old padding and margin values are re-applied after Patternfly 4 is
imported.
Change-Id: I77b81fa0f97fe718207ba5a506cee300371c693b
We replace all spaces by commas when filtering the status page, however,
due to the fact we don't use the `g` flag, it only splits the first
value and stops after the first one.
This patch adds the `g` flag to the regex so that all of the spaces are
replaced by commas when filtering.
Change-Id: I9b9cd33a7067fd00415e2ae1634e340a6df46749
This allows you to enter:
requirements-tox-py35-check-uc cross-cinder-py35
In the job filter and see the common ancestry in the tree view.
The status page filter is also updated to support multiple spaces
between items. Both filters now support this in order to deal
with common copy/paste errors.
Depends-On: https://review.openstack.org/643397
Change-Id: I38cc6cdc8b5373dc8f29804f5bb35e9594a000bf
Screens with 1280x1024 seem to fall into the large category in
bootstrap. However four columns seem to be too much for these
screens. Instead use four columns only for extra large screens.
Change-Id: I3fc90b70ce9cb7820162e8425918705a6eb364ff
When change position changes, the expand state is shifted to the next change.
This patch removes index based key and uses unique references to fix the
issue.
Change-Id: I6f05a1bc34aed6dcb7cc346dd460bf06ad56e019
Revert "Fix publish-openstack-javascript-content"
This reverts commit ca199eb9db.
This reverts commit 1082faae95.
This appears to remove the tarball publishing system that we rely on.
Change-Id: Id746fb826dfc01b157c5b772adc1d2991ddcd93a