Skip to content

Rename to CreatePress, add About, new icon, fix blank New Post pane - #3

Merged
RealAct merged 2 commits into
mainfrom
claude/project-thread-9uzkl0
Oct 13, 2026
Merged

RealAct merged 2 commits into
mainfrom
claude/project-thread-9uzkl0

Conversation

@RealAct

@RealAct RealAct commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Requested by Eli · project thread

Before: clicking New Post or New Page showed a blank white pane on macOS and Linux. The app was called "WordPress Remote Editor", had no About screen, and its icon was a small page and pencil on a blue tile with a transparent margin.

After: the site's block editor loads and works. The app is called CreatePress everywhere. An About CreatePress sheet credits Eli Linares and links to realact.net. The new icon is full-bleed blue with a larger page and pencil.

The blank pane came from Tauri's app-wide freezePrototype option. Tauri injects it into every webview, including the site's wp-admin, and freezing Object.prototype breaks WordPress's own scripts (moment, @wordpress/components throw "Cannot assign to read only property"). This affected Windows too.

How

  • tauri.conf.json: freezePrototype is now off. The shell webview freezes its own prototype through an initialization script, so the shell keeps the same protection. A regression test checks this.
  • Rename: product name, binary createpress, bundle id net.realact.createpress, window titles, menus, keychain service, the createpress:// sign-in callback, README and docs. The plugin is now CreatePress Bridge (plugin/createpress-bridge, REST createpress/v1). Because the bundle id changed, sites added in 0.1.0 have to be added again, and the plugin must be reinstalled from the new zip.
  • About: there is a sidebar row, a Help menu item on Windows and Linux, and an app-menu item on macOS. A new editor_set_hidden command hides the editor pane while the sheet is open.
  • Icon: SVG source added at src-tauri/icons/icon.svg, and every size is regenerated with tauri icon.

Tested on Linux against WordPress 6.5 with full Gutenberg assets. With the old setting, New Post gives "The editor has encountered an unexpected error". With this change the editor loads, typing works, the toolbar tracks state, and About opens over the editor and closes back to it. Checks run: npm test, npm run build, cargo clippy -D warnings, cargo test, and phpcs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HV1v7f4dNux4ZFfcMJhosY


Generated by Claude Code

- Fix: New Post / New Page opened a blank pane. Tauri's app-wide
  freezePrototype option is injected into every webview, including the
  site's wp-admin, where freezing Object.prototype breaks WordPress's own
  scripts (moment, @wordpress/components). Turn it off and freeze the
  prototype in the shell webview only.
- Rename the app to CreatePress everywhere: product name, binary, bundle
  identifier (net.realact.createpress), window titles, menus, keychain
  service, sign-in callback scheme, docs. The companion plugin becomes
  CreatePress Bridge (createpress-bridge, REST namespace createpress/v1).
- Add an About CreatePress sheet (sidebar, Help menu, macOS app menu)
  crediting Eli Linares with a link to realact.net. The editor pane is
  hidden while it is open.
- New full-bleed icon with a larger page and pencil; SVG source added and
  all platform sizes regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01HV1v7f4dNux4ZFfcMJhosY
@RealAct RealAct self-assigned this Oct 13, 2026
@RealAct
RealAct merged commit 4ee9bb8 into main Oct 13, 2026
5 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.

2 participants