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

Only use automated years in titles in old charts #24

Closed
edomt opened this issue Aug 9, 2021 · 1 comment
Closed

Only use automated years in titles in old charts #24

edomt opened this issue Aug 9, 2021 · 1 comment
Assignees
Labels
fix Something isn't working

Comments

@edomt
Copy link
Contributor

edomt commented Aug 9, 2021

In some charts from old times years are hard-coded in the title – in those cases we should delete them from the title, and use the automated time instead.

Can be found with

SELECT id
FROM charts
WHERE JSON_extract(config, "$.title") regexp ".*[0-9]{4}.*"
  AND JSON_extract(config, "$.hideTitleAnnotation") = TRUE;
@edomt edomt added the fix Something isn't working label Aug 9, 2021
@edomt edomt self-assigned this Aug 9, 2021
@edomt
Copy link
Contributor Author

edomt commented Aug 9, 2021

Fixed for ~200 charts today.

@edomt edomt closed this as completed Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant