Skip to content

Releases: lingyired/newtab01

v1.0.18 — Chrome Web Store zh_CN / zh_HK / zh_TW _locales

28 Jun 13:35

Choose a tag to compare

v1.0.18 — 2026-07-07

Fixed

  • 三处版本号同步src/lib/version.tsVERSION 常量从 1.0.16 同步到 1.0.18,与 manifest.json / package.json 对齐(v1.0.18 release 时漏改,与 v1.0.14 → v1.0.15 的漂移模式相同)。注意:Chrome Web Store 上传的是源码 3d3ec93 那一刻的版本(VERSION 仍是 1.0.16),用户从 store 看到的「关于」tab 会显示 1.0.16;这个 commit 跟 tag v1.0.18 一起,让本地源码与 git tag 保持一致,store 端不重传(无功能差异)。

Added

  • _locales Chinese variant support。v1.0.14 只发了 zh/ 目录,Chrome Web Store listing 的下拉里只有「中文」。但很多用户用的浏览器语言是 zh-CNzh-TWzh-HK(三位 locale code),所以 dashboard 不匹配「zh」目录导致「中文」选项不可选。加 3 个新目录:
    • _locales/zh_CN/ — 与 zh/ 内容一致(简体中文,45 chars ≤ 132)
    • _locales/zh_HK/ — 香港繁体(45 chars ≤ 132)
    • _locales/zh_TW/ — 台湾繁体(45 chars ≤ 132)
    • _locales/zh/ 保留(向后兼容仅 zh 的浏览器)
    • 新 locale 不影响运行时 src/lib/i18n/LocaleCode = 'zh'(Chrome store listing 和 runtime 走两套 i18n,设计决策见 v0.2.117 + v1.0.14)

Full Changelog: https://github.com/lingyired/newtab01/commits/v1.0.18

v1.0.17

27 Jun 05:58

Choose a tag to compare

Added

  • 新选项「链接背景颜色」(linkBgColor)。独立于 backgroundColor(新标签页背景色),用户可以给书签链接单独设置背景色。
  • 「背景颜色」label 改成「新标签页背景色」。10 个 locale 同步更新。

Fixed

  • 「文字颜色」设置现在真正作用于书签链接文字和目录标题。引入 --newtab-link-color CSS 变量插在 cascade 最前面。
  • 纯白/纯黑 favicon 在对应背景下不可见问题。使用 filter: drop-shadow() 外发光柔光,color-mix(in oklch, var(--foreground) 50%, transparent) 自适应明暗。

v1.0.15 — Undo button: 'session-only' hint

27 Jun 04:52

Choose a tag to compare

v1.0.15 — Undo button: "session-only" hint

「回退」按钮下方加一行 hint 浮动文字

What's new

The undo button now ships with a small explanatory hint below it:

仅本次会话可回退,刷新后清空
Only undoable in this session; clears on refresh

The hint tells the user that the undo stack is in-memory only — refreshing the page (which commits the current layout to disk) clears the history, after which the undo button can no longer help. This was a frequent source of confusion ("why doesn't undo work after refresh?") that the user feedback wanted addressed.

Design

  • Button itself is unchanged — same original size (≈33px tall, padding 7px 14px + font-size 1.2rem + line-height 1.4). We tried growing it to match the search input height, but the larger button felt visually heavy next to the search box.
  • The hint floats below the button via position: absolute (top: calc(100% + 4px)) anchored to the .undo-wrap div. Because the hint is out-of-flow, it does not affect the topbar's flex layout — the search input and undo button stay cleanly aligned.
  • 10 locale translations ship with the new string: en / zh / es / ar / hi / fr / pt / de / ja / ru. tsc --noEmit enforces that every catalog has the new undo.sessionHint key at compile time.
  • hi / ar / ru translations are AI-generated — they're usable but may benefit from manual polish. The translation source lives in src/lib/i18n/catalog/<code>.ts.

DOM / CSS

<div class="undo-wrap">                    <!-- position: relative (anchor) -->
  <button id="undo_button">
    <span class="undo-label">回退</span>
    <span class="undo-count">1</span>
  </button>
  <span class="undo-hint">                 <!-- position: absolute -->
    仅本次会话可回退,刷新后清空
  </span>
</div>
.undo-wrap { position: relative; flex: 0 0 auto; margin-left: 8px; }
.undo-hint {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

Fixed

  • manifest.json / package.json / src/lib/version.ts version drift. The v1.0.14 release only bumped manifest.json and package.jsonsrc/lib/version.ts stayed at 1.0.13. All three are now synced at 1.0.15. (This was the underlying reason the About tab showed a different version number than chrome://extensions.)

Files changed

File Δ
src/lib/i18n/types.ts +1 line (new MessageKey)
src/lib/i18n/catalog/*.ts (×10) +1 line each (translations)
src/newtab/undo-button.ts refactored DOM + visibility logic
styles/newtab.css +.undo-wrap / .undo-hint styles
manifest.json / package.json / src/lib/version.ts version sync
CHANGELOG.md v1.0.15 entry

Bundle: newtab.js 29.19 KB gzipped (under the 80 KB budget).

Installation

  • Chrome Web Store: upload build/newtab01-1.0.15.zip
  • Edge Add-ons: upload the same zip (manifest already Edge-compatible per v1.0.13 store-submission cleanup)
  • From source (developer): pnpm install && pnpm build && load dist/ as unpacked extension

Acknowledgements

The _locales/ Chrome Web Store listing translation support was added in v1.0.14 (the release immediately before this one). That work makes the per-store-locale dashboard translation flow possible for the new undo.sessionHint string going forward.

The undo button itself was originally added in v0.2.61 (see feat/drag-undo branch).

v1.0.13 — Chrome Web Store submission snapshot

25 Jun 03:43

Choose a tag to compare

v1.0.13 — 2026-06-24

Chrome Web Store submission snapshot. No functional changes — bundle size and behavior identical to v1.0.9. The intervening v1.0.10 → v1.0.13 patch bumps were all store-listing metadata only (image paths in docs/README.zh.md, GitHub topics, manifest description text).

Changed

  • manifest.json description — rewrote in English (115 chars, 17-char safety margin under the 132-char Web Store limit). New copy: "Bookmark-driven new tab. Open folders as tab groups or in split view. 12 built-in themes + unlimited custom themes." v1.0.11's 42-char Chinese copy ("是基于书签的新标签页...") was an emergency stop-gap after the previous 138-char English copy tripped validation; v1.0.12 fixed that in English but still named "Chrome tab groups" specifically; v1.0.13 drops the Chrome brand so the same copy reads correctly on the Edge Add-ons store as well.
  • docs/permissions.md — rewritten for the Chrome Web Store review team. Per-permission reason (function + why, no API-level details), host_permissions preamble explaining why <all_urls> is required, 5-bullet privacy summary. 781 words / 1000 cap.

Notes

  • This is the build that was submitted to the Chrome Web Store (package: newtab01-1.0.13.zip).
  • The same zip / manifest description will be used for the Edge Add-ons submission.
  • No gh release create was issued for v1.0.10, v1.0.11, or v1.0.12 — they were docs/metadata-only patch bumps (CLAUDE.md §11.1) and did not warrant a release on their own. v1.0.9 → v1.0.13 covers the full pre-submission store-listing prep cycle.
  • Manifest version sync: manifest.json / package.json / src/lib/version.ts all at 1.0.13.
  • Store listing copy: docs/store-description.md (English) + docs/store-description.zh.md (中文).

v1.0.9 — Store submission prep (extension preview screenshots)

24 Jun 13:43

Choose a tag to compare

v1.0.9 — 2026-06-24

Store submission prep. No functional changes — bundle size and behavior identical to v1.0.8.

Added

  • extension-previews/ — 14 extension screenshots (4.8 MB) for the Chrome Web Store listing and the README feature sections

Changed

  • README.md + docs/README.zh.md — each of the 6 feature sections now has its screenshot(s) below the description with a short alt text

Notes

  • No code changes; version bumped 1.0.8 → 1.0.9 in manifest.json / package.json / src/lib/version.ts (CLAUDE.md §11)
  • Branch feat/extension-previews frozen on origin as a historical index

v1.0.5 — Store submission prep (permissions doc, README refresh)

24 Jun 06:37

Choose a tag to compare

v1.0.5 — 2026-06-24

Chrome Web Store submission prep. No functional changes — bundle size and behavior identical to v1.0.4.

Documentation

  • docs/permissions.md — full Chrome Web Store permissions justification (12 permissions, host_permissions, privacy practices, removed management permission rationale)
  • README.md rewritten in English (default); HNTP refactor claim replaced with an "Inspiration" note crediting ibillingsley; theme count 4 → 12; overview condensed to a flat feature list
  • docs/README.zh.md — Chinese README with cross-language link at the top
  • docs/github-description.md — copy-paste ready text for the repo's About box (description + topics + this release draft)
  • Repository description & topics refreshed

Notes

  • No code changes; version bumped 1.0.4 → 1.0.5 in manifest.json / package.json / src/lib/version.ts (CLAUDE.md §11)
  • Branch feat/store-submission-prep frozen on origin as a historical index