Skip to content

refactor: split electron app into several packages#2442

Draft
jonathanlab wants to merge 1 commit into
05-29-refactor_update_refactor_doc_and_fix_cifrom
05-30-refactor_everything
Draft

refactor: split electron app into several packages#2442
jonathanlab wants to merge 1 commit into
05-29-refactor_update_refactor_doc_and_fix_cifrom
05-30-refactor_everything

Conversation

@jonathanlab
Copy link
Copy Markdown
Contributor

@jonathanlab jonathanlab commented May 29, 2026

The app has grown large and unwieldy, and we need to split it up for several use cases (Web support, code sharing with mobile/web, sharing logic between cloud runs and local runs)

This PR has done two things:

  • Split apps/code into three packages: ui, core and workspace-server (and some additional plumbing packages such as workspace-client)
  • Move as much business logic away from ui into core, the aim was dumb stores and hooks. This has partially been achieved but could use more work in follow up PRs

I recommend reading AGENTS.md for a further break down on how the repository is structured and conventions we'll use from now on: https://github.com/PostHog/code/blob/ed9cd1282cb70a3023c524fca4562604611f3610/AGENTS.md

Copy link
Copy Markdown
Contributor Author

@jonathanlab jonathanlab force-pushed the 05-30-refactor_everything branch 7 times, most recently from ff0f9e6 to f657a58 Compare June 3, 2026 16:54
@jonathanlab jonathanlab changed the title refactor: everything cgcggvcg Jun 3, 2026
@jonathanlab jonathanlab changed the title cgcggvcg refactor: everything Jun 3, 2026
@jonathanlab jonathanlab force-pushed the 05-30-refactor_everything branch 7 times, most recently from 6fd1b4d to a64a1f1 Compare June 5, 2026 11:46
@jonathanlab jonathanlab changed the title refactor: everything refactor: split electron app into several packages Jun 5, 2026
@jonathanlab jonathanlab force-pushed the 05-30-refactor_everything branch from a64a1f1 to ed9cd12 Compare June 5, 2026 15:23
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