| From: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> | 
|---|---|
| To: | Karan Takalkar <karan1533os(at)gmail(dot)com> | 
| Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> | 
| Subject: | Re: Re : [BUG #4943] | 
| Date: | 2019-12-09 15:05:03 | 
| Message-ID: | CAM9w-_=TTvNZcYBq4q=XJyZdsL9UQc3vNzVZ5an7ML8kuO+U6g@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgadmin-hackers | 
Hi Karan,
Kindly add a hyphen between the message and names, create a patch to
pgAdmin hackers(check cc).
Kindly also run the test cases and pep8 before sending.
On Mon, Dec 9, 2019, 20:17 Karan Takalkar <karan1533os(at)gmail(dot)com> wrote:
> I have updated the success message.
> Please check the screenshots attached.
> Should i make a patch?
>
> Regards,
> Karan
>
> On Mon, 9 Dec, 2019, 3:25 PM Aditya Toshniwal, <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
>> ++pgadmin-hackers
>>
>> Hi Karan,
>>
>> It is good to know that you're contributing.
>> I would suggest {server name}/{db name} as name instead of did is better
>> for UX. You can get the db name from conn object and server name using the
>> sid (refer - web/pgadmin/browser/server_groups/servers/__init__.py)
>>
>>
>> On Mon, Dec 9, 2019 at 3:11 PM Karan Takalkar <karan1533os(at)gmail(dot)com>
>> wrote:
>>
>>> Hi,
>>>
>>> I have been working on #4943 ("Database connected" success message
>>> itself is not enough) added by you on pgAdmin4 issues.
>>> I want to know what details of database should be included in success
>>> message.(i have added 'did')
>>>
>>> The success message can be modified by altering json response in the
>>> connect method in file
>>> PGADMIN_SRC/web/pgadmin/browser/server_groups/servers/databases/__init__.py.
>>> please have a look at the screenshots attached.
>>>
>>> original:
>>> info=_( "Database connected.")
>>> new:
>>> info=_("Postgres version/{0} Database connected.".format(did))
>>>
>>> Regards,
>>> Karan
>>>
>>
>>
>> --
>> Thanks and Regards,
>> Aditya Toshniwal
>> Sr. Software Engineer | EnterpriseDB India | Pune
>> "Don't Complain about Heat, Plant a TREE"
>>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Akshay Joshi | 2019-12-09 15:43:03 | pgAdmin 4 commit: Update French translation. | 
| Previous Message | fred.escallier | 2019-12-09 14:52:16 | french translation update |