rm-hacks icon indicating copy to clipboard operation
rm-hacks copied to clipboard

Adding horizontal space in the middle of the notebook

Open dafxy opened this issue 1 year ago • 16 comments

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

dafxy avatar Feb 17 '24 01:02 dafxy

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

RedTartan04 avatar Feb 17 '24 09:02 RedTartan04

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.

chucktomasi avatar Feb 17 '24 14:02 chucktomasi

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

How would one set how much space to add?

PepikVaio avatar Feb 17 '24 16:02 PepikVaio

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.

dafxy avatar Feb 17 '24 18:02 dafxy

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)

RedTartan04 avatar Feb 18 '24 06:02 RedTartan04

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.

hakunamatatarr avatar Feb 18 '24 13:02 hakunamatatarr

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.

dafxy avatar Feb 19 '24 15:02 dafxy

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

atngames avatar Feb 21 '24 16:02 atngames

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

mb1986 avatar Feb 21 '24 16:02 mb1986

Any chance to get this working on the new release?

dafxy avatar Feb 29 '24 05:02 dafxy

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 avatar Mar 01 '24 13:03 builder-main

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

builder-main avatar Mar 01 '24 14:03 builder-main

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".

RedTartan04 avatar Mar 01 '24 14:03 RedTartan04

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.

builder-main avatar Mar 01 '24 14:03 builder-main

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.

RedTartan04 avatar Mar 01 '24 14:03 RedTartan04

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

atngames avatar Mar 01 '24 15:03 atngames

I found a very simple way to do this, by accident. The text tool can add or remove horizontal space in the middle of the document, also moving up or down the handwritten notes. We just need to place the text tool prompt at the place we want to add or remove space and hit enter or backspace. For some templates with rules, hitting enter or backspace three times gets the text down and realigned.

dafxy avatar Jul 12 '24 04:07 dafxy