Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dashboard log container to be "full height" #1065

Merged
merged 2 commits into from May 27, 2019
Merged

Allow dashboard log container to be "full height" #1065

merged 2 commits into from May 27, 2019

Conversation

Feng-Shui
Copy link
Contributor

PR for #1064

See: https://www.govcms.support/support/tickets/2073

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated.
  • Changelog entry has been written

Changelog Entry

Change - Remove the 600px hight limit for the logs container in the deployment section of the dashboard, this allows the container to be full height #1064

Closing issues

Closes #1064

When viewing deployment logs in the dashboard, the logs are typically very long, but the log window is limited to 600px heigh.  Given there is nothing else on the deployment page other than the logs, would be good if the height wasn't limited.

There's a few benefits to this:

1. Users don't have to scroll as much because more of the log output fits on their screen at once.
1. Once the container is not-height restricted, the browser's behaviour of showing where search matches occur in the document by flagging them on the its scroll bar kicks in, this is great for jumping between areas areas of the output where a search string exists.
Copy link
Member

@rocketeerbkw rocketeerbkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to min-height instead? I think the left sidebar area doesn't handle the main content area being very short well (in the case where logs are not available).

Addresses comment: #1065 (review)

Log viewer should have a min-height so that it's longer than the left hand navigation.
@Feng-Shui
Copy link
Contributor Author

Yep, PR updated to change it to min-height: 600px.

Copy link
Member

@rocketeerbkw rocketeerbkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Schnitzel Schnitzel added this to the v0.23.0 milestone May 27, 2019
@Schnitzel Schnitzel merged commit db9ee72 into uselagoon:master May 27, 2019
tobybellwood pushed a commit to uselagoon/lagoon-ui that referenced this pull request Aug 5, 2021
Addresses comment: uselagoon/lagoon#1065 (review)

Log viewer should have a min-height so that it's longer than the left hand navigation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow dashboard log container to be "full height"
3 participants