windmill icon indicating copy to clipboard operation
windmill copied to clipboard

Migrate Writable<App> to StateStore<App>

Open diegoimbert opened this issue 6 months ago • 1 comments

[!IMPORTANT] Migrate app state management from Writable<App> to StateStore<App> across various components for improved state handling.

  • State Management:
    • Migrate from Writable<App> to StateStore<App> for app state management in AppViewerContext.
    • Update app state access from $app to app.val in components like AppEditor.svelte, AppEditorHeader.svelte, and AppInputs.svelte.
  • Component Updates:
    • Modify components such as Grid.svelte, MoveResize.svelte, and AppTutorial.svelte to use StateStore for state updates.
    • Adjust functions like addComponent, deleteSubgrid, and applyConnection to reflect new state management.
  • File Changes:
    • Update AppEditor.svelte to initialize appStore as StateStore<App>.
    • Modify AppEditorHeader.svelte to use app.val for accessing app properties.
    • Adjust AppInputs.svelte to iterate over app.val.grid and app.val.subgrids.

This description was created by Ellipsis for 02db7c1f9bffb0bb379f574c0deb85c168c015f6. You can customize this summary. It will automatically update as commits are pushed.

diegoimbert avatar Jun 16 '25 21:06 diegoimbert

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 02db7c1
Status: ✅  Deploy successful!
Preview URL: https://92dcee69.windmill.pages.dev
Branch Preview URL: https://di-app-store-migration.windmill.pages.dev

View logs