matrix-react-sdk icon indicating copy to clipboard operation
matrix-react-sdk copied to clipboard

Changed text color of highlights

Open nhhollander opened this issue 4 years ago • 11 comments

This is a reintroduction of the changes from #2896.

Previously this change was rejected because in the absence of a pill, it would be impossible to tell if a message was highlighted or not. Since fc3c4fccc2a3b8d6f4d7a2d737fba6cb26df014b a yellow background has been added to highlighted messages making the red text redundant. I believe this also resolves the concerns discussed in in #2896.

This should address some issues with element (and probably a few more I'm missing): vector-im/element-web/issues/9070 vector-im/element-web/issues/13963

Dark Theme: Before: element_before_c

After: element_after_c

Light Theme: Before: element_before_light_c

After: element_after_light_c

Added 2021-04-01 Before and after demonstrating Replies, mentions, and keywords. (The disappearance of the shield icon is caused by an out-of-date fork)

Dark Theme: Before: image

After: image

Light Theme: Before: image

After: image

I wasn't able to generate a mention without a pill, although it should appear the same as the keyword message does in the examples above.


This PR currently has no changelog labels, so will not be included in changelogs.

A reviewer can add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is, or add Type: [enhancement/defect/task] to the description and I'll add them for you.

nhhollander avatar Mar 06 '21 00:03 nhhollander

@nhhollander, thanks! Could you please include a screenshot so it's easier to review to the visual side?

SimonBrandner avatar Mar 06 '21 06:03 SimonBrandner

@SimonBrandner Updated, thanks for the tip

nhhollander avatar Mar 07 '21 03:03 nhhollander

Looking at discord, it seems that in addition to the highlight, they have a solid bar of color on the left side to increase visibility. When matrix is in dark mode, the contrast from the highlight alone is pretty visible, but in light mode it gets kind of washed out. I'll give that shot and see how it looks.

nhhollander avatar Apr 26 '21 19:04 nhhollander

It appears at first glance that this issue has been fixed (along with a bunch of other improvements) in https://github.com/matrix-org/matrix-react-sdk/pull/3553.

nhhollander avatar Jul 15 '21 18:07 nhhollander

@nhhollander I don't believe vector-im/element-web#3553 covered most of the changes in this PR. Messages are still entirely highlighted red when they ping you, that's just now with the exception of quoted messages in replies.

robintown avatar Jul 15 '21 19:07 robintown

Oops, looks like I misread that PR!

nhhollander avatar Jul 15 '21 19:07 nhhollander

Hi friends! Been a few months - any chance of this getting merged? Seems like low hanging fruit!

haydenmc avatar Oct 04 '21 18:10 haydenmc

@haydenmc I lost my dev environment when I moved computers, but I'll try to pull these changes with the latest release and see if it still works sometime this week. There's been loads of changes over the last few months, I haven't gotten a chance to check if there are any potentially conflicting changes.

nhhollander avatar Oct 05 '21 07:10 nhhollander

Any progress on this?

mdsina avatar Mar 08 '22 19:03 mdsina

I'd like to review this on behalf of design but can't find the view deployment option

niquewoodhouse avatar Jul 25 '22 09:07 niquewoodhouse

@nhhollander, could you please merge develop?

SimonBrandner avatar Jul 25 '22 09:07 SimonBrandner

I've created https://github.com/matrix-org/matrix-react-sdk/pull/9199 to replace this PR and allow the design team to take a look.

robintown avatar Aug 17 '22 12:08 robintown

When will the hideous red color be removed and replaced? It's been years...

newdawncrypto avatar Feb 18 '23 23:02 newdawncrypto

Please stop posting in multiple places. One comment is more than enough to get the attention of the people who can help you.

turt2live avatar Feb 18 '23 23:02 turt2live