Skip to content

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

Open
Rishavraaj wants to merge 3 commits into
mainfrom
feat/hide-icp-companies-contacts-tabs
Open

feat(icp): hide Companies and Contacts tabs from ICP detail page#24
Rishavraaj wants to merge 3 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 3 commits August 5, 2026 12:32
Removes Companies and Contacts from the tab list and their
conditional renders. Panel components and query functions are
kept in place for potential future use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Kept main's layout refactor, dropped companies/contacts
panel renders as per our tab removal.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
CompaniesPanel and ContactsPanel renamed to _CompaniesPanel and
_ContactsPanel so TypeScript skips the unused-locals check while
keeping the code in place.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant