Skip to content

Develop - #5

Merged
moilstack-dev merged 14 commits into
mainfrom
develop
Jul 18, 2026
Merged

Develop#5
moilstack-dev merged 14 commits into
mainfrom
develop

Conversation

@moilstack-dev

Copy link
Copy Markdown
Contributor

Summary

Type of change

  • Bug fix
  • New feature
  • Refactor / code cleanup
  • Documentation update
  • Build / CI change

Testing

  • Tested locally (dev mode: npm start)
  • Tested packaged build (npm run package)
  • All existing tests pass (npm test)

Screenshots (if UI change)

Checklist

  • No API keys or secrets in the diff
  • CHANGELOG.md updated (for user-visible changes)

Introduce tag support and editor/UX improvements: add Tag modal (editor context) to read/write YAML frontmatter tags; make main process strip BOM and parse frontmatter-only tags; add tag-search syntax (#tag or tag:name) and surface tag matches in search results; snapshot editor state before toolbar/context-menu range edits so Ctrl+Z undoes them; add copy/paste context actions, Tags action, and Ctrl+Shift+N to create a file in the Explorer; show tags with tooltip in the file tree; CSS tweaks and table-builder undo snapshot.
Add 'remove from recents' buttons to the sidebar recent folders and welcome screen, with event handlers that stop propagation and update StorageManager. Change folder recent rows from <button> to <div>, add tabindex and keyboard handlers so rows remain accessible while nesting a remove button. Add SVG icon assets and CSS for remove buttons, hover states, and a brief settings-row flash. Add clickable 'Explorer' label that opens Settings → Explorer and scrolls/flash highlights the Explorer setting. Fix editor image insertion to use an empty src (']()') to avoid eager file:// fetches.
Add documentation for upcoming release including new editor and explorer features (copy/paste context menu, file tagging, quick jump to Explorer settings), improvements to file handling and context menu, and bug fixes for undo tracking and UI layout issues.
Replace the custom AI undo stack mechanism with the browser's native execCommand('insertText') API. This allows Ctrl+Z to chain with user typing history instead of resetting the undo chain.

Key changes:
- Remove aiUndoStack and _snapshotUndo in favor of replaceRangeNative() and setEditorContentNative()
- New _minimalDiff() computes the smallest changed range to ensure full-document edits land in native undo history
- Update all toolbar, context-menu, AI, and find-replace operations to use the new native undo functions
- Improve focus management in chat panel so Ctrl+Z targets the editor after AI edits
- Always show "Untitled (unsaved)" row in recents panel for one-click access to blank documents

Fixes context-menu formatting and AI edits being undoable with Ctrl+Z.
Implements automatic checking for new GitHub releases on app startup. When a newer version is available, a dismissible notification appears in the top-right corner with a link to the release page. Also adds version display to the status bar and updates the build artifact naming convention. Version bumped to 1.1.0.
Add a GitHub Actions job to build and package the Electron app on Ubuntu (creates releases for tags and uploads artifacts for branch/PR builds). Add patch-package as a dev dependency and postinstall script. Include a patch (patches/app-builder-lib+24.13.3.patch) that updates AppxTarget to set Executable and EntryPoint on protocol and fileTypeAssociation extensions so packaged Appx/MSIX apps handle protocols/file associations correctly. package-lock updated accordingly.
Refactor Save and Export buttons in the editor toolbar to use an icon-only design with larger 32x32px icons. Status feedback is now conveyed via button tooltips and toast notifications instead of changing button text. This creates a cleaner, more compact toolbar while improving accessibility with proper aria-labels.
Update markdown renderer to respect CommonMark intraword-emphasis rule. Add negative lookahead/lookbehind assertions to underscore emphasis patterns to prevent mid-word underscores from triggering emphasis.

This fixes cases where identifiers like `debt_summary_table` would have underscores incorrectly processed, leaving parts of the name italicized.
Adds maintainer metadata to the Electron Linux build configuration (AppImage and deb packages). This field specifies the package maintainer contact information for Linux distributions.
@moilstack-dev
moilstack-dev requested a review from a team as a code owner July 18, 2026 14:52
@moilstack-dev
moilstack-dev merged commit cbb25a7 into main Jul 18, 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