console icon indicating copy to clipboard operation
console copied to clipboard

feat: Adjust task and waker panel for long names

Open devanbenz opened this issue 1 year ago • 4 comments

close Friendly ping~ Do you have time to work on it again?

  • Makes better use of waker and task panel spacing
  • Puts Last woken on its own line
  • wraps text within the task panel for really long location names

Updated: task_long_name task_no_name

devanbenz avatar Feb 17 '24 18:02 devanbenz

Ah! Yes, good call. I did not notice that. I’ll need to make some adjustments

On Sun, Feb 18, 2024 at 3:56 PM Hayden Stainsby @.***> wrote:

@.**** requested changes on this pull request.

I haven't had a chance to look to much into the code yet. But from the screenshots, it looks like you're losing lines from the Task panel (I see the scheduled and idle times missing from the bottom).

I'm not sure if you've noticed this, but the task panel will need to have a variable height, whereas right now the height is fixed.

Also, I think that we probably don't need to put the location on its own line (after the label), it should be able to start on the line with the label and then break onto additional lines if it needs to.

I'll come back with a complete review (hopefully tomorrow) once I've had a chance to read the code changes.

— Reply to this email directly, view it on GitHub https://github.com/tokio-rs/console/pull/527#pullrequestreview-1887337745, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLL2BYL3QMKR5TYSLC3OQTYUJ2HXAVCNFSM6AAAAABDNPUN36VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQOBXGMZTONZUGU . You are receiving this because you authored the thread.Message ID: @.***>

devanbenz avatar Feb 18 '24 22:02 devanbenz

Will be coming back to this PR this weekend! Sorry I was out of town last week/over the weekend :D

devanbenz avatar Feb 28 '24 00:02 devanbenz

@devanbenz Friendly ping~ Do you have time to work on it again? Thanks!

0xPoe avatar May 16 '24 13:05 0xPoe

@devanbenz Friendly ping~ Do you have time to work on it again? Thanks!

I definitely want to get back to this. I have an interview this week and a talk during the weekend. I have a feeling that afterwards I will likely be able to start contributing to open source more 👍

devanbenz avatar May 19 '24 04:05 devanbenz