Skip to content

Conversation

@rrojan
Copy link
Collaborator

@rrojan rrojan commented Feb 5, 2026

Changes

  • Add notification-counts feature to get invoice, contracts & forms counts via list notifications
  • Add support for multi-company
  • Fix current auth strategy to support dynamic routes

Testing Criteria

  • Screenshot
image
  • Verified the counts are same for client dashboard
image
  • Multi-company support
image

@rrojan rrojan self-assigned this Feb 5, 2026
@linear
Copy link

linear bot commented Feb 5, 2026

@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
client-home-v3 Ready Ready Preview, Comment Feb 5, 2026 1:38pm

Request Review

Copy link
Collaborator

@priosshrsth priosshrsth left a comment

Choose a reason for hiding this comment

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

minor optional feedback but otherwise lgtm.

if (typeof rule === 'string') return rule === pathname
if (rule.path !== pathname) return false
const pathMatches = (pattern: string, pathname: string): boolean => {
const regex = pattern.replace(/:[^/]+/g, '[^/]+').replace(/\//g, '\\/')
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be helpful if we add some docs to what this function actually does.

id: z.string(),
recipientClientId: z.uuid(),
recipientCompanyId: z.uuid().nullish(),
event: z.string(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we also parse this event with NotificationEvent from notification-counts/types.ts? With this I think we don't have to do const key = this.eventMap[event as NotificationEvent] in notification-counts.service file right?

@rrojan rrojan merged commit 58b63c9 into main Feb 9, 2026
4 checks passed
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.

3 participants