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

Redesign copy link modal #11310

Merged
merged 17 commits into from
Aug 5, 2024
Merged

Redesign copy link modal #11310

merged 17 commits into from
Aug 5, 2024

Conversation

AlexAndBear
Copy link
Contributor

@AlexAndBear AlexAndBear commented Jul 31, 2024

Description

image

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

Open tasks:

  • ...

Copy link

update-docs bot commented Jul 31, 2024

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.

Comment on lines -94 to 95
if (this.useDefaultRules()) {
if (enforcePassword && !this.hasRules()) {
rules.mustNotBeEmpty = {}
}
Copy link
Contributor Author

@AlexAndBear AlexAndBear Jul 31, 2024

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

Copy link
Contributor

@JammingBen JammingBen left a 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: Invalid body schema definition this is #11309

Copy link
Contributor

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

Love it! 😍

@AlexAndBear AlexAndBear changed the title Issues/11204 Redesign copy link modal Aug 5, 2024
@AlexAndBear AlexAndBear enabled auto-merge (squash) August 5, 2024 08:13
Copy link

sonarqubecloud bot commented Aug 5, 2024

@AlexAndBear AlexAndBear merged commit d2294cb into master Aug 5, 2024
3 checks passed
@kulmann kulmann deleted the issues/11204 branch September 5, 2024 19:48
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.

Simplify Link sharing dialog
3 participants