posthog icon indicating copy to clipboard operation
posthog copied to clipboard

feature(editor): sidebar folders

Open EDsCODE opened this issue 7 months ago • 1 comments

Problem

  • no ability to organize views in editor sidebar

Changes

  • use project file tree implementation and replant into sidebar
  • design: add saved query as a file system type in the project tree file system. Takeover the saved queries route in the project tree and show it in the editor sidebar. This means if we ever merge the type back into the project tree, the folder structure that users create will exist
  • reimplement various treeitem helpers in querydatabaselogic CleanShot 2025-06-12 at 21 21 22

TODO:

  • [x] filter out saved queries from project tree and prevent changes from affecting sidebar
  • [x] verify all item interactions
  • [x] move managed views to sources
  • [ ] condense reimplementation logic into more reusable tree pattern
  • [ ] add default empty source state upsell

EDsCODE avatar Jun 12 '25 13:06 EDsCODE

Size Change: +683 B (+0.03%)

Total Size: 2.57 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 2.57 MB +683 B (+0.03%)

compressed-size-action

github-actions[bot] avatar Jun 12 '25 20:06 github-actions[bot]

📸 UI snapshots have been updated

16 snapshot changes in total. 0 added, 16 modified, 0 deleted:

  • chromium: 0 added, 16 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot avatar Jun 16 '25 23:06 posthog-bot

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week. If you want to permanentely keep it open, use the waiting label.

posthog-bot avatar Jun 25 '25 07:06 posthog-bot

new tree view renders this obsolete. will build folders in new view

EDsCODE avatar Jul 01 '25 15:07 EDsCODE