Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Purpose <!-- Why are we introducing this change now? What problem does it solve? What is the story/background for it? --> Disable an option for batch creating Surfer's Content Editors inside Contentful's app. Our Surfer app is used on a specific content, tied to a single Content Editor. The batching feature doesn't make much sense in this context, while being problematic to display correctly in the sidebar's limited space. Creating a single CE is still available through the Contentful app and customers can find the batching feature in Surfer. Bonus: fix the `Collapse` button being cut in some cases. ## Approach <!-- Why did we do it the way we did? Did we consider alternatives? What other implementation details or artifacts (screenshots etc.) would help reviewers contextualize change? --> We're configuring the view to disable the `Create multiple` button. <img width="301" alt="image" src="https://github.com/contentful/marketplace-partner-apps/assets/28512248/8b8ff119-97d2-4c87-9c4d-40f5528b7cb4"> ## Testing steps <!-- Do you have a happy path a user would run through to test this app or would help the reviewer get started bug testing --> In Dev mode: 1. Create new content with Surfer enabled 2. The only option to create a new CE should be `Create for 1 CE credit` ## Breaking Changes <!-- Are there any changes to be aware of that would break current production build? --> None ## Dependencies and/or References <!-- Where can we get more insights about this change? (Tickets, wiki pages or links to other places/docs -- no private/internal links please) --> None, it's a bug we found since the first PR. ## Deployment <!-- (Optional) Are there any deployment-related tasks, concerns or risks we should be mindful of? --> Nope
- Loading branch information