feat(NewActivityView): enhance "See all" links to mark offers as read before navigation #198

Open
jose wants to merge 4 commits from new-activity-mark-read into master
jose commented 1 week ago
Owner
  • Replace router-links with click handlers for both "See all" offers links
  • Add handleSeeAllOffersToUser and handleSeeAllOffersToUserProjects methods
  • Modify expandOffersToUserAndMarkRead to accept fromSeeAll parameter for contextual notifications
  • Modify expandOffersToUserProjectsAndMarkRead to accept fromSeeAll parameter for contextual notifications
  • Show shorter notification messages when called from "See all" vs chevron expand buttons
  • Add safety checks to prevent errors when offers arrays are empty
  • Standardize notification message text consistency
  • TypeScript and formatting lint fixes

Both "See all" links now properly mark offers as viewed before navigation,
preventing users from seeing unread offers in the detailed views.

- Replace router-links with click handlers for both "See all" offers links - Add handleSeeAllOffersToUser and handleSeeAllOffersToUserProjects methods - Modify expandOffersToUserAndMarkRead to accept fromSeeAll parameter for contextual notifications - Modify expandOffersToUserProjectsAndMarkRead to accept fromSeeAll parameter for contextual notifications - Show shorter notification messages when called from "See all" vs chevron expand buttons - Add safety checks to prevent errors when offers arrays are empty - Standardize notification message text consistency - TypeScript and formatting lint fixes Both "See all" links now properly mark offers as viewed before navigation, preventing users from seeing unread offers in the detailed views.
jose added 2 commits 1 week ago
9bdd66b9c9 feat(NewActivityView): enhance "See all" links to mark offers as read before navigation
jose added 1 commit 3 days ago
jose added 1 commit 3 days ago
5d9f455fc8 feat: move mark-as-read logic from navigation to view loading
Owner

Looks great!

Looks great!
This pull request has changes conflicting with the target branch.
src/libs/util.ts
src/views/ClaimView.vue
src/views/ConfirmGiftView.vue
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.