Skip to content
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

Port UI focus changes from upstream #2350

Conversation

Plastikmensch
Copy link

@Plastikmensch Plastikmensch commented Jul 31, 2023

Closes #2342

TODO:

Notes:

  • Glitch-soc already has focus styling for drawer__header. I'm inclined to keep that.
  • Keyboard navigation doesn't really work well with collapsed toots (try navigating a collapsed poll notification). Not sure how to address that yet.
  • Compared to upstream more outlines are cut off. Likely caused by different wrapping of elements.
  • Not sure removing the outline on the "Show more" button is a good call, but it matches upstream.

Also present upstream:

  • Poll refresh button has different outline
  • notification filter bar has different outline

Port 59478a1 to glitch-soc

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Port cfd50f3 to glitch-soc

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Glitch-soc wraps toots differently, which caused toot content to be focusable twice.

This brings the component closer to upstream.

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Glitch-soc has column headers where upstream doesn't, causing inconsistency with the outline.

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
@Plastikmensch
Copy link
Author

This should be good.

Noticed some issues with local setting regarding focus.
Changes for that have been split out into separate PRs.

@Plastikmensch Plastikmensch changed the title [WIP] Port UI focus changes from upstream Port UI focus changes from upstream Aug 1, 2023
@Plastikmensch Plastikmensch marked this pull request as ready for review August 1, 2023 17:25
@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@Plastikmensch
Copy link
Author

See: #2365 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port UI focus behavior/styling changes from upstream
1 participant