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 2025-09-19 07:14:24 +00:00
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 2025-09-10 10:19:24 +00:00
- 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 1 commit 2025-09-16 08:19:19 +00:00
jose added 1 commit 2025-09-16 10:09:32 +00:00
- Remove mark-as-read logic from NewActivityView navigation handlers
- Add mark-as-read logic to RecentOffersToUserView and RecentOffersToUserProjectsView after data loading
- Improve "You've already seen all the following" marker positioning
- Update marker styling with dashed border and centered text

This ensures the marker appears at the correct position in the list
instead of always at the top, providing better UX when viewing offers.
Owner

Looks great!

Looks great!
jose added 1 commit 2025-09-19 06:59:04 +00:00
- Remove conditional notification logic in NewActivityView
- Remove redundant notification in RecentOffersToUserView and RecentOffersToUserProjectsView
- Standardize to single notification message format
jose added 1 commit 2025-09-19 07:13:31 +00:00
jose merged commit 823fa51275 into master 2025-09-19 07:14:24 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: trent_larson/crowd-funder-for-time-pwa#198