fixes problem showing event info and resolves show case samples also shows environment samples on gis dashboard#13737
Conversation
…showing environ sameples
|
Caution Review failedThe pull request is closed. WalkthroughRefactors geographical analysis dashboard event display by replacing static pre-fetched event data with dynamic criteria-based fetching via DashboardFacade. Adds new user rights for adverse events dashboard access and EVENT_VIEW_ARCHIVED permissions for admin and national users. Introduces feature-level access control for EPIPULSE export functionality. Changes
Sequence DiagramsequenceDiagram
participant User
participant GisDashboardMapComponent as GIS Dashboard<br/>Map Component
participant GisDashboardDataProvider as GIS Dashboard<br/>Data Provider
participant DashboardFacade
rect rgb(200, 220, 240)
Note over User,DashboardFacade: Old Flow (Static Pre-fetch)
User->>GisDashboardMapComponent: Show Events (Checkbox)
GisDashboardMapComponent->>GisDashboardDataProvider: getEvents()
GisDashboardDataProvider-->>GisDashboardMapComponent: List<DashboardEventDto>
GisDashboardMapComponent->>GisDashboardMapComponent: showEventMarkers(events)
end
rect rgb(220, 240, 200)
Note over User,DashboardFacade: New Flow (Dynamic Criteria-based)
User->>GisDashboardMapComponent: Show Events (Checkbox)
GisDashboardMapComponent->>GisDashboardMapComponent: showEventMarkers()
GisDashboardMapComponent->>GisDashboardDataProvider: buildEventDashboardCriteria()
GisDashboardDataProvider-->>GisDashboardMapComponent: DashboardCriteria
GisDashboardMapComponent->>DashboardFacade: getEventsByDashboardCriteria(criteria)
DashboardFacade-->>GisDashboardMapComponent: List<DashboardEventDto>
GisDashboardMapComponent->>GisDashboardMapComponent: Render event markers
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~28 minutes
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…showing environ sameples
Fixes #13470, #13723
Summary by CodeRabbit
New Features
Improvements
Access Control
✏️ Tip: You can customize this high-level summary in your review settings.