-
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: [M3-7305] - Correct Object Storage folder links containing special characters #10822
fix: [M3-7305] - Correct Object Storage folder links containing special characters #10822
Conversation
const { getByRole } = render( | ||
wrapWithTheme( |
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.
You could use renderWithTheme
here or even wrapWithTableBody
in this case
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.
Thanks, I replaced it with wrapWithTableBody.
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.
Thank you for fix 👍
Coverage Report: ✅ |
I just noticed that I have a wrong import for TableRowProps. I'm doing a commit with the corrected import. |
packages/manager/src/features/ObjectStorage/BucketDetail/FolderTableRow.test.tsx
Show resolved
Hide resolved
packages/manager/src/features/ObjectStorage/BucketDetail/FolderTableRow.test.tsx
Outdated
Show resolved
Hide resolved
@@ -6,10 +6,9 @@ import { Link } from 'react-router-dom'; | |||
import { EntityIcon } from 'src/components/EntityIcon/EntityIcon'; | |||
import { Hidden } from 'src/components/Hidden'; | |||
import { TableCell } from 'src/components/TableCell'; | |||
import { TableRow } from 'src/components/TableRow'; | |||
import { TableRow, TableRowProps } from 'src/components/TableRow'; |
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.
import { TableRow } from 'src/components/TableRow';
import type { TableRowProps } from 'src/components/TableRow';
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.
Thank you for addressing the feedback, approved pending tests.
…ion replaced with wrapWithTableBody
Co-authored-by: cpathipa <119517080+cpathipa@users.noreply.github.com>
…rTableRow.test.tsx Co-authored-by: cpathipa <119517080+cpathipa@users.noreply.github.com>
a6a3357
to
5a22cfd
Compare
Description 📝
Object Storage bucket folders containing URL special characters could not be opened. After the change, their links navigate to a correct location.
Changes 🔄
List any change relevant to the reviewer.
Target release date 🗓️
Any release
Preview 📷
How to test 🧪
When opened, the folder should contain Test.txt file.
As an Author I have considered 🤔
Check all that apply