Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: embed pop-ups in enriched output HTML #22

Open
EmanuelFaria opened this issue Nov 25, 2022 · 0 comments
Open

Feature request: embed pop-ups in enriched output HTML #22

EmanuelFaria opened this issue Nov 25, 2022 · 0 comments

Comments

@EmanuelFaria
Copy link

  1. For any link to wikidata entries we've added to text, mousing over that link should trigger a pop-up window displaying the relevant comprehension-enhancing information from that entry.
  2. In the same way, whenever we have added other indicators to "comprehension-enhancing information" in the text (for example, highlighting a sentence from the source text that includes "low confidence level"), a pop-up window should display the relevant information that assists the readers comprehension, or alerts them to something that puts that information into perspective. (see example below)
  3. If the information in the pop-up window itself contains a link that could further increase the reader's comprehension, recursive pop-up windows should be triggered accordingly.

(Basic example code for generating such a pop-up is here: http://jsfiddle.net/yboss/q29tP )

Example contents of pop-up window for text highlighted in red to indicate "low confidence":


Low Confidence Level [^1]

Confidence Level: Low [^2] (highlight colour for "Low" is Red)
KEY[^3]

[UNREDACTED SOURCE TEXT GOES HERE...] [^4]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec felis metus, feugiat a ex in, tincidunt pharetra ipsum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean porta eget lorem sit amet viverra. Quisque ac pretium justo.




  • [^1] Bold Heading explains the "special formatting" type/meaning
  • [^2] Typical blue underlined hyperlink to the wikidata entry — which itself can be moused-over to display a recursive pop-up window displaying the description for the defined term from the wikidata entry
  • [^3] Include also a KEY displaying examples of all the other highlight colour indicators for this category: Low(red), Medium(amber), High(green)
  • [^4] Complete, un-redacted sentence from the original source material (Plain text) *including the phrase that was the signal for us to markup the html as such* (i.e. "low confidence")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant