-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add clarification to version update action for non-versioned buckets #147
Conversation
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
jatindersingh93
force-pushed
the
SC3378
branch
from
November 16, 2023 20:11
e25cbc1
to
34b1f0d
Compare
jatindersingh93
requested review from
jujaga,
kyle1morel,
TimCsaky,
wilwong89 and
norrisng-bc
as code owners
November 17, 2023 00:02
jujaga
approved these changes
Nov 17, 2023
jatindersingh93
changed the title
Adding method to find s3version of an object
Add clarification to version update action for non-versioned buckets
Nov 17, 2023
jatindersingh93
force-pushed
the
SC3378
branch
from
November 17, 2023 00:29
34b1f0d
to
dfa3451
Compare
TimCsaky
reviewed
Nov 17, 2023
@@ -126,7 +126,9 @@ export const useVersionStore = defineStore('version', () => { | |||
function findVersionsByObjectId(objectId: string) { | |||
return state.versions.value.filter((x: Version) => x.objectId === objectId); | |||
} | |||
|
|||
function findS3VersionByObjectId(objectId: string) { |
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.
this is fine. but for future reference, findObjectById() already returns the s3VersionId.
so i think you can do formData.value.s3VersionId
TimCsaky
approved these changes
Nov 17, 2023
jatindersingh93
force-pushed
the
SC3378
branch
from
November 17, 2023 17:07
dfa3451
to
04e751f
Compare
and logic to provide confirm message
jatindersingh93
force-pushed
the
SC3378
branch
from
November 17, 2023 22:51
04e751f
to
69bfe78
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change will display a confirmation pop up when a user tries to upload a non-version bucket file, notifying that action will replace the file and previous version will no longer be available.
Description
Types of changes
Checklist
Further comments