[wp-trac] [WordPress Trac] #51899: Improve Application Passwords section layout in user profile

WordPress Trac noreply at wordpress.org
Tue Dec 1 00:15:04 UTC 2020


#51899: Improve Application Passwords section layout in user profile
------------------------------------------+--------------------------------
 Reporter:  SergeyBiryukov                |       Owner:  (none)
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Application Passwords         |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-screenshots needs-design  |     Focuses:  ui,
                                          |  administration
------------------------------------------+--------------------------------

Comment (by johnjamesjacoby):

 In addition, this feature only works with JavaScript enabled, because it
 adds a hack to avoid buttons submitting the form that it’s inside of.

 I spent some time attempting to patch this minimally a few weeks ago, and
 concluded that it just needs to be redesigned completely.

 WordPress styling does not have support for nested tables – so a List
 Table inside a Form Table is rightfully not a very good approach even if
 we wanted to try. And if these passwords stop using the List Table API,
 that starts to become a major refactor and redesign project that probably
 requires involving more stakeholders.

 In comparison, many of the other WordPress Admin pages have also become a
 mish-mash of unmatched sections (Discussion settings is the worst) so the
 silver lining is that Profiles now looks just as mixed-up as the others?
 🥴

 My WP User Profiles plugin uses its own markup and JavaScript to implement
 application passwords because this feature is not abstracted in such a way
 to make it easy to repurpose (the way that the password generator is, for
 example).

 When BuddyPress or bbPress decide to implement this for their theme-side
 profiles, they will also need their own bespoke implementations.

 I’m all for improving this, but now that’s landed like it is, it’s a bit
 of a nightmare to undo.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51899#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list