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

feat: update UI to add hints about implicit ^ and $ #4667

Merged
merged 9 commits into from
Sep 13, 2023

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Sep 12, 2023

This PR updates the UI to reflect the changes to the implicit ^ and $ that we now add. The changes are:

  1. Show input adornments for ^ and $ when you create a pattern.
  2. Mention that ^ and $ are added implicitly in description.
  3. Checks the example you provide against the pattern with added ^ and $ + adds a test for that.

Points 1 and 2:
1 and 2

Update Points 1 and 2:
image

Discussion point:

I have not touched the information about the pattern yet as the PR that updates that is still in review (#4656), but it would be prudent to also update that info to make it clearer. I can address that in a follow-up PR.

@vercel
Copy link

vercel bot commented Sep 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2023 6:16am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Sep 13, 2023 6:16am

Copy link
Contributor

@kwasniew kwasniew left a comment

Choose a reason for hiding this comment

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

The description and the input field feel a bit "crowded".

@thomasheartman
Copy link
Contributor Author

@kwasniew Agree. We could probably help that a bit with some more spacing. I'll loop @nicolaesocaciu in, and we can have a look at it.

@thomasheartman thomasheartman enabled auto-merge (squash) September 13, 2023 06:17
@thomasheartman thomasheartman merged commit f49cc8c into main Sep 13, 2023
14 checks passed
@thomasheartman thomasheartman deleted the 1-1361-update-ui branch September 13, 2023 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants