https://prefect.io logo
t

Timo Sugliani

08/29/2023, 10:56 AM
Hi Community, Loving more and more the latest Prefect UI changes 🙂 That said I have a small UX/design feedback: I was wondering if there was a way to reduce the line height/display on the Task logs view ? (Tasks, not flow) Everything has a huge margin/height between each log line, which makes the spacing nearly 3 times larger than it should be. (maybe another theme/css, prefect ui setting ?) For reference, I think if you print 3 lines of logs at least this problem is mitigated, because of the right side block of 3 div/lines that show
timestamp
,
task name
, and
prefect.task_runs
. (Any way to reduce that to the timestamp only ? as I'm in a specific
task log view
, and showing task name or
prefect.task_runs
doesn't make sense either ?) Attached a screenshot that showcases this issue. I wouldn't mind this spacing in the global flow view, but when you selected a specific task and go to the log view I do feel those fields are redundant/irrelevant. (It would avoid useless scrolling when you have hundreds/thousands lines of logs printed where 33% of the screen estate is used to print them, and the rest is vertical spacing 🙂 ) Thoughts ? insights ? ideas ? Thanks in advance and continue the great work !
🙏 1
b

Brandon Reid

08/29/2023, 11:43 AM
Thanks @Timo Sugliani! I love this feedback. I've taken some notes here. Totally agree that we could use space more efficiently there.
👍 1
upvote 1
t

Timo Sugliani

08/29/2023, 11:45 AM
@Brandon Reid appreciate the quick reply 🙂 Yeah it's especially visible when comparing the logs in a terminal, for example:
Copy code
Adding this as a screenshot with Slack is not great to view because of threads max width :D
This for example holds in half a screen, when printed on prefect UI it's 3 pages of scrolling (joking, but you get the idea 🙂 )
💯 1
b

Brandon Reid

08/29/2023, 11:46 AM
Yeah absolutely!
t

Timo Sugliani

08/29/2023, 11:50 AM
Screenshot 2023-08-29 at 13.49.54.png
👍 1