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

Global linking blocks #294

Closed
haroldsnyers opened this issue Nov 29, 2020 · 6 comments
Closed

Global linking blocks #294

haroldsnyers opened this issue Nov 29, 2020 · 6 comments
Labels
awaiting release This has already been dealt with but is not yet available enhancement New feature or request
Projects

Comments

@haroldsnyers
Copy link

haroldsnyers commented Nov 29, 2020

problem
When copying a link of a block, if we paste it on another page, we will just get a link to that page (maybe if to that block). What I want is an additional button that enable us to copy the global link of a block?

What is a global link? It's a block that can be shown on multiple pages and when modified, it will be reflected on all the pages that contains that global linking block.

For now the solution is to copy the link block URL (https://www.notion.so/<url_to_remove>#<id_to_keep>). And then remove everything between the "www.notion.so/" and the # (including the #). Thus the new URL will be https://www.notion.so/<id_block>. Now we can copy this URL and then past it using ctrl+maj+v, then click on link page. This way, it gives the preview of the block and not just the link.

solution
I think the best way to implement this would be to add a button under "copy link" of the block. This button would take the same argument as the copy link and just apply a regex filter (^https://.*\# with substitution https://www.notion.so/) on it. For the last part when pasting the link as preview, I don't know if there is a way to bypass that we need to use maj to past it. However having that URL directly available would be a great plus.

@haroldsnyers haroldsnyers added the enhancement New feature or request label Nov 29, 2020
@admiraldus
Copy link
Contributor

i'm developing a module for this, don't worry.

@haroldsnyers
Copy link
Author

i'm developing a module for this, don't worry.

Oh nice, good to know, was on the brink of trying to implement it myself.

@alyssasmith0328
Copy link

@admiraldus this would be soo nifty! thank you!

@dragonwocky dragonwocky added this to approved in features Dec 5, 2020
@dragonwocky dragonwocky moved this from approved to work in progress in features Dec 5, 2020
@admiraldus
Copy link
Contributor

i'm developing a module for this, don't worry.

Oh nice, good to know, was on the brink of trying to implement it myself.

@admiraldus this would be soo nifty! thank you!

what do you think about this?
GIF
GIF

@haroldsnyers
Copy link
Author

i'm developing a module for this, don't worry.

Oh nice, good to know, was on the brink of trying to implement it myself.

@admiraldus this would be soo nifty! thank you!

what do you think about this?
GIF
GIF

Hey, seems perfect! I see you thought about global links for pages and blocks which awesome! Can't wait for the release!

@admiraldus
Copy link
Contributor

i'm developing a module for this, don't worry.

Oh nice, good to know, was on the brink of trying to implement it myself.

@admiraldus this would be soo nifty! thank you!

what do you think about this?
GIF
GIF

Hey, seems perfect! I see you thought about global links for pages and blocks which awesome! Can't wait for the release!

#345

@dragonwocky dragonwocky moved this from work in progress to awaiting release in features Dec 12, 2020
@dragonwocky dragonwocky added the awaiting release This has already been dealt with but is not yet available label Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting release This has already been dealt with but is not yet available enhancement New feature or request
Projects
No open projects
features
awaiting release
Development

No branches or pull requests

4 participants