Skip to content

notifications-ui - Improve UI on mobile - #9635

Merged
fregante merged 5 commits into
mainfrom
notifications-ui-mobile
May 30, 2026
Merged

fregante merged 5 commits into
mainfrom
notifications-ui-mobile

Conversation

@fregante

@fregante fregante commented May 29, 2026 •

Copy link
Copy Markdown
Member

@fregante
fregante marked this pull request as ready for review May 29, 2026 17:07
Comment thread source/features/notifications-ui.css Outdated
Comment on lines +10 to +15
/* Move "Manage notifications" to the right */
/* Use .my-2 for extra specificity */
.manage-notifications-responsive.my-2 {
margin: 0 !important;
order: 10;
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This PR doesn't try to alter the style/contents of the top 3 dropdown/modals. It's unclear what they should be, really. Changing the meaning of the gear button seems too much.

@fregante

fregante commented May 29, 2026 •

Copy link
Copy Markdown
Member Author

Note: there's a GH bug at 770px unrelated to Refined GitHub. It's right on the breakpoint of the mobile UI. I could not immediately locate the reason why the search field collapses, but it could be part of notifications-ui

bug

Comment thread source/features/notifications-ui.css Outdated

/* Scale back "All | Unread" selector so it doesn't take the full width */
& > .BtnGroup:first-child {
width: auto;

@fregante fregante May 29, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Suggested change
width: auto;
width: auto;
margin-right: auto;

I thought we should keep the sort/grouping aligned right, but there's actually an extra element (exists but empty) which messes with column-gap. GitHub fills this with the "there are new notifications" text.

We could probably move this in the middle, but I was unable to make it appear and play with it.

{
"id": "notifications-ui",
"description": "Lets you change notifications sorting and grouping in one click.",
"css": true,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Screenshots in header from Safari.


Also tested in Firefox and Chrome

Image

@fregante

fregante commented May 29, 2026 •

Copy link
Copy Markdown
Member Author
597233239-684c237f-65eb-41b7-aebf-3b624b665481

}

void features.addCssFeature(import.meta.url);
void features.add(import.meta.url, {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don’t like this but we've been doing it in a few features. Not sure if it should be made "official" by adding a css field to the regular FeatureInit object

@fregante

Copy link
Copy Markdown
Member Author

I'll likely hotfix this section (if it works, due to the !important) because that All|Unread on one line irks me so much.

IMG_9127

@fregante

fregante commented May 30, 2026 •

Copy link
Copy Markdown
Member Author

Hotfixed to 26.5.24

Screenshot

However I'm seeing something weird. If I change the sorting or grouping, it's like the hotfix isn't loaded. It works if I just toggle between All and Unread.

@fregante
fregante merged commit ede1822 into main May 30, 2026
13 checks passed
@fregante
fregante deleted the notifications-ui-mobile branch May 30, 2026 08:12
@fregante

Copy link
Copy Markdown
Member Author

I'd argue that this is still very messy for a UI:

Screenshot 3

but that's the best we can do other than recreating the whole UI ourselves. Incremental improvements can follow. For now let's just say it's Less Messi Messi than before

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

Development

Successfully merging this pull request may close these issues.

Improve notification UI (sorting, grouping, mobile)

1 participant