-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Good enhancement for the Reader we may already implement is context-driven help. When a user selects the text during reading, the context menu below is shown in a second above the selected text (or below the text if there is not enough free space).
The menu design includes the annotation colors and primarily was designed for annotating. Although, the first line of the menu is useful even without annotation functionality and may include:
- copying the text
- searching in web
searching in Wikipedia(see below 👇)
Also, where is possible we can append the menu by contextual wikification. For example, when there exists a corresponding Wikipedia page for the selected text (when a couple of words selected only) we show a term description above the menu.
It would be nice to add 'Search in CORE option too. However, this should be investigated more deeply because people would not like to change the context when they are reading the paper.
Inspiration
The context menu feature is borrowed from Google Play Books app for Android. You may find how it works if install the app and in the reading mode select the text.
The wiki-notification may be explored on any Wikipedia page when you hover on any link. You will see the brief description of the term you are pointing at.
Open questions
- How triggering a menu can be implemented in the React flow?
- How the menu look can be customized?
- Where the menu actions should be stored and how the data should update?
- How actions should be performed?
More sketches
Let me know if you need more sketches. I will append these below.
