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

Visually distinguish invitations in calendar grid #6624

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

GVodyanov
Copy link
Contributor

@GVodyanov GVodyanov commented Jan 13, 2025

Fix #3869

swappy-20250121_193855

Based on #3869 (comment)

@GVodyanov GVodyanov added the 2. developing Work in progress label Jan 13, 2025
@GVodyanov GVodyanov self-assigned this Jan 13, 2025
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.30%. Comparing base (cad954e) to head (679c25d).
Report is 35 commits behind head on main.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #6624       +/-   ##
=============================================
+ Coverage     22.97%   59.30%   +36.32%     
  Complexity      475      475               
=============================================
  Files           252       42      -210     
  Lines         12128     2290     -9838     
  Branches       2317        0     -2317     
=============================================
- Hits           2786     1358     -1428     
+ Misses         9015      932     -8083     
+ Partials        327        0      -327     
Flag Coverage Δ
javascript ?
php 59.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…in grid

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
@GVodyanov GVodyanov force-pushed the style/conditional-styling-attendee-status branch from 0916f30 to d340b11 Compare January 21, 2025 18:50
@GVodyanov GVodyanov marked this pull request as ready for review January 21, 2025 18:50
@GVodyanov GVodyanov added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jan 21, 2025
@nimishavijay
Copy link
Member

Looking great! Could you also post a screenshot in light mode, and one with the entire screen? to check the contrast.
So far I have only one suggestion, which is to use the filled warning symbol instead of the outlined one so that it's visible more clearly.

@GVodyanov
Copy link
Contributor Author

GVodyanov commented Jan 23, 2025

Looking great! Could you also post a screenshot in light mode, and one with the entire screen? to check the contrast.

Here you go @nimishavijay

image

The outlined yellow event on a white background is the worst we can get in terms of contrast (at least out of the default colors)... I agree it's not great, I guess the spec could be changed to either modify the text and have it be the normal text color, or leave the background and have some other way of showing it's declined, what do you think is best?

PS I'll change the icon now

@nimishavijay
Copy link
Member

nimishavijay commented Jan 23, 2025

Yep, exactly what I thought too.

  • We can definitely bold the text for full day events, considering the regular events are bold too.

  • To be on the safer side I'd also agree that we can make it the normal text color.

  • Other than that I can only think of maybe using a thicker border (maybe 2px?). We can try that and see, let me know what you think.

  • Also unrelated nitpick but I noticed that today's events are like 1px too low (possibly because of the box around the date). Is it possible to fix that?

@GVodyanov
Copy link
Contributor Author

GVodyanov commented Jan 23, 2025

First things first, here's the new icon

image

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
@GVodyanov
Copy link
Contributor Author

How is this looking? @nimishavijay

image

image

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
@SebastianKrupinski
Copy link
Contributor

Looking good! 👍

@nimishavijay
Copy link
Member

nimishavijay commented Jan 27, 2025

Awesome! Thanks for the comprehensive screenshots. 2px works! Looks much clearer now. Couple of more nitpicks:

  • I see that the height of the needs-action and confirmed full day events are different (needs-action is slightly more because of the border). Could we make this consistent? Maybe by using outline instead of border or decreasing the height and adding a border to the confirmed event in the same colour, you get the idea
  • The outlined circle stroke also seems very thin, possible to make that also 2px? (Also make sure to keep the size consistent with the filled circle like the previous point)
  • add 2px spacing between the warning icon and the text, rn it seems very close

Other than that it is ready to go! Super nice work! :)

@st3iny
Copy link
Member

st3iny commented Jan 27, 2025

/backport to stable5.1

@backportbot backportbot bot added the backport-request A backport was requested for this pull request label Jan 27, 2025
@st3iny st3iny added this to the v5.2.0 milestone Jan 27, 2025
@GVodyanov
Copy link
Contributor Author

You have a super attentive eye @nimishavijay! Thanks for the review, how's it looking now?

(zoomed to see alignment)

image

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews backport-request A backport was requested for this pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visually distinguish invitations
4 participants