Commit 928ab37
authored
refactor(meetings): migrate to global architecture (#161)
* fix(meetings): load past and upcoming meetings separately (LFXV2-757)
Fixed recurring meetings incorrectly showing as past by refactoring to
use separate API endpoints for upcoming and past meetings:
- Load upcoming meetings via getMeetingsByProject()
- Load past meetings via getPastMeetingsByProject()
- React to timeFilter changes to call appropriate endpoint
- Hide RSVP button for non-organizers on past meetings
- Removed client-side time filtering (handled by API)
This ensures proper meeting categorization and enables accurate counts
for both upcoming and past meetings.
Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Asitha de Silva <[email protected]>
* feat(ssr): migrate project context to SSR-compatible cookies (LFXV2-757)
Migrated project selection persistence from localStorage to cookies
using ngx-cookie-service-ssr for full SSR compatibility:
Project Context Changes:
- Replace localStorage with SsrCookieService
- Cookies work on both server and client-side
- 30-day expiration, SameSite=Lax security
- Fixes project context being null during SSR
Meeting/Committee Dashboard Fixes:
- Use combineLatest to prevent duplicate API calls
- Lazy load data only for active tabs
- Fix loading states to prevent "No data found" flash
- Add project existence check to empty states
- Remove counters from filter buttons
UI Improvements:
- Hide RSVP buttons for non-organizers on past meetings
- Improve label consistency in committee form
This enables data fetching during SSR when project is selected,
eliminating loading delays and improving initial render performance.
Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Asitha de Silva <[email protected]>
* refactor(meetings): migrate to global architecture
- Moved meetings module from /project/:slug/meetings to /meetings for improved UX
- Relocated all meeting components from modules/project/meetings to modules/meetings
- Added new routes: /meetings/create and /meetings/:id/edit for meeting management
- Updated meeting-card component to use global meeting routes
- Fixed meeting-card registrant toggle to not show add button for past meetings
- Added feature flag service to sidebar for role selector control
- Reordered meeting features constants to prioritize AI Summary feature
BREAKING CHANGE: Meeting routes moved from project-scoped to global scope
LFXV2-757
LFXV2-760
LFXV2-761
LFXV2-762
Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Asitha de Silva <[email protected]>
---------
Signed-off-by: Asitha de Silva <[email protected]>1 parent fcef70a commit 928ab37
File tree
53 files changed
+216
-785
lines changed- apps/lfx-one/src/app
- modules
- committees
- committee-dashboard
- components/committee-form
- meetings
- components
- agenda-template-selector
- meeting-committee-modal
- meeting-details
- meeting-modal
- meeting-platform-features
- meeting-recurrence-pattern
- meeting-registrants
- meeting-resources-summary
- meeting-type-selection
- recording-modal
- recurring-meeting-edit-options
- registrant-card
- registrant-form
- registrant-modal
- summary-modal
- meeting-join
- meeting-manage
- meetings-dashboard
- components/meetings-top-bar
- project
- meetings
- meeting-dashboard
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+216
-785
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
| 233 | + | |
| 234 | + | |
240 | 235 | | |
241 | 236 | | |
242 | 237 | | |
243 | 238 | | |
244 | 239 | | |
| 240 | + | |
245 | 241 | | |
246 | 242 | | |
247 | 243 | | |
248 | | - | |
249 | 244 | | |
250 | 245 | | |
251 | | - | |
| 246 | + | |
252 | 247 | | |
253 | 248 | | |
254 | 249 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments