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

[Webpack] Rebuild interactions on the rainy day options page #94

Open
Syntaf opened this issue Oct 5, 2024 · 0 comments
Open

[Webpack] Rebuild interactions on the rainy day options page #94

Syntaf opened this issue Oct 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Syntaf
Copy link
Owner

Syntaf commented Oct 5, 2024

Description
The rainy day options page provides basic alternatives for visitors to consider when bad weather occurs in a watched area. A set of options are pre-configured on the admin panel, saved into the database, then pulled and rendered here on this page.

Problem
In moving to Webpack, we no longer have javascript enabled on this page. We want to re-build the interactions (javascript) on this page to function under Stimulus which is a very basic HTML based javascript framework.

The previous javascript has been moved to controllers/rainy_day_controller.js (link) and commented out.

Requirements
We want to maintain a 1-1 parity with the interactions and display we have today on the rainy day page.

  • As a user, when I click on an idea listed, the Mountain Project map should change to reflect the new area and the information below should change to reflect the area I clicked.

Notes

Stimulus handbook: https://stimulus.hotwired.dev/handbook/origin

@Syntaf Syntaf added the enhancement New feature or request label Oct 5, 2024
@Syntaf Syntaf added this to the Run on webpack milestone Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants