Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Conversation

gwyneplaine
Copy link
Contributor

@gwyneplaine gwyneplaine commented Feb 15, 2023

WHY are these changes introduced?

Fixes #8311

WHAT is this pull request doing?

This PR has the following changes:

  • Resource index layout page is hidden from nav
  • Resource index layout page has a 'noindex' tag in the head to omit it from search engine indexing
  • draft flag implemented for patterns, that renders a Coming Soon component instead of the pattern contents when enabled (and in production)
  • draft flag added to Resource index layout page.

How to 🎩

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

Copy-paste this code in playground/Playground.tsx:
import React from 'react';
import {Page} from '../src';

export function Playground() {
  return (
    <Page title="Playground">
      {/* Add the code you want to test in here */}
    </Page>
  );
}

🎩 checklist

@gwyneplaine gwyneplaine changed the base branch from main to patterns-mvp February 15, 2023 03:41
@jesstelford jesstelford merged commit e79473f into patterns-mvp Feb 15, 2023
@jesstelford jesstelford deleted the 8311/add-flag-for-draft-pages branch February 15, 2023 22:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement flag for hiding pages that aren't ready for release
3 participants