plasmatech8 / sveltekit-svelteui-practice

0 stars 0 forks source link

SvelteUI Comments #1

Open plasmatech8 opened 2 years ago

plasmatech8 commented 2 years ago

Comments about SvelteUI.

Also comparisons to DaisyUI and Vuetify.

plasmatech8 commented 2 years ago

Website Suggestion - General usability/navigation

image

It is difficult to find components in this list, because people do not know what “core”, “composables”, “preprocessors” mean.

Perhaps “Core” can be renamed to “Components”, and “Composables” can be renamed to (Svelte) “action functions”.

Or perhaps use title/subtitle in the list item.

I would highly recommend trying to replicate the Vuetify website for the sidebar list items.

A search field would also be helpful.

plasmatech8 commented 2 years ago

Website Query - Installation Instructions

image

Should these be devDependencies instead of regular dependencies?

plasmatech8 commented 2 years ago

FOUC

Is there a way to prevent flash of unstyled content? (goes for any UI library or framework)

Update:

plasmatech8 commented 2 years ago

Styling:

Components vs Classes:

plasmatech8 commented 2 years ago

Modal not working: image

Update:

RESOLVED: Was using onClose instead of on:close accidently

plasmatech8 commented 2 years ago

When Button has href, the button is draggable and it is a little bit annoying. (but then again, it is a link - you would normally be able to click and drag it...)

Brisklemonade commented 2 years ago

Hello, I'm the creator. I just wanted to stop by and say thank you for making this. I'm constantly looking for ways to improve and I like that. If you don't mind I can respond to comments as you make them.

plasmatech8 commented 2 years ago

@Brisklemonade Hey thanks for stopping by! Feel free to leave comments, I would love to help out where I can. 😀

This thread contains some quite messy notes about suggestions/ideas that I am making as I try out the framework. (plus a bit of scribbly-brainstorming about UI frameworks in general)

Brisklemonade commented 2 years ago

Website Suggestion - General usability/navigation

image

It is difficult to find components in this list, because people do not know what “core”, “composables”, “preprocessors” mean.

Perhaps “Core” can be renamed to “Components”, and “Composables” can be renamed to (Svelte) “action functions”.

Or perhaps use title/subtitle in the list item.

I would highly recommend trying to replicate the Vuetify website for the sidebar list items.

A search field would also be helpful.

I see how this can be confusing for those who don't read the introduction at all. I've attempted to remedy this issue by adding info next to the names. It's live now, could you tell me what you think of that?

plasmatech8 commented 2 years ago

@Brisklemonade, looks fine to me. I was thinking that words like "Components" and "Utilities" might be nicer on the eye and more intuitive than "Core" and "Composables", but it is not important. No comment if that would fit.

plasmatech8 commented 2 years ago

<Navbar hidden={!opened}> appears to not be working

<Button href="/about"> is not compatible with SPA routing in Sveltekit.

plasmatech8 commented 2 years ago

image Trying to figure out why gap occurs sometimes recently

plasmatech8 commented 2 years ago

Cannot find a way to do Svelte transitions with sidebar. Will need to look into later.

plasmatech8 commented 2 years ago

config = { dark: { bg: 'White', color: 'Black' }, light: { bg: '#1A1B1E', color: '#C1C2C5' }}; <SvelteUIProvider {config}> does not appear to do anything.

plasmatech8 commented 2 years ago

atm. Component compared to classes. Like quality of components, has functionality that only components with JS can provide such as animated transitions within components, skeletons & lots of utilities/actions. Not personally fond of using provider/wrapper components, lots of small components that are similar to vanilla html, need to look up attributes to find what I need, using js for style & tailwind may not work on some components. Breakpoints do not appear to be readily available at this moment.