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

[#6399] Added validation to fileset dialog #6400

Merged
merged 27 commits into from
Feb 24, 2025
Merged
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c55b058
Added validation to fileset dialog
Pranaykarvi Feb 6, 2025
7b09ad4
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 6, 2025
71936d9
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 7, 2025
e52bc5e
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 10, 2025
1f184a4
Update CreateFilesetDialog.js -"style: run prettier to fix formatting"
Pranaykarvi Feb 10, 2025
61fe227
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 10, 2025
291d0b9
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 11, 2025
44fa13a
style: run prettier to fix formatting
Pranaykarvi Feb 10, 2025
84fc35d
Updated another file
Pranaykarvi Feb 12, 2025
7ed5519
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 12, 2025
7fae87b
Updated another file
Pranaykarvi Feb 12, 2025
63aa46a
Update CreateFilesetDialog.js
Pranaykarvi Feb 12, 2025
d403c93
Update regex.js
Pranaykarvi Feb 12, 2025
1702854
Update regex.js
Pranaykarvi Feb 12, 2025
ee7df62
fixed the nameregex and deccription
Pranaykarvi Feb 12, 2025
d7abea5
fixed the nameregex and deccription
Pranaykarvi Feb 12, 2025
2b5b260
Update CreateFilesetDialog.js
Pranaykarvi Feb 12, 2025
48fe309
Update CreateFilesetDialog.js
Pranaykarvi Feb 12, 2025
2f40e14
Update web/web/src/lib/utils/regex.js
Pranaykarvi Feb 12, 2025
727d70d
Update CreateFilesetDialog.js
Pranaykarvi Feb 12, 2025
e8e2b3f
Prettier executed on the file
Pranaykarvi Feb 12, 2025
627d31c
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 12, 2025
988c65f
fixed the issue
Pranaykarvi Feb 13, 2025
c1429e8
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 13, 2025
421ed51
Update regex.js
Pranaykarvi Feb 24, 2025
548d7a7
Merge branch 'main' into ui_hyphen_issue
Pranaykarvi Feb 24, 2025
da6cea8
Update web/web/src/lib/utils/regex.js
Pranaykarvi Feb 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/web/src/lib/utils/regex.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/

export const nameRegex = /^\w[\w]{0,63}$/
export const nameRegex = /^[a-zA-Z_][a-zA-Z0-9_/=-]{0,63}$/

export const nameRegexDesc =
'This field must begin with a letter or underscore, contain only alphanumeric characters or underscores, and be between 1 and 64 characters in length'
'This field must begin with a letter or underscore, can contain alphanumeric characters, underscores, slashes, equal signs, or hyphens, and must be between 1 and 64 characters in length.'

export const keyRegex = /^[a-zA-Z_][a-zA-Z0-9-_.]*$/
Loading