33 Commits
Author SHA1 Message Date
poli0981andClaude Opus 4.8 3657e21f11 chore(release): v1.6.1 — CodeMirror chunk split + web source-map removal (#76)
Patch release bundling the build-only changes since 1.6.0:
- Split the CodeMirror core chunk (cm-view + cm-core) so no chunk trips
  Vite's 500 kB warning; migrated to Rolldown advancedChunks (#74).
- Stopped shipping source maps on the public web build (#72).
- 27 grouped npm minor/patch dependency updates (#67).

Bumps package.json, package-lock.json, src-tauri/Cargo.toml,
src-tauri/Cargo.lock, src-tauri/tauri.conf.json to 1.6.1 and moves the
CHANGELOG [Unreleased] section to [1.6.1].

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
v1.6.1
2026-06-14 21:59:53 +07:00
poli0981andClaude Opus 4.8 3d424f7c0b perf(build): split CodeMirror core chunk to clear 500 kB warning (#74)
Migrate vite.config.ts chunking from the deprecated manualChunks
function form to advancedChunks.groups. Rolldown's optimizer silently
re-merged manualChunks sub-chunks, so a cm-core split was ignored.

Split the ~614 kB cm-core into cm-view (~245 kB, the @codemirror/view
engine) + cm-core (~362 kB, state/language/lezer/@uiw); cm-langs is
unchanged (~60 kB). No chunk now exceeds Vite's 500 kB warning limit.
Same total/gzip bytes — the editor still loads all three behind its
existing React.lazy boundary, so this is finer file granularity for
better cross-deploy caching. No converter or UI behavior changed.

Verified: clean build (no warning), 209 tests pass, production preview
renders/highlights/converts with all cm-* chunks 200 OK, no console errors.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 21:44:18 +07:00
poli0981andClaude Opus 4.8 29eace4302 fix(build): stop shipping source maps on the public web build (#72)
The web production build emitted .js.map files into dist/, and deploy.yml
uploads the whole dist/ to GitHub Pages — exposing full original source via
DevTools on the public site. Nothing consumes the maps (PRIVACY.md: no remote
error reporting), so gate them to local non-production web builds only; prod
web and Tauri now emit none.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 21:06:53 +07:00
dependabot[bot] 4c25ea1c07 build(deps): Bump the npm-minor-patch group across 1 directory with 27 updates (#67)
Bumps the npm-minor-patch group with 24 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@codemirror/legacy-modes](https://github.com/codemirror/legacy-modes) | `6.5.2` | `6.5.3` |
| [@codemirror/lint](https://github.com/codemirror/lint) | `6.9.6` | `6.9.7` |
| [@codemirror/view](https://github.com/codemirror/view) | `6.42.1` | `6.43.1` |
| [@radix-ui/react-dialog](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/dialog) | `1.1.15` | `1.1.16` |
| [@radix-ui/react-switch](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/switch) | `1.2.6` | `1.3.0` |
| [@radix-ui/react-tabs](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/tabs) | `1.1.13` | `1.1.14` |
| [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror) | `4.25.9` | `4.25.10` |
| [fflate](https://github.com/101arrowz/fflate) | `0.8.2` | `0.8.3` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `4.1.1` | `4.2.0` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.2.6` | `19.2.7` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.2.14` | `19.2.17` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.2.6` | `19.2.7` |
| [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.15.0` | `7.17.0` |
| [zustand](https://github.com/pmndrs/zustand) | `5.0.13` | `5.0.14` |
| [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.0` | `4.3.1` |
| [@tauri-apps/cli](https://github.com/tauri-apps/tauri) | `2.11.1` | `2.11.2` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `6.0.1` | `6.0.2` |
| [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `4.1.6` | `4.1.8` |
| [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.4.26` | `0.5.2` |
| [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip) | `6.14.1` | `6.16.1` |
| [prettier](https://github.com/prettier/prettier) | `3.8.3` | `3.8.4` |
| [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) | `0.6.14` | `0.8.0` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.59.3` | `8.61.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.0.12` | `8.0.16` |



Updates `@codemirror/legacy-modes` from 6.5.2 to 6.5.3
- [Changelog](https://github.com/codemirror/legacy-modes/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/legacy-modes/commits)

Updates `@codemirror/lint` from 6.9.6 to 6.9.7
- [Changelog](https://github.com/codemirror/lint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lint/commits)

Updates `@codemirror/view` from 6.42.1 to 6.43.1
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/view/commits)

Updates `@radix-ui/react-dialog` from 1.1.15 to 1.1.16
- [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/dialog/CHANGELOG.md)
- [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/dialog)

Updates `@radix-ui/react-slot` from 1.2.4 to 1.2.5
- [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/slot/CHANGELOG.md)
- [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/slot)

Updates `@radix-ui/react-switch` from 1.2.6 to 1.3.0
- [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/switch/CHANGELOG.md)
- [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/switch)

Updates `@radix-ui/react-tabs` from 1.1.13 to 1.1.14
- [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/tabs/CHANGELOG.md)
- [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/tabs)

Updates `@uiw/react-codemirror` from 4.25.9 to 4.25.10
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.25.9...v4.25.10)

Updates `fflate` from 0.8.2 to 0.8.3
- [Release notes](https://github.com/101arrowz/fflate/releases)
- [Changelog](https://github.com/101arrowz/fflate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/101arrowz/fflate/compare/v0.8.2...v0.8.3)

Updates `js-yaml` from 4.1.1 to 4.2.0
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/commits)

Updates `react` from 19.2.6 to 19.2.7
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react)

Updates `@types/react` from 19.2.14 to 19.2.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 19.2.6 to 19.2.7
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react-dom)

Updates `react-router-dom` from 7.15.0 to 7.17.0
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.17.0/packages/react-router-dom)

Updates `zustand` from 5.0.13 to 5.0.14
- [Release notes](https://github.com/pmndrs/zustand/releases)
- [Commits](https://github.com/pmndrs/zustand/compare/v5.0.13...v5.0.14)

Updates `@tailwindcss/vite` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/@tailwindcss-vite)

Updates `@tauri-apps/cli` from 2.11.1 to 2.11.2
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v2.11.1...@tauri-apps/cli-v2.11.2)

Updates `@types/react` from 19.2.14 to 19.2.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@vitejs/plugin-react` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.2/packages/plugin-react)

Updates `@vitest/coverage-v8` from 4.1.6 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/coverage-v8)

Updates `eslint-plugin-react-refresh` from 0.4.26 to 0.5.2
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases)
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.26...v0.5.2)

Updates `knip` from 6.14.1 to 6.16.1
- [Release notes](https://github.com/webpro-nl/knip/releases)
- [Commits](https://github.com/webpro-nl/knip/commits/knip@6.16.1/packages/knip)

Updates `prettier` from 3.8.3 to 3.8.4
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.8.4)

Updates `prettier-plugin-tailwindcss` from 0.6.14 to 0.8.0
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.14...v0.8.0)

Updates `tailwindcss` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/tailwindcss)

Updates `typescript-eslint` from 8.59.3 to 8.61.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.61.0/packages/typescript-eslint)

Updates `vite` from 8.0.12 to 8.0.16
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.16/packages/vite)

Updates `vitest` from 4.1.6 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest)

---
updated-dependencies:
- dependency-name: "@codemirror/legacy-modes"
  dependency-version: 6.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@codemirror/lint"
  dependency-version: 6.9.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@codemirror/view"
  dependency-version: 6.43.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: "@radix-ui/react-dialog"
  dependency-version: 1.1.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@radix-ui/react-slot"
  dependency-version: 1.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@radix-ui/react-switch"
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: "@radix-ui/react-tabs"
  dependency-version: 1.1.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@uiw/react-codemirror"
  dependency-version: 4.25.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: fflate
  dependency-version: 0.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: js-yaml
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: react
  dependency-version: 19.2.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@types/react"
  dependency-version: 19.2.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: react-dom
  dependency-version: 19.2.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: react-router-dom
  dependency-version: 7.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: zustand
  dependency-version: 5.0.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@tailwindcss/vite"
  dependency-version: 4.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@tauri-apps/cli"
  dependency-version: 2.11.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@types/react"
  dependency-version: 19.2.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: eslint-plugin-react-refresh
  dependency-version: 0.5.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: knip
  dependency-version: 6.16.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: prettier
  dependency-version: 3.8.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: prettier-plugin-tailwindcss
  dependency-version: 0.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: tailwindcss
  dependency-version: 4.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: typescript-eslint
  dependency-version: 8.61.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-patch
- dependency-name: vite
  dependency-version: 8.0.16
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
- dependency-name: vitest
  dependency-version: 4.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-14 17:53:33 +07:00
poli0981 e6ab02cdef fix(tauri): commit Cargo.lock to fix release build (#68)
See PR #68.
v1.6.0
2026-06-14 15:17:47 +07:00
poli0981 b89d99807d feat: error pages, consent gate, installer license + web code-splitting — v1.6.0 (#65)
See PR #65 for full details.
2026-06-14 14:49:26 +07:00
poli0981andClaude Opus 4.7 6197334326 chore(release): v1.5.0 — component refactor, knip, scroll-to-top (#58)
- Refactor: decompose BatchPanel (515→289), ConverterWorkspace (314→206),
  and InputPanel (278→216) into pure utilities, leaf components, and hooks.
  Behavior-preserving; all 193 unit tests still pass.
- Tooling: integrate knip for dead-code analysis (knip.json + npm script +
  CI step). Remove orphaned useLocalStorage.ts; declare the previously
  phantom `globals` devDependency.
- Feature: scroll-to-top button on the About page (prefers-reduced-motion
  aware, i18n across all four locales).
- Docs: bump to 1.5.0; update CHANGELOG, THIRD-PARTY, ROADMAP (Phase 4 + 5),
  CONTRIBUTING.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.5.0
2026-05-21 20:06:51 +07:00
poli0981andClaude Opus 4.7 30f10cfc36 chore(release): v1.4.3 (#54)
Patch release for the toast close-button regression (#52):
- Upgrade sonner v1.7 to v2 — close button now dismisses on click on both desktop and mobile
- Touch hit-area expansion on close button + touch-action: manipulation
- docs/tested-viewports.md documents the manual device test matrix
- README EN + VI link to the new doc

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.4.3
2026-05-14 14:02:34 +07:00
poli0981andClaude Opus 4.7 a6caa88d9c fix(toast): close button now dismisses on click — upgrade sonner v1.7 to v2 (#52)
User report: the toast close button (×) was visible on both desktop and mobile,
but clicking/tapping it didn't dismiss the toast. Reading sonner v1.7.4's
bundled source, the toast root attaches an `onPointerDown` that calls
`r.target.setPointerCapture(r.pointerId)` unconditionally whenever the toast is
dismissible. Combined with React 19's new event delegation (root-attached
listeners instead of document-wide), this pointer capture quirk swallows the
synthetic click event on the close button — so the bundled handler that calls
`dismiss()` never runs. The bug fires on both mouse and touch because the
PointerEvent capture is API-unified.

Upgrade sonner from ^1.7.0 to ^2.0.7. Sonner v2 rewrote the pointer/swipe
handling and ships first-class React 19 support; the close-button click now
fires reliably on both desktop and mobile. The seven `toast.success/warning/
error/info` usage sites and the `<Toaster>` props (`position`, `theme`,
`richColors`, `closeButton`, `toastOptions.classNames`) are API-compatible
between v1 and v2 — typecheck and the 193 unit tests pass without changes.

Bonus: add a `::after` hit-area expansion on `[data-close-button]` (visible
size stays at sonner's 20px default; effective tap target ~36–40px) plus
`touch-action: manipulation` to eliminate the 300ms tap delay on touch
devices. Defensive — sonner v2 already fixes the underlying click issue, but
the larger hit target is a free mobile UX win.

Also adds:
- `docs/tested-viewports.md` — the manual device test matrix the maintainer
  has been verifying against (BlackBerry Z30 / Galaxy S9+ / Pixel 3/4/7 /
  iPhone SE/12/14 Pro/XR/Pro Max / iPad / BlackBerry PlayBook). Documents the
  Nokia Lumia 520 (320x533) as a known limitation below the recommended
  minimum 360x640.
- README EN + VI link to the new doc.
- THIRD-PARTY.md bumps sonner version 1.7 to 2.0.7.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 14:01:10 +07:00
poli0981andClaude Opus 4.7 25cac76373 chore(release): v1.4.2 (#49)
Patch release for the mobile-viewport overlap reported after v1.4.1 (#47):
- Tabs UI for Input/Output on mobile (<md); side-by-side grid stays on md+
- Unread-output dot on the Output tab
- Compact FormatPicker — bottom Sheet on mobile instead of 12 chips inline
- README EN + VI disclose minimum viewport (360×640)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.4.2
2026-05-14 12:50:13 +07:00
poli0981andClaude Opus 4.7 e91af0f676 fix(mobile): Tabs UI for Input/Output + compact FormatPicker on small viewports (#47)
After v1.4.1 user retested and reported the UI still breaks below ~400x700:
panels overlap below 600h, become nearly invisible below 500h. Root cause is
the grid-rows-2 mobile stack still gives each panel only half the available
height, and when the workspace toolbar wraps 2-3 rows (FormatPicker's 12 chips)
plus header / Home hero / Footer / StatusBar chrome, each row drops below
CodeMirror's minimum rendered content height and the two panels visually overlap.

Tabs UI on mobile (<md)
- Add shadcn Tabs primitive (@radix-ui/react-tabs, MIT)
- ConverterWorkspace renders Tabs on mobile (Input | Output, full-height active
  tab) and the side-by-side grid on md+. Both layouts render in parallel so
  CodeMirror state survives viewport resize without a remount.
- Output tab shows a 6px dot when output changes while the user is on the Input
  tab; the dot clears when they switch over. No auto-switch — user controls.

Compact FormatPicker on mobile
- Mobile: a single "Target format: CSV" button opens a bottom Sheet listing all
  12 chips in a 2-3 column grid (reuses the Sheet primitive already shipped
  with BatchPanel / SettingsPanel). Saves ~50-80px of toolbar height that
  would otherwise be eaten by the chip flex-wrap.
- Desktop: unchanged — 12 chips inline.

Minimum viewport documented
- README EN + VI now state "designed for viewports ≥ 360 × 640; smaller
  screens still work but may feel cramped".

THIRD-PARTY.md adds @radix-ui/react-tabs.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 12:48:42 +07:00
poli0981andClaude Opus 4.7 71b7ba2837 chore(release): v1.4.1 (#44)
Patch release for the mobile regressions reported on iPhone 14 Pro (#42):
- Header no longer overflows the viewport on phones (brand wordmark hidden below sm)
- Workspace panels stay visible on short and landscape phones (grid-rows-2 mobile split + h-dvh)
- THIRD-PARTY.md catches up with the CodeMirror lang packs (yaml/xml/markdown/sql/legacy-modes)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.4.1
2026-05-14 11:55:42 +07:00
poli0981andClaude Opus 4.7 14f41c3775 fix(mobile): header overflow on small viewports + workspace panels disappearing on short/landscape phones (#42)
Three viewport regressions reported on iPhone 14 Pro (393 portrait, 852x393 landscape) and shorter phones; iPad and tablets were unaffected.

Header overflow
- iPhone 14 Pro is 393px wide; the header's brand wordmark + nav + lang switcher + theme + GitHub icon row summed to ~460px, forcing horizontal page scroll. Hide the "JSONPrism" wordmark below sm (640px) and rely on the BrandMark SVG alone on phones — saves ~90px and the row now fits.

Workspace panels collapsing
- "Output trên một số mẫu điện thoại có chiều dài ngắn không có" + "Khi xoay ngang -> Toàn bộ trường Input và output bị biến mất". Root causes:
  1. min-h-[40vh] on each stacked panel (added in 1.4.0 for usable mobile heights) summed to 80vh, which exceeded the available height after the header / Home padding / workspace toolbar / status bar / footer chrome on short phones. The workspace container's overflow-hidden then clipped the lower panel off-screen.
  2. h-screen (= 100vh) on the Layout root doesn't account for iOS Safari's dynamic toolbar — the computed height could exceed the actual visible area on rotation.
- Swap min-h-[40vh] for grid-rows-2 (mobile) / md:grid-rows-1 (desktop). Each panel now takes exactly half the workspace height share — always visible, no overflow.
- Swap h-screen for h-dvh (Tailwind v4 dynamic viewport height) so iOS Safari's actual visible area drives the layout.

THIRD-PARTY.md
- Add the five CodeMirror language packs that landed across 1.3.0 + 1.4.0 but weren't listed: lang-yaml, lang-xml, lang-markdown, lang-sql, legacy-modes. All MIT, all @codemirror/*.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 11:54:12 +07:00
poli0981andClaude Opus 4.7 5659c67f4b chore(release): v1.4.0 (#39)
Bumps package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json to 1.4.0 and adds the CHANGELOG entry for the UI/UX polish round (#35, #37):
- Dynamic input/output placeholders in reverse mode
- "Multi-target formats" slogan
- Reverse-mode highlight expanded to Markdown / SQL / TOML / JSONL
- Social links UI: Footer icons + About Community section
- Mobile responsiveness polish
- Mousewheel scroll on input editor no longer requires click-to-focus
- README EN + VI refreshed

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.4.0
2026-05-14 10:37:47 +07:00
poli0981andClaude Opus 4.7 8cecb8019a style: prettier-format SocialIcons.tsx (#37)
The BlueskyIcon's `<path>` was a single long line exceeding the print
width, which slipped through local lint/build but failed CI's
`format:check`. Wraps the d/transform attributes across lines —
identical output, no SVG change.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 10:29:56 +07:00
poli0981andClaude Opus 4.7 27743986cc feat: UI/UX polish — Multi-target slogan, dynamic placeholders, social, reverse highlight, mobile (#35)
* feat(i18n): dynamic placeholders + Multi-target slogan

- Replace "Eight target formats" with "Multi-target formats" in app.description across en/vi/ja/zh-CN
- Add input_placeholder_format and output_empty_format keys with {{ext}} interpolation
- InputPanel and OutputPanel render extension-aware placeholders in reverse mode (e.g. "Paste your CSV here...", "Output will appear here once you provide valid YAML.")
- Forward mode keeps the original JSON-specific copy

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(ui): social links in Footer + About Community section

- Add SocialIcons component with 6 inline-SVG brand icons (Discord, X, Bluesky, Mastodon, Telegram, YouTube), since lucide-react has no brand icons
- Footer now exposes Discord (dev community) / X / Bluesky as a centered icon row, sandwiched between app meta and the maintainer credit
- About page gains a "Community" section between Donate and Third-party, listing all six platforms with icon + label
- Add i18n keys: about.community.* (titled section) and social.* (aria-labels) across en/vi/ja/zh-CN
- Curated based on username.txt: includes dev-relevant + maintainer's public socials; excludes Steam, Discord game server, email, and the Telegram bot (off-topic for the project)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(editor): scroll polish + reverse highlight for md/sql/toml/jsonl

Scroll fix
- .cm-scroller switched from scrollbarWidth: 'none' to 'thin' and explicit overflow: 'auto'. Hiding the native scrollbar was making wheel scroll require a click-to-focus before it engaged on some Chromium builds. Thin themed scrollbar reads fine on both light and dark theme.

Reverse-mode highlight
- Add @codemirror/lang-markdown, @codemirror/lang-sql, @codemirror/legacy-modes
- CodeEditor's EditorLanguage union now covers markdown, sql, and toml
- InputPanel maps jsonl -> json, markdown -> markdown, sql -> sql, toml -> toml; csv/tsv stay plain (no good CodeMirror grammar)
- All extensions go through the existing prismHighlightStyle, so colors stay consistent with forward JSON highlighting

Bundle impact: the three new packs are routed into the existing 'codemirror' manualChunk; no initial-bundle regression.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(ui): mobile responsiveness polish

- Header: nav links Convert/About now always visible (previously hidden md:flex), brand mark + wordmark scale down on small screens, padding tightened to 12px so the 360px viewport fits brand + nav + lang + theme + GitHub icon
- InputPanel/OutputPanel toolbar buttons: icon-only on mobile (label hidden below sm); aria-label and title now carry the text for a11y/tooltips
- ConverterWorkspace panels: min-h-[40vh] on mobile so the stacked Input/Output each keep a usable height instead of collapsing
- Home hero: stack the title and the drop-zone hint on mobile (flex-col), reduce outer padding
- About page: reduce outer padding on mobile (px-4 py-10) to claw back horizontal space
- FormatPicker chips: smaller padding + 11px font on mobile so the 12-format wrap stays compact

Skipped hamburger menu by design — Header only has 2 nav links, the drawer pattern adds bundle and complexity without payoff.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: refresh README EN + VI for Multi-target slogan, full format table, Community section

- Replace "Eight target formats" tagline with "Multi-target formats" (EN) / "Đa định dạng đích" (VI), matching the in-app app.description copy
- VI README format table now mirrors EN: includes BSON / CBOR / MessagePack (Phase 4) and the "Reverse (→ JSON)" column that the VI side was missing
- Bump tech-stack line from Vite 6 to Vite 8 in both files (package.json has been on ^8.0.0 for a while; the About page already reflected this)
- Add a Community section listing Discord (dev community), X, Bluesky, Mastodon, Telegram, and YouTube — same set as the in-app Community section, sourced from the maintainer's public socials

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 10:27:04 +07:00
poli0981andClaude Opus 4.7 2d8c416975 docs(changelog): clarify v1.3.2 misdiagnosis, translate v1.3.3 to English, add verified env (#33)
- Translate the v1.3.3 entry to English to match the rest of CHANGELOG.
- Annotate v1.3.2 as a misdiagnosis: the fix is correct on its own
  (the Tauri callback really did miss the extension filter) but it is
  not the bug the user reported. The actual user-visible bug was
  batch dedup, which v1.3.3 addresses.
- Add a "Verified" section under v1.3.3 listing the manual smoke
  environments: Windows Sandbox and Ubuntu 22.04 (Hyper-V VM).

No code changes. Tests / lint / typecheck unaffected.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 21:50:13 +07:00
dependabot[bot] 194050eb7b build(deps): Bump actions/upload-artifact from 4 to 7 (#6)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-13 21:05:40 +07:00
dependabot[bot] 018151711c build(deps): Bump actions/deploy-pages from 4 to 5 (#5)
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4 to 5.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-13 21:05:23 +07:00
dependabot[bot] 2fbf4cb463 build(deps): Bump actions/configure-pages from 5 to 6 (#4)
Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 5 to 6.
- [Release notes](https://github.com/actions/configure-pages/releases)
- [Commits](https://github.com/actions/configure-pages/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/configure-pages
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-13 21:05:00 +07:00
dependabot[bot] 5fae62e122 build(deps): Bump actions/upload-pages-artifact from 3 to 5 (#3)
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 3 to 5.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-13 21:03:10 +07:00
poli0981andClaude Opus 4.7 8a27c5c969 fix(tauri): set File.lastModified from stat() so batch dedup works (v1.3.3) (#27)
`fileFromNativePath` was calling `new File([text], name, { type })`
without `lastModified`. The File API defaults `lastModified` to
`Date.now()` at construction time, so reading the same path twice
produced two File objects with different timestamps — and `batchStore`
dedups on `(name, size, lastModified)`, so dropping the same file
twice through Tauri native drag-drop / native picker added both
copies to the queue with no `duplicate` toast. Web wasn't affected
because `<input type="file">` and `react-dropzone` build File objects
from the OS mtime.

Fix: call `stat()` from `@tauri-apps/plugin-fs` and pass
`mtime.getTime()` into the File constructor. Fall back to an FNV-1a
hash of the path if stat throws (capability missing, file vanished
between read and stat) so repeat drops still dedup.

Also infer `type` from the extension instead of hard-coding
`application/json`. Add `fs:allow-stat` to the default capability.

3 new unit tests for `pathHashAsMillis`. Total: 193.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.3.3
2026-05-13 20:33:12 +07:00
poli0981andClaude Opus 4.7 58ef7e739a fix(tauri): port batch extension filter to native drag-drop (v1.3.2) (#24)
The v1.3.0/v1.3.1 desktop bundles accepted any file dropped from File
Explorer / Finder / Nautilus into the workspace, because
`ConverterWorkspace.handleMultiFileDrop` (called by `useTauriDragDrop`
on `tauri://drag-drop` events) ran `batchStore.addFiles` directly and
skipped the `direction × format` extension whitelist that the
`react-dropzone` path in `BatchPanel` / `InputPanel` enforced. Files
like `.cs` / `.py` leaked into the queue with no `wrong_format` toast.

Extract `src/lib/file-filter.ts` exposing `getAllowedExtensions`,
`extOf`, and `filterByExtension` so all three drop entry points share
one implementation. The web `react-dropzone` paths keep their previous
behavior; the Tauri callback now filters + toasts before calling
`addFiles`.

Bump package / Cargo / Tauri version to 1.3.2.

7 new unit tests cover the helper. Total: 190.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.3.2
2026-05-13 20:05:44 +07:00
poli0981andClaude Opus 4.7 4bf239e089 fix(workflow): announce-discussion unbound var + literal $VAR text (#21)
Two bugs in `.github/workflows/announce-discussion.yml` surfaced when
v1.3.1 published:

1. `DEPLOY_URL: unbound variable` when triggered by `release` event.
   `${{ github.event.workflow_run.* }}` evaluates to null on a release
   event, and the resulting env-var assignment leaves the variable
   unset (not empty), which `set -u` then trips on. Guard every
   dynamic value with `|| ''` so each env var is always at least an
   empty string.

2. Body strings used `$'...'` ANSI-C quoting (which expands backslash
   escapes but NOT variables), so the discussion body would have
   contained literal `$RELEASE_TAG` text. Rewrite to plain double-quoted
   strings, using `$'\n'` only for embedded newlines.

Also pass dynamic values (REPO_ID / CAT_ID / TITLE / BODY) into the
Create Discussion step through env vars instead of literal `${{ ... }}`
substitution — protects against titles/bodies containing quotes or
other shell-special characters that would otherwise break the command
line.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 18:32:59 +07:00
poli0981andClaude Opus 4.7 6b9cc64331 chore(release): v1.3.1 (#19)
Same feature set as v1.3.0 (Đợt 2 + 3 + 4) plus two fixes:

- GitHub Pages 404 — Vite base / React Router basename / all repo URLs
  rebased from `/jsonprism/` to `/jsonPrism/` to match the existing
  repo name case.
- Release workflow — macOS Intel runner replaced with a universal2
  build on macos-14, since macos-13 runners no longer pick up jobs.

v1.3.0 was drafted but never published.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.3.1
2026-05-13 17:38:24 +07:00
poli0981andClaude Opus 4.7 50521881f0 fix(release): GH Pages 404 + macOS Intel runner unavailable (#18)
GitHub Pages serves at /jsonPrism/ (case-sensitive, mirrors the repo
name `poli0981/jsonPrism`). Our Vite `base` was set to `/jsonprism/`
(lowercase), so index.html referenced `/jsonprism/assets/*.js` and
every asset 404'd — the deployed page rendered blank. Rebase all
GitHub URLs / Vite base / React Router basename to match the existing
repo case `jsonPrism`. Renaming the repo to all-lowercase is the
cleaner long-term fix, but that's a user-side action.

GitHub Actions `macos-13` runners no longer pick up jobs (the macOS
Intel build sat queued for >18 min, then was cancelled). Replace the
two-entry matrix (macos-14 ARM + macos-13 Intel) with a single
universal2 build on `macos-14` using `--target universal-apple-darwin`.
The resulting `.app` / `.dmg` runs on both Apple Silicon and Intel.

Storage keys, package name, Tauri identifier remain lowercase
(`jsonprism`) — unaffected.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 17:26:20 +07:00
poli0981andClaude Opus 4.7 27c438de09 chore(release): v1.3.0 (#17)
Bump package.json + src-tauri/tauri.conf.json + src-tauri/Cargo.toml
from 1.0.0 → 1.3.0. CHANGELOG.md gains entries for v1.1.0, v1.2.0,
v1.3.0 covering Đợt 2 / 3 / 4 (binary converters + reverse + dep
upgrades; Tauri fixes + workflow + docs + JP/ZH-CN; editor UX + batch
hygiene + workspace persistence + TERMS).

No code changes — verification (typecheck / lint / 183 tests / build)
all green at 1.3.0.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v1.3.0
2026-05-13 16:46:40 +07:00
poli0981andClaude Opus 4.7 315a6f0b92 feat: editor UX, batch hygiene, workspace persistence, TERMS (#16)
Đợt sửa lỗi 4 — single PR.

Code Editor (Input):
- Reverse mode now picks the closest CodeMirror language pack:
  yaml → @codemirror/lang-yaml, xml/resx → @codemirror/lang-xml,
  csv/tsv/toml/jsonl/markdown/sql/bson/cbor/msgpack → plain.
- Input wrapper gets `min-h-0` so a long paste scrolls inside the editor
  instead of pushing past the status bar.
- New `.scrollbar-hide` utility class in globals.css. Applied to
  .cm-scroller via CodeEditor's theme block, OutputPanel scroll
  container, and the About page wrapper. Window scrollbar untouched
  (a11y preserved).

Batch:
- Description / drop_idle / empty strings now take {{from}}+{{to}} and
  {{format}} placeholders. In reverse mode the drop zone reads e.g.
  "Drop YAML files here", description reads "Process multiple YAML
  files into JSON".
- batchStore dedup by (filename + size + lastModified). Re-dropping
  the same files reports a warning toast with i18n `batch.toast.duplicate`.
- Extension filter in InputPanel (single-file + Tauri native dialog +
  hidden input) and BatchPanel (handleAddFiles + onDropRejected).
  Wrong-extension files are skipped with a warning toast.

Workspace persistence:
- New src/stores/workspaceStore.ts. Owns input/format/direction/options.
  Convert → About → Convert no longer wipes the editor.
- ConverterWorkspace rewritten to consume the store; in-component state
  reduced to modal open/close + actionsRef.
- 6 new unit tests for the store; existing batchStore test count: 10.

UI/UX:
- About page wrapped in `flex-1 min-h-0 overflow-y-auto` so its content
  scrolls inside `<main>` instead of overflowing onto the footer.

Docs:
- New root-level TERMS.md (ToS / EULA): acceptance, GitHub ToS,
  Apache 2.0 inheritance, no warranty, user data ownership, acceptable
  use (incl. anti-malware-PR clause), trademarks, modifications,
  termination, contact. Linked from README.md and README.vi.md.

Deps:
- @codemirror/lang-yaml + @codemirror/lang-xml (both MIT, fall into the
  existing `codemirror` manualChunk).

Verification:
- typecheck / lint / 183 tests pass / build OK (Vite 8 / Rolldown 695ms).

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 15:37:30 +07:00
poli0981andClaude Opus 4.7 1f5c4e092d feat: reverse UX batch + docs suite + expanded About page (#15)
Đợt sửa lỗi 3 — PR-B (features).

Reverse UX:
- InputPanel accept list + file picker + editor label are now driven by
  the active format when direction='reverse'. Label switches from
  "Input JSON" to "Input <Format>". Loads-sample button hidden in
  reverse (the sample is JSON).
- BatchPanel mirrors the dynamic accept + filename suffix. Per-row
  shows `→ .json` in reverse mode.
- batch-processor gained a `direction` parameter. Reverse mode skips
  parseJsonInput entirely and routes through converter.reverse(); zip
  outputs use `.json` extension regardless of source format.

Docs suite (root):
- PRIVACY.md — offline-first, localStorage inventory.
- SECURITY.md — vulnerability reporting + supported versions.
- DISCLAIMER.md — 1-person + AI-assisted, translation disclaimer.
- MAINTAINERS.md — single-maintainer indie project notes.
- THIRD-PARTY.md — categorized canonical dep list with version/license/link.
- CODE_OF_CONDUCT.md — Contributor Covenant v2.1 by reference.

Docs suite (operational):
- docs/pc_spec.md + docs/dev_env.md — maintainer hardware + toolchain.
- docs/i18n/vi/{pc_spec,dev_env}.md — VI mirrors.

CONTRIBUTING + README updates:
- README + README.vi: new "Project docs" table, Acknowledgements,
  Sponsorship sections.
- CONTRIBUTING: "Auto-ignored cases" rules (suspicious code, off-topic
  preamble, etc.). Updated translation section to list all four locales
  and disclose AI-translation.

About page expansion:
- Donate grid (5 channels from .github/FUNDING.yml).
- Third-party categorized summary (UI / Editor / Parsers / Build / Tauri / i18n)
  linking to THIRD-PARTY.md.
- Build info: version, commit SHA (linked to commit), build date —
  injected via Vite define from git rev-parse.
- Links: repo, issues, discussions, demo, license.
- Disclaimer footer with translation note.
- All sections wired with new about.* i18n keys in en/vi/ja/zh-CN.

Verification:
- typecheck / lint / 175 tests pass / build OK.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 14:00:06 +07:00
poli0981andClaude Opus 4.7 bb7ee3c53b feat: Tauri fixes + workflow hygiene + JP/ZH-CN locales (#2)
Đợt sửa lỗi 3 — PR-A (fix + low-risk infra).

Tauri build:
- Fix black screen: introduce build-time `__IS_TAURI_BUILD__` Vite define
  so React Router uses basename '/' in Tauri bundles and '/jsonprism' on
  GH Pages. Previously `import.meta.env.PROD` was true in both, breaking
  Tauri routes.
- Single-instance plugin: tauri-plugin-single-instance added; second
  launches focus the existing window instead of spawning a new process.
  Registered first per Tauri 2 best practice; desktop-only.

Workflows:
- Bump actions/checkout v4 → v6, actions/setup-node v4 → v6 (Node 24 LTS).
- Reduce skip noise: notify-ci-failure and notify-release-pipeline drop
  `workflows: ["*"]` catch-all in favor of specific workflow names.
- New announce-discussion.yml: auto-create a Discussion post when a
  release publishes or Deploy to GH Pages succeeds. Requires Discussions
  enabled + "Announcements" category (manual prerequisite, mentioned in
  the workflow file).

Community files:
- .github/dependabot.yml — weekly npm + actions + cargo updates, grouped.
- .github/PULL_REQUEST_TEMPLATE.md — summary, test plan, AI-assist disclosure.
- .github/ISSUE_TEMPLATE/config.yml — block blank issues, route to
  Discussions / Security Advisory / live demo.

i18n:
- New locales/ja.json, locales/zh-CN.json (AI-translated; disclaimer key
  added to all four locales).
- LanguageSwitcher + i18n.supportedLngs updated.

Verification:
- typecheck / lint / 175 tests pass / build OK.
- `cargo check` in src-tauri builds clean with the new plugin.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 13:43:15 +07:00
poli0981andClaude Opus 4.7 9c6b6d3f65 feat: hygiene, dep upgrades, Tauri, binary formats, reverse conversion (#1)
* feat: hygiene, dep upgrades, Tauri, binary formats, reverse conversion

Đợt sửa lỗi 2 — five phases landed together:

1. Build & type hygiene: fix 8 TS strict errors (override, exactOptional,
   Uint8Array<ArrayBuffer> for Blob), switch `typecheck` to `tsc -b
   --noEmit`, refactor ThemeToggle to click-outside + Escape (replaces
   the racy onBlur close), fix 10 pre-existing test failures.
2. Dep upgrades: jsdom 25→29, vite 6→8 (Rolldown), @vitejs/plugin-react
   4→6, engines.node >=22.11, manualChunks converted to function form.
3. Tauri process hygiene: explicit RunEvent::ExitRequested +
   WindowEvent::CloseRequested cleanup; docs/TAURI-NOTES.md captures
   the WebView2 GDI leak (upstream).
4. Binary converters: BSON, CBOR, MessagePack with base64/hex display
   encoding; OutputPanel decodes back to raw bytes on download.
5. Reverse conversion: Converter.reverse() interface, JSONL/CSV/YAML/
   TOML/RESX → JSON impls, DirectionToggle UI, FormatPicker disables
   non-reversible formats in reverse mode.

175 tests pass (was 137). Build clean. CI scripts now meaningful.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore: apply prettier + ignore src-tauri/target in eslint

CI's format:check stage caught 24 files that didn't match the project's
prettier config. Run `npm run format` to normalize. Also widen the
eslint ignore list to skip cargo build output under src-tauri/target so
local Rust builds don't pollute the lint run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(build): switch minifier to oxc for Vite 8 / Rolldown compat

Vite 8 deprecated `transformWithEsbuild`; selecting `minify: 'esbuild'`
now requires esbuild as a separate install. CI didn't have it (we don't
list it as a dep), so the production build failed with
`Cannot find package 'esbuild'`. Switching to oxc — the Rolldown-native
minifier already included with Vite 8 — fixes the build with no new deps.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 12:21:23 +07:00
poli0981 fb506baba2 demo basic 2026-05-13 09:43:37 +07:00
poli0981 e4cdfc3bec Initial commit 2026-05-12 19:58:14 +07:00