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

Finish Gameplay #180

Merged
merged 33 commits into from
Apr 21, 2024
Merged

Finish Gameplay #180

merged 33 commits into from
Apr 21, 2024

Conversation

cgu2020
Copy link
Contributor

@cgu2020 cgu2020 commented Mar 27, 2024

Summary

This pull request is the implementing updated UI elements to match designers

  • Changed the scale of certain elements to match figma
  • New icons added
  • Loading screen added
  • Challenge complete screen with points breakdown
  • Resize user location marker based on phone size

This PR also finishes connecting gameplay to backend.

  • Preview sets the user's current event, which gameplay grabs and displays
  • Go to next challenge in a journey should automatically update Gameplay page upon returning
  • Working progress bar for journeys at the challenge completed screens
  • Update tags
  • Implement hints in the backend with correct score calculation

Breaking Changes

Updated database to include hintsUsed in EventTracker and PrevChallenge

@dti-github-bot
Copy link
Member

dti-github-bot commented Mar 27, 2024

[diff-counting] Significant lines: 1181. This diff might be too big! Developer leads are invited to review the code.

@3TTemi
Copy link
Contributor

3TTemi commented Apr 3, 2024

Looks good. The documentation in the e2e testing is definitely useful. Adjustments to the UI seem to be standard and reflect the Figma changes well. Although I am wondering if the gameplay page is going to be redrawn/updated after the progress bar (circularIndicator) is returned, or generally how that loop is going to work?

Copy link
Contributor

@BrianLa0616 BrianLa0616 left a comment

Choose a reason for hiding this comment

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

Good work on the design. I'm not sure why, but I don't think the recenter button works for me. Also, there's a weird shadow for the hint button that isn't there for the recenter button.

Copy link
Collaborator

@neketka neketka left a comment

Choose a reason for hiding this comment

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

Good overall some minor changes

@cathli66 cathli66 changed the title Gameplay page UI changes Finish Gameplay Apr 21, 2024
Copy link
Collaborator

@neketka neketka left a comment

Choose a reason for hiding this comment

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

Addressed all my comments and looks ready to go!

@neketka neketka merged commit c72e0ed into master Apr 21, 2024
12 checks passed
@neketka neketka deleted the gameplay-page branch April 21, 2024 15:42
shah-esha pushed a commit that referenced this pull request Dec 4, 2024
* EventId instead of challengeId

* Testing gameplay page and implemented updated UI changes

* Documentation on challenge.e2e-spec.ts

* Revert details page

* Working on preview

* working on challenge complete page

* completing challenge page work

* fixed setcurrentevent in preview

* Challenges completed and journeys page frontend done

* added more documentation to map

* gameplay challenge flow complete

* completed journey flow in gameplay

* changed icon color, animated picture

* added hints to backend - wip

* implemented using hints in backend (untested)

* hints fully connected

* added prevchallengedto

* final updates to hints in backend + gameplay page

* fixed outdated usage of eventtrackerdto and indexing in completed cell

* removed user arg from emitUpdateEventTracker

* removed UseEventTrackerHintDto and fixed minor issues

* fixed requested changes + admin frontend bugs

* fixed formatting

---------

Co-authored-by: cathli66 <[email protected]>
Co-authored-by: cathli66 <[email protected]>
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.

6 participants