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

Quote Replies: Fix functionality on "Tumblr Patio" preview #1373

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

marcustyphoon
Copy link
Collaborator

@marcustyphoon marcustyphoon commented Jan 19, 2024

Description

This fixes the selection of notification elements used in Quote Replies so that it's a) consistent with NotificationBlock, and b) works on activity columns in the "Tumblr Patio" feature preview.

Resolves #1368.

It also fixes an error that would appear in the js console when you opened this menu with NotificationBlock enabled, as it erroneously selected an element in that menu:

This relies a lot on aria-role.

Testing steps

  • Confirm that Quote Replies and NotificationBlock work on an activity column in Tumblr Patio, in the activity modal, and on the activity page.

Copy link
Owner

@AprilSylph AprilSylph left a comment

Choose a reason for hiding this comment

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

No apparent regressions. Can't test on Patio; don't have it! I'll trust you to test the PR build again before merging.

(I could technically test XKit changes on my Tumblr admin account... but IDK if that counts as conflict-of-interest or not 😋)

@nightpool
Copy link
Collaborator

nightpool commented Feb 20, 2024 via email

@AprilSylph
Copy link
Owner

@nightpool yay ❤️

@AprilSylph AprilSylph requested a review from nightpool February 20, 2024 23:08
@marcustyphoon
Copy link
Collaborator Author

No apparent regressions. Can't test on Patio; don't have it!

Wait, do you not get your personal account automatically dogfooded into this kind of thing?

@AprilSylph
Copy link
Owner

Nope! I decided to make a new account for work-related stuff. That account gets all the staff privileges, while my personal and testing accounts don't. Whitelisting them for new features is as manual a process as whitelisting other XKit devs.

@marcustyphoon
Copy link
Collaborator Author

Makes sense! Although, I mean, your testing account is the testing account of an XKit dev... :D

Oh, wait, I guess it probably doesn't have ad-free, does it. That makes this particular case more complicated. (And I guess that I'm happy my personal account does have Patio, whether that's intentional or lucky.)

@marcustyphoon
Copy link
Collaborator Author

I have tested this again and it continues to work as expected, including on Patio.

@marcustyphoon
Copy link
Collaborator Author

Treating my own testing as an approval re: patio testing.

@marcustyphoon marcustyphoon merged commit f83acd3 into AprilSylph:master Mar 5, 2024
2 checks passed
@marcustyphoon marcustyphoon deleted the quote-replies-patio branch March 5, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quote Replies: Nonfunctional on "Tumblr Patio" preview
3 participants