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

Popup Quick reference #43

Closed
hellrazorx64 opened this issue Nov 27, 2022 · 4 comments
Closed

Popup Quick reference #43

hellrazorx64 opened this issue Nov 27, 2022 · 4 comments
Labels

Comments

@hellrazorx64
Copy link

hellrazorx64 commented Nov 27, 2022

As I'm a real lover of Perlite, I'm thinking of ways to make it what is already better than others, even better.

Premise: It's hard to make people read, don't get them stuck in a maze when they finally accept to start.

In thought of making notes flow, I thought it could be great to have contextual information as ''hyperlinked text'' inside a document.
If I'm not mistaking, obsidian does not support anything like that. (that I know of)

The structure.
A hidden folder within the vault containing quick definitions of words:
.words/
-Browser.md
-Shellcode.md
-Anything.md

Let's then suppose you want the text to flow and let the reader go through the opened document without too much distraction:

Important information

Part1

First you will have to understand that everything you will do will be in your [[Browser]] and no where else. Make sure you understand what [[Shellcode]] throughout this procedure, and never stop reading this document until it's finished.

......
.....

For example when the user will click
[[Shellcode]]
Instead of jumping to the .md file , it could open a closable popup window (just like the (?) icon a the bottom of perlite which is a mardown file!!!!)

image

It looks like lots of things are already there in the php to achieve this but the concerns are:

  • Of course the ''popup links'' cannot alter the normal [[ link ]] behavior. So something should be added in order for Perlite to recognize the reference as a <> and not jump to the document.
  • Also this special action should not interfere with obsidian documents. Ideally this special ''character'' or anything to make it work, should not be visible in the readable obsidian original, but I guess I might be pushing a bit far.

I believe this kind of tool could really help picking up really unadvanced users and help them hop along without slowing down having to explain what a [[Operating Sytem]] is or what is an [[Ethernet]] connection.

Basically, building a dictionary within the vault, that can even link to full exhaustive .md documents if the readers want to go deeper.

and again, thanks for this amazing tool.

@hellrazorx64 hellrazorx64 added the enhancement New feature or request label Nov 27, 2022
@secure-77
Copy link
Owner

Hi @hellrazorx64,

Thanks for the great idea! I already thought about something like this, the easiest solution should be to just change the behavior for hidden files that start with a . (dot). That way you can just link these files through Obsidian, but these "helper" files don't show up in Perlite, on click (or maybe only on hover) I just have to check if the file starts with a dot and then change the behavior to show a modal window.

I will put this on my to do list 👍

@secure-77 secure-77 added the To Do on the to do list label Jan 22, 2023
@secure-77 secure-77 mentioned this issue Jan 22, 2023
@hellrazorx64
Copy link
Author

Hi @hellrazorx64,

Thanks for the great idea! I already thought about something like this, the easiest solution should be to just change the behavior for hidden files that start with a . (dot). That way you can just link these files through Obsidian, but these "helper" files don't show up in Perlite, on click (or maybe only on hover) I just have to check if the file starts with a dot and then change the behavior to show a modal window.

I will put this on my to do list 👍

Thanks for considering,

On hover could be great, not sur how it will behave on mobile, also:
-The use of ''dummy" dotted files for triggering this behavior is good I guess.What could be good also to cover every aspect is:

  • Allow links in this modal window to the "Actual" full concept article for example

I don't see why the links would not work but I'm just saying it might be used.

Again thanks for your amazing work

@secure-77
Copy link
Owner

secure-77 commented Jan 28, 2023

This is currently in development but there is a open poll about the behavior for mobile devices. So for all who are reading and waiting for this: please join the Perlite Discord and vote on the "perlite-news" channel for your preferred solution.

Thanks!

@secure-77
Copy link
Owner

Hey, this is implemented in 1.5.2 on mobile you have the possibility to turn on popup instead of direct links (check the settings) and you have also always the possibility to create internal links as popup via [linkToFile|Custom Name|] (notice the last | which is the indicator for using a popup instead of direct link)

I will add this to the wiki

@secure-77 secure-77 added implemented / fixed and removed To Do on the to do list labels Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants