mb1986 / rm-hacks

Small improvements and tweaks for rM devices, covering both rM1 and rM2.
Other
442 stars 9 forks source link

Adding horizontal space in the middle of the notebook #255

Open dafxy opened 4 months ago

dafxy commented 4 months ago

It would be extremely useful if there were a way to add space anywhere on an existing page without having to use the select tool to select and drag the content. Something like this:

tmp

RedTartan04 commented 4 months ago

Oh YES :) One of these things you wonder why the heck the it's not implemented by rM. Ideally I'd like to be able to drag the split manually to where I need it.

Question is what happens if you drag the bottom of existing content over the bottom edge of the page a) extends "continous" page - I personally wouldn't like that because I don't want extended pages at all b) hits the bottom edge and wont go further - my preference

chucktomasi commented 4 months ago

I would find this useful. As a user of recalendar.me, I often start my day by lining up my appointments. As is often the case, calendars change throughout the day and someone adds something. This feature would make it easy to place new content in the middle of the day. I can see it being useful for other note taking use cases as well.

PepikVaio commented 4 months ago

I finally understand what you want :) That would be quite a useful feature :)

How would one set how much space to add?

dafxy commented 4 months ago

One idea would be to select the tool and then tap the screen and drag the amount of space to add. This would be ideal, but I am not sure if this is feasible.

Another option would be to have a submenu in the tool, like those that appear for other tools, and one could select the amount of "lines" to add in the submenu: 3, 6, 9, or something like that. Then, tapping on the screen would add the space selected. The tricky part here is to keep the written lines that are being shifted down aligned with the notebook lines after the space is added. So maybe one could select between adding 2,6,9 small or large lines in the submenu, and the space added could match the default size of the remarkable template of small and large lines as closely as possible.

I would also allow redo and auto de-select the tool after the line is added, that is, automatically switch to the previous tool used, to avoid adding space unintentionally by tapping the screen after the space is added.

RedTartan04 commented 4 months ago

I'm not sure fixed amounts of space would fit all use cases, though it's a good idea if you use the built-in templates and it's a quick way with a minimal amount of interaction.

I for example mostly use a blank background and use different amounts of space to structure my notes, so for me dragging the space would be the only really useful way.

(see also https://github.com/mb1986/rm-hacks/issues/255#issuecomment-1949911167)

hakunamatatarr commented 4 months ago

An alternative work-around could be to draw a line with the selection tool from one side to the other and everything below that line is selected. Then you can move it wherever you want. Additionally, this would open-up the possibility to delete everything below a specific point, a problem I ran into a few times.

dafxy commented 4 months ago

I think this solution would be great because it would add three functionalities at once. One could shift the content below the line down (add horizontal space), up (remove horizontal space), or remove the content below the line entirely. And there would be no problem with messing up the alignment of the shifted content with notebook lines because one could aligned it when dragging the content.

atngames commented 4 months ago

@mb1986 I remember a POC for this exact thing, right?

mb1986 commented 4 months ago

Yes, you are right, the poc was about selecting programmatically and we can do that.

dafxy commented 4 months ago

Any chance to get this working on the new release?

builder-main commented 4 months ago

Could this be implemented by an enhancement of the selection tool instead of create a new one ? Because adding a new space is :

  1. Selecting anything below
  2. Move it down.

What I could suggest is : Long press a point with selection tool to select anything that is right and below the pressed point.

Right+Below would do what people want here while adding another usage for people wanting also left / right split.

builder-main commented 4 months ago

Some examples to see that it could work well. Green press will split horizontally, Red press vertically, blue press would select a quarter of page, all depending on the selected option.

image

RedTartan04 commented 4 months ago

Good idea. For B I could image three options (I mean settings, not on the fly choices) left + below, right + below or full width + below (here it wouldn't matter where you long press, which is effectively the same as "below a horizontal line".

builder-main commented 4 months ago

In my sens a manual full width setting is not necessary, just press on the left of the screen. Probably we should add a threshold so that any point below 5px of the screen will activate full-width / full-height selection I think the interesting settings would be a Right/Left and Above/Below setting.

Updated the quick mockup with the toggleable options and usecases as an example.

RedTartan04 commented 4 months ago

Necessary no, but 99% of my use case :) and more convenient. You don't have to mentally project the downward line to make sure you catch everything, when you just want to add horizontal space. Also I find it a little akward (as a right-handed person) to tap left on the page to trigger a selection range which is then under my hand. Usually I draw selections in a way where I end at a point where I can see all of what I've selected. Therefore I'd rather long press on the right side of a page to select everything below. Your rectangular selection offers more flexibility but also more complexity. Hence I'd prefer settings.

atngames commented 4 months ago

And why not enhancing selection with some small icons that would allow to select all to the left from here, all to the bottom from here, and so on ? Those would just enlarge the existing selection