posthog
posthog copied to clipboard
feature(editor): sidebar folders
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
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
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%) |
📸 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.
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.
new tree view renders this obsolete. will build folders in new view