Make WordPress Core

Opened 14 years ago

Closed 23 months ago

#16346 closed enhancement (fixed)

Slug field too narrow in Post Edit

Reported by: abtop's profile ABTOP Owned by: audrasjb's profile audrasjb
Milestone: 6.2 Priority: normal
Severity: minor Version: 3.1
Component: Posts, Post Types Keywords: has-patch has-screenshots commit
Focuses: ui, administration Cc:

Description

When you edit a post, there is a Slug panel at the bottom where you can edit the slug. The field displaying the text of the slug is set inline to 13, which is not nearly wide enough to show more than 15 letters.

Attachments (4)

16346.diff (700 bytes) - added by nacin 14 years ago.
16346.1.diff (821 bytes) - added by sabernhardt 2 years ago.
Capture d’écran 2023-01-21 à 11.43.14.png (282.2 KB) - added by audrasjb 23 months ago.
Before patch
Capture d’écran 2023-01-21 à 11.44.31.png (292.8 KB) - added by audrasjb 23 months ago.
After patch

Download all attachments as: .zip

Change History (18)

#1 @ABTOP
14 years ago

  • Summary changed from Slag field too narrow in Post Edit to Slug field too narrow in Post Edit

#2 @jorbin
14 years ago

  • Keywords ux-feedback added; slug edit post width removed
  • Milestone changed from Awaiting Review to Future Release

#3 @nacin
14 years ago

  • Keywords has-patch added; ux-feedback removed

It's such a lame meta box, it's really only for no JS, and it's hidden by default. But patch attached.

@nacin
14 years ago

#4 @iseulde
11 years ago

  • Component changed from Administration to Editor

#5 @helen
11 years ago

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

We really should remove the metabox instead :) #18523

#6 @sabernhardt
2 years ago

#31261 was marked as a duplicate.

#7 @sabernhardt
2 years ago

#57285 was marked as a duplicate.

@sabernhardt
2 years ago

#8 @sabernhardt
2 years ago

  • Component changed from Editor to Posts, Post Types
  • Focuses ui administration added
  • Milestone set to 6.2
  • Resolution wontfix deleted
  • Status changed from closed to reopened

Props:

  • tyxla wanted to increase the width and the top margin (#31261)
  • abitofmind found the Slug metabox on the media attachment page (#57285)

I think adding the large-text class is worth a change for as long as the Slug field is still available. The margin may be good enough, even though it's smaller on the top than the bottom, considering that we would prefer to remove the metabox.

#9 @abitofmind
2 years ago

Thanks for trying to get the patch integrated into the current version!

This little fix would help editing in a contemporary layout. Thanks!

#10 @abitofmind
2 years ago

Meta / Offtopic: I usually always try to find existing issues, but failed here.

  • https://core.trac.wordpress.org/search is really awful.
    • Only two checkboxes: Search in: ☑︎ Changesets ☑︎ Tickets
    • No "only search in title" filter or component filters. Nothing.
  • The linked help page https://core.trac.wordpress.org/wiki/TracSearch
    • Does not present any query language either.
    • Seems to be really that limited.
    • Hard to conduct a proper research prior reporting for the occasional contributor.
    • Possibly low hanging fruit (search option config? better help text?) to improve the community experience.

#11 @sabernhardt
2 years ago

@abitofmind Yes, that's off-topic :) If you would like to propose Trac changes, you could visit Meta Trac. If it helps, I found these tickets using Google site search.

#12 @audrasjb
23 months ago

  • Owner set to audrasjb
  • Status changed from reopened to reviewing

#13 @audrasjb
23 months ago

  • Keywords has-screenshots commit added
  • Status changed from reviewing to accepted

#14 @audrasjb
23 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 55113:

Posts, Post Types: Increase the input field's width in the Slug metabox.

This changeset adds a large-text attribute and removes the size attribute of the text input field located in the Slug metabox. It improves its usability, at least for as long as the Slug metabox is available in the Classic Editor.

Props ABTOP, nacin, helen, sabernhardt, abitofmind, tyxla, audrasjb.
Fixes #16346.

Note: See TracTickets for help on using tickets.