Skip to content

Conversation

@jakehwll
Copy link
Contributor

Relates #20287

This pull-request introduces a basic routing for AI Governance's Request Logs feature. Currently we're just pulling back the basics from the database and rendering it into the table. Nothing exciting.

The idea is to extend further upon the /aigovernance route so it has been appropriately wrapped with a <AIGovernanceLayout /> to introduce a navigation later.

@jakehwll jakehwll changed the title feat(ai-governance): implement request logs routing feat: implement request logs routing Oct 16, 2025
@jakehwll jakehwll force-pushed the jakehwll/routing-ai-governance branch from 321ce8c to cd9b38b Compare October 21, 2025 23:23
@jakehwll jakehwll changed the base branch from main to dean/aibridge-list-with-user October 21, 2025 23:23
Base automatically changed from dean/aibridge-list-with-user to main October 22, 2025 05:18
jakehwll added a commit that referenced this pull request Oct 23, 2025
…#20410)

Thanks to the great work in #20393, we’ve successfully introduced
offset-based pagination for this endpoint. However, the frontend expects
a `count` field in the response rather than `total`. This PR updates the
response payload to rename the returned key to `count` for consistency
with frontend expectations and existing API patterns.

This is necessary to unblock the work in #20331
@aslilac
Copy link
Member

aslilac commented Oct 30, 2025

also, the pr title may pass the bots vibe check but it's not very clear to me. maybe something like...

feat: add page for ai-bridge interception logs

@jakehwll jakehwll changed the title feat: implement request logs routing feat: add page for ai-bridge interception logs Oct 30, 2025
jakehwll added a commit that referenced this pull request Oct 31, 2025
Resolved issue from #20331 where the article `an` was incorrectly used
before words not beginning with a vowel sound. Updated affected
instances to use the correct article `a`.

```diff
- You need an Premium license to use this feature.
+ You need a Premium license to use this feature.
```

This was already correct on the following pages.

*
[`ConnectionLogPageView.tsx`](https://github.com/coder/coder/blob/7182c53df7648cd7db8551629226c4a0a1cc8559/site/src/pages/ConnectionLogPage/ConnectionLogPageView.tsx#L130)
*
[`GroupsPageView.tsx`](https://github.com/coder/coder/blob/7182c53df7648cd7db8551629226c4a0a1cc8559/site/src/pages/GroupsPage/GroupsPageView.tsx#L49)
@jakehwll jakehwll removed the cherry-pick/v2.28 Needs to be cherry-picked to the 2.28 release branch label Nov 4, 2025
@jakehwll jakehwll requested a review from Emyrk as a code owner November 11, 2025 23:04
jakehwll added a commit that referenced this pull request Nov 11, 2025
Resolved issue from #20331 where the article `an` was incorrectly used
before words not beginning with a vowel sound. Updated affected
instances to use the correct article `a`.

```diff
- You need an Premium license to use this feature.
+ You need a Premium license to use this feature.
```

This was already correct on the following pages.

*
[`ConnectionLogPageView.tsx`](https://github.com/coder/coder/blob/7182c53df7648cd7db8551629226c4a0a1cc8559/site/src/pages/ConnectionLogPage/ConnectionLogPageView.tsx#L130)
*
[`GroupsPageView.tsx`](https://github.com/coder/coder/blob/7182c53df7648cd7db8551629226c4a0a1cc8559/site/src/pages/GroupsPage/GroupsPageView.tsx#L49)
@jakehwll jakehwll force-pushed the jakehwll/routing-ai-governance branch from a2a08c7 to a115cc9 Compare November 11, 2025 23:10
@jakehwll jakehwll removed the request for review from Emyrk November 11, 2025 23:15
@jakehwll jakehwll merged commit 3bb7975 into main Nov 12, 2025
31 checks passed
@jakehwll jakehwll deleted the jakehwll/routing-ai-governance branch November 12, 2025 00:41
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants