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

Homepage actions button on / index page #2298

Closed
simonw opened this issue Mar 12, 2024 · 3 comments
Closed

Homepage actions button on / index page #2298

simonw opened this issue Mar 12, 2024 · 3 comments

Comments

@simonw
Copy link
Owner

simonw commented Mar 12, 2024

The blue table/database/query action buttons are great, I want one for the homepage (at /) as well. Could be used for features like:

  • Customize homepage layout
  • Edit metadata

I didn't consider one of these before because of the menu_links() hook, but that affects the burger menu that is shown on every page. Having an actions menu for options that only really make sense in the context of the index page makes sense to me.

@simonw
Copy link
Owner Author

simonw commented Mar 12, 2024

I thought about calling it "Instance actions" but I decided "Homepage actions" would be more obvious.

"Homepage" or "Home page"? I like one word because it is consistent with how "Database actions" and "Table actions" and "Query actions" are also one word.

I checked AP styleguide and while they don't have anything to say about "homepage" directly their own site does use that term consistently itself: https://www.apstylebook.com/help?query=homepage

Screenshot of a search for homepage on apstylebook.com

@simonw simonw closed this as completed in daf5ca0 Mar 12, 2024
@simonw
Copy link
Owner Author

simonw commented Mar 12, 2024

Looks like this on https://latest.datasette.io/

CleanShot 2024-03-12 at 13 57 58@2x

@simonw
Copy link
Owner Author

simonw commented Mar 12, 2024

This was referenced Mar 12, 2024
simonw added a commit that referenced this issue Mar 13, 2024
simonw added a commit to datasette/datasette-metadata-editable that referenced this issue Mar 13, 2024
simonw added a commit to datasette/datasette-metadata-editable that referenced this issue Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant