Skip to content

FIX: when new new is enabled, filter dismiss modal to correct type #33037

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

Merged
merged 6 commits into from
Jun 3, 2025

Conversation

awesomerobot
Copy link
Member

@awesomerobot awesomerobot commented Jun 2, 2025

Currently both boxes are always checked, even if you're filtered to new topics or new posts.

You must have the site setting Experimental new new view groups set to your user's group to see this mode.

image

This allows both options to appear, but only selects the current filter:

image

Turns out this was already implemented, but subset was always undefined. This fixes the arg and adds a couple new specs to cover it.

see /t/155039 for reference

Copy link
Contributor

@Drenmi Drenmi left a comment

Choose a reason for hiding this comment

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

🚀

@awesomerobot awesomerobot merged commit df1bede into main Jun 3, 2025
18 checks passed
@awesomerobot awesomerobot deleted the fix-new-new-dismiss branch June 3, 2025 13:47
@awesomerobot awesomerobot restored the fix-new-new-dismiss branch June 3, 2025 18:35
@awesomerobot awesomerobot deleted the fix-new-new-dismiss branch June 3, 2025 18:40
megothss pushed a commit that referenced this pull request Jun 3, 2025
…33037)

Currently both boxes are always checked, even if you're filtered to new
topics or new posts.

You must have the site setting `Experimental new new view groups` set to
your user's group to see this mode.



![image](https://github.com/user-attachments/assets/f485ad66-7491-4f52-a812-4b5f9dba6d63)

This allows both options to appear, but only selects the current filter:


![image](https://github.com/user-attachments/assets/6a3c1a91-1638-440f-80e3-4d74711d8064)

Turns out this was already implemented, but `subset` was always
undefined. This fixes the arg and adds a couple new specs to cover it.

see /t/155039 for reference
martin-brennan pushed a commit that referenced this pull request Jun 10, 2025
…33037)

Currently both boxes are always checked, even if you're filtered to new
topics or new posts.

You must have the site setting `Experimental new new view groups` set to
your user's group to see this mode.



![image](https://github.com/user-attachments/assets/f485ad66-7491-4f52-a812-4b5f9dba6d63)

This allows both options to appear, but only selects the current filter:


![image](https://github.com/user-attachments/assets/6a3c1a91-1638-440f-80e3-4d74711d8064)

Turns out this was already implemented, but `subset` was always
undefined. This fixes the arg and adds a couple new specs to cover it.

see /t/155039 for reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants