cuire / svelte-grid-extended

A draggable and resizable grid layout, for Svelte
https://svelte-grid-extended.vercel.app
MIT License
78 stars 9 forks source link

πŸ’– v1.0.0 #26

Closed cuire closed 1 year ago

cuire commented 1 year ago
fabiot21 commented 1 year ago

will 1.0 be using svelte 4?

cuire commented 1 year ago

will 1.0 be using svelte 4?

I think the project can support both svelte 3 and svelte 4, since its not rely on any breaking changes

fabiot21 commented 1 year ago

@cuire is there anything i can help you with?

cuire commented 1 year ago

@cuire is there anything i can help you with?

New api and griditem customization api is ready. If you want to help, you can work on transferring new functionality from #35 and #27. Send PR to refactoring branch.

fabiot21 commented 1 year ago

@cuire is there anything i can help you with?

New api and griditem customization api is ready. If you want to help, you can work on transferring new functionality from #35 and #27. Send PR to refactoring branch.

Is it possible to do a rebase or merge from main? or this new api is breaking the new functions?

cuire commented 1 year ago

@cuire is there anything i can help you with?

New api and griditem customization api is ready. If you want to help, you can work on transferring new functionality from #35 and #27. Send PR to refactoring branch.

Is it possible to do a rebase or merge from main? or this new api is breaking the new functions?

There a lot of internal breaking points. Actually Ill do it myself within next week. Ty for your support ❀️

fabiot21 commented 1 year ago

Got it @cuire . I sent a PR (#37) πŸ˜„. Hope it helps

fabiot21 commented 1 year ago

What are your thoughts on setting a default value for itemSize.height and itemSize.width in case rows=0 or cols=0? To avoid unexpected errors / behaviours.

cuire commented 1 year ago

What are your thoughts on setting a default value for itemSize.height and itemSize.width in case rows=0 or cols=0? To avoid unexpected errors / behaviours.

I don't really like this. That is in fact unexpected behaviour, that requires extra attention from devs. I think simple error throwing is more suted here.

fabiot21 commented 1 year ago

πŸ‘πŸš€