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

Add validation for JSON-formatted tags #3688

Merged
merged 5 commits into from
Nov 20, 2023
Merged

Add validation for JSON-formatted tags #3688

merged 5 commits into from
Nov 20, 2023

Conversation

willgearty
Copy link
Member

This adds validation to all existing tags that require a JSON-formatted string (if they are set through the tag settings interface).

Fixes #2084.

@willgearty willgearty added the Tags label Oct 6, 2023
@willgearty willgearty added this to the Stable Release 15 Fixes milestone Oct 6, 2023
@willgearty willgearty requested a review from kkbrum October 6, 2023 01:52
@willgearty willgearty self-assigned this Oct 6, 2023
Copy link
Contributor

@kkbrum kkbrum left a comment

Choose a reason for hiding this comment

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

The red alert box at the top of the tag settings pages that says "Please be aware that these settings can be very sensitive and there are currently no warnings or blocks in place to prevent you from providing incorrect values" isn't technically correct now-- should we change "no warnings" to "few warnings"?

@willgearty willgearty requested a review from kkbrum October 27, 2023 01:35
Copy link
Contributor

@hwatheod hwatheod left a comment

Choose a reason for hiding this comment

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

Ideally there would be more specific validation for each tag, but this is good for now.

@willgearty willgearty merged commit b06608a into main Nov 20, 2023
5 checks passed
@willgearty willgearty deleted the json-tag-validate branch November 20, 2023 12:30
willgearty added a commit that referenced this pull request Dec 6, 2023
willgearty added a commit that referenced this pull request Jan 5, 2024
* Docs for #3670, #3672, #3671, and #3676

* Docs for #3677, #3673, #3681, and #3683

* Docs for #3682, #3678, #3684, and 74b7e0f

* Docs for 74b7e0f, #3685, #3687, and #3686

* Docs for #3688, #3694, #3695, #3692, and #3691

* Docs for #3642, #3696, #3697, and #3700

* change date and add customized buttons for bigpicture

* add theme help text

---------

Co-authored-by: Katherine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate JSON tags on save
3 participants