-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the 'New View' sidebar link #6703
Conversation
@@ -127,8 +127,9 @@ public void doNotAcceptNonHttpBasedRootURL_fromConfigXml() { | |||
|
|||
@Test | |||
@Issue("SECURITY-1471") | |||
public void cannotInjectJavaScriptUsingRootUrl_inNewViewLinkAction() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the test as the 'New View' sidebar action is gone now. The updated test instead tests the 'New View' tab bar link. I've had to create a new project at the start of the test to bypass the 'Welcome to Jenkins!' screen.
Pinging @uhafner who filed https://issues.jenkins.io/browse/JENKINS-6290 |
I think the + button has a clear visualization right now (a tool tip wouldn't hurt though). In the old style tabs it was not clear that one can add a new view. |
I wonder if it would also make sense (not in this PR) to remove the edit and delete view actions in the side panel (for the active view). Maybe those can be integrated into the tab header somehow? What do you think? |
Agreed! I've added a tooltip to the + button :)
I also agree, ideally I'd like to move actions to the top app bar and use the sidebar solely for navigation. Cheers :) |
Remember that actions removed from the sidepanel are also removed from the breadcrumbs, making them less easily accessible. |
can we run through ATH? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ATH has passed #6703
This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback.
Thanks!
Caused JENKINS-70825. |
This PR removes the 'New View' sidebar link as it's currently duplicated on the page, once in the tab bar and once in the sidebar. This simplifies the page and makes it easier to tab through.
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restricted
or have@since TODO
Javadoc, as appropriate.@Deprecated(since="TODO")
or@Deprecated(since="TODO", forRemoval=true)
if applicable.Desired reviewers
@jenkinsci/sig-ux
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are accurate, human-readable, and in the imperative moodupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).