Re: Regarding opening user management in a tab - #8574

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: Regarding opening user management in a tab - #8574
Дата
Msg-id CAM9w-_=d9mF7TACj315bE2=e=y+KAH5E6RFgyA903wTOKUP9xw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Regarding opening user management in a tab - #8574  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
Hi Akshay,

On Fri, Mar 21, 2025 at 11:28 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Aditya,

I like the new design but it has the following drawbacks over the old design:
  • In the new design, users of pgAdmin cannot create multiple new users with a single click of the "Save" button.
While this allowed multiple operations, it had hit the UI performance. 
  • Errors such as "Username/Email already exists" will now appear only after clicking the "Save" button, rather than being shown as the user types the username or email address, as in the previous design.
If another user logged in and added a user then the newly added user was not visible to the current logged in user as the list becomes old. I've moved the duplicate check to the backend - where it will always check on the latest data. Currently, it will throw an integrity failed error. 
  • In the old design, there was an option to reset if the user was mistakenly deleted by default.
We have a confirmation dialog before deleting which I think should be enough. We have similar logic for database objects delete.

I know we need create user dialog as in future we are going to add custom role in that dialog. Apart from above it looks good to me.
 
 

On Thu, Mar 20, 2025 at 6:12 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

To add to my previous email, the user edit will now open a pop-up instead of current in-table edit. Few of the users have reported sluggish UI editing when having many users. That will be fixed with single user edit.
image.png

On Thu, Mar 20, 2025 at 6:04 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

I've been working on making the user management open in a tab instead of a dialog for better user UX. The new design looks like below. Please note, once we start working on permissions (RBAC) we will add sub tabs - Roles and Permissions.

image.png

Please let me know if we need to change anything in this or any questions.


--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Staff SDE II | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Staff SDE II | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Staff SDE II | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"
Вложения

В списке pgadmin-hackers по дате отправления: