aarroyoc/scryer-playground

Most recent answer should remain in view

Closed this issue · 4 comments

triska commented

Currently, when I post for example ?- true. many times in a row, then I can no longer see the latest answers when they move out of view after a few interactions, and only exist way down below.

If possible, I would like to automatically see the latest answer, while still being able to easily post queries (i.e., keep the entrybox also in view and in focus).

Is it OK the way it is now?

I think now it is a bit more confusing than before, because we now see the most recent interaction, and then a log of all interactions below that, including the most recent interaction. In particular, when the very first query is posted, we now see the exact same interaction twice. For example, when posting X = 3, we go from this:

Screenshot 2023-11-27 at 21 46 35

to this:

Screenshot 2023-11-27 at 21 46 40

Since the most recent interaction is already logged as part of the entire history, would it not suffice to scroll down the history so that the most recent interaction is always in view when a new query is posted and an answer is shown?

Good idea! I removed that area and now it scrolls down automatically to the last answer, so it remains in view.

I think it's now excellent, thank you a lot!