leon icon indicating copy to clipboard operation
leon copied to clipboard

Integrate Leon into system context menu for text

Open NikunjKhangwal opened this issue 1 year ago • 2 comments

Maybe something like this? IMG_20240330_133046

I think it would be easier to use if we can stay in the current app and perform actions through a pop-up window instead of switching to Leon

NikunjKhangwal avatar Mar 30 '24 08:03 NikunjKhangwal

Hello, this is from Untracker, right? It seems they use Intent android.intent.action.PROCESS_TEXT to integrate into the System context menu for text.

Of course I could do the same for Leon but since this is a system UI, Leon could only clean URLs with the default sanitizers and settings ~~since it's not possible to display any custom UI in this sheet~~ since the text is replaced in the context of the calling application.

svenjacobs avatar Apr 02 '24 06:04 svenjacobs

That's totally fine. Something is better than nothing

NikunjKhangwal avatar Apr 02 '24 07:04 NikunjKhangwal

This has been implemented and will be available in the next release.

svenjacobs avatar Jun 01 '24 15:06 svenjacobs

Thanks a lot

NikunjKhangwal avatar Jun 01 '24 16:06 NikunjKhangwal

@all-contributors please add @NikunjKhangwal for ideas

svenjacobs avatar Jun 01 '24 17:06 svenjacobs

@svenjacobs

I've put up a pull request to add @NikunjKhangwal! :tada:

allcontributors[bot] avatar Jun 01 '24 17:06 allcontributors[bot]