-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use SSE for storage control updates (#7661)
* chore: Add sync-storage-rule fetcher for StorageRuleChanged event * chore: Update error message for restricted project creation * chore: Add organization storage rule and sync storage rule routes * chore: Add syncStorageRule function for syncing organization storage rule * chore: Add sync-storage-rule fetcher for StorageRuleChanged event * chore: Remove console.log statement in project route file * chore: Cache organization storage rule in syncStorageRule function * chore: Update project dropdown to show storage restriction message * chore: Refactor organization storage loader to handle cached response with empty object * chore: Update project route to handle create new project error * chore: Removed promise all * chore: Update organization storage loader to use in-memory cache for storage rules * chore: Update project route to handle create new project error * chore: Update organization storage loader to use organizationId as key in in-memory cache * chore: Update organization storage loader to use organizationId as key in in-memory cache * chore: Update project dropdown to show storage restriction message * chore: Add validation for project type selection in ProjectDropdown component * chore: Add validation for project type selection in ProjectDropdown component * chore: Refactor project route to use OrgAndProjectData interface for last loaded org and project ID * Refactor project route to use OrgAndProjectData interface for last loaded org and project ID * Refactor project route to use OrgAndProjectData interface for last loaded org and project ID * Refactor project route to use OrgAndProjectData interface for last loaded org and project ID * Removed unused dependencies * Change useEffect * Refactor organization storage loader to return storagePromise instead of storage * fix: del await in the loader * chore: Add validation for project type selection in ProjectDropdown component --------- Co-authored-by: Curry Yang <1019yanglu@gmail.com>
- Loading branch information
1 parent
c026e51
commit f92d78a
Showing
6 changed files
with
333 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.