Skip to content

Remove Activity screens from the console#3109

Merged
HarshMN2345 merged 1 commit into
mainfrom
remove-activity-screens
Jul 6, 2026
Merged

Remove Activity screens from the console#3109
HarshMN2345 merged 1 commit into
mainfrom
remove-activity-screens

Conversation

@HarshMN2345

@HarshMN2345 HarshMN2345 commented Jul 6, 2026

Copy link
Copy Markdown
Member

Removes the Activity tab/screen and its command-palette entries from:

  • Account
  • Users
  • Teams
  • Messaging topics
  • Database tables and collections (including the per-row/per-document Activity side sheet)

Audit logging has permanently stopped writing to the old project-DB
audit collection cloud reads from -- account, users, teams, messaging
topics, and database tables/collections Activity tabs (plus the
per-row/document activity side sheets) can never show new data again,
and are broken outright wherever the underlying endpoint was never
restored. Removes the tabs, command-palette entries, and the now-dead
route/component files rather than leaving broken or permanently-stale
screens in the product.
@HarshMN2345 HarshMN2345 force-pushed the remove-activity-screens branch from eb8b313 to f14ddc4 Compare July 6, 2026 13:55
@greptile-apps

greptile-apps Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Removes all Activity screens and their supporting code from the console — a clean, deliberate feature removal. The shared Activity layout component, all per-entity activity/+page.* route pairs, per-document/per-row activity side sheets, and related stores (documentActivitySheet, rowActivitySheet) are deleted across account, users, teams, messaging topics, and database collections/tables.

  • Navigation tabs, command-palette entries, and keyboard shortcuts for Activity are removed from every affected header and layout file, with no orphaned references remaining in the codebase.
  • The 'activity' branch of the sheetOptions action union type is removed from both the shared entity view and the table-specific sheet, and the corresponding spreadsheet action handlers are cleaned up consistently.
  • Empty activity/ route directories will be left on disk; they are inert in SvelteKit but could be deleted for tidiness.

Confidence Score: 5/5

Pure deletion of dead UI and backing stores; no new code paths introduced, no data mutated.

Every consumer of the removed Activity component, stores, and routes has been cleaned up — no dangling imports, no leftover action handlers, no orphaned type union members. A codebase-wide grep confirms no remaining references to documentActivitySheet, rowActivitySheet, or RecordActivity anywhere in the source tree.

The empty activity/ subdirectories left under each route folder (e.g. account/activity/, team-[team]/activity/) are inert in SvelteKit but could be removed for cleanliness.

Important Files Changed

Filename Overview
src/lib/layout/activity.svelte Deleted: shared Activity layout component that rendered audit logs in a table with pagination; all consumers removed
src/lib/layout/index.ts Removed barrel export for Activity component; export line deleted cleanly
src/lib/commandCenter/searchers/teams.ts Removed "Go to activity" entry from team search results in the command palette
src/lib/commandCenter/searchers/users.ts Removed "Go to activity" entry from user search results in the command palette
src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/+layout.svelte Removed documentActivitySheet import/usage, RecordActivity SideSheet, and "Go to activity" command palette shortcut; cleanup is consistent with store.ts changes
src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/store.ts Deleted documentActivitySheet writable store; no remaining references found in codebase
src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/+layout.svelte Removed rowActivitySheet import/usage, RecordActivity SideSheet, and "Go to activity" command palette shortcut; mirrors the collection layout changes
src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/store.ts Deleted rowActivitySheet writable store; no remaining references found in codebase
src/routes/(console)/project-[region]-[project]/databases/database-[database]/(entity)/views/layouts/sheetOptions.svelte Removed 'activity' from the action union type, removed the "View activity" menu item and its IconChartBar import; consistent with spreadsheet handler removal
src/routes/(console)/project-[region]-[project]/databases/database-[database]/(entity)/views/field/activity.svelte Deleted: per-record activity side-sheet component (used for both collection documents and table rows); barrel export also removed from index.ts
src/routes/(console)/project-[region]-[project]/messaging/topics/topic-[topic]/+layout.svelte Removed "Go to Activity" command palette entry and its keyboard shortcut ['g','a'] for the topic layout
src/routes/(console)/account/header.svelte Removed the Activity navigation tab from the account header nav items

Reviews (1): Last reviewed commit: "Remove Activity screens from the console" | Re-trigger Greptile

@HarshMN2345 HarshMN2345 merged commit 8ddb379 into main Jul 6, 2026
3 of 4 checks passed
@HarshMN2345 HarshMN2345 deleted the remove-activity-screens branch July 6, 2026 14:04
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.

2 participants