Replace the writable+derived store pipeline in state.ts with a
state.svelte.ts module: a deep $state inputState mutated only through
the exported update functions, each of which persists the snapshot and
re-validates it asynchronously into validatedState.current (with
urls.current derived from it). Store subscriptions in components become
$effect blocks, and the rough/grid toggles use function bindings.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* develop:
chore: Fix coverage dependency
chore: sort gitignore
chore: Add redirect to home on 404 error
chore: Update subdomain
chore: Update import
chore: Remove redundant config
chore: Add CNAME
chore: Remove lint after build
chore: Use official action to deploy to pages
build: update Browserslist db
fix: use `<output>` and `<pre>` to format errors
Revert "feat: Sanitize error message"
* develop: (101 commits)
fix: Flickering when rendering, PanZoom & Rough mode combined
chore: Simplify queueing logic
fix: Blank screen on initial load
chore: Add delay for playground toggle
fix: Record correct diagram type, send playground toggle event immediately.
chore(deps): update dependency autoprefixer to v10.4.21
chore(deps): update all non-major dependencies
chore(deps): update dependency typescript to v5.8.2
chore(deps): update all non-major dependencies
build: update Browserslist db
Use netlify to redirect users
chore: Add sitemap to robots.txt
fix: Add redirect for /index.html
chore: Add sitemap
fix: Do not index /view page
chore(deps): update all non-major dependencies
feat: Pause banner animation when mouse is on the banner
fix: Layout for banner
use snippets
update urls and styling
...
Use the `<output>` and `<pre>` HTML elements to format mermaid errors,
instead just adding the error message as HTML.
Using `<pre>` avoids the need for sanitizing any HTML (or using a
`monospace` font in CSS, since `<pre>` does this automatically).
Using `<output>` means that users using screenreaders should have a
better experience when using the mermaid live editor.
on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
* develop: (356 commits)
chore(deps): update all non-major dependencies
build: update Browserslist db
fix Test
chore(deps): update all non-major dependencies
chore(deps): update node.js to v19
chore(deps): update dependency jsdom to v21
chore(deps): update actions/stale action to v8
chore(deps): update all non-major dependencies
Bump d3-color from 3.0.1 to 3.1.0
Did it really work??
Reduce timeouts
Splitup tests
cacheBust loadSite
Reduce timeout & retries
Update typeInEditor
Fix commenting test
Fix commenting test
Fix loadSite ?
Fix commenting test
Fix branch test
...