Repository navigation
feat: custom space homepage - #2662
Merged
Merged
Conversation
- refetch on mount in the space home route - list the space's pages when the home picker opens - link the sidebar Home item through the space route unless the home page is open - label the picker and skip its query for read-only users
- write and audit the stored page id instead of the raw request id - pin that renames skip the page access check - assert the home clear binds null
- render the home page read-only at /s/:spaceSlug instead of redirecting to the page - top-right Edit button opens the page for users who can edit it - sidebar Home links to the space URL like Overview
- ReadonlyPageEditor gains withLightbox for read-only views that are not public - the space home passes it; the trash preview and PDF print keep their behavior
- ask before setting, replacing or removing the home page - show a Remove home page tooltip on the picker's clear button
- return the icon from getHomePage - add icon to the home page type and spec
- show the current home with its icon on a button - search pages inside the dropdown with the current home first - reset to the space overview with a Reset button - show truncated titles in a tooltip - stack the Reset button under the picker on narrow screens
- drop the home page migration; the space archive migration adds home_page_id - keep both features' constructor deps and update the specs that build them
- show a Home page badge after the breadcrumb when the page is the space home
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.