fix(css): bring back reminder bell#8328
Conversation
|
Thank you for the PR. But we are going to need some context here. What is the issue, where is the issue? |
Hi @SebastianKrupinski this is a draft, so work is under progress 🙂 |
| background-repeat: no-repeat; | ||
| background-position: center; | ||
| vertical-align: middle; | ||
| body[data-themes^="light"] & { |
There was a problem hiding this comment.
Please don't embed images in to the css like this.
There was a problem hiding this comment.
OK, can you tell me how I can get the bell properly ?
There was a problem hiding this comment.
What method / syntax ?
There was a problem hiding this comment.
@SebastianKrupinski my goal is to dynamically change the color of the icon ; if it's not possible, tell where to insert it in the HTML code with the right syntax and then, we'll target it for color changing with different CSS properties.
There was a problem hiding this comment.
That code lives in the full calendar event sources / mount
Here is a recent PR that altered the colors, and design
https://github.com/nextcloud/calendar/pull/8149/changes
Those are the files that control the look and display of the events
There was a problem hiding this comment.
Honestly, I'm going to need some help. Could someone handle the icon call properly while I take care of the CSS part?
db9478f to
98786b0
Compare
|
@nextcloud/designers I need a co-author to insert / call properly the bell icon in the HTML DOM (if inserting it as I did in CSS is not permitted). |
7ceec5a to
eac4b0f
Compare
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
eac4b0f to
db6227f
Compare
|
@Jerome-Herbinet I am indeed interested to know if there is an existing issue/discussion about this, and what problem it is solving. I'd be wary of adding the bell icon in every view as often there is not enough space (like in month view). This would be more suited to day or agenda view, but I'm interested to know what you think! |
@nimishavijay please test this in CSS custom (theming) on any Nextcloud instance ; this is last version I use. It displays reminder properly in the following views :
It doesn't appear in the month and year views because there is not enough space. The only problem I encounter is the bell icon calling method (as said by @SebastianKrupinski) ; for that I need someone to co-edit this PR. |
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(css): move bell on the left side Because, on the right side, it's getting hidden in case of too many overlapped events. Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> feat(css): remove useless code if icon-event-reminder--dark is not used anymore Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(css): bring back reminder bell Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(css): bring back reminder bell Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
b4cb5d4 to
b8bf775
Compare
|
Just updated the code (one more commit, then squash) to fit the last version shown in #8328 (comment) ; icon call method issue remaining (help needed from one of you @SebastianKrupinski @nimishavijay) screenshot in description have also been updated ; I remind that the styles impact the following views :
But, it doesn't appear in the month and year views because there is not enough space. In any case, commits must be tested by reviewers (I don't have real test environment). |
Please check commit.
Only tested with my browser's dev tools (CSS inspector).
Supposed to work properly with: