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

DMing a bogus mxid from the new DM UI doesn't warn you #12186

Closed
ara4n opened this issue Feb 1, 2020 · 4 comments · Fixed by matrix-org/matrix-react-sdk#4144
Closed

DMing a bogus mxid from the new DM UI doesn't warn you #12186

ara4n opened this issue Feb 1, 2020 · 4 comments · Fixed by matrix-org/matrix-react-sdk#4144

Comments

@ara4n
Copy link
Member

ara4n commented Feb 1, 2020

i DMd @foo:matrix.ogr and it silently worked but didn't invite anyone

@turt2live
Copy link
Member

This is largely a question about what the dialog should do when you have text that hasn't been pillified yet.

@turt2live
Copy link
Member

Closing in favour of #11771 (comment)

@jryans
Copy link
Collaborator

jryans commented Feb 25, 2020

We may address this specific issue separately from general accessibility, so let's keep this open to track it separately.

@jryans jryans reopened this Feb 25, 2020
@turt2live turt2live self-assigned this Feb 25, 2020
@turt2live
Copy link
Member

I'm assuming this is because of the go button creating an empty room rather than saying you've done it wrong?

The dialog itself feels pretty suggestive that it's not going to work:
image

turt2live added a commit to matrix-org/matrix-react-sdk that referenced this issue Feb 28, 2020
Fixes element-hq/element-web#12186

Note: this will still result in an empty room being created, but that's a Synapse issue and not something we can solve.
t3chguy pushed a commit that referenced this issue Oct 17, 2024
* Add `Thread Activity centre` labs flag

* Rename translation string

* WIP Thread Activity Centre

* Update supportedLevels

* css lint

* i18n lint

* Fix labs subsection test

* Update Threads Activity Centre label

* Rename Thread Activity Centre to Threads Activity Centre

* Use compound `MenuItem` instead of custom button

* Color thread icon when hovered

* Make the pop-up scrollable and add a max height

* Remove Math.random in key

* Remove unused class

* Change add comments on `mx_ThreadsActivityRows` and `mx_ThreadsActivityRow`

* Make threads activity centre labs flag split out unread counts

Just shows notif & unread counts for main thread if the TAC is enabled.

* Fix tests

* Simpler fix

* Open thread panel when thread clicke in Threads Activity Centre

Hopefully this is a sensible enough way. The panel will stay open of
course (ie. if you go to a different room & come back), but that's the
nature of the right panel.

* Dynamic state of room

* Add doc

* Use the StatelessNotificationBadge component in ThreadsActivityCentre

and re-use the existing NotificationLevel

* Remove unused style

* Add room sorting

* Fix `ThreadsActivityRow` props doc

* Pass in & cache the status of the TAC labs flag

* Pass includeThreads as setting to doesRoomHaveUnreadMessages too

* Fix tests

* Add analytics to the TAC (#12179)

* Update TAC label (#12186)

* Add `IndicatorIcon` to the TAC button (#12182)

Add `IndicatorIcon` to the TAC button

* Threads don't have activity if the room is muted

This makes it match the computation in determineUnreadState.
Ideally this logic should all be in one place.

* Re-use doesRoomHaveUnreadThreads for useRoomThreadNotifications

This incorporates the logic of not showing unread dots if the room
is muted

* Add TAC description in labs (#12197)

* Fox position & size of dot on the tac button

IndicatorIcon doesn't like having the size of its icon adjusted and
we probably shouldn't do it anyway: better to specify to the component
what size we want it.

* TAC: Utils tests (#12200)

* Add tests for `doesRoomHaveUnreadThreads`
* Add tests for `getThreadNotificationLevel`

* Add test for the ThreadsActivityCentre component

* Add snapshot test

* Fix narrow hover background on TAC button

Make the button 32x32 (and the inner icon 24x24)

* Add caption for empty TAC

* s/tac/threads_activity_centre/

* Fix i18n & add tests

* Add playwright tests for the TAC (#12227)

* Fox comments

---------

Co-authored-by: David Baker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants