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

Common Gameboard component and updates #579

Open
sei-bstein opened this issue Jan 6, 2025 · 2 comments
Open

Common Gameboard component and updates #579

sei-bstein opened this issue Jan 6, 2025 · 2 comments
Assignees
Labels
chores Keeping our project tidy, current, and building enhancement New feature or request

Comments

@sei-bstein
Copy link
Contributor

Currently, the game map displayed in the competitive player view does not use a component - it's just raw SVG using the game data. When we created Game Center, we created a new component that renders the map (and also handles updating the image, clearing it, etc.) Because of this difference, we had a little inconsistency between how the image path is resolved. The component uses a pipe to handle the fallback to the default map image, while the competitive play view relies on a transformation that happens in game.service.

It's my perspective that the transformation inside the service is not ideal, because it slightly misrepresents what's coming out of the API. But I'm biased, because it's my component and pipe 🤣 . Ideal solution is to update competitive view to use the new component.

@sei-bstein sei-bstein added the bug Something isn't working label Jan 6, 2025
@sei-bstein sei-bstein self-assigned this Jan 6, 2025
@sei-bstein sei-bstein changed the title Refactor game map display to use a common component Common Gameboard component and updates Feb 12, 2025
@sei-bstein
Copy link
Contributor Author

Consolidating with #557. Updates to this component should also include some kind of readability pass for the bubbles and their states (deployed, solved, etc.) Initially envisioned as a legend.

@sei-bstein sei-bstein added enhancement New feature or request chores Keeping our project tidy, current, and building and removed bug Something isn't working labels Feb 13, 2025
@sei-bstein
Copy link
Contributor Author

Recategorized this - it's more of a health/enhancement thing than a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chores Keeping our project tidy, current, and building enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant