Skip to content
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

Create directory validation #205

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

jelly
Copy link
Member

@jelly jelly commented Jan 24, 2024

image

Resolves: #170 #169

Same approach is needed for the rename dialog as follow up.

@jelly jelly force-pushed the create-directory-validation branch from 946d9f5 to 450ba83 Compare January 25, 2024 09:47
jelly added 3 commits January 31, 2024 09:48
The Patternfly/Cockpit approach is to disabled the create button until
the input is no longer invalid.
Add Patternfly builtin validation for the directory name.
This is mostly the same as the create directory validation.
@jelly jelly force-pushed the create-directory-validation branch from 450ba83 to dadcdca Compare January 31, 2024 08:50
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

@martinpitt martinpitt merged commit 3cd5aa4 into cockpit-project:main Feb 7, 2024
12 checks passed
@jelly jelly deleted the create-directory-validation branch March 22, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add validation for when the the given directory is bigger then PATH_MAX
2 participants