Skip to content

Release 1.1.4#15

Merged
jphan32 merged 8 commits into
mainfrom
dev
Jun 24, 2026
Merged

Release 1.1.4#15
jphan32 merged 8 commits into
mainfrom
dev

Conversation

@jphan32

@jphan32 jphan32 commented Jun 24, 2026

Copy link
Copy Markdown
Member

Release 1.1.4

Full-screen table styling fix, plus the project's migration to a TypeScript + esbuild toolchain.

Highlights

Fixed

  • Full-screen tables now match the inline view's styling (the clone is re-wrapped in the note's .markdown-rendered context; display: contents keeps the centering/scroll layout).
  • Diagram host overflow is neutralized on the actual .mermaid wrapper via closest('.mermaid') (removes a latent edge case).

Internal

  • Migrated to TypeScript + esbuild (official obsidian-sample-plugin toolchain): source in src/main.ts, bundled to main.js (build artifact, not committed). CI/release type-check + build before packaging. No behavior change.
  • Removed the remaining !important (override by selector specificity).
  • Followed Obsidian code guidelines: icons built via createElementNS (no innerHTML).
  • Added a headless-browser E2E test (tests/e2e/) guarding the full-screen table.
  • Restructured docs: user-facing README.md; developer setup in docs/DEVELOPMENT.md.

Pre-merge checklist

  • manifest.json version is set to 1.1.4
  • versions.json has "1.1.4": "1.0.0" (matches manifest.minAppVersion)
  • CHANGELOG.md has a dated ## [1.1.4] - 2026-06-24 section (moved out of Unreleased)
  • npm run build + node --check main.js + node scripts/validate.mjs pass locally
  • E2E + comprehensive headless smoke test pass (22/22 checks)
  • CI (validate) is green on this PR
  • Code-owner approval obtained

After merge (automatic)

On merge into main, the Release workflow reads the version from manifest.json, pushes the 1.1.4 tag, and publishes the GitHub release with main.js, manifest.json, and styles.css.

Maintainer follow-up:

  • Verify the release + 3 assets under Releases.
  • Back-merge main into dev (chore/sync-dev-with-main).

🤖 Generated with Claude Code

jphan32 and others added 8 commits June 23, 2026 22:53
Reconcile dev with main after PR #12 (Release 1.1.3). No file changes — trees
are identical.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
chore: back-merge main into dev (sync after 1.1.3 release)
Adopt the official obsidian-sample-plugin toolchain: author in TypeScript
(src/main.ts) and bundle to main.js with esbuild.

- main.js is now build output (gitignored, rebuilt in CI, attached to
  releases); never edited directly. esbuild emits it to the repo root
  (no dist/), since Obsidian loads main.js from the plugin folder root.
- tsc --noEmit type-checks against the real obsidian types (strict, with
  strictPropertyInitialization off because fields init in _build()).
- Follow Obsidian code guidelines: build icon SVGs via createElementNS
  instead of innerHTML; teardown/cleanup unchanged.
- styles.css: drop the remaining !important (win on selector specificity)
  and harden the .mermaid host stamping via closest('.mermaid').
- CI/release: npm ci -> npm run build -> node --check -> validate.mjs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- README.md is now user-facing (features, install, usage, keyboard) with
  example-image placeholders under docs/images/.
- Add docs/DEVELOPMENT.md: TS+esbuild setup, local watch-build loop, the
  CI gate, Obsidian code guidelines, and an architecture overview.
- Add CLAUDE.md project guidance; update CONTRIBUTING.md to the new
  toolchain and record the changes in CHANGELOG.md (Unreleased).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The full-screen table is cloned into document.body, outside the note's
`.markdown-rendered` context, so it lost the theme's table styling (cell
borders, padding, header background) and looked unstyled. Re-wrap the clone
in a `.markdown-rendered` container so it inherits the same styling as the
inline view; `display: contents` on that wrapper keeps the centering/scroll
layout on the table itself.

Developed via E2E: add tests/e2e (`npm run test:e2e`), which drives the
bundled plugin under a minimal obsidian stub in headless Chromium, opens a
table full screen, and asserts its cell styling + layout match the inline
table. Documented in docs/DEVELOPMENT.md; run locally (no browser in CI).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Screenshots will be added later. Drop the placeholder image references and
the docs/images/ placeholders until real screenshots are captured.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bump version across manifest.json, versions.json and package.json, and move
the Unreleased notes into a dated 1.1.4 section.

Highlights: full-screen table styling fix; migration to TypeScript + esbuild;
removal of the remaining !important; E2E test for the table full-screen view.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jphan32
jphan32 merged commit 78b3b11 into main Jun 24, 2026
2 checks passed
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.

1 participant