Skip to content

feat(icp): hide Companies and Contacts tabs from ICP detail page - #24

Merged
anujeet98 merged 2 commits into
mainfrom
feat/hide-icp-companies-contacts-tabs
Aug 10, 2026
Merged

feat(icp): hide Companies and Contacts tabs from ICP detail page#24
anujeet98 merged 2 commits into
mainfrom
feat/hide-icp-companies-contacts-tabs

Conversation

@Rishavraaj

Copy link
Copy Markdown
Member

Summary

Removes the Companies and Contacts tabs from the ICP detail page to keep the view focused on filters and campaigns, as defined in the current sprint goal.

Changes

  • Removed companies and contacts from the TABS array so they no longer appear in the tab bar
  • Removed the conditional renders for CompaniesPanel and ContactsPanel
  • Updated the Tab type and TAB_VALUES to only include details and campaigns
  • Panel components and their query functions are kept in the file for potential future use

Test plan

  • Open any ICP detail page and confirm only Details and Campaigns tabs are visible
  • Confirm Details and Campaigns tabs still work correctly
  • Confirm navigating to ?tab=companies or ?tab=contacts via URL falls back to the default Details tab

Rishavraaj and others added 2 commits August 10, 2026 09:46
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove companies and contacts table components and related query logic
- Delete Apollo connection status query and error handling component
- Remove unused imports for table, avatar, and Apollo data types
- Simplify IcpDetail component by removing infinite scroll implementations
- Clean up query options to only fetch ICP profile data
- Reduce component complexity by focusing on core ICP profile information

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Rishavraaj
Rishavraaj force-pushed the feat/hide-icp-companies-contacts-tabs branch from d268440 to 71f1e26 Compare August 10, 2026 04:29
@anujeet98
anujeet98 merged commit ce69d47 into main Aug 10, 2026
1 check passed
@anujeet98
anujeet98 deleted the feat/hide-icp-companies-contacts-tabs branch August 10, 2026 06:16
@Rishavraaj Rishavraaj self-assigned this Aug 12, 2026
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