-
Notifications
You must be signed in to change notification settings - Fork 156
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
Redesign copy link modal #11310
Redesign copy link modal #11310
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
if (this.useDefaultRules()) { | ||
if (enforcePassword && !this.hasRules()) { | ||
rules.mustNotBeEmpty = {} | ||
} |
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.
We might have password fields, that don't require a password, that is in conflict with the always added not empty rule.
Also only add not empty rule, when no other password policy is set, as it is redundant
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.
Uh I like it a lot! Feels to much cleaner.
Just a few nitpicks here and there. And creating links with an expiration date gives me a weird error underneath the password form: this is #11309Invalid body schema definition
packages/web-pkg/src/composables/actions/files/useFileActionsCreateLink.ts
Outdated
Show resolved
Hide resolved
packages/web-pkg/src/composables/actions/files/useFileActionsCreateLink.ts
Outdated
Show resolved
Hide resolved
packages/web-pkg/src/composables/actions/files/useFileActionsCreateLink.ts
Outdated
Show resolved
Hide resolved
…t there are already policies, remove extra line on add link modal
c6c1fc7
to
8b1537b
Compare
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.
Love it! 😍
Quality Gate passedIssues Measures |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Open tasks: