Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.2k
Fix outstanding UX issues with replies/mentions/keyword notifs#28270
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I foresee this change being made across the codebase shortlyand want to proactively prevent my PR from falling behind
CLAassistant commentedOct 22, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
It is clear that it would be best for me to addressthis piece in a separate PR.
@dbkr's comparison with EX:
|
@t3chguy will take this to the design team for guidance |
I have requested input from @element-hq/design but did not get anywhere. |
Hey@taffyko - I managed to get some review from the @element-hq/design team. They are happy to land this but would like the font colour for pills to also be updated to |
On it! |
@t3chguy |
gaelledel left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks very much@taffyko
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks sane to me, thanks!
private regExpForKeywordPattern(pattern: string): RegExp { | ||
// Reflects the push notification pattern-matching implementation at | ||
// https://github.com/matrix-org/matrix-js-sdk/blob/dbd7d26968b94700827bac525c39afff2c198e61/src/pushprocessor.ts#L570 | ||
return new RegExp("(^|\\W)(" + globToRegexp(pattern) + ")(\\W|$)", "i"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
It'd be nice to reuse the cache in the js-sdk for these regexes but not going to block this change on that
68c03db
Uh oh!
There was an error while loading.Please reload this page.
clokep commentedJan 22, 2025
Very excited to see this! Thanks for taking the time to do it! |
Uh oh!
There was an error while loading.Please reload this page.
This is a continuation ofPR #85 from the now-incorporated matrix-react-sdk, see the discussion there.
Checklist
public
/exported
symbols have accurateTSDoc documentation.Purpose
When following a link to a message with keyword notifications, there would no longer be any visual indication that the message triggered a notification.
For the "Modern" layout, a bright stripe has been added to the left edge of the highlighted-message background to make mentions/notifications more visible, in the spirit ofelement-hq/element-meta#1476.EDIT: This addition has been dropped from this PR, as it needs additional work to adhere to the Compound design system guidelines — I believe it would be best for me to address it in a follow-up PR instead.
For now, disregard the highlighted left edge that appears in the "After" screenshots below.
Fixeselement-hq/element-meta#744
Fixes#8821