-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
matrix-org/matrix-react-sdk
#9956Labels
Help WantedExtra attention is neededExtra attention is neededO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-TolerableLow/no impact on usersLow/no impact on usersT-Enhancementgood first issueGood for newcomersGood for newcomers
Description
Your use case
What would you like to do?
To maximize readability, room and message IDs in the view event source dialogue should use the monospace font.
It could look like this, though my vertical alignment is off:
How would you like to achieve it?
Here is the part in the code:
https://github.com/matrix-org/matrix-react-sdk/blob/e718242912e2d063a66abc05c2fcab53db18569c/src/components/structures/ViewSource.tsx#L170-L179
- put labels and IDs in their own element classes
- apply monospace font to IDs
- ensure the labels have the same width for alignment (they do coincidentally with that font, but probably still should)
Have you considered any alternatives?
No response
Additional context
Would it make sense to do this for MXIDs as well? With the Inter font, capital i and lower case L are indistinguishable. This could combat impersonation attempts.
Metadata
Metadata
Assignees
Labels
Help WantedExtra attention is neededExtra attention is neededO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-TolerableLow/no impact on usersLow/no impact on usersT-Enhancementgood first issueGood for newcomersGood for newcomers