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

Check attributions text before loading them #2261

Conversation

moicalcob
Copy link
Contributor

Resources

Shortcut story

Context

Datasets' attributions are not working fine when loading a map. Sometimes the attributions are duplicated, or an empty space is being shown.

Changes

I've checked that the attributions array doesn't contain duplicated elements. I've also checked with a regular expression that the string that is going to be rendered is clean.

@moicalcob moicalcob self-assigned this Oct 20, 2021
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #89763: [teqstream] Duplicate CARTO logo in attribution.

@moicalcob moicalcob changed the title Check atttributions text before loading them Check attributions text before loading them Oct 20, 2021
@moicalcob moicalcob requested a review from Shylpx October 21, 2021 08:05
Copy link

@Shylpx Shylpx left a comment

Choose a reason for hiding this comment

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

🚀 !

Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

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

LGTM. I'll try to make a release a tag so it can be used in prod from Builder (it needs another PR in cartoDB, just to update internal version link)

@VictorVelarde VictorVelarde merged commit 65f5331 into master Dec 28, 2021
@VictorVelarde VictorVelarde deleted the feature/sc-89763/teqstream-duplicate-carto-logo-in-attribution branch December 28, 2021 12:54
@VictorVelarde
Copy link
Contributor

v4.2.2-2 tag created

@VictorVelarde
Copy link
Contributor

VictorVelarde commented Dec 28, 2021

@moicalcob, now you should be able to create a PR in cartodb to use this tag in prod. Change would be something like:

image

Remember also to bump assets in package.json
👋🏻

@moicalcob
Copy link
Contributor Author

That's nice! Thanks so much!! 😄

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.

3 participants