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

Dev 2.0 #473

Merged
merged 2,393 commits into from
Apr 2, 2024
Merged

Dev 2.0 #473

merged 2,393 commits into from
Apr 2, 2024

Conversation

nmoschkin
Copy link
Contributor

Version 2.0 Will Include new Menus, Layouts, and Data Contexts

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 27, 2023

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0d5784d
Status: ✅  Deploy successful!
Preview URL: https://e0835237.website-i3mu.pages.dev
Branch Preview URL: https://dev-2-0.website-i3mu.pages.dev

View logs

Nathaniel Moschkin added 29 commits February 9, 2024 07:49
Nathaniel Moschkin and others added 28 commits March 26, 2024 22:53
Also add ability for player to reset all persisted prefs.
Moves crew series check to fix improper filtering of crew without a series (i.e. Mirror Data).

Adds description to Behold page.

Adds parentheses around proficiency in classic presenter, to match proficiency formatting elsewhere.
Sets voyage telemetry preference to optIn by default.

Also corrects one artifact of previous preference name (optOut => optIn).
Reorganizes voyage page code and adds some debugging to continue the hunt for a voyage rollover fix.

Specifically breaks up code so that the initial page follows this flow:
1) VoyagePage (wait for core, allow player input)
2) VoyageSetup (consolidating all player listeners here to initialize voyage config, active voyage id, and active events in a single pass)
3) ActiveVoyageSetup (player only) and CalculatorSetup (roster picker and calculator)

This *might* address the voyage rollover bug, as the consolidation of player listeners will more consistently pick up player data changes than the existing code.

Renames some functions and variables for clarity. Adds explicit typings to some variables. Adds debugging for voyage config init (disable for production).
Disables debugging in datacontext. Toggle DC_DEBUGGING to re-enable.
Also enables script for gatsby clean (i.e. `run clean` to clear out gatsby .cache and public folders).
Frozen crew need an id for proper voyage recommendations. Before the switch to archetype_id for allCrew and active crew, we used a fakeId for all rosterCrew (including frozen crew). Now the id is once again properly set for frozen crew, only this time we'll also use archetype_id.
Reverting to the intended negative id for frozen crew, but now making the original calc match crew id by *signed* int instead of unsigned.

This change might have other unintended consequences.
@ussjohnjay ussjohnjay merged commit 48923d2 into master Apr 2, 2024
4 checks passed
@nmoschkin nmoschkin deleted the dev-2.0 branch April 2, 2024 14:51
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