Repository navigation
feat: Activity Monitoring System for Enterprise Auditability #99
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
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c1f75d0
feat(db): add activityLogs table for audit trail
2witstudios a513f10
feat(lib): add activity logger service
2witstudios 6c6090f
feat(api): add /api/activities endpoint
2witstudios f612f95
feat(ui): replace Settings tab with Activity tab in sidebar
2witstudios ccc2cc0
refactor(store): update SidebarTab type from 'settings' to 'activity'
2witstudios d48f3f6
feat(api): inject activity logging into page CRUD routes
2witstudios 8a4b59b
feat(api): inject activity logging into permission routes
2witstudios 2c43d87
fix(api): handle null values in activities query params
2witstudios cb8eccc
feat(ai): add activity logging to all AI tool operations
2witstudios 534a814
fix: address PR review comments
2witstudios e7d2b58
test: fix mocks for activity logging functions
2witstudios b893e8c
fix: prefix unused provider param with underscore
2witstudios b538ebf
Rewire iOS app after web refactor (#97)
2witstudios 60e4275
fix(stores): restore missing page header and clean up dead navigation…
2witstudios ca507e7
refactor: extract URL state and agent conversation helpers (#101)
2witstudios f028da6
feat(db): add activityLogs table for audit trail
2witstudios 1493c4f
feat(lib): add activity logger service
2witstudios 1c330e8
feat(api): add /api/activities endpoint
2witstudios 0765d17
feat(ui): replace Settings tab with Activity tab in sidebar
2witstudios d9f3edd
refactor(store): update SidebarTab type from 'settings' to 'activity'
2witstudios 805c5d6
feat(api): inject activity logging into page CRUD routes
2witstudios 123f16c
feat(api): inject activity logging into permission routes
2witstudios 27db693
fix(api): handle null values in activities query params
2witstudios 06f6583
feat(ai): add activity logging to all AI tool operations
2witstudios 2d40943
fix: address PR review comments
2witstudios 96d69c5
test: fix mocks for activity logging functions
2witstudios c62f191
fix: prefix unused provider param with underscore
2witstudios ead6eb0
Merge branch 'feat/activity-monitoring-system' of github.com:2witstud…
2witstudios 33feb16
refactor: replace ORM chain mocks with repository seams
2witstudios f53eac3
fix(test): add missing isEditingActive export to usePageTree test mock
2witstudios 5ac4aae
fix: remove unused db imports from page-write-tools
2witstudios 368f706
fix(test): add missing getActorInfo and logPageActivity mocks
2witstudios 41dee27
refactor: implement fire-and-forget activity logging pattern
2witstudios 6efda0e
fix: use null instead of undefined for parentId when moving to root
2witstudios b7f7f1a
fix: prefix unused mockLogDriveActivity with underscore
2witstudios File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Type inconsistency: position field should be Double.
The
positionfield is declared asInt?here, but thePagestruct (line 11) usesDoubleto support fractional positions from drag-and-drop reordering. This type mismatch could cause precision loss and ordering issues if agent positions need to be compared or synchronized with page positions.🔎 Suggested fix
struct AgentSummary: Codable { let id: String let title: String? let parentId: String? - let position: Int? + let position: Double? let aiProvider: String? let aiModel: String?🤖 Prompt for AI Agents