Skip to content

notifications-ui - New feature#9368

Merged
fregante merged 14 commits into
mainfrom
unwrap-notifications
May 24, 2026
Merged

notifications-ui - New feature#9368
fregante merged 14 commits into
mainfrom
unwrap-notifications

Conversation

@SunsetTechuila

@SunsetTechuila SunsetTechuila commented May 7, 2026

Copy link
Copy Markdown
Contributor

part of #9204

Resolves #9203

Resolves #9202

Test URLs

https://github.com/notifications

Screenshot

Other screenshots image
image

Mobile layout:

image

@fregante

fregante commented May 7, 2026

Copy link
Copy Markdown
Member

I bet they'll introduce a popup soon similar to what we have in the PR Files tab. Anyway, worth the change now since I suppose they won't be working on notifications before December.

@fregante

fregante commented May 7, 2026

Copy link
Copy Markdown
Member

Keep an eye on mobile too. I think our controls can appear on a single line so this would be improved already:

Long screenshot

image

@fregante fregante changed the title unwrap-unnecessary-dropdowns - Use segmented controls notifications-ui - New feature May 23, 2026
@github-actions github-actions Bot added the bug label May 23, 2026
@SunsetTechuila

This comment was marked as resolved.

@SunsetTechuila

This comment was marked as resolved.

@SunsetTechuila SunsetTechuila marked this pull request as ready for review May 23, 2026 17:48
@github-actions github-actions Bot added the bug label May 23, 2026
@github-actions github-actions Bot added the bug label May 23, 2026
Comment thread build/__snapshots__/features-meta.json Outdated
Comment thread readme.md Outdated
- [](# "pr-notification-link") [Points PR notifications to the Conversation tabs instead of the commits page, which may be a 404.](https://github.com/refined-github/refined-github/assets/1402241/621f6512-655e-4565-a37b-2b159ea0ffce)
- [](# "sticky-notifications-actions") [Make the notifications action bar sticky.](https://github.com/refined-github/refined-github/assets/1402241/5b370430-2319-4c78-88e7-c2c06cd1c30f)
- [](# "clean-notifications") Makes the notifications list more compact when grouped by repo.
- [](# "notifications-ui") [Transforms sorting and grouping into segmented controls.](https://github.com/user-attachments/assets/684c237f-65eb-41b7-aebf-3b624b665481)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since we already have clean-notifications, maybe notifications-ui is too broad as a name. notifications-header? clean-notifications-header? Not too long or else it's impossible to mention it in PR titles

@fregante fregante May 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe quick-notifications or notifications-actions to keep it limited to unwrapping of:

And then yet another feature:

  • mobile-notifications: improves the layout of the notifications page header on mobile specifically

@SunsetTechuila SunsetTechuila May 23, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

clean-* features usually remove something. quick-notifications is as general as notifications-ui

@fregante fregante May 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

notifications-ui is as general as quick-notifications

I think it's more generic. "quick" implies it saves you a click, which is what this does

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

unwrap-notifications-dropdowns?

@github-actions github-actions Bot added the bug label May 23, 2026
@fregante

fregante commented May 23, 2026

Copy link
Copy Markdown
Member

part of #9204

The issue was changed to include a mobile UI improvements, so I unlinked it.

By the way, what does it look like on mobile with this PR?

@SunsetTechuila

SunsetTechuila commented May 23, 2026

Copy link
Copy Markdown
Contributor Author
image

@SunsetTechuila

Copy link
Copy Markdown
Contributor Author

The issue was changed to include a mobile UI improvements, so I unlinked it.

What doesn't this PR cover? "Manage notifications" dropdown?

@SunsetTechuila

Copy link
Copy Markdown
Contributor Author

"Manage notifications" dropdown

This, this and this could be a part of notifications-ui. Then a generic name would be fitting

@fregante

fregante commented May 23, 2026

Copy link
Copy Markdown
Member

The issue was changed to include a mobile UI improvements, so I unlinked it.

What doesn't this PR cover? "Manage notifications" dropdown?

Other than the two controls at the bottom, this still looks like crap 😃

Image

This is why I was suggesting creating two feature:

  • one that unwraps
  • one that restyles

It's not a big deal to just have one notifications-ui but broad features always end up half broken.

It's often easier to reason when "a whole feature is broken/missing" rather than "this part of the feature in this specific scenario". This is also why I took quick-resolve-conflicts out of here. #9580

@fregante

Copy link
Copy Markdown
Member

"Manage notifications" dropdown?

Nothing to unwrap there, it has a bunch of options inside

@SunsetTechuila

Copy link
Copy Markdown
Contributor Author

"Manage notifications" dropdown

This, this and this could be a part of notifications-ui. Then a generic name would be fitting

OK, I'll just push a commit for you to decide if it makes sense or not

@fregante

fregante commented May 23, 2026

Copy link
Copy Markdown
Member

I'd rather merge this and then think about the rest later, this PR is already ready, we just need to settle on the name.

@SunsetTechuila

SunsetTechuila commented May 23, 2026

Copy link
Copy Markdown
Contributor Author
image

@SunsetTechuila

Copy link
Copy Markdown
Contributor Author

CSS implementations of replaceFiltersIcon, moveReadUnreadButtons and moveAndCompactSettingsButton are very unlikely to be easier or better code-wise

@SunsetTechuila

SunsetTechuila commented May 23, 2026

Copy link
Copy Markdown
Contributor Author

OK, maybe you're right. Reverted

@SunsetTechuila SunsetTechuila force-pushed the unwrap-notifications branch from 9814b4c to 04b2545 Compare May 23, 2026 20:33
@fregante fregante merged commit 1c0a8aa into main May 24, 2026
13 checks passed
@fregante fregante deleted the unwrap-notifications branch May 24, 2026 06:10
@fregante

fregante commented May 24, 2026

Copy link
Copy Markdown
Member
image

Looks much better already, however the native "Inbox | Gear" setup is actually "correct" since the modal actually goes to edit what appears in the Inbox. It's not actually a filter on the current view, it is settings.

For this reason I don’t think we can do much about the icons and labels, they're both "settings". Technically the "Change filters" button should be inside the "Inbox" dropdown, but absolutely not worth changing it here.

Inbox Settings
Screenshot 23 Screenshot 24

@fregante

fregante commented May 24, 2026

Copy link
Copy Markdown
Member

I think just placing them next to the All/Unread toggle is a big improvement:

Screenshot

On medium resolutions, the "Manage notifications" dropdown can be moved, unchanged, to the right side of the first line. This can be done via CSS alone.

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.

unwrap-unnecessary-dropdowns unwrap notifications sort dropdown unwrap-unnecessary-dropdowns broken on notifications

2 participants