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

refactor(frontend): shared data params state #184

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

eatyourgreens
Copy link
Contributor

@eatyourgreens eatyourgreens commented Nov 12, 2024

Move generic data params state into src/lib. The aim here is that the app should be responsible for loading data params config, but the shared lib package should be responsible for handling data params state and updating the map.

@eatyourgreens
Copy link
Contributor Author

eatyourgreens commented Nov 12, 2024

Setting this to draft because it should fail CI in its current state. It's missing a mechanism for passing app config into the shared lib state, without statically importing the config directly from src/app/state/data-params.ts.

@eatyourgreens eatyourgreens force-pushed the refactor-data-params-state branch 10 times, most recently from 906b364 to d4102fb Compare November 12, 2024 17:57
Move generic data params state into `src/lib`. The aim here is that the app should be responsible for loading data params config, but the shared `lib` package should be responsible for handling data params state and updating the map.
@eatyourgreens eatyourgreens force-pushed the refactor-data-params-state branch from d4102fb to c9fced0 Compare November 12, 2024 18:15
@eatyourgreens eatyourgreens marked this pull request as ready for review November 13, 2024 10:48
@eatyourgreens eatyourgreens merged commit c4234d9 into main Nov 13, 2024
2 checks passed
@eatyourgreens eatyourgreens deleted the refactor-data-params-state branch November 13, 2024 11:08
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.

1 participant