Re: Disabled or Not applicable Tabs design

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: Disabled or Not applicable Tabs design
Дата
Msg-id CAM9w-_mdCPXbS2DZUHaYZnr+p_OLvqnf+U0pbcAD28G29k8BEA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Disabled or Not applicable Tabs design  (Dave Page <dpage@pgadmin.org>)
Ответы Re: Disabled or Not applicable Tabs design
Список pgadmin-hackers
Hi Dave,

On Fri, Feb 21, 2025 at 3:21 PM Dave Page <dpage@pgadmin.org> wrote:


On Fri, 21 Feb 2025 at 09:38, Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

I've been working on a new feature to restore a plain SQL using the pgAdmin restore dialog. Internally, it will select pg_restore or psql based on the format.

Now, when restoring plain format the tabs like Data Options, Query Options are not applicable. So instead of going and disabling all the fields under these tabs, I think we can simply disable the complete tab.

I've come up with the following UI design for the disabled tabs. The tabs will enable/disable based on the format selected.

Please share your feedback on this.


image.png

Normally when something is disabled, it is simply greyed out and made to not respond to input. Why not do the same here instead of designing a new way of indicating disabled state? 
I thought of adding an icon for better accessibility. Greying is pretty straightforward.


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

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