Skip to content

feat: enable sync scroll by default#1571

Merged
yanglbme merged 1 commit into
mainfrom
feat/enable-sync-scroll-default
May 25, 2026
Merged

feat: enable sync scroll by default#1571
yanglbme merged 1 commit into
mainfrom
feat/enable-sync-scroll-default

Conversation

@yanglbme
Copy link
Copy Markdown
Member

Changes

  • Enable synchronized scrolling between editor and preview by default (enableScrollSync default: false -> true)
  • Upgrade @cloudflare/workers-types: 4.20260523.1 -> 4.20260524.1

- Change enableScrollSync default from false to true in ui store

chore: upgrade dependencies

- @cloudflare/workers-types: 4.20260523.1 -> 4.20260524.1
Copilot AI review requested due to automatic review settings May 25, 2026 04:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the web app’s default UI behavior to enable synchronized scrolling between the editor and preview out of the box, and bumps Cloudflare Workers type definitions used for the Workers build/deploy tooling.

Changes:

  • Set enableScrollSync default from false to true in the UI Pinia store.
  • Upgrade @cloudflare/workers-types to 4.20260524.1 in apps/web.
  • Regenerate pnpm-lock.yaml to reflect the dependency update (and related resolution changes).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
apps/web/src/stores/ui.ts Changes the persisted default for scroll sync to enabled.
apps/web/package.json Bumps @cloudflare/workers-types devDependency version range.
pnpm-lock.yaml Updates lockfile entries for @cloudflare/workers-types and related dependency resolution.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread pnpm-lock.yaml
Comment on lines 10104 to 10108
'@typescript-eslint/project-service@8.59.3(typescript@6.0.3)':
dependencies:
'@typescript-eslint/tsconfig-utils': 8.59.3(typescript@6.0.3)
'@typescript-eslint/types': 8.59.3
'@typescript-eslint/tsconfig-utils': 8.59.4(typescript@6.0.3)
'@typescript-eslint/types': 8.59.4
debug: 4.4.3(supports-color@5.5.0)
@github-actions
Copy link
Copy Markdown

🚀 Cloudflare Workers Preview has been successfully deployed!

Preview URL: https://md-pr-1571.doocs.workers.dev

Built with commit 40d2c07

@github-actions
Copy link
Copy Markdown

🚀 Surge Preview has been successfully deployed!

Preview URL: https://doocs-md-preview-pr-1571.surge.sh

Built with commit 40d2c07

@yanglbme yanglbme merged commit d8bae22 into main May 25, 2026
3 checks passed
@yanglbme yanglbme deleted the feat/enable-sync-scroll-default branch May 25, 2026 04:57
@github-actions
Copy link
Copy Markdown

🗑️ Cloudflare Workers preview deployment has been cleaned up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants