Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patterns: add opt out preference to the 'Choose a Pattern' modal when adding a page #65026

Merged
merged 8 commits into from
Sep 8, 2024

Commits on Sep 6, 2024

  1. Adds a preference to disable the loading of the Choose a pattern moda…

    …l when adding new pages.
    
    Adds a footer to the modal component.
    ramonjd committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    bc39750 View commit details
    Browse the repository at this point in the history
  2. Return an empty array from the memoized value of useStartPatterns() s…

    …o that the preferences modal has a value to test.
    ramonjd committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    48fabd8 View commit details
    Browse the repository at this point in the history
  3. Don't reset the isClosed value in the same editor session. This pre…

    …vents the modal popping open between page > template part > page navigation.
    ramonjd committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    c3e41ab View commit details
    Browse the repository at this point in the history
  4. Move preferences toggle to Publishing

    Removed modal footer and related components
    ramonjd committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    01552df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f91c964 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8799cd3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0512af8 View commit details
    Browse the repository at this point in the history
  8. Only memo hasStarterPatterns

    Also, move pref to the right location :)
    ramonjd committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    613b197 View commit details
    Browse the repository at this point in the history