Skip to content

Display drawer expand/collapse button at all times#2540

Merged
samuel-denton merged 2 commits into
cylc:masterfrom
ChrisPaulBennett:expand-button
Apr 30, 2026
Merged

Display drawer expand/collapse button at all times#2540
samuel-denton merged 2 commits into
cylc:masterfrom
ChrisPaulBennett:expand-button

Conversation

@ChrisPaulBennett
Copy link
Copy Markdown
Contributor

@ChrisPaulBennett ChrisPaulBennett commented Apr 29, 2026

Closes #1137

The toolbar is now always displayed when regardless of whether the drawer is displayed or not.
Also changed the burger icon to a left arrow icon as to better reflect what it does when the drawer is expanded.

Also, altered test that checks that the toolbar is not displayed when the drawer is expanded as that is no longer desired behavior.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • Changelog entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@ChrisPaulBennett ChrisPaulBennett self-assigned this Apr 29, 2026
Copy link
Copy Markdown

@Scott-Owen-James Scott-Owen-James left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Saw it working and seems fine to me. Does what it says on the tin and nothing else.

Copy link
Copy Markdown
Contributor

@samuel-denton samuel-denton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I cant find any window size or arrangement of views that overlap or cause issues.

@samuel-denton samuel-denton merged commit c8dd712 into cylc:master Apr 30, 2026
7 checks passed
@MetRonnie
Copy link
Copy Markdown
Member

Couple of issues with this, I'm afraid...

@ChrisPaulBennett Can you follow-up and tackle #1455 in the process?

image

@MetRonnie MetRonnie added this to the 2.14.0 milestone Apr 30, 2026
@MetRonnie MetRonnie added small UX/UI User experience and interface improvements labels Apr 30, 2026
@samuel-denton
Copy link
Copy Markdown
Contributor

The menu collapse button looks like a backwards navigation button which will confuse some users. Perhaps the "backburger" icon would be more appropriate

I didn't think that was an issue when I reviewed but playing with the different screens again I actually did just press it intending to press the back button! Not seen the back-burger before but I agree it works here.

On some views we now have duplicate toolbar and banners telling you what page you are on

My bad, I never use the workflows table or any of those pages which have their own banner so didn't think to check them... I agree with the proposed solution to merge them, having a consistent banner on all pages is nice.

@samuel-denton
Copy link
Copy Markdown
Contributor

@MetRonnie @ChrisPaulBennett should I revert the merge or is it easier to make a new PR for this?

@ChrisPaulBennett
Copy link
Copy Markdown
Contributor Author

I didn't know the back burger was a thing. That seems perfect for this situation. Will change.
I did notice the clash with the workflow toolbar, but addressed that.
I'll create another PR to address the icon and combine the toolbars

@MetRonnie
Copy link
Copy Markdown
Member

should I revert the merge or is it easier to make a new PR for this?

We should be able to get the follow-up PR in soon, would avoid the need for any revert as nothing is broken

MetRonnie added a commit that referenced this pull request May 6, 2026
@MetRonnie MetRonnie removed this from the 2.14.0 milestone May 6, 2026
@MetRonnie
Copy link
Copy Markdown
Member

Reverted in #2543, superseded by #2542

@MetRonnie MetRonnie mentioned this pull request May 6, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small superseded UX/UI User experience and interface improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display drawer expand/collapse button at all times

4 participants