-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow up on object store selection PR. #15654
Follow up on object store selection PR. #15654
Conversation
Setup abstractions to prevent sharing transient or private per-user objects in an objectstore.
6f879e2
to
bceca92
Compare
bceca92
to
c4671c7
Compare
01d2fa7
to
c40672a
Compare
I had started by using fa-database everywhere but then I implemented the user selection piece and that icon was already used for custom DB keys and then David implemented the storage management functionality and so that icon couldn't be used in the history either. This I think switches everything else over to the now more consitent fa-hdd.
Not done refining this functionality - but I think these are all atomic changes and fixes some presentational issues to give this functionality a better first impression... and the PR is green 😆 so I'm marking this as ready for review and I'll collect more issues and fixes other places. |
@@ -74,11 +75,18 @@ | |||
|
|||
UserIdPathParam: DecodedDatabaseIdField = Path(..., title="User ID", description="The ID of the user to get.") | |||
APIKeyPathParam: str = Path(..., title="API Key", description="The API key of the user.") | |||
FlexibleUserIdPathParam: str = Path(..., title="User ID", description="The ID of the user to get or __current__.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the type should be a union of EncodedDatabaseId and the literal current here.
:history-preferred-object-store-id="historyPreferredObjectStoreId" | ||
:user="user"> | ||
</PreferredStorePopover> | ||
<ConfigProvider v-slot="{ config }"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use the useConfig(true)
composable here please ? The ConfigProvider triggers a new fetch every time.
More follow up issues are being tracked in #15692. |
There are a bunch of non-functional changes that would modernize the object store selection PR #14073 - it is a project I would love to delegate but I'm going to work through them until the PR is merged in case that doesn't materialize.
Bigger projects:
How to test the changes?
(Select all options that apply)
License