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

Set a manual node ID on the "today" tab forecast summary #2023

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

greg-does-weather
Copy link
Collaborator

What does this PR do? 🛠️

The today tab forecast summary uses the same component as the daily forecast tab. This component automatically applies an ID to the container based on the forecast date. As a result, we end up with two nodes with the same node ID - one on the "today" tab and one on the "forecast" tab, which causes the quick forecast link to try to go to the wrong place.

This PR modifies the component so that it can accept a node ID as an argument and it will use the date if an ID is not provided, and modifies the today tab to provide an ID. This clears up the ID collision and fixes the link.

@greg-does-weather greg-does-weather merged commit 45f1a23 into main Oct 30, 2024
20 of 21 checks passed
@greg-does-weather greg-does-weather deleted the mgwalker/link-bug branch October 30, 2024 22:29
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.

2 participants