Opened 16 months ago
Last modified 6 months ago
#62064 new defect (bug)
Refresh Authorize Application page UI
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Application Passwords | Keywords: | needs-design needs-copy-review good-first-bug needs-testing has-patch |
| Focuses: | ui, ui-copy | Cc: |
Description
The Authorize Application screen that you get popped into when approving an Application Password via a logged in account has some UI deficiencies for particularly long links and primary and secondary buttons that are stacked with varying formatted text between them. This feels like a good opportunity for a UI improvement to make this experience a bit less visually complex and cognitively confusing for users.
Attachments (5)
Change History (15)
This ticket was mentioned in Slack in #design by jeffpaul. View the logs.
16 months ago
#3
@
15 months ago
Hey Jeff,
Looks like this has already been resolved. I've attached the image confirming.
@
15 months ago
UI still seems to be breaking for long strings, tested on the latest trunk branch pull
#4
@
15 months ago
A better user experience might be to display a popup showing the URL, informing the user that they will be redirected after approval/rejection, and asking for confirmation.
#5
@
14 months ago
Here's how to test go the link http://localhost:8889/wp-admin/authorize-application.php?app_name={add app name}
#6
@
14 months ago
Hi, here are two ideas to clean up the UI a bit: https://www.figma.com/proto/FmgSZmoKbGx0xgxOpHOeLQ/OSS-Working-Board?page-id=0%3A1&node-id=32-342&node-type=frame&viewport=-4661%2C1489%2C0.55&t=L9Duylwt2ewde7IY-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=32%3A342
cc @JeffPaul
This ticket was mentioned in PR #7871 on WordPress/wordpress-develop by @tusharaddweb.
13 months ago
#7
- Keywords has-patch added; needs-patch removed
Scenarios Observed:
Text Does Not Overflow:
When the application name (app_name parameter) contains paragraphs or spaces between words, the text is wrapped appropriately within the card area.
Example URL:
Screenshot: [Attached above showing proper wrapping.]
Text Overflows:
When the application name (app_name parameter) contains continuous text without any spaces or breaks, the text exceeds the boundaries of the card area and breaks the layout.
Example URL:
Screenshot: https://prnt.sc/VxFBi60ZcnxC
Trac ticket: https://core.trac.wordpress.org/ticket/62064
---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.
@pratiklondhe commented on PR #7871:
11 months ago
#8
Hi @tushar-addweb,
Thank you for the PR!
It seems the files might have been auto-formatted by your editor during saving. Could you please double-check this?
rogerkinsta commented on PR #7871:
6 months ago
#9
Trying to test the patch via the Playground link but playground errors out with this:
[09-Jul-2025 21:38:37 UTC] JavaScript Error: PHP.run() failed with exit code 255 and the following output: PHP Warning: ZipArchive::getStatusString(): Invalid or uninitialized Zip object in /internal/eval.php on line 23
PHP Fatal error: Uncaught Exception: Could not unzip file: in /internal/eval.php:23
Stack trace:
#0 /internal/eval.php(26): unzip('/tmp/file.zip', '/tmp/unzipped-w...', true)
#1 {main}
thrown in /internal/eval.php on line 23
<br />
<b>Warning</b>: ZipArchive::getStatusString(): Invalid or uninitialized Zip object in <b>/internal/eval.php</b> on line <b>23</b><br />
<br />
<b>Fatal error</b>: Uncaught Exception: Could not unzip file: in /internal/eval.php:23
Stack trace:
#0 /internal/eval.php(26): unzip('/tmp/file.zip', '/tmp/unzipped-w...', true)
#1 {main}
thrown in <b>/internal/eval.php</b> on line <b>23</b><br />
Error: PHP.run() failed with exit code 255 and the following output: PHP Warning: ZipArchive::getStatusString(): Invalid or uninitialized Zip object in /internal/eval.php on line 23
PHP Fatal error: Uncaught Exception: Could not unzip file: in /internal/eval.php:23
Stack trace:
#0 /internal/eval.php(26): unzip('/tmp/file.zip', '/tmp/unzipped-w...', true)
#1 {main}
thrown in /internal/eval.php on line 23
<br />
<b>Warning</b>: ZipArchive::getStatusString(): Invalid or uninitialized Zip object in <b>/internal/eval.php</b> on line <b>23</b><br />
<br />
<b>Fatal error</b>: Uncaught Exception: Could not unzip file: in /internal/eval.php:23
Stack trace:
#0 /internal/eval.php(26): unzip('/tmp/file.zip', '/tmp/unzipped-w...', true)
#1 {main}
thrown in <b>/internal/eval.php</b> on line <b>23</b><br />
at PHP.run (https://playground.wordpress.net/worker-thread-DAGie4cn.js:53:904)
at async unzipFile (https://playground.wordpress.net/worker-thread-DAGie4cn.js:96:1245)
at async unzipWordPress (https://playground.wordpress.net/worker-thread-DAGie4cn.js:816:76)
at async bootWordPress (https://playground.wordpress.net/worker-thread-DAGie4cn.js:476:558)
at async PlaygroundWorkerEndpoint.boot (https://playground.wordpress.net/worker-thread-DAGie4cn.js:1699:3322)
screenshot of a sample screen with overflowing URL text and stacked action buttons