feat: release prep for 1.0.0 — Dependabot, version bump, and two screenshot fixes

Two defects visible in the owner's screenshots of the running extension, both
invisible to every gate the repo has:

- The footer rendered "v0.1.0 ·GPL-3.0". Svelte trims trailing whitespace at an
  {#if} boundary, so the space after the separator inside the block was
  dropped. Separators are `{' · '}` expressions now, which are never trimmed;
  verified in the built bundle.
- The compact theme toggle's dark option used U+263E (☾), a thin crescent that
  reads as a capital "C" at ~13px — clearly visible in all four screenshots.
  Now ☀️/🌙, which also matches the popup's existing ⬆/⬇/🗂 vocabulary. The
  accessible name came from aria-label either way, so this is purely visual.

Adds .github/dependabot.yml (docs/12 §5): weekly npm and github-actions, dev
minor+patch grouped into one PR so CI runs once, Conventional Commit prefixes,
and TypeScript majors held because svelte-check needs the TS 6 programmatic API
until 7.1. The comment records what the file cannot do — security updates run
from the repo's alerts regardless, and the ones failing today are transitive
DEV dependencies with no reachable patch, which is why `npm audit --omit=dev`
is still 0.

Version bumped to 1.0.0 with the CHANGELOG section dated, and the icon set
closed in docs/00 §10: the owner adopted the gen-icons.mjs output as final, so
the generator is the source of truth rather than a placeholder. README's
screenshot placeholder is replaced with the four real captures.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
poli0981andClaude Opus 5 committed 2026-07-26 17:18:41 +07:00
1 parent 2c8fba9a74
commit 4e789aea38
12 files changed
+87 -15

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
# docs/12 §5. Two ecosystems: the npm dev toolchain, and the pinned actions in
# .github/workflows/.
#
# Note what this file cannot do: Dependabot *security* updates run from the
# repo's alerts regardless of any config here. Several currently fail because
# the advisories are against transitive dev dependencies with no reachable
# patched version. That is noisy but not shipped — BookmarkMagic has zero
# runtime dependencies, so `npm audit --omit=dev` reports 0 and nothing in the
# published extension is affected (docs/09 T5).
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 5
commit-message:
# Conventional Commits — docs/10 §7 applies to bot commits too.
prefix: chore
prefix-development: chore
include: scope
groups:
# One PR per week for the routine churn, so CI runs once rather than
# eight times and the review is a single diff.
dev-minor-and-patch:
dependency-type: development
update-types:
- minor
- patch
ignore:
# Held deliberately: svelte-check and Volar need the TypeScript 6
# programmatic API until TS 7.1 (docs/01). A major bump here breaks
# `npm run check` rather than improving anything.
- dependency-name: typescript
update-types: [version-update:semver-major]
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 3
commit-message:
prefix: ci
include: scope
groups:
actions:
patterns: ['*']
+8 -4
View File
@@ -11,6 +11,12 @@ breaking format or schema changes (a BM JSON version bump).
## [Unreleased]
Nothing yet.
## [1.0.0] — 2026-07-26
First public release.
### Added
- Import bookmark files (Netscape HTML, BookmarkMagic JSON, CSV) with a full
@@ -38,7 +44,5 @@ breaking format or schema changes (a BM JSON version bump).
- Parsing is bounded: 25 MB per file, 100 000 nodes, 200 levels of nesting.
- No network access of any kind at runtime, enforced by a grep gate in CI.
<!-- ⚠️ Human: on the first release, rename [Unreleased] to [1.0.0] with the
release date, and add a fresh empty [Unreleased] section above it. -->
[Unreleased]: https://github.com/poli0981/bookmarkmagic/commits/main
[Unreleased]: https://github.com/poli0981/bookmarkmagic/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/poli0981/bookmarkmagic/releases/tag/v1.0.0
+9 -3
View File
@@ -11,9 +11,15 @@ no cloud sync, 100% offline.
A Chrome (MV3) extension for importing, exporting and editing bookmarks and
folder trees. English · Tiếng Việt · 日本語.
<!-- ⚠️ Human: add screenshots here before store submission — the manager's
import preview, the export picker, and the edit tree are the three that
matter. Icons are still generated placeholders (docs/00 §10 item 3). -->
## Screenshots
| Edit | Export |
|---|---|
| ![The edit tree, showing bookmarks with their domains](capture/Edit2.png) | ![The export tab: folder picker on the left, format cards on the right](capture/export.png) |
| Settings | About |
|---|---|
| ![Settings: language, theme, and four defaults](capture/Setting.png) | ![About: version, links, third-party statement, donate links and the legal block](capture/About.png) |
## What it does
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

+5 -3
View File
@@ -119,9 +119,11 @@ Derived identifiers (canonical across docs and code):
`github.com/poli0981/bookmarkmagic`.
2. ✔ Repo created, `LICENSE` committed. Variant resolved: **GPL-3.0-or-later**,
matching `poli0981/switch-every-tab-hotkey`.
3. **Designed** icon set (16/32/48/128 px) + CWS promo images. Not blocking:
`scripts/gen-icons.mjs` (ported from the portfolio precedent, zero-dep) emits
placeholder PNGs in the accent violet so the manifest loads from Phase 0.
3. ✔ Icon set (16/32/48/128 px) — the owner adopted the `scripts/gen-icons.mjs`
output as final on 2026-07-26, so the generator is the source of truth rather
than a placeholder. Regenerate with `npm run icons` after any change.
**Still open:** CWS promo images, which the store listing needs but the
extension does not.
4. ✔ Donate URLs resolved from `.github/FUNDING.yml` (`14 §5`).
✔ Contact email filled in and confirmed live: `contact@poli0981.dev`
(`legal/PRIVACY.md`), alongside the GitHub Issues link.
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "bookmarkmagic",
"private": true,
"version": "0.1.0",
"version": "1.0.0",
"type": "module",
"description": "Import, export & edit bookmarks between browsers — offline, no account, no cloud.",
"license": "GPL-3.0-or-later",
+8 -2
View File
@@ -113,8 +113,14 @@
<footer>
<span>
{#if version !== ''}v{version} · {/if}GPL-3.0 ·
<a href={REPO_URL} target="_blank" rel="noopener noreferrer">GitHub ↗</a>
<!-- Separators are `{' · '}` expressions, not literal text. Svelte trims
trailing whitespace at an {#if} boundary, which rendered the footer as
"v0.1.0 ·GPL-3.0". An expression is never trimmed. -->
{#if version !== ''}v{version}{' · '}{/if}GPL-3.0{' · '}<a
href={REPO_URL}
target="_blank"
rel="noopener noreferrer">GitHub ↗</a
>
</span>
<nav>
<!-- Gated like TabBar's tabs: navigating away mid-write unmounts ImportTab
+6 -2
View File
@@ -15,10 +15,14 @@
// docs/06 §3 sketches a single ◐ that cycles. A segmented control instead:
// one code path for both placements, and the current choice is visible rather
// than inferred — a cycling button conflates "what am I" with "what's next".
// The compact header variant shows glyphs only, so they have to be legible at
// ~13px. U+263E (☾) was tried and is a thin crescent that reads as a capital
// "C" at that size — emoji are unambiguous and match the popup's existing
// ⬆/⬇/🗂 vocabulary. The accessible name comes from aria-label either way.
const GLYPH: Record<ThemePreference, string> = {
system: '◐',
light: '☀',
dark: '☾',
light: '☀️',
dark: '🌙',
};
let buttons: HTMLButtonElement[] = $state([]);