-
Notifications
You must be signed in to change notification settings - Fork 361
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
fix: Object Storage Object URLs #10603
fix: Object Storage Object URLs #10603
Conversation
Coverage Report: ✅ |
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.
Confirmed this fixed the issue on my end with the BucketDetail link
? buckets?.buckets.find( | ||
(bucket) => bucket.label === bucketName && bucket.region === clusterId | ||
)?.cluster ?? '' | ||
: clusterId; |
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 can see how you don't find this ideal - perhaps rendering a separate component if isObjMultiClusterEnabled
is true to only fetch in that case can be considered as a refactor follow up
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.
Confirming on the fix. Approving pending tests.
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.
Confirmed link pointing to the right object
return bucket.label === bucketName && bucket.region === clusterId; | ||
} | ||
return bucket.label === bucketName && bucket.cluster === clusterId; | ||
}); |
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.
does seem to delay the loading of the URL but there's another loading pattern on the page so i think we're ok
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.
Object URL leads to the expected object now ✅
Code review ✅
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.
Confirmed link leads to expected object
Description 📝
The Issue 🐛
Preview 📷
Screen.Recording.2024-06-21.at.3.30.21.PM.mov
Screen.Recording.2024-06-21.at.3.29.41.PM.mov
How to test 🧪
As an Author I have considered 🤔