Skip to content

Cross-platform shortcuts, onboarding, and build#9

Closed
kesku wants to merge 5 commits intoOpenKnots:mainfrom
kesku:kesku/cross-platform-meta-cleanup
Closed

Cross-platform shortcuts, onboarding, and build#9
kesku wants to merge 5 commits intoOpenKnots:mainfrom
kesku:kesku/cross-platform-meta-cleanup

Conversation

@kesku
Copy link
Copy Markdown

@kesku kesku commented Mar 5, 2026

Type

  • feat — new feature
  • fix — bug fix
  • docs — documentation only
  • chore — maintenance / dependencies
  • refactor — code change (no new feature, no bug fix)
  • test — adding or updating tests

What

Makes shortcuts, onboarding, and docs platform-aware (Windows / macOS / Linux) and fixes desktop build and pre-commit hooks on Windows so the app and contributor workflow work correctly on all supported platforms

Why

Onboarding and UI showed macOS-only shortcut labels (e.g. ⌘) on Windows and Linux, and the build/hooks assumed Unix paths and tools

Testing

  • pnpm check passes
  • pnpm test passes
  • Manual testing in built app

Screenshots

Before:

image

After:

image image

kesku added 4 commits March 5, 2026 21:38
Replace macOS-only shortcut labels across onboarding, welcome states, overlays, and tooltips so Windows and Linux users see platform-correct guidance throughout the app.
Update the desktop docs and README to describe Windows, macOS, and Linux support consistently, including platform-neutral shortcut guidance and install notes.
Use cross-env for desktop commands and teach the secrets scan hook to find winget-installed gitleaks so builds and commits work on Windows.
Resolve conflicts in DEVELOPMENT.md and package.json: keep cross-platform
build and shortcut docs, cross-env desktop scripts, and bash-based secrets
scan; add upstream policy:skill-first scripts.
@kesku kesku marked this pull request as ready for review March 5, 2026 21:49
@kesku kesku marked this pull request as draft March 6, 2026 01:20
@kesku kesku marked this pull request as ready for review March 6, 2026 01:20
@BunsDev BunsDev added bug Something isn't working windows Windows platform labels Mar 9, 2026
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holding this for two reasons. First, GitHub already marks the branch conflicting, so it needs a rebase before merge. Second, lib/platform.ts currently falls back to 'windows' when navigator is unavailable. In this Next.js app that means prerendered UI can emit Windows shortcut labels on non-Windows platforms and then change after hydration anywhere formatShortcut() is used. Please make the shortcut rendering hydration-safe before rebasing this for merge.

@BunsDev
Copy link
Copy Markdown
Contributor

BunsDev commented Mar 9, 2026

Closing this as superseded by #15. The useful cross-platform pieces were rebuilt on top of current main, but the runtime platform-label path from this branch was intentionally replaced with hydration-safe generic shortcut labels () and the build/package changes were rebased into the new implementation.

@BunsDev BunsDev closed this Mar 9, 2026
@kesku kesku deleted the kesku/cross-platform-meta-cleanup branch March 9, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working windows Windows platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants