-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
UI redesign: Recipient header bar (topic title bar) #22430
Conversation
d8d8555
to
5ca4bcb
Compare
We should increase the color contrast between the message and the background in the night theme. Right now, they look very alike. |
5ca4bcb
to
f6a81ce
Compare
Thanks for working on this -- it's cool to see! Could you clarify why the TODO items in the description for this PR are relevant to #22021? E.g. I wouldn't expect the recipient header bar change to touch popovers, the compose box, etc. but maybe I'm missing something. |
The PR also seems to make some changes that are separate from what was described in this issue. E.g. is it solving parts of #21750 as well? (I believe @sayamsamal was planning to pick that one up?) |
Commenting on just the recipient header bar aspect of it, it feels to me like the contrast between (If that part wasn't ready to review yet, I'm happy to check again later. :)) |
It is due to the change in background color of the app. The new background color doesn't look good with the current colors of these elements. |
Hmm, OK, but updating the background color of the app was not part of #22021 either... |
@amanagr I think the problem that you don't add the proper background color for the bar and for the light theme the background color is off. Here are clarifications https://www.loom.com/share/d531f451452e44e089bea0a6f9d6e496 |
Thanks for the great review video. I was using a plugin to convert hex values into HSL values, and I guess it wasn't working correctly. |
f6a81ce
to
ac0e228
Compare
@amanagr for some reason I see the color is 3% now Now as I see that in action I vote for having 8% for both dark and light themes. And we might make it 10% once more people will try that in action. P.S. Could you try to set up colors via HSLA spelling? or RGBA ? instead of hex... |
For the steam recipient bar colors, we get hex values from the server. I can't use HSLA or RGBA there. |
Yes, you have color as hex as a value for a stream, but in order to construct the transparency for the bar itself you have to convert specify the opacity value, right? Are you saying that transparency value is controlled on a server side somehow? |
ac0e228
to
5f6a399
Compare
@terpimost This should be working correctly now. |
I confirm that it works as discussed. The next step would be on my side to think how colors work a bit better. It would be a separate issue. |
@amanagr if we can drop the background change from this PR, I can review it as well, and then we can plan to test on CZO. |
Discussion about topic colors https://chat.zulip.org/#narrow/stream/101-design/topic/UI.20redesign.3A.20stream.2Ftopic.20header.20bar/near/1413426 |
5f6a399
to
f7a0d9d
Compare
I dropped the background change from it PR. There is still a lot to do here, some of it is in the WIP part of the PR:
I think we should finalize the steps we want to follow before I dive into any of these. |
f7a0d9d
to
50318a3
Compare
Hey @amanagr I'm checking colors for the same hashtag color from my example and from this PR: |
50318a3
to
f64cba6
Compare
f64cba6
to
75e8dff
Compare
Heads up @amanagr, we just merged some commits that conflict with the changes you made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
I realized that I'm not sure what's meant by this point:
Could you please clarify? |
In general, what are the open questions here that we need to answer to unblock work on this?
|
I think we could test on CZO without making any changes in the drafts overlay, so that can be a later step if it's not super easy to do. |
@alya these are no longer a concern, thanks for your followup! I think I can safely close this PR since it is no longer relevant and has some changes that I wouldn't like to have too. I followed a completely different approach to resolve my concerns. |
Ok, sounds good! Is there a current version of the PR that we should link with #22021, or is it local so far? |
Yes local, I am working on it in this branch which I keep fairly updated. I expect to open a PR for it by this weekend. |
Issue: #22021
Discussion: https://chat.zulip.org/#narrow/stream/431-redesign-project/topic/recipient.20bar.20.2322021
dark_background
thing which we use to make recipient bar text color white for streams having dark colors. This is useless now since we are following a different approach. (Just an annoying bit of change)