As a user, I'd like to see how far into a document I am #16

Closed
opened 2019-05-14 20:05:10 +00:00 by sloum · 6 comments
Owner

This can be accomplished a few ways:

  1. Always show this information. Possibly in the top right of the screen. If this option is chosen there could be a setting to turn on or off this feature.

  2. Add a command to show the current state via the quickMessage function in conjunction with a new receiver method on the View struct in question. This should be quicker to develop as it would largely use existing infrastructure.

There is also the question of display format:

  1. A rounded percentage of the document shown on the screen: 12%
  2. Line number out of total lines: 124 / 235
This can be accomplished a few ways: 1. Always show this information. Possibly in the top right of the screen. If this option is chosen there could be a setting to turn on or off this feature. 2. Add a command to show the current state via the quickMessage function in conjunction with a new receiver method on the View struct in question. This should be quicker to develop as it would largely use existing infrastructure. There is also the question of display format: 1. A rounded percentage of the document shown on the screen: `12%` 2. Line number out of total lines: `124 / 235`
sloum added the
help wanted
enhancement
labels 2019-05-14 20:05:29 +00:00
Author
Owner

I am inclined to go with 2A (a command to show scroll state and a percentage to represent how much has been read).

I am inclined to go with 2A (a command to show scroll state and a percentage to represent how much has been read).
Collaborator

Hi Sloum,

Would 2A show a percentage at the bottom right of the screen, shown in a similar fashion to the "Loading..." message that pops up when loading a page? If so, I think this is a good start.

Do you mind explaining a bit more how it would function as a command? I'm not sure if you mean having a command like :progress to briefly show the progress, or a command to turn on a progress indicator per-page or per-session, or something else.

Hi Sloum, Would 2A show a percentage at the bottom right of the screen, shown in a similar fashion to the "Loading..." message that pops up when loading a page? If so, I think this is a good start. Do you mind explaining a bit more how it would function as a command? I'm not sure if you mean having a command like `:progress` to briefly show the progress, or a command to turn on a progress indicator per-page or per-session, or something else.
Author
Owner

My thought at the time of writing had been something like :progress that will bring up a temporary notice of where in the doc you are. Using the same mechanism as the "Loading..." message.

In the long term I'd like to improve a lot of the screen draw stuff and allow for more onscreen notices like this in a more permanent/lasting way.

My thought at the time of writing had been something like `:progress` that will bring up a temporary notice of where in the doc you are. Using the same mechanism as the "Loading..." message. In the long term I'd like to improve a lot of the screen draw stuff and allow for more onscreen notices like this in a more permanent/lasting way.
Collaborator

If it was like the loading message, instead of being triggered by a command, could it be triggered whenever the user inputs a movement instruction (presses j, k, g or G)?

If it was like the loading message, instead of being triggered by a command, could it be triggered whenever the user inputs a movement instruction (presses j, k, g or G)?
Author
Owner

Very true! That is a good call. 👍

I'm hoping to work on this again soon! I have taken a short break from bombadillo in favor of a few smaller projects, mostly while I adjust to having an infant in the house (and the lack of sleep that comes with that). I'll get back to active dev here soon! There are so many cool things to implement (not to mention the possibility of adding the gemini protocol when that solidifies into a standard, which I am keen on doing).

Very true! That is a good call. :+1: I'm hoping to work on this again soon! I have taken a short break from bombadillo in favor of a few smaller projects, mostly while I adjust to having an infant in the house (and the lack of sleep that comes with that). I'll get back to active dev here soon! There are so many cool things to implement (not to mention the possibility of adding the gemini protocol when that solidifies into a standard, which I am keen on doing).
sloum added
wontfix
and removed
enhancement
help wanted
labels 2019-09-20 17:01:23 +00:00
Author
Owner

I have moved this to wontfix. v2.0.0 has implemented this feature. As such I do not think someone should start working on getting it working for a 1.x series release. I will close this issue once v2.0.0 gets released to master.

I have moved this to `wontfix`. `v2.0.0` has implemented this feature. As such I do not think someone should start working on getting it working for a 1.x series release. I will close this issue once `v2.0.0` gets released to `master`.
sloum closed this issue 2019-10-01 03:24:18 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sloum/bombadillo#16
No description provided.