Skip to content

feat: add storiesHasSections flag to CmsConfig and UiConfig, enabling…#165

Open
timosville wants to merge 5 commits into
mainfrom
sco-2697-disable-sections-from-story-edit-and-chapters
Open

feat: add storiesHasSections flag to CmsConfig and UiConfig, enabling…#165
timosville wants to merge 5 commits into
mainfrom
sco-2697-disable-sections-from-story-edit-and-chapters

Conversation

@timosville

Copy link
Copy Markdown
Contributor

… conditional display of Sections tab in story creation and editing

… conditional display of Sections tab in story creation and editing
@linear-code

linear-code Bot commented Jul 9, 2026

Copy link
Copy Markdown

SCO-2697

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploying kit with  Cloudflare Pages  Cloudflare Pages

Latest commit: a1f35c5
Status: ✅  Deploy successful!
Preview URL: https://683bbc53.kit-atq.pages.dev
Branch Preview URL: https://sco-2697-disable-sections-fr.kit-atq.pages.dev

View logs

Base automatically changed from sco-2699-pre-fill-content-classification to sco-2693-story-publication-is-applied-across-all-langs July 10, 2026 06:22
Base automatically changed from sco-2693-story-publication-is-applied-across-all-langs to main July 10, 2026 14:25

@JannieT JannieT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Several problems with this approach. How about instead of these changes, you only comment out the sections tab in the story-edit and story-config files until the spec is more fleshed out:

const storyEditTabs = computed((): NavigationPaneTab[] => [
  {
    label: 'Details',
    hasError: storyEditTabHasError('details', errors.value),
  },
//  {
//    label: sectionTabLabel.value,
//    hasError: storyEditTabHasError('sections', errors.value),
//  },
  {
    label: 'Resources',
    hasError: storyEditTabHasError('resources', errors.value),
  },
]);

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