public inbox for [email protected]
help / color / mirror / Atom feedFrom: Aditya Toshniwal <[email protected]>
To: pgadmin-hackers <[email protected]>
Cc: Usman Khan <[email protected]>
Cc: Dave Page <[email protected]>
Cc: Ashesh Vashi <[email protected]>
Subject: Re: Add support for tags on a server node
Date: Tue, 3 Dec 2024 17:07:15 +0530
Message-ID: <CAM9w-_mgnPyXUsqs2JytNj2_QTmiazY83AB4pJ=gLHO5_uFeGg@mail.gmail.com> (raw)
In-Reply-To: <CAM9w-_=7mXE6CwwUyg29qOf91aVfUad9=ovD34YBBoWuqQ+ipw@mail.gmail.com>
References: <CAM9w-_mvOrJkVoEKbOjZBsVYWoVdwm-hQgNiwT2=XcbWggBXAQ@mail.gmail.com>
<CA+OCxow1RkpNTLwUKfD2TdfouJ6oTur3LJFPORxNOzO6itWCeQ@mail.gmail.com>
<CAM9w-_m-tbfyYFWqKCY161cbX=3FRrqexKb1VrHEWjLhb9yXhA@mail.gmail.com>
<CANVC+RELr6RfxLo_YBy1mLZubLBfsP7CZDZFBZetYtQ8+LgxCA@mail.gmail.com>
<CAM9w-_=gWj3rYUwzuy74ULVZ5HY4Cve0xY4kRRsCOY8HmJid9w@mail.gmail.com>
<CANVC+REx_vzn7RUW+ysLSdJbk1Z+X24jXFheq7S9yVyj3oBeYg@mail.gmail.com>
<CAM9w-_mdZo=DCA-6nLMoeMLoQ4r+i9bew4OXojE7n3L8TxG7ew@mail.gmail.com>
<CAG7mmoxkSB6GTFCX46An5fXxDw64N31CjaBADMXDFZS_-9-org@mail.gmail.com>
<CAM9w-_=7mXE6CwwUyg29qOf91aVfUad9=ovD34YBBoWuqQ+ipw@mail.gmail.com>
Hi Hackers,
I've simplified the UI to ask the user for only one color. Other UI colors
will be derived from that color.
[image: image.png]
On Mon, Dec 2, 2024 at 10:27 AM Aditya Toshniwal <
[email protected]> wrote:
> Hi Ashesh,
>
> On Mon, Dec 2, 2024 at 10:10 AM Ashesh Vashi <
> [email protected]> wrote:
>
>> On Mon, Dec 2, 2024 at 10:05 AM Aditya Toshniwal <
>> [email protected]> wrote:
>>
>>> Hi Usman,
>>>
>>> On Fri, Nov 29, 2024 at 7:11 PM Usman Khan <[email protected]> wrote:
>>>
>>>> okay sure.
>>>>
>>>> - Cannot we accommodate it in existing tabs such as General etc?
>>>>
>>>> No. It doesn't have enough space. Users will need to scroll. Plus, tags
>>> are not so important for a server connection.
>>>
>> We could create control something like this.
>>
>> https://dev.to/mio_im/lets-create-a-advanced-tags-input-component-in-react-js-58c6
>>
> We already have a multi-select creatable component. But this doesn't allow
> changing the colors. Having flexibility to change color can be helpful as
> we support multiple themes.
>
>>
>>
>> --
>>
>> Thanks & Regards,
>>
>> Ashesh Vashi
>> EnterpriseDB INDIA: Enterprise PostgreSQL Company
>> <http://www.enterprisedb.com/;
>>
>>
>> *http://www.linkedin.com/in/asheshvashi*
>> <http://www.linkedin.com/in/asheshvashi;
>>
>>>
>>>> - It would be ideal if we also impose a limit on the text length.
>>>>
>>>> Sure.
>>>
>>>>
>>>> -
>>>>
>>>>
>>>> On Fri, Nov 29, 2024 at 5:13 PM Aditya Toshniwal <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Usman,
>>>>>
>>>>> Nothing is predefined, users need to add. Here's a draft:
>>>>> [image: image.png]
>>>>>
>>>>> On Fri, Nov 29, 2024 at 5:21 PM Usman Khan <[email protected]> wrote:
>>>>>
>>>>>> @adityatoshniwal it's a nice feature, thanks for adding.
>>>>>> Will we provide pre-defined tags or will the user have the liberty to
>>>>>> create them as per their need?
>>>>>>
>>>>>> On Thu, Nov 28, 2024 at 3:55 PM Aditya Toshniwal <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Thanks! git issue created -
>>>>>>> https://github.com/pgadmin-org/pgadmin4/issues/8192.
>>>>>>>
>>>>>>> On Thu, Nov 28, 2024 at 4:02 PM Dave Page <[email protected]> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> On Thu, 28 Nov 2024 at 10:20, Aditya Toshniwal <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi Dave/Hackers,
>>>>>>>>>
>>>>>>>>> We have a requirement where we need to tag servers with some
>>>>>>>>> labels. Tags allow adding extra info without renaming the server. It can
>>>>>>>>> also be helpful when adding shared servers. In future, it can be helpful as
>>>>>>>>> a filter criteria. If you agree then I can create a git issue. Below
>>>>>>>>> is a sample.
>>>>>>>>> Let me know what you think.
>>>>>>>>>
>>>>>>>>> [image: Screenshot 2024-11-28 at 15.44.28.png]
>>>>>>>>>
>>>>>>>>
>>>>>>>> That seems like it could be useful.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Dave Page
>>>>>>>> pgAdmin: https://www.pgadmin.org
>>>>>>>> PostgreSQL: https://www.postgresql.org
>>>>>>>> pgEdge: https://www.pgedge.com
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks,
>>>>>>> Aditya Toshniwal
>>>>>>> pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com*
>>>>>>> <https://www.enterprisedb.com/;
>>>>>>> "Don't Complain about Heat, Plant a TREE"
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Aditya Toshniwal
>>>>> pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com*
>>>>> <https://www.enterprisedb.com/;
>>>>> "Don't Complain about Heat, Plant a TREE"
>>>>>
>>>>
>>>
>>> --
>>> Thanks,
>>> Aditya Toshniwal
>>> pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com*
>>> <https://www.enterprisedb.com/;
>>> "Don't Complain about Heat, Plant a TREE"
>>>
>>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com*
> <https://www.enterprisedb.com/;
> "Don't Complain about Heat, Plant a TREE"
>
--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com*
<https://www.enterprisedb.com/;
"Don't Complain about Heat, Plant a TREE"
Attachments:
[image/png] Screenshot 2024-11-28 at 15.44.28.png (80.9K, 3-Screenshot%202024-11-28%20at%2015.44.28.png)
download | view image
[image/png] image.png (51.9K, 4-image.png)
download | view image
[image/png] image.png (100.5K, 5-image.png)
download | view image
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Add support for tags on a server node
In-Reply-To: <CAM9w-_mgnPyXUsqs2JytNj2_QTmiazY83AB4pJ=gLHO5_uFeGg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox