Skip to content

feat(ui): Polish Log tab (#481)

Lasha Kakabadze requested to merge 481-polist-logs-tab into master

Description

  • for logs output, let's use a smaller font (equivalent to 8-9 px, not more) Used 10px, since others seemed too small
  • we need to output the logs in some container, with its own scrollbar – to avoid using the main page's scrollbar. Right now, the problem is: if there are many lines, it quickly scrolls down and the menu is not visible (example: https://branching.aws.postgres.ai:446/instance, "Logs"). With its personal scrollbar, menu will be always in its place – easer to work
  • Sensitive data are masked. --> Sensitive values are masked.
  • You can see the raw log data connecting to the machine and running the 'docker logs' command. --> You can see the raw log data connecting to the machine and running 'docker logs --since 5m -f dblab_server'.
  • checkboxes for various message types (DEBUG / INFO / ERROR), initially all checked, but with ability for a user to uncheck/check back each one, to filter out/in the messages
  • copy to clipboard button inside the logs container, so the users are able to copy the text inside

Related issue

#481 (closed)

Examples

Updated logs tab

image

Checklist

  • MR description has been reviewed
  • MR changes are functionally tested
  • MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc)
  • MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED

Closes #481 (closed)

Edited by Lasha Kakabadze

Merge request reports