joplin icon indicating copy to clipboard operation
joplin copied to clipboard

No way to search from inside a note on Android

Open dbogdanov opened this issue 5 years ago • 23 comments

There is no way to search for text in a note from inside the note view on Android. Desktop versions of Joplin provide this functionality, but not on Android. There are previous issues describing this problem that were automatically closed (see #382).

As I understand, b189814 adds an ability to highlight the text within notes, so one can search from the main note search menu, but this is useless and using this function is not intuitive when a user is already inside a note.

The open menu on the screenshot should contain another option to "Search in this note".

188

Environment

Joplin version: 1.0.316 Platform: Android

dbogdanov avatar Jan 28 '20 01:01 dbogdanov

I would like to work on this @CalebJohn @dbogdanov can you assign me

amitsin6h avatar Jan 29 '20 06:01 amitsin6h

I am working on this issue :man_technologist:

amitsin6h avatar Jan 29 '20 09:01 amitsin6h

Mentors please review my PR #2423 and let me know if it requires any changes. @tessus @CalebJohn @laurent22

amitsin6h avatar Jan 31 '20 19:01 amitsin6h

@laurent22 can you please help me with this, I tried to forceUpdate the component based on props changes but does not work, also I created ref for the webview and thought to refresh whenever search keyword props changes but still the highlight was not working do you have a suggestion for me

amitsin6h avatar Feb 14 '20 17:02 amitsin6h

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar Apr 15 '20 13:04 stale[bot]

Not stale.

dbogdanov avatar Apr 15 '20 14:04 dbogdanov

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar May 30 '20 14:05 stale[bot]

Not stale.

dbogdanov avatar Jun 02 '20 16:06 dbogdanov

Searching in long notes is quite essential, both in the Android and desktop client.

cosminribo avatar Aug 13 '20 09:08 cosminribo

@amitsin6h is there new progress on this feature?

marcolaux avatar Nov 15 '20 13:11 marcolaux

Is anyone currently working on this issue?

arpitg24 avatar Feb 22 '21 07:02 arpitg24

@arpitg24 not that I'm aware of.

tessus avatar Feb 24 '21 00:02 tessus

I would like to work on this. @tessus can you please assign this issue to me?

arpitg24 avatar Feb 24 '21 09:02 arpitg24

We don't assign issues. If you can work on it then please do so.

laurent22 avatar Feb 24 '21 11:02 laurent22

I have added a 'Search in this note' button to the side menu, I'm trying to figure out a way to get text input from the user. Can anyone help me with this, I'm planning to use some sort of custom alert to get input from the user?

arpitg24 avatar Feb 28 '21 16:02 arpitg24

@arpitg24 24 days on, is this effort ongoing or DOA?

Pilastr avatar Mar 24 '21 21:03 Pilastr

@Pilastr I dont think i'd be able to finish it since it would require a significant amount of code writing.

arpitg24 avatar Mar 25 '21 05:03 arpitg24

@dbogdanov @laurent22 I would like to work on this issue. Is anyone assigned yet or I can work on it?

TheSYNcoder avatar Mar 27 '21 06:03 TheSYNcoder

It's not on GSoC, and I'm not certain it can be done due to the buggy text input control (broken selection API, and I doubt scrolling is much better).

laurent22 avatar Mar 27 '21 08:03 laurent22

It's not on GSoC, and I'm not certain it can be done due to the buggy text input control (broken selection API, and I doubt scrolling is much better).

@laurent22 Okay thanks. I will try to look into the codebase if i can do something. Can you suggest some bugs that i can solve that can be related to GSoC. Thanks.

TheSYNcoder avatar Mar 27 '21 08:03 TheSYNcoder

Looking at the CodeMirror 6 basic-setup plugin and the CodeMirror 6 documentation, it looks like we can show/hide the existing search panel if we enable it! This would only apply to the beta editor, though...

Looking at the CodeMirror 6 basic-setup plugin and the CodeMirror 6 documentation, it looks like we can show/hide the existing search panel if we enable it! This would only apply to the beta editor, though...

Indeed that would be a great solution if we can simply rely on the built-in search.

laurent22 avatar Apr 10 '22 16:04 laurent22

I want to add my vote for being able to search while viewing an individual note. I found a discussion that searching within a single note is available if I edit the note. Indeed, that does work. But this is not ideal. I spend more time viewing notes than I do editing them (thankfully.) So being able to search a note in view mode would be very helpful.

guy-rouillier avatar Mar 12 '24 07:03 guy-rouillier