!yxFWYdmeLrdzdoIrcE:maralorn.de

nix-output-monitor

98 Members
https://github.com/maralorn/nix-output-monitor32 Servers

Load older messages


SenderMessageTime
4 Dec 2024
@maralorn:maralorn.demaralorn
In reply to @picnoir:alternativebit.fr
I'm not super sure about the help screen part, there's maybe a better way to do it.
Yeah, that part is problematic. It has been for now my iron rule that nom will not destroy the backlog of the build. So calling clearScreen is not something I want to do.
10:57:33
@picnoir:alternativebit.frPicnoirRight10:57:52
@picnoir:alternativebit.frPicnoirMakes sense10:58:07
@maralorn:maralorn.demaralornRather the help should somehow appear in / replace the usual info box.10:58:24
@maralorn:maralorn.demaralornI think I would put it in the info box right above the summary but below warnings and the tree.10:59:23
@maralorn:maralorn.demaralornWe should also show add "?: help" somewhere in the normal output.11:00:14
@maralorn:maralorn.demaralorn * We should also add "?: help" somewhere in the normal output.11:00:25
@maralorn:maralorn.demaralorn
In reply to @maralorn:maralorn.de
We should also add "?: help" somewhere in the normal output.
But that’s optional for later.
11:04:29
@picnoir:alternativebit.frPicnoir👍️11:05:34
@picnoir:alternativebit.frPicnoir
In reply to @maralorn:maralorn.de
Rather the help should somehow appear in / replace the usual info box.
Do we already have some code clearing the info box?
11:06:08
@picnoir:alternativebit.frPicnoir
In reply to @maralorn:maralorn.de
Rather the help should somehow appear in / replace the usual info box.
* Do we already have some code clearing/printing the info box?
11:06:14
@picnoir:alternativebit.frPicnoir^ stupid question, we have, the real question is "could you point me to that?" :D11:06:31
@maralorn:maralorn.demaralornWell, the code currently clears and prints the infobox. If you make the help message part of the infobox (which should be easy because you are already propagating PrintState to that function) then the rest of the code will automatically take care of everything.11:07:33
@maralorn:maralorn.demaralornReally, now that I think about it. Other than the input and the printState you shouldn’t need to touch the IO module.11:08:31
@picnoir:alternativebit.frPicnoirWe need to force the print when a user pushes a key.11:13:24
@picnoir:alternativebit.frPicnoirOtherwise we're waiting on the next nix log line/timestamp to reprint.11:13:42
@picnoir:alternativebit.frPicnoirIt feels weird feedback-wise.11:13:48
@picnoir:alternativebit.frPicnoir * It feels weird feedback-wise if we don't.11:14:48
@maralorn:maralorn.demaralornYeah, that’s okay, too.11:18:11
@maralorn:maralorn.demaralornRedacted or Malformed Event11:18:51
@maralorn:maralorn.demaralornRedacted or Malformed Event11:20:14
@maralorn:maralorn.demaralorn * I think waiting the worst case 60ms is fine, though isn’t it?11:20:20
@picnoir:alternativebit.frPicnoirHeh, if we want a nice helpl print, we'll have to abstract a few functions in printBuilds to get the nice titles and all.11:46:22
@picnoir:alternativebit.frPicnoirToo much work to do it rn for me ><11:46:34
@picnoir:alternativebit.frPicnoir * That's too much work to do it rn for me >< 11:46:52
@picnoir:alternativebit.frPicnoirI'll come back to it later.11:46:56
@maralorn:maralorn.demaralorn
In reply to @picnoir:alternativebit.fr
Heh, if we want a nice helpl print, we'll have to abstract a few functions in printBuilds to get the nice titles and all.
Yeah, abstracting the printing stuff in a sane way is definitely on my wishlist.
11:48:03
@maralorn:maralorn.demaralornIt’s kinda hard to do without leaking abstractions.11:48:26
@picnoir:alternativebit.frPicnoirThe baseline for this help display would be extracting the bottom part & header mechanism.11:54:18
@picnoir:alternativebit.frPicnoirI don't think we need to access the table mechanism.11:54:29

Show newer messages


Back to Room ListRoom Version: 9