feat: calendar ZIP UX grouping, archive notification polling, service records pagination
- Group 'Preuzmi mjesečni izvještaj' and 'Preuzmi ZIP' buttons together in the calendar toolbar - Close the ZIP modal immediately on action click so the user is no longer blocked in the sidebar - Backend: include generated_archive_id in the 'requested' notification so the frontend can track the specific archive lifecycle - Frontend: refresh notifications immediately after archive request and start targeted polling (every 10s) until a completed/failed notification arrives for that archive ID - Add previous/next pagination to the service records table (page mode) when no service context is selected, showing all records 10 per page (matching the work orders table pattern) - Tests: assert generated_archive_id is present in both requested and completed notifications Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -3080,6 +3080,7 @@ def _request_monthly_archive_generation(*, request, archive_type):
|
||||
stage='requested',
|
||||
year=year,
|
||||
month=month,
|
||||
generated_archive=generated_archive,
|
||||
)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user