Skip to content

chore: Add Audit Log components and service to load from the API #3782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Sep 7, 2022
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
b8fa378
Add basic auditXService code
BrunoQuaresma Aug 30, 2022
38955a8
Add base audit log component
BrunoQuaresma Aug 30, 2022
785f67b
Add basic diff
BrunoQuaresma Aug 31, 2022
7479538
Check emtpy diffs
BrunoQuaresma Aug 31, 2022
b30165a
Improve human readable message
BrunoQuaresma Aug 31, 2022
f9a7ed7
Move types
BrunoQuaresma Aug 31, 2022
9db3385
Extract components and add storybook
BrunoQuaresma Aug 31, 2022
294dceb
Fix status pill
BrunoQuaresma Aug 31, 2022
1b0ed59
Add tests to check if the audit logs are showing
BrunoQuaresma Aug 31, 2022
6cf89a4
Address PR review
BrunoQuaresma Aug 31, 2022
a5da88b
Add i18n
BrunoQuaresma Aug 31, 2022
0267d4e
Merge branch 'main' of github.com:coder/coder into bq/feat-3251
BrunoQuaresma Aug 31, 2022
a0ce84e
Fix audit log row to match the new API types
BrunoQuaresma Aug 31, 2022
b7ccb0f
Fix types and minor issues on mobile
BrunoQuaresma Aug 31, 2022
03eadb6
Handle errors
BrunoQuaresma Sep 1, 2022
77fa647
Add pagination
BrunoQuaresma Sep 1, 2022
dc1543c
Fix table alignment
BrunoQuaresma Sep 1, 2022
901c5f2
Add handler for /count
BrunoQuaresma Sep 1, 2022
ebe2792
Update site/src/xServices/audit/auditXService.ts
BrunoQuaresma Sep 1, 2022
75f19b5
Merge branch 'main' of github.com:coder/coder into bq/feat-3251
BrunoQuaresma Sep 7, 2022
cfe9d7d
Fix types
BrunoQuaresma Sep 7, 2022
f1ba4ac
Fix empty state
BrunoQuaresma Sep 7, 2022
8f1bce7
Display user agent info
BrunoQuaresma Sep 7, 2022
b2fd91b
Merge branch 'bq/feat-3251' of github.com:coder/coder into bq/feat-3251
BrunoQuaresma Sep 7, 2022
b72c3a9
Fix audit log pagination
BrunoQuaresma Sep 7, 2022
0e052ae
Remove console log
BrunoQuaresma Sep 7, 2022
acaa45a
Fix handlers and format
BrunoQuaresma Sep 7, 2022
168cb16
Remove one test
BrunoQuaresma Sep 7, 2022
c48a72e
Update user agent on mocks
BrunoQuaresma Sep 7, 2022
c398be2
Fix switch color on workspace schedule form
BrunoQuaresma Sep 7, 2022
6d09dfa
Fix button
BrunoQuaresma Sep 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove console log
  • Loading branch information
BrunoQuaresma committed Sep 7, 2022
commit 0e052ae730a2f54cba2e40e0bc96a20a57672008
1 change: 0 additions & 1 deletion site/src/pages/AuditPage/AuditPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const AuditPage: FC = () => {
auditSend("PREVIOUS")
}}
onGoToPage={(page) => {
console.log("PAGE", page)
auditSend("GO_TO_PAGE", { page })
}}
/>
Expand Down