Skip to content

Conversation

@madebyisaacr
Copy link
Collaborator

@madebyisaacr madebyisaacr commented Jan 19, 2026

Description

This pull request replaces the events button in the HubSpot plugin, which has never done anything, with a CMS button. The CMS page shows you the HubSpot collections in your project and has a button to create a new one using createManagedCollection. When you click on a collection, it opens it with navigateTo.

Opened as draft because I have not tested syncing collections with this PR. Logging in is currently broken (Slack thread).

CMS button in bottom left corner:

image

First collection button shows the hover state:

image

Empty state:
image

Closes #520

Testing

  • Click CMS button in main menu.
  • Click new collection button to test collection creation.
  • Return to the plugin, and check if all HubSpot collections are shown in the list.
  • Click a collection button to navigate to it.
  • Ensure permissions checking works by testing the plugin in a project where you do not have access to create collections, and verify the button is disabled.

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.

HubSpot CMS page

2 participants