Skip to content

Improve loading states and fix authentication data fetching (#48) #16

Improve loading states and fix authentication data fetching (#48)

Improve loading states and fix authentication data fetching (#48) #16

Triggered via push January 5, 2026 16:37
Status Failure
Total duration 3m 22s
Artifacts

ci.yml

on: push
common  /  Check commit messages
13s
common / Check commit messages
common  /  Lint and build
49s
common / Lint and build
common  /  Test
1m 19s
common / Test
Fit to window
Zoom out
Zoom in

Annotations

1 error
common / Check commit messages
You have commit messages with errors ⧗ input: Improve loading states and fix authentication data fetching (#48) * feat: replace redux-localstorage with redux-persist - Update store configuration to use redux-persist instead of redux-localstorage - Add PersistGate wrapper component for state rehydration - Configure whitelist-based persistence for better control over persisted state * feat: add loading state management for data fetching - Add loading state tracking to Redux store with initial states for unit/service - Implement GET_RESOURCE_START action to set loading states to true - Update dataReducer to handle loading state transitions and normalize state structure - Modify Dashboard component to use loading state instead of checking for undefined data - Add setResourceFetchStart action dispatch in Main component before fetch operations * fix: reset geolocation stage after login to prevent stuck state - Add reset parameter to getInitialLocation() to reset currentStage - Fix bug where geolocation wouldn't work after login due to persistent currentStage - Ensure getNearestUnits() is called properly on subsequent app sessions - Pass reset=true explicitly when calling getInitialLocation in Main component * fix: ensure user authentication before data fetching in AppComponent * fix: remove unnecessary import ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint