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

Feat/achievements #606

Merged
merged 116 commits into from
Dec 18, 2023
Merged

Feat/achievements #606

merged 116 commits into from
Dec 18, 2023

Conversation

andrewpjames13
Copy link
Contributor

@andrewpjames13 andrewpjames13 commented Oct 24, 2023

Steps to test

  1. Set ACHIEVO_API_KEY env var with export ACHIEVO_API_KEY=...
  2. Set SHOW_ACHIEVEMENTS env var with export SHOW_ACHIEVEMENTS=true
  3. Get your steam id by following https://help.steampowered.com/en/faqs/view/2816-BE67-5B69-0FEC
  4. Enter your steam id in settings
    image
  5. Navigate to the achievements page using the left sidebar

Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

@BrettCleary
Copy link
Collaborator

@red-game-dev just to clarify also. this is what happens when the requests fail to get achievements so it is not without error handling

image

@red-game-dev
Copy link
Contributor

@red-game-dev just to clarify also. this is what happens when the requests fail to get achievements so it is not without error handling

Oh awesome! Thats good, will continue the review & tests

While at it, how to obtain an achievo API key ?

@BrettCleary
Copy link
Collaborator

I also noticed an issue on the first render of the achievements page after setting steam id. I believe this is at least partially caused by this issue #681 as on subsequent launches without this error, it does not occur

Copy link
Contributor

@eliobricenov eliobricenov left a comment

Choose a reason for hiding this comment

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

geeez that AchievementState is a beast 😮‍💨

great work ser I only have one minor comment

src/frontend/screens/Achievements/index.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@red-game-dev red-game-dev left a comment

Choose a reason for hiding this comment

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

Nothing else to say other than, wonderful work! Epic work man! 🙌

@nyghtstalker
Copy link

  1. The initial setup does load the games on the right side. Switching to DES does load the games but then going back to ASC reverts to the Oops page.

image

image

  1. "Free Mints" is missing in the game pages

image

  1. Changing the Steam ID and returning to the page updates the numbers but the games are still displayed and accessible.

image

@BrettCleary
Copy link
Collaborator

these are fixed now @nyghtstalker

Just needed to clear the cache on steam id set

Copy link

@nyghtstalker nyghtstalker left a comment

Choose a reason for hiding this comment

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

All fixed! Ship it!

@BrettCleary BrettCleary merged commit 188b2ac into main Dec 18, 2023
13 of 16 checks passed
@BrettCleary BrettCleary deleted the feat/achievements branch December 18, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Ready-For-Review PR is ready to be reviewed by peers PR: Ready-For-Test PR is ready to be tested by a QA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants