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

refactor(accordion): accordion and collasiple ts to sfc #531

Merged
merged 14 commits into from
Mar 8, 2024

Conversation

teleskop150750
Copy link
Collaborator

@teleskop150750 teleskop150750 commented Mar 3, 2024

Description

Linked Issues

cc: #492

Additional context

Copy link
Contributor

github-actions bot commented Mar 3, 2024

Thank you for following the naming conventions! 🙏

@productdevbook productdevbook changed the title Refacton accordion 492 refator(vue): accordion 492 Mar 4, 2024
@productdevbook productdevbook changed the title refator(vue): accordion 492 refactor(vue): accordion 492 Mar 4, 2024
@productdevbook productdevbook requested a review from Cr0zy07 March 4, 2024 05:39
@productdevbook productdevbook changed the title refactor(vue): accordion 492 refactor(accordion): accordion ts to sfc Mar 4, 2024
@productdevbook
Copy link
Contributor

It's great to see a pr like this, can you get a pr draft if it's not finished? Thank you very, very much. ❤️

Copy link
Contributor

@productdevbook productdevbook Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'./usePresence.js' -> './usePresence' no need to type js. The compiler will take care of them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

I just followed this advice

link

@productdevbook productdevbook mentioned this pull request Mar 4, 2024
35 tasks
@@ -38,7 +38,7 @@ function createScope<T extends string>(scopeName: T, createScopeDeps: CreateScop
* --------------------------------------------------------------------------------------------- */

function createProvide<ProvideValueType extends object | null>(
rootComponentName: T,
rootComponentName: string,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change string T -> string ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the original it has a string type

link

AND

fix type error

link

@productdevbook productdevbook changed the title refactor(accordion): accordion ts to sfc refactor(accordion): accordion and collasiple ts to sfc Mar 4, 2024
@teleskop150750
Copy link
Collaborator Author

teleskop150750 commented Mar 4, 2024

I absolutely cannot understand how it works and why it might be useful. Context Scopes

link

@teleskop150750
Copy link
Collaborator Author

teleskop150750 commented Mar 4, 2024

It's great to see a pr like this, can you get a pr draft if it's not finished? Thank you very, very much. ❤️

Плохо понимаю (
Я оправил Pull Request с тем что было

@productdevbook
Copy link
Contributor

productdevbook commented Mar 4, 2024

#492 most of the components are broken. They work in storybook. Can you check them? Somewhere there have been fractures.

maybe I can send some commits when I have more time.

@productdevbook productdevbook marked this pull request as draft March 4, 2024 13:30
@teleskop150750
Copy link
Collaborator Author

#492 most of the components are broken. They work in storybook. Can you check them? Somewhere there have been fractures.

maybe I can send some commits when I have more time.

Я собирался продолжить работу по переносу компонентов на sfc. Большинство компонентов не работают, потому что они импортируют объект props, которого больше нет. Сейчас это interface

@productdevbook
Copy link
Contributor

Those with SFC transitions will work. Try not to break other components when creating PR. Also the storybook does not work in accordion.

@teleskop150750
Copy link
Collaborator Author

teleskop150750 commented Mar 5, 2024

Those with SFC transitions will work. Try not to break other components when creating PR. Also the storybook does not work in accordion.

the last commit that was built without errors was with the tag 0.6.2.
approximately

@productdevbook
Copy link
Contributor

#492 those who have completed the sfc migration here are the ones whose storybook is fully operational. You can check here.

@productdevbook
Copy link
Contributor

you made the accordion move sfc in this pr, but the storybook doesn't work at all. You've got destructive changes all over the place. Did you check the storybook accordion while making them?

@teleskop150750
Copy link
Collaborator Author

you made the accordion move sfc in this pr, but the storybook doesn't work at all. You've got destructive changes all over the place. Did you check the storybook accordion while making them?

corrected the storybook

@teleskop150750
Copy link
Collaborator Author

I am currently doing tabs

@productdevbook productdevbook marked this pull request as ready for review March 8, 2024 17:19
@productdevbook
Copy link
Contributor

LGTM! Thank you for your wonderful work. ❤️

@productdevbook productdevbook merged commit 8e3d98f into oku-ui:main Mar 8, 2024
2 of 3 checks passed
@github-actions github-actions bot mentioned this pull request Mar 8, 2024
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.

2 participants