Commit a0c3584
committed
Major overhaul: Collections, DaisyUI, permissions, preview, Phoenix 1.8
Collections Architecture:
- Replace Template Types with Collections (managed/template modes)
- Collection picker when creating new pages
- Collection manager and global collections admin pages
- Migration V003 renames permission scope types
Groups & Permissions:
- Owner account replaces super_admin role
- Site-scoped groups with feature/sub-feature/resource permissions
- Global group templates copied to new sites
- Feature registry with 15 features and sub-features
- Migration V002 creates permissions tables
UI Framework:
- Replace StationUI with DaisyUI
- Use TailwindCompiler NIF with plugin_css API (no npm tailwind)
- Align core components with Phoenix 1.8.5 patterns
- All forms use .form component, all links use navigate/patch
Preview System:
- Draft preview via isolated iframe
- Published preview link
- Preview endpoint renders page with layout and site CSS
Navigation:
- LiveView patch navigation for sidebar (no disconnects)
- Graceful mount fallback for stale session URLs
- Fixed lookup_page to ignore host/port mismatches
Updated deps: Phoenix 1.8.5, LiveView 1.1.28, Bandit 1.10.41 parent b50e1a9 commit a0c3584
107 files changed
Lines changed: 8978 additions & 9426 deletions
File tree
- assets
- css
- js
- lib
- beacon/live_admin
- auth
- plug
- client
- components
- layouts
- station_ui
- html
- visual_editor
- controllers
- live
- action_builder_live
- beacon_admin
- component_editor_live
- error_page_editor_live
- event_handler_editor_live
- graphql_endpoint_editor_live
- info_handler_editor_live
- js_hook_editor_live
- layout_editor_live
- media_library_live
- page_editor_live
- page_query_editor_live
- site_settings_editor_live
- migrations
- mix/tasks
- priv/static
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments