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

chore(deps): update dependency vitest to ^2.1.3 (canary) #1920

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest (source) ^2.1.2 -> ^2.1.3 age adoption passing confidence

Release Notes

vitest-dev/vitest (vitest)

v2.1.3

Compare Source

   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@renovate renovate bot requested a review from a team as a code owner October 14, 2024 14:52
Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
live-visual-editing-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-astro ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-next-with-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-nuxt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-page-builder-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-remix ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm
visual-editing-svelte ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:59pm

Copy link

socket-security bot commented Oct 14, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] environment, eval Transitive: filesystem, shell, unsafe +32 4.19 MB vitestbot

🚮 Removed packages: npm/[email protected]

View full report↗︎

@renovate renovate bot force-pushed the renovate/canary-vitest-monorepo branch from 2cc6af5 to 6b6e6a7 Compare October 14, 2024 15:41
@stipsan stipsan merged commit 57bf5fe into canary Oct 14, 2024
20 checks passed
@stipsan stipsan deleted the renovate/canary-vitest-monorepo branch October 14, 2024 16:17
stipsan added a commit that referenced this pull request Oct 14, 2024
chore: squash everything

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 14, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 15, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 15, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
stipsan added a commit that referenced this pull request Oct 16, 2024
chore(deps): update app dependencies to v0.0.0-experimental-fa06e2c-20241014

refactor: use comlink

feat: expose schema

feat: expose preview snapshots

feat: display title and icon on overlay elements

refactor(comlink): improve types

feat: optimistic state

refactor: improve types

feat(visual-editing): context menu

fix(visual-editing): mutate observe

chore: fix lockfile

feat(visual-editing): mutate on drag and drop

refactor(helpers): improve comlink compatibility names

chore: fix lockfile

chore(release): publish canary [skip ci]

fix: use mutate package state machine

chore(deps): update peter-evans/create-pull-request digest to d121e62 (#1818)

fix(visual-editing): apply optimistic state on local rebase

feat(visual-editing): non-union array context menu support

fix(visual-editing): mismatched types

chore(visual-editing): remove snapshot log

chore(release): publish canary [skip ci]

fix(visual-editing): prevent undefined array item on drag

fix(comlink): use sendTo over sendParent, improve request abort handling

fix(visual-editing): support dragging on all axes

chore(visual-editing): lint, remove unused deps

chore(visual-editing): improve useOptimistic types

chore: setup `@repo/eslint-config` and `@repo/prettier-config` (#1822)

chore(deps): update sanity monorepo to ^3.57.3

chore(deps): bump non-major

chore(visual-editing): remove useOptimistic warning, always return state

fix(deps): Update sanity monorepo to v3.57.3 (#1823)

chore(deps): bump remaining non-major

chore(deps): update peter-evans/create-pull-request digest to 6cd32fd (#1824)

fix(visual-editing): constrain context menu group size

chore: add `@repo/studio-url` (#1825)

chore(deps): update app dependencies (#1828)

chore: setup dynamic preview urls (#1829)

fix(visual-editing): use ref for reducers passed to useOptimistic hook

fix(visual-editing): render overlays outside of preview frame

chore: setup typegen (#1830)

chore: fix canary release command

chore(release): publish canary [skip ci]

chore: add `@sanity/next-loader` (#1831)

chore(release): publish canary [skip ci]

fix: add better Suspense boundaries for lazy loaded components

chore(deps): update app dependencies (#1835)

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.57.4 (#1839)

chore(deps): update sanity monorepo to ^3.57.4 (#1838)

chore(deps): update dependency @sveltejs/adapter-auto to ^3.2.5 (#1836)

chore(deps): update dependency @sveltejs/kit to ^2.5.28 (#1837)

chore: don't render zero below Presentation Tool

chore(release): publish canary [skip ci]

fix: gracefully handle missing grants to create preview secrets

chore(release): publish canary [skip ci]

chore: use exact versions

chore(release): publish canary [skip ci]

chore: setup comlink

chore: stable link

chore(release): publish canary [skip ci]

chore: cleanup debug tools

chore: support perspective switcher

chore(release): publish canary [skip ci]

chore: stop deduping `framer-motion`

chore(deps): update peter-evans/create-pull-request digest to 5e91468 (#1840)

chore(deps): update dependency @tinloof/sanity-studio to v1.3.4 (#1841)

chore: support validating preview secret with server action

chore(release): publish canary [skip ci]

chore: improve comlink connectivity

chore: increase timeout

chore(release): publish canary [skip ci]

chore: update live demo

chore: animate color changes

chore: longer duration

chore: do not animate initial chars

chore: better memoization of animated letters

chore(deps): update app dependencies (#1842)

chore: add hooks

chore(release): publish canary [skip ci]

chore: handle draft mode in next v15

chore(release): publish canary [skip ci]

chore: fix prod crash

chore(deps): update app dependencies (#1844)

chore(deps): update storybook monorepo to ^8.3.2 (#1845)

fix(visual-editing): check if node is in body before removing it

chore(release): publish canary [skip ci]

chore(deps): update remix monorepo to ^2.12.1 (#1846)

chore: improve debugging

chore: improve debugging

chore(release): publish canary [skip ci]

chore: React.memo causes unmount/mount in layout.tsx

chore(release): publish canary [skip ci]

chore: only load comlink when postMessage is detected

chore(release): publish canary [skip ci]

chore: add hook for reporting status

chore(release): publish canary [skip ci]

chore: support Live Draft Content API events

chore(release): publish canary [skip ci]

chore: only setup live drafts in draft mode

chore(release): publish canary [skip ci]

chore: add `SanityLiveStream` component

chore(release): publish canary [skip ci]

chore(deps): update pnpm to v9.11.0 (#1852)

chore(deps): update app dependencies (#1847)

chore(deps): update dependency next to ^14.2.13 (#1850)

chore(deps): update dependency @types/react to ^18.3.8 (#1849)

fix(deps): Update xstate monorepo (#1853)

chore(deps): update dependency vite to ^5.4.7 (#1851)

chore(release): publish canary [skip ci]

chore: use vX for now

fix(visual-editing): allow open in studio click action

chore: move page-builder-demo to next-loader

chore(release): publish canary [skip ci]

fix(deps): update dependency @sanity/client to ^6.22.0 (#1854)

chore: fix typegen

chore: typegen nits

chore: bump canaries again

chore(release): publish canary [skip ci]

chore: test live stream

chore(release): publish canary [skip ci]

fix(comlink): transition channel to handshaking state on request failure

chore(deps): update app dependencies (#1855)

chore(deps): update dependency tailwindcss to ^3.4.13 (#1856)

chore(live): handle tags and query scoping

chore(release): publish canary [skip ci]

chore(live): set empty params

chore(release): publish canary [skip ci]

chore(drag-and-drop-minimap): implement minimap scaling (#1857)

* chore(drag-and-drop-minimap): implement minimap scaling

refine transform > scroll logic

lint

remove remix timestamp

tidy up scaleRect

mouse button check

fix

mouse btn check

drag speed scale trigger

remove delta

shift minimap

show badge

abstract minimap prompt to own component, tidy design

tidy up renderVisualEditing

parentNode check in renderVisualEditing

tidy renderVisualEditing

group dnd elements in Overlays template

add geometric functions to utils

fix linter issues

sanding the edges

wip

tidy matrix transforms

clean up event listeners

clean up keydown

* chore(drag-and-drop-minimap): tidy up automated next-env change

* chore(drag-and-drop-minimap): remove disable-overlays css

* chore(drag-and-drop-minimap): add clarifying ccomment to window.focus in drag handler

* chore(drag-and-drop-minimap): fix linter issues

* chore: bump next-sanity to fix render position issue

* chore: fix ssr error

chore(release): publish canary [skip ci]

fix(deps): Update sanity monorepo to ^3.58.0 (#1864)

chore(deps): update dependency @types/react to ^18.3.9 (#1859)

fix(deps): Update dependency prettier-plugin-tailwindcss to v0.6.8 (#1862)

chore(deps): update dependency vite to ^5.4.8 (#1860)

fix(comlink): emit correct connection status when a controller has existing targets before connection is created

chore(deps): update app dependencies (canary) (#1858)

* chore(deps): update app dependencies

* chore: downgrade some deps

---------

chore(deps): update storybook monorepo to ^8.3.3 (#1861)

chore(deps): update sanity monorepo to ^3.58.0 (#1863)

chore: tweak page builder demo index page

chore(useOptimistic): fix flash of stale content issue

chore(deps): update dependency next to v14.2.12 [security] (#1865)

chore: use exact version of `@sanity/mutate`

chore(release): publish canary [skip ci]

chore: prevent crashes on visual editing unmounts

chore: bump `next` canaries

chore: stable typegen with prettier

chore: run prettier on the canary branch when needed

fix(next-loader): better clarify token diffs

chore: fix prettier script

chore: increase timeouts

chore: handle handshake consistently

chore(presentation): optimize iframe component and ref forwarding

chore: add new browser token to turbo json

chore(page-builder-demo): add draft mode enabler

chore(page-builder-demo): don't use `<SanityLiveStream />` yet

chore(release): publish canary [skip ci]

fix(next-loader): validate CORS

chore: test cors error

chore: improve CORS validation

chore(deps): update app dependencies (#1867)

fix(next-loader): support new async APIs in next v15

chore: fix build error

chore(release): publish canary [skip ci]

chore: remove debug code

chore(live-next): everything is live

fix(next-loader): ensure standalone live preview of drafts passthrough

chore(release): publish canary [skip ci]

feat: add qrcode of share url (#1870)

chore(release): publish canary [skip ci]

chore: add page builder pages route

chore: add SSG to new pages route

chore: add page builder page location resolver

chore: simplify page builder demo

chore: fix build error

chore(deps): update dependency next-sanity to v9.5.1-canary.22 (#1869)

chore(deps): update dependency next-sanity to v9.5.1-canary.23

Image fix (#1872)

chore(drag-and-drop): drag handles, drag centroids, bugfixes

* chore(drag-and-drop): add drag handles, bug fixes

reset minimap transform centered in viewport

centroid dragging, scale padding

prevent scrollIntoView while dragging

tidy up comments

typegen

* chore(drag-and-drop): tidy elementoverlay css

* chore(drag-and-drop): fix linter issues

* chore(drag-and-drog): fix drag disabled attr

* chore(drag-and-drop): tidy up mouse state in dragAndDrop

* chore(drag-and-drop): remove unused fragment in ElementOverlay

* chore(drag-and-drop): update label padding

chore: nuxt app build depends on core loader

chore: cleanup nuxt app

chore(deps): update app dependencies

chore(deps): update dependency @sanity/assist to v3.0.7

chore(deps): update dependency @types/react to ^18.3.11

chore(deps): update dependency next to ^14.2.14

chore(deps): update dependency turbo to v2.1.3

chore: fix lockfile

chore(drag-and-drop-ui-updates): various ui/ux tweaks, interaction sequence refined (#1886)

chore(deps): update dependency vitest to ^2.1.2 (#1890)

chore(deps): update dependency @sveltejs/kit to ^2.6.3 (#1889)

chore(deps): update dependency @sanity/assist to v3.0.8 (#1888)

feat(visual-editing): add `useDocuments` hook (#1884)

chore(deps): update app dependencies (#1887)

fix(deps): update dependency @sanity/client to ^6.22.1

fix(deps): Update sanity monorepo to ^3.60.0 (#1894)

chore(deps): update pnpm to v9.12.1 (#1892)

chore(deps): update sanity monorepo to ^3.60.0 (#1893)

fix(deps): Update linters (#1897)

fix(deps): Update dependency prettier-plugin-svelte to v3.2.7 (#1896)

chore(deps): update storybook monorepo to ^8.3.5 (#1895)

chore(deps): update app dependencies

chore(deps): update dependency eslint-plugin-react-hooks to v5 (#1905)

chore(deps): update dependency @types/react-dom to ^18.3.1 (#1900)

chore(deps): update dependency next to ^14.2.15 (#1901)

chore(deps): update dependency typescript to v5.6.3 (#1902)

chore(deps): update dependency @sveltejs/kit to ^2.7.0 (#1903)

chore(deps): update remix monorepo to ^2.13.1 (#1904)

chore(release): publish canary [skip ci]

chore(deps): update dependency astro to ^4.16.3 (#1909)

chore: bump pkg-utils

chore(release): publish canary [skip ci]

chore(deps): update dependency date-fns to v4 (#1913)

chore(deps): update app dependencies (#1917)

chore(deps): update dependency @sanity/pkg-utils to ^6.11.3 (#1918)

fix(deps): Update dependency date-fns to v4 (#1914)

chore(deps): update dependency vitest to ^2.1.3 (#1920)

chore(deps): update dependency vite to ^5.4.9 (#1919)

chore(next-loader): improve live stream compat with next v15 turbo

chore(deps): update dependency @sveltejs/kit to ^2.7.1

chore(release): publish canary [skip ci]

chore(deps): lock file maintenance (#1924)

chore(release): publish canary [skip ci]

chore(deps): update app dependencies (#1925)

fix: gracefully handle `React.use` missing

fix: ensure `defineLive` can only be called from the server

chore(release): publish canary [skip ci]

chore: use rsc-env instead of server-only

chore(release): publish canary [skip ci]

fix: remove `handleDraftModeAction` and `verifyPreviewSecret` for now

chore(release): publish canary [skip ci]

fix: live demo up and running again

refctor: rsc-env isn't used after all

chore(release): publish canary [skip ci]

chore(deps): update dependency tailwindcss to ^3.4.14 (#1926)

chore: ensure next-loader is built

chore(deps): update app dependencies (#1927)

chore(deps): update sanity monorepo to ^3.61.0 (#1928)

fix(deps): Update sanity monorepo to ^3.61.0 (#1929)

feat: add support for time based revalidation options

chore(release): publish canary [skip ci]

chore(deps): update dependency next-sanity to v9.7.0-canary.6 (#1930)

feat(SanityLive): add `refreshOnMount` support

feat(SanityLive): add `RefreshOnFocus` support

feat(SanityLive): add `RefreshOnReconnect` support

chore(release): publish canary [skip ci]

fix(SanityLive): set `refreshOnMount` to `true` by default

chore(release): publish canary [skip ci]

fix: test solution for swr issue

chore(release): publish canary [skip ci]

fix: back to false

chore(release): publish canary [skip ci]

chore: dnd-ui-updates (#1932)

* chore(drag-and-drop): perf/ui tweaks

* chore(drag-and-drop): always render skeleton previews

* chore(drag-and-drop): remove unused preview variables

* chore(drag-and-drop): fix preview rect stacking

* chore(drag-and-drop): cursor ux, better drag previews, fix handler cleanup

* chore(drag-and-drop): tidy up

chore(deps): update app dependencies (#1931)

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

chore(release): publish canary [skip ci]

chore: squash everything

chore(release): publish canary [skip ci]

chore: more debug logic

chore: remove env from log message

fix: only set perspective cookie if it changed

fix: don't reset to checking

chore(release): publish canary [skip ci]

chore: super debug

chore: improve debugging

chore(release): publish canary [skip ci]

fix: improve debugging

fix: improve debugging

chore: debug even more

chore: debug failing draft mode stability

fix: improve comlink detection

chore(release): publish canary [skip ci]

chore: add next-loader to release

chore(release): publish canary [skip ci]

chore: last test for qr code feature flag

chore(release): publish canary [skip ci]

chore: test dead code elimination

chore(release): publish canary [skip ci]

chore: test better bypass cookie behaviour

chore(release): publish canary [skip ci]

chore: test better dead code elimination

chore(release): publish canary [skip ci]

chore: test qr code enable

chore(release): publish canary [skip ci]

chore: inspect build output without minification

chore(release): publish canary [skip ci]

chore: test stable release

chore(release): publish canary [skip ci]

chore: test feature flag approach

chore: test a better feature flag approach

chore(release): publish canary [skip ci]

chore: test canary release script

chore(release): publish canary [skip ci]

Co-Authored-By: Cody Olsen <[email protected]>
Co-Authored-By: Rupert Dunk <[email protected]>
Co-Authored-By: George Francis <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant