Openbravo Issue Tracking System - POS2
View Issue Details
0055976POS2POSpublic2024-07-11 09:572024-08-13 16:12
plujan 
meriem_azaf 
normalminorhave not tried
closedfixed 
5
 
24Q4 
No
0055976: [24Q3] User Icons on login - Long names disrupt the portrait layout
I've created a user with a very long name and the login page in portrait got misaligned.
1. Go to the User window in the backoffice and create a new POS user
2. Set as surname a long (but valid) last name, I used BURIONAGONATOTORECAGAGEAZCOECHEA
3. Go to the POS login page and see that the user and password field are now misaligned in the screen (check attached screenshot)
No tags attached.
related to feature request 0055106 closed gonzalo_fernandez Infrastructure User Icons in Login Screen in POS2 
png Screenshot 2024-07-11 095106.png (17,897) 2024-07-11 09:57
https://issues.openbravo.com/file_download.php?file_id=19997&type=bug
png
Issue History
2024-07-11 09:57plujanNew Issue
2024-07-11 09:57plujanAssigned To => Retail
2024-07-11 09:57plujanFile Added: Screenshot 2024-07-11 095106.png
2024-07-11 09:57plujanTriggers an Emergency Pack => No
2024-07-25 12:02alostaleAssigned ToRetail => Triage Platform Base
2024-07-25 12:04alostaleStatusnew => acknowledged
2024-07-25 12:19alostaleRelationship addedrelated to 0055106
2024-07-26 13:06meriem_azafAssigned ToTriage Platform Base => meriem_azaf
2024-07-26 13:06meriem_azafStatusacknowledged => scheduled
2024-07-26 13:22hgbotNote Added: 0167400
2024-07-31 15:23meriem_azafNote Added: 0167549
2024-07-31 15:24meriem_azafNote Edited: 0167549bug_revision_view_page.php?bugnote_id=0167549#r28297
2024-08-13 16:12hgbotResolutionopen => fixed
2024-08-13 16:12hgbotStatusscheduled => closed
2024-08-13 16:12hgbotFixed in Version => 24Q4
2024-08-13 16:12hgbotNote Added: 0168046
2024-08-13 16:12hgbotNote Added: 0168047

Notes
(0167400)
hgbot   
2024-07-26 13:22   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1551 [^]
(0167549)
meriem_azaf   
2024-07-31 15:23   
(edited on: 2024-07-31 15:24)
Test plan:
1. Login in BO, choose role white valley group admin.
2. Go to the User window and create a new POS user.
3. Set as username and name a long name "BURIONAGONATOTORECAGAGEAZCOECHEA" and also set a password.
4. In role subtab add white valley group admin as role.
5. Go to POS2, login in with the new user.
6. Logout

You will see that the user and password field are now aligned as you can see here https://gitlab.com/-/project/19138651/uploads/a68b967f962a8f5375f41aadfc3bb59d/Peek_2024-07-31_15-09.gif [^]

(0168046)
hgbot   
2024-08-13 16:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 4c22c4310b2cec406ec5097c7006ca78e4f5e8bc
Author: meriem azaf <m.azaf@orisha.com>
Date: 13-08-2024 14:11:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/4c22c4310b2cec406ec5097c7006ca78e4f5e8bc [^]

Fixes ISSUE-55976: long names disrupt the portrait layout on login page

If we have a user with a very long name, the login page in portrait mode got misaligned.

To fix this, we decided to show ellipsis.

---
M web-jspack/org.openbravo.core2/src/components/UserAvatarLogin/UserAvatarLogin.scss
---
(0168047)
hgbot   
2024-08-13 16:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1551 [^]