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

Permalink edit field is too small for long domains #10996

Closed
9808us opened this issue Oct 24, 2018 · 10 comments
Closed

Permalink edit field is too small for long domains #10996

9808us opened this issue Oct 24, 2018 · 10 comments
Labels
[Feature] Document Settings Document settings experience [Feature] Permalink The permalink of a post or page and the experience of setting or editing it [Type] Bug An existing feature does not function as intended

Comments

@9808us
Copy link

9808us commented Oct 24, 2018

have a look at this screenshot

permalink ui too small

The edit field is too small

@Soean Soean added the [Type] Bug An existing feature does not function as intended label Oct 24, 2018
@Soean Soean added this to the WordPress 5.0 milestone Oct 24, 2018
@mtias mtias added [Feature] Document Settings Document settings experience Needs Design Feedback Needs general design feedback. labels Oct 27, 2018
@karmatosed
Copy link
Member

If there was a way to check if an input box was under a certain width and then force it to go to the next line, I think this would be a good solution. If that's not case maybe we could explore putting the URL and save on a different line to the title Permalink. I would love to have a more adaptive solution though if possible.

@karmatosed karmatosed reopened this Nov 2, 2018
@karmatosed
Copy link
Member

[ edit ] in testing this is still an issue, I thought it wasn't. Let's get this wrapping around when longer if possible. I am removing design feedback as this is my suggestion:

1

This design though is a sticky plaster not a longer term solution. We should iterate and review this going forward.

@karmatosed karmatosed removed the Needs Design Feedback Needs general design feedback. label Nov 2, 2018
@DeveloperWil
Copy link

Hovering over the block title to change the permalink is very unintuitive. Pretty much all of my clients when I created a staging site with Gutenberg installed asked me why the new editor doesn't allow them to edit the permalink.

They didn't realize the needed to hover over the block title. It's not very obvious. I had to Google it myself when I first used the new editor.

Bring back the old static permalink at the top of the page or have some option to display/hide it in the UI

@designsimply designsimply added the [Feature] Permalink The permalink of a post or page and the experience of setting or editing it label Nov 6, 2018
@designsimply designsimply changed the title Permalink UI to improve Permalink edit field is too small for long domains Nov 8, 2018
@georgestephanis
Copy link
Contributor

It gets even worse on smaller screens.

screen shot 2018-11-13 at 12 10 54 pm

@georgestephanis
Copy link
Contributor

I wonder if the easiest answer would be to right-align the permalink and just cut off the path leading to the input field more willingly to avoid shrinking the field.

@earnjam
Copy link
Contributor

earnjam commented Nov 13, 2018

One thing to keep in mind here is a permalink structure that doesn't have postname last. Probably rare, but still possible.

Example of that on an iPhone 5 sized screen
screen shot 2018-11-13 at 4 17 33 pm

I wonder if on smaller screens we could only show the input field to edit the slug when editing, then go back to the full permalink on save.

@earnjam
Copy link
Contributor

earnjam commented Nov 13, 2018

Along the lines of what @georgestephanis suggested, we could solve the original issue reported here with a larger or fixed min-width on the input field (currently 10%) and a justify-content: flex-end on the container span for the full permalink.

image

Not positive about IE support for justify-content though, so would have to test that a bit.

@DeveloperWil
Copy link

Should the permalink be in the document properties area? It's not content so shouldn't really be in the block content area.

@mtias
Copy link
Member

mtias commented Nov 15, 2018

Should the permalink be in the document properties area? It's not content so shouldn't really be in the block content area.

Should be closed after #11874

@mtias
Copy link
Member

mtias commented Nov 15, 2018

Not wanting to remove this UI just yet, but it should be gone soon. Closing as the alternative placement in the document is in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Document Settings Document settings experience [Feature] Permalink The permalink of a post or page and the experience of setting or editing it [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

8 participants