Skip to content

Updated VSlideYTransition to KTransition #5110

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

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

yeshwanth235
Copy link
Contributor

Summary

Updated VSlideYTransition to KTransition

References

Fixes #5081

Reviewer guidance

Manual testing
Check whether form is show on click of open form
Check whether form is getting closed on click of close form

@radinamatic
Copy link
Member

@yeshwanth235 Thank you for continuing to be a member of our community and contributing to Kolibri, it is very much appreciated! 🙏🏽 👏🏽 ❤️

Could I make a suggestion to use a bit more descriptive PR titles? Referencing just the issue number does not help while scanning through the long list of PRs that are in our GitHub, and managing our backlog efficiently, as it requires more clicks (to open and see the content). Something short to summarize what you achieved with the PR would be more helpful 🙂
Thank you again!

@yeshwanth235 yeshwanth235 changed the title issue-5081 Updated VSlideYTransition to KTransition Jun 16, 2025
@MisRob MisRob self-requested a review June 17, 2025 14:32
@MisRob MisRob self-assigned this Jun 17, 2025
@MisRob
Copy link
Member

MisRob commented Jun 19, 2025

Hi @yeshwanth235, thanks for the update!

The form opens and closes as expected and I see the transition, however there's a regression when the form is transitioned to its place from the very top of the page. We need the transition to start/end right below Open/close modal link. I hope the effect I'm describing is clear, let me know.

Would you be able to look into KTransition and find out why it's happening? If you had any ideas how to resolve it, let me know and we will discuss. If it'd be handy for experimentation, it should be possible to link local kolibri-design-system repository via pnpm link.

@MisRob
Copy link
Member

MisRob commented Jun 19, 2025

@yeshwanth235 if it's helpful, here's how Vuetify achieved it

@yeshwanth235
Copy link
Contributor Author

Got your point @MisRob
Will check and update here
Need some time

@MisRob
Copy link
Member

MisRob commented Jun 19, 2025

Yes, no problem @yeshwanth235, thanks!

@yeshwanth235
Copy link
Contributor Author

Here are my finding @MisRob

image Prop validation is failing here

After digging deep.

Found that KTransition in node_modules missing the key(COMPONENT_VERTICAL_SLIDE_OUT_IN). Not sure why. But it is present in the KDS.

image

Therefore the css is not getting applied.

@yeshwanth235
Copy link
Contributor Author

I don't get,
How to link KDS with studio. i tried pnpm link. But it didn't worked.
Please help with it

@MisRob
Copy link
Member

MisRob commented Jun 19, 2025

@yeshwanth235 for pnpm issue, would you start a post in GitHub Discussions? Please include screen recording, if you can, or at least step by step description with screenshots and your terminal outputs. We can have a look at it next week.

Meanwhile, you could just copy-paste KTransition code into Studio temporarily and work with it.

@MisRob
Copy link
Member

MisRob commented Jun 19, 2025

@yeshwanth235 here's how to link, even though I assume you've tried this

cd studio
pnpm link ../kolibri-design-system

@yeshwanth235
Copy link
Contributor Author

yeshwanth235 commented Jun 20, 2025

Hi @MisRob
After i copied the KTransition component. Animation is bit odd for component-vertical-slide-out-in

can we use component-fade-out-in?

video

@MisRob
Copy link
Member

MisRob commented Jun 20, 2025

Hi @yeshwanth235,

Animation is bit odd for component-vertical-slide-out-in

Thanks for the recording - yes this is what I too observed. Would you try to explore the guidance I left here and here? That is to fix KTransition's component-vertical-slide-out-in mode to behave as expected (refer to Studio version before you refactored this place and try to achieve the same effect). If you figure it out, you can open KDS pull request for KTransition fix. If it's hard to make progress, feel free to request to be unassigned and pick a more suitable issue instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Remove Vuetify from Studio] 'Request more space' form slide transition in Settings - Storage
3 participants