Skip to content

Commit

Permalink
feat: increase latest events in personal dashboard (#8491)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew authored Oct 21, 2024
1 parent 0f3e7ec commit a6c7a5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,13 @@ test('should return personal dashboard project details', async () => {
'triggered **project-access-added**',
),
},
{
createdAt: expect.stringMatching(timestampPattern),
createdBy: 'audit user',
summary: expect.stringContaining(
'**audit user** created project',
),
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class PersonalDashboardService {

const [latestEvents, owners, roles, healthScores] = await Promise.all([
this.eventStore
.searchEvents({ limit: 4, offset: 0 }, [
.searchEvents({ limit: 10, offset: 0 }, [
{
field: 'project',
operator: 'IS',
Expand Down

0 comments on commit a6c7a5f

Please sign in to comment.