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

Merged
jose merged 6 commits from new-activity-mark-read into master 2 days ago
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 5 days ago
jose added 1 commit 4 days ago
5d9f455fc8 feat: move mark-as-read logic from navigation to view loading
Owner

Looks great!

Looks great!
jose added 1 commit 2 days ago
6fd53b020e refactor: simplify notification messages for offer viewing
jose added 1 commit 2 days ago
jose merged commit 823fa51275 into master 2 days ago
The pull request has been merged as 823fa51275.
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.