Repository navigation
Senior Fixes and Improvements - #318
Merged
Merged
Conversation
* notifications * format * addded reminderClaimedAt to create atomic claim and preserve retries * Wrap update in try/catch * ensure EST with us and america/ny constants * buffer * formatall * Add Buffer to RSVP Service --------- Co-authored-by: Temi <ta375@cornell.edu>
Member
|
[diff-counting] Significant lines: 307. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR bundles several improvements across the backend, admin dashboard, and Flutter app in relation to senior journey and before we have tabling:
New features
imageUrlandsortOrderfields toEventBase. Journey cards now show a "Featured" badge when applicable, and the journeys list sorts featured first, then bysortOrderdescending. IfimageUrlis set on a journey, it overrides the first challenge's image on the journey card.Autocompletesearch box to the location picker so admins can search for a place (e.g. "Cornell Clock Tower") and auto-populate latitude/longitude instead of dragging the marker.Previewmodal first; the challenge only starts after the user confirms viastartChallengeResult.TextwithAutoSizeText(max 3 lines, min 10pt) on the gameplay page so long descriptions shrink instead of overflowing. Addsauto_size_textdependency.defaultHintRadiusnow scales tomax(200, awardingRadius * 1.5)so the hint circle always fully contains the awarding area for large radii. The hint circle is now centered on the target location (no random offset) and shrinks toward the target as hints are used.reminderClaimedAtfor atomic claim/retry, EST timezone constants, and a buffer in the RSVP service.Other
1.3.5+1.friendlyCategory[event.category]instead of the first challenge's location.Test Plan