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

[FEATURE] introducing wave info to expansion #496

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

MilanTheHawk
Copy link
Contributor

Issue: #467

Phase 1:

  • Add wave attribute to Expansion/IExpansion data/type
  • Display wave in Settings -> Expansions
  • Display expansion/wave language dependent in Randomizer -> Supply
  • Display expansion/wave language dependent in card details

Issue: on3iro#467

Phase 1:
 - Add wave attribute to Expansion/IExpansion data/type
 - Display wave in Settings -> Expansions
 - Display expansion/wave language dependent in Randomizer -> Supply
 - Display expansion/wave language dependent in card details
@MilanTheHawk MilanTheHawk temporarily deployed to netlify March 4, 2023 21:44 — with GitHub Actions Inactive
Issue: on3iro#467

Fix Phase 1:
 - fix cypress test due to bigger supply card display (caused by wave)
@MilanTheHawk MilanTheHawk temporarily deployed to netlify March 5, 2023 10:11 — with GitHub Actions Inactive
@on3iro
Copy link
Owner

on3iro commented Mar 8, 2023

@MilanTheHawk Hi, thanks for submitting this PR and sorry for my late response. Unfortunately I am super busy right now and do not yet have time to look into this. But I'll try to catch up asap! :)

Copy link
Owner

@on3iro on3iro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @MilanTheHawk Thanks a lot for your effort! 💪


function formatExpansionName(expansion: types.Expansion): string {
return expansion.wave
? expansion.name + ' (' + expansion.wave + ')'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MilanTheHawk I would prefer a template literal here:

`${expansion.name} (${expansion.wave})`

But no need to change this. We can refactor this, when we stumble over it in the future ;)

@on3iro on3iro merged commit 7e82078 into on3iro:main Mar 13, 2023
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