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

Guess proper default page titles based on page name #3014

Merged
merged 9 commits into from
Dec 21, 2023
Merged

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Dec 20, 2023

Guess a nice default title based on the page name

Screenshot 2023-12-20 at 15 10 33

=>

Screenshot 2023-12-20 at 15 10 19

Also

  • showing proper titles in the editor pages hierarchy explorer
  • fix issues around the page displayName editor
  • add "reset to default" button to page displayName editor

@Janpot Janpot added the enhancement This is not a bug, nor a new feature label Dec 20, 2023
@Janpot Janpot marked this pull request as ready for review December 20, 2023 16:26
@Janpot Janpot requested a review from a team December 20, 2023 16:26
Copy link
Member

@apedroferreira apedroferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty nice

@@ -50,6 +59,16 @@ export default function PageDisplayNameEditor({ node }: PageDisplayNameEditorPro
onKeyDown={handleKeyPress}
error={!pageDisplayNameInput}
helperText={validateInput(pageDisplayNameInput)}
InputProps={{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A tooltip would probably help to know what the button does?

@Janpot Janpot merged commit 3d83c77 into mui:master Dec 21, 2023
2 checks passed
@Janpot Janpot deleted the titles branch December 21, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants