kolibri-design-system icon indicating copy to clipboard operation
kolibri-design-system copied to clipboard

Remove deprecated dropshadows

Open MisRob opened this issue 1 year ago • 2 comments

🌱 Are you new to the codebase? Welcome! Please see the contributing guidelines.

Blocked by

  • https://github.com/learningequality/kolibri/issues/12552
  • https://github.com/learningequality/kolibri-design-system/issues/724

Summary

For both internal KDS components styling and external use by non-KDS components in our products, according to the updated guidelines in the "Elevation and shadow > Drop shadows" documentation section, we only need to keep %dropshadow-1dp , %dropshadow-2dp , and %dropshadow-6dp in the definitions.scss:

https://github.com/learningequality/kolibri-design-system/blob/0cbdf57d24690cb6c23618ba700118a831cd9ffc/lib/styles/definitions.scss#L59-L157

All other %dropshadow-... should not be available for use.

Guidance

  • I think it’d be fine to just comment them out rather than delete, in case we need some of them in the future - as long as there’s a note that uncommenting needs to be discussed with designers and should be aligned with the guidelines.
  • Issues in "Blocked by" should be resolved first to ensure that KDS version upgrade is not demanding in Kolibri that has many drop shadows. Still needs to be communicated as a breaking change and consumers should double-check before installing the corresponding release (the issues mentioned should cover most of it, however there may be one or two places in Studio to update as well)

MisRob avatar Aug 11 '24 15:08 MisRob

i've already finished commenting the deprecated drop shadows , can you assign this to me, so i can PR my changes?

lokesh-sagi125 avatar Aug 20 '24 06:08 lokesh-sagi125

Thanks @lokesh-sagi125. I'll assign you. Just a note it's better to get assigned first in case some clarification is needed, so please always message us and wait for assignment.

Would you mind splitting https://github.com/learningequality/kolibri-design-system/pull/734 into two pull requests? One that resolves https://github.com/learningequality/kolibri-design-system/issues/724 and another that resolves this issue.

These are deliberately two issues because https://github.com/learningequality/kolibri-design-system/issues/724 can be merged soon, whereas for the other one we will be waiting until https://github.com/learningequality/kolibri/issues/12552, otherwise it'd break many places in Kolibri. We will then review both pull requests.

MisRob avatar Aug 20 '24 08:08 MisRob

Hi @MisRob , could you please assign this issue to me? I would like to work on it. Thanks!

Rahul-web-hub avatar Oct 15 '24 03:10 Rahul-web-hub

hey @MisRob @AlexVelezLl i am not sure why i was unassigned from this issue, if in case its because of my inactivity ,i was waiting for (https://github.com/learningequality/kolibri/issues/12552) as it blocks this issue, i have removed the deprecated dropshadows and will be raising a PR as long as this issue gets unblocked

lokesh-sagi125 avatar Oct 15 '24 06:10 lokesh-sagi125

Sorry about that @lokesh-sagi125, that was an oversight on my side. I will re-assign you again. Feel free to open a PR and we will take care of merging it at the right time.

MisRob avatar Oct 15 '24 07:10 MisRob

Hi @Rahul-web-hub, I posted links to other issues here for you https://github.com/learningequality/kolibri/issues/12552#issuecomment-2413131138

MisRob avatar Oct 15 '24 07:10 MisRob

Hi @Rahul-web-hub, I posted links to other issues here for you learningequality/kolibri#12552 (comment)

no problem ,I would be more than happy to work on other issues

Rahul-web-hub avatar Oct 15 '24 07:10 Rahul-web-hub

Lovely thanks @Rahul-web-hub

MisRob avatar Oct 15 '24 07:10 MisRob

Hey @lokesh-sagi125. https://github.com/learningequality/kolibri/issues/12552 is about to be merged, you can open your PR for this issue now :)

AlexVelezLl avatar Oct 21 '24 18:10 AlexVelezLl

thanks @AlexVelezLl will do .

lokesh-sagi125 avatar Oct 22 '24 09:10 lokesh-sagi125

hey @AlexVelezLl just raised a pr

lokesh-sagi125 avatar Nov 04 '24 11:11 lokesh-sagi125

Closed by https://github.com/learningequality/kolibri-design-system/pull/815

MisRob avatar Nov 18 '24 15:11 MisRob