For consistency, we use two spaces for indentation in CSS files. Four spaces are used in _dashboard.scss file. The configurations are defined in web/.editorconfig file.
In,dashboard.css Can we return function object in return instead of function class itself, this will eliminate the need of creating function object every time we use info and error?
On Dashboard, I can see Postgres icon is misaligned compared to other icons in Getting Started section. It is not related to this patch. adjusting margin top will fix it.
I tried to test out Error message displayed, but I encounter an error(screenshot attached).
Steps to reproduce:
Open pgAdmin4 in browser
Connect to PostgreSQL Server, Keep dashboard tab open.
Navigate to the database which is connected.
Now disconnect pgAdmin4 python server.
No error message is displayed on Dashboard because it breaks in JS as xhr.responseText is empty. However, it might be an existing issue.
Thanks, Surinder
On Mon, Aug 7, 2017 at 10:40 AM, Wenlin Zhang <wzhang@pivotal.io> wrote:
Hi Ashesh,
That's correct. This patch just changed alert style in the 'tabs', such as Dependency and Dependents.