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

Fix ohsomeNow URL link on Bar Chart click in Partner Stats page #6703

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

royallsilwallz
Copy link
Contributor

@royallsilwallz royallsilwallz commented Jan 21, 2025

What type of PR is this?

  • 🐛 Bug Fix

Related Issue

Describe this PR

This PR resolves the wrong URL for opening ohsomeNow stats page on Bar chart label click.

Changes

  • Break down ohsomeNow stats environment variables to OHSOME_STATS_BASE_URL & OHSOME_STATS_API_URL
  • Update example.env
  • Correct query param hashtag in the ohsomeNow redirect URL

Additional Requirements

This PR requires some environment variables to be changed on the CI / development.
Following env vars should be altered -

OHSOME_STATS_BASE_URL=https://stats.now.ohsome.org
OHSOME_STATS_API_URL=https://stats.now.ohsome.org/api

cc - @dakotabenjamin

- Break ohsomeNow env vars into `OHSOME_STATS_BASE_URL` & `OHSOME_STATS_API_URL`
- Update `example.env`
@royallsilwallz royallsilwallz force-pushed the fix/6681-ohsomenow-chart-click-crash-issue branch from 6928e96 to cb84987 Compare January 22, 2025 08:24
@royallsilwallz royallsilwallz changed the title Fix ohsomeNow url link on Bar Chart click in Partner Stats page Fix ohsomeNow URL link on Bar Chart click in Partner Stats page Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Hashtags on new partnership page leading to Whitelabel Error on OhsomeNow stats dashboard
1 participant