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

Cleanup game-stats-ui-handler (from PR #1095) #1106

Merged
merged 10 commits into from
May 27, 2024

Conversation

Dakurei
Copy link
Contributor

@Dakurei Dakurei commented May 18, 2024

Cleanup code of PR #1095

  • Modification of the interface to manage labels dynamically (without this, the language change was not reflected until the page was completely refreshed)

Apply what has been suggested on Discord
image

@Dakurei Dakurei changed the title Cleanup game-stats-ui-handler Cleanup game-stats-ui-handler (from PR #1095) May 18, 2024
@bennybroseph bennybroseph requested a review from Xavion3 May 19, 2024 12:20
@bennybroseph bennybroseph mentioned this pull request May 19, 2024
Xavion3
Xavion3 previously approved these changes May 20, 2024
Copy link
Collaborator

@Xavion3 Xavion3 left a comment

Choose a reason for hiding this comment

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

Code looks ok, but haven't tested myself.

@Dakurei
Copy link
Contributor Author

Dakurei commented May 20, 2024

Code looks ok, but haven't tested myself.

I've tested it myself, of course, but if anyone else wants to try it too, it's certainly helpful 👍

2024-05-20.12-33-55.mp4

@Tempo-anon Tempo-anon added the enhancement New feature or request label May 20, 2024
@Dakurei Dakurei force-pushed the pr-1095 branch 3 times, most recently from 08cdd9c to c81a744 Compare May 24, 2024 20:47
@CodeTappert
Copy link
Contributor

Test (with german locailzation): (see dakurei-forks#1 pleaes merge it into this :D)

  • image
  • image
  • image

English:

  • image
  • image

image

Works fine as expected

@Dakurei
Copy link
Contributor Author

Dakurei commented May 24, 2024

Added a method I took from one of my personal projects and converted into Typescript to display sums of money in combat and in statistics in a more pleasant way (doesn't replace the old method, it's a complement)

Before
image
image
image
image

After
image
image
image
image

Adri1 and others added 9 commits May 26, 2024 22:11
  + Modification of the interface to manage labels dynamically (without this, the language change was not reflected until the page was completely refreshed)
  + Changes font size in german only (because otherwise it overflows :D)
…ttle more pleasant to read

  + The other was a little too barbaric in what it truncated, but is still useful in certain cases
  + Use abbreviations from 10^0 to 10^33
… in combat and the highest sum of money obtained in statistics
@XGSleepWalker XGSleepWalker merged commit 6d2b8ef into pagefaultgames:main May 27, 2024
2 checks passed
@Dakurei Dakurei deleted the pr-1095 branch May 27, 2024 12:00
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

Successfully merging this pull request may close these issues.

None yet

7 participants