-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Chore(UI): Fix service form certificate file name overflow issue #24790
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
base: main
Are you sure you want to change the base?
Conversation
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.
Pull request overview
This PR aims to fix an overflow issue when uploading certificate files with long names in service forms. The fix adds CSS width constraints to the password widget component to prevent UI overflow. However, the PR also includes unrelated code formatting changes in DomainUtils.tsx and has a critical issue in the new E2E test where an extremely long certificate string is used as a filename, which could cause filesystem errors.
Key Changes:
- CSS fix: Added
width: 100%to.password-widgetclass andm-t-smmargin to Radio.Group - New E2E test: Added test coverage for SSL certificate upload functionality
- Unrelated: Code formatting improvements in DomainUtils.tsx
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| openmetadata-ui/src/main/resources/ui/src/components/common/Form/JSONSchema/JsonSchemaWidgets/password-widget.less | Added width: 100% to password-widget class to constrain width and prevent overflow |
| openmetadata-ui/src/main/resources/ui/src/components/common/Form/JSONSchema/JsonSchemaWidgets/PasswordWidget.tsx | Added m-t-sm margin class to Radio.Group for better spacing |
| openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ServiceForm.spec.ts | Added E2E test for SSL certificate upload, but uses CERT_FILE constant as filename (critical bug) |
| openmetadata-ui/src/main/resources/ui/playwright/constant/serviceForm.ts | Added CERT_FILE constant with mock certificate data (very long string) |
| openmetadata-ui/src/main/resources/ui/src/utils/DomainUtils.tsx | Unrelated formatting changes: updated copyright year and reformatted long lines for readability |
openmetadata-ui/src/main/resources/ui/playwright/constant/serviceForm.ts
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ServiceForm.spec.ts
Outdated
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ServiceForm.spec.ts
Outdated
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ServiceForm.spec.ts
Outdated
Show resolved
Hide resolved
|



Fix the overflow issue while uploading a certification file with a long name.
Before:
Screen.Recording.2025-12-11.at.10.34.40.AM.mov
After:
Screen.Recording.2025-12-11.at.10.35.07.AM.mov