-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Vite as dependency and an optional property to hide indicators #62
Conversation
Thanks @danielgraziani91 for PR, really appreciate it! But I have to reject it, don't get me wrong, I will explain. Have a nice day, |
Got it, it makes sense. I’m happy I proposed something good :) Can’t wait!
Il giorno mar 29 ago 2023 alle 00:16 Filip Holčík ***@***.***>
ha scritto:
… Thanks @danielgraziani91 <https://github.com/danielgraziani91> for PR,
really appreciate it!
But I have to reject it, don't get me wrong, I will explain.
First let's start with Vite, it is missing, because it is peer dependency
of @sveltejs/kit
<https://github.com/sveltejs/kit/blob/adb57b117da1f03ae363aad00b13f126c984f713/packages/kit/package.json#L46>,
that means every package, which uses kit must have Vite installed, so
adding it there is just redundancy (except usage where it would specify
exact version of Vite).
Now to optional indicators, problem is, that I already implemented this
before 6 hours and I'm waiting with release until I'll have resolved #49
<#49> and #47
<#47> (it should be
today, 29th August). My solution
<#57 (comment)>
is CSS based, I try to minimize variables needed for customization, as it
is one of the best practices to keep code clean, that CSS class is
inevitable, but hiding buttons using JS is possible to do with CSS as well.
I'm really happy that you opened code of this lib and implement this
feature, but I can't approve it. I really admire will to help, if you want
to contribute with code/ideas I'm sure I can find some work here, if you
just need this feature, I can ensure you, that it will be out soon.
Have a nice day,
Filip.
—
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOHMWHRL4EBML4GWSFFDEE3XXUKEVANCNFSM6AAAAAA4CADQEM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It's done, I will make release for you, to have it ASAP, then I'll release patch with proper documentation, you can look up usage in #57. |
OMG! Thanks a lot, man 😄 Is there anything I can help you with? |
You are welcome @danielgraziani91!
Those 2 last issues can teach you a lot of knowledge, it taught me a lot when I was working on first stable version and I encountered number of bugs and inconsistencies between browsers, so I actually had to read web specifications and it's implementations in browser engines. The most welcomed issue to solve is that documentation, I have not even clue, how perfect docs could look like, but I think you as user of this lib, you are more aware of it. Again, thanks for will to contribute, you are awesome, there is not much people like you (or at least you are first I know about during 3 years of maintaining svelte libs)! Have a nice day, |
Got it! Since the time I have in these days I will work on the doc. I've just forked again master to be aligned and I will scout the lib for functionalities 😄 Hope to make a PR real soon! |
I needed this customization for my project, so I decided to open a PR. Hope you will accept it!
PS: I don't know why Vite wasn't in the dependencies but to me it seemed good to have it there. Maybe I'm wrong. Let me know!