Skip to content

Provide a way to set the homepage in the site editor #63666

Description

@jameskoster

Currently to change the homepage you have to exit the site editor and navigate to reading settings which is quite disruptive.

A simple / lightweight method for setting the homepage in the site editor could be a nice enhancement.

Utilise the page actions menu

In both data views and the page Inspector there is an actions menu which could house a shortcut to set the homepage.

homepage

Related: #20338

Activity

  1. added
    [Type] Enhancement
    Needs Design Feedback
    [Feature] Site Editor
    on Jul 17, 2024
  2. jasmussen commented on Aug 27, 2024

    @jasmussen
    Contributor

    This seems like a fairly straight-forward way to do it. I'd assume, per the separate issue we have for this, that this menu item would also be available in the ⌘K command palette? What happens when you press "Confirm", does the document get marked as "dirty", and you can then actually confirm the change in the multi-entity saving flow? What might that look like?

  3. jameskoster commented on Aug 28, 2024

    @jameskoster
    ContributorAuthor

    I'd assume, per the separate issue we have for this, that this menu item would also be available in the ⌘K command palette?

    This is a bit of a tangent, but I'd expect to see this menu alongside shortcuts to other recently edited pages. We need better organisation in the command palette UI to achieve this. Here's an original mockup from way back:

    Screenshot 2024-08-28 at 15 37 00

    What happens when you press "Confirm"

    That's a good question. The other actions in this menu are applied instantly, so I'd probably expect the same for this one.

  4. jasmussen commented on Aug 28, 2024

    @jasmussen
    Contributor

    The other actions in this menu are applied instantly, so I'd probably expect the same for this one.

    Setting a homepage feels a bit like setting a site logo, which does not happen instantly. But perhaps the name can be different from "Confirm"?

  5. jameskoster commented on Aug 29, 2024

    @jameskoster
    ContributorAuthor

    Yup, it's not a strong feeling. I don't mind storing as a pending change.

    But perhaps the name can be different from "Confirm"?

    There is a growing tendency for the button label in such dialogs to echo the action. For instance in the "Move to trash" dialog the primary button is "Trash". Following that convention would give us something like "Set homepage" here, which seems a little long, but might work?

    It would be good to define this detail more concretely in the systems work cc @mattrwalker.

  6. mtias commented on Sep 7, 2024

    @mtias
    Member

    While a bit hidden, it seems better than completely absent :)

  7. added
    [Status] In Progress
    on Sep 18, 2024
  8. creativecoder commented on Sep 26, 2024

    @creativecoder
    Contributor

    Note that there's a draft PR for this here: #65426

  9. self-assigned this
    on Oct 7, 2024
  10. removed
    Needs Design Feedback
    on Oct 22, 2024
  11. jasmussen commented on Oct 22, 2024

    @jasmussen
    Contributor

    Since this is a good improvement, since it's in progress already, removing the feedback label.

  12. moved this from Now to In Dev in Design prioritieson Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] Site Editor[Status] In Progress[Type] Enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions