Skip to content

Conversation

@ac-61
Copy link
Contributor

@ac-61 ac-61 commented Sep 18, 2025

If the TiTiler server is somehow down, but TiTiler is on according to the env, the color scales will display an error. We should fall back to use js-colormaps in this case for both the layers tab and the configure page.

Screenshot 2025-09-12 at 1 01 33 PM Screenshot 2025-09-15 at 11 08 35 AM Screenshot 2025-09-18 at 1 23 18 PM Screenshot 2025-09-18 at 1 26 51 PM

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
9.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Copy link
Member

@tariqksoliman tariqksoliman left a comment

Choose a reason for hiding this comment

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

Approving but I do also think if TiTiler is down when it's supposed to be up, that there's a larger issue with the deployment that should be addressed instead.

@ac-61 ac-61 merged commit dcf3fa3 into development Sep 22, 2025
3 of 4 checks passed
@ac-61 ac-61 deleted the ac-add-jscolormap-fallback branch September 22, 2025 16:10
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.

4 participants