-
Notifications
You must be signed in to change notification settings - Fork 94
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
Replace MenuBubble with a menu bar entry for links #2519
Conversation
I'm trying to test it locally, but I'm having errors to build @susnux |
That is not a issue of this PR, but a problem within the current 5b5d6cf added |
I'm not having this issue in master @susnux, but I will check, thanks. |
I think this is triggered by using the |
Looks like a "npm version problem" Try to use |
@vinicius73 Normally I use node16 + npm8 (as node14 is EOL and my distribution does not ship it anymore), but for this I tried also node14+npm7: Result is the same there is a package version mismatch (same error as above). This issue is related to the Now normally npm installs unsatisfied |
Node 14 is still maintained as last LTS for 10 more months |
/rebase |
Testing inserting links to files, to directories, and also inserting links while nothing is selected to test if the correct file name is used. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Rebased manually there were some conflicts with the cypress part. |
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
I moved the PR to #2665, so the assets can be compiled (and the node CI test succeeds), as suggested here #2628 (comment) |
Summary
This replaces the popover MenuBubble used for inserting links with a menu entry in the menu bar.
This also allows to add links also to directories, previously only files were allowed as link targets.
Added cypress tests as well. Testing inserting links to files, to directories,
and also inserting links while nothing is selected to test if the correct file name is used.
Some the menu order is slightly changed to prevent the link menu to get hidden, like for the callouts
Actions
must not get hidden in the submenu (nesting does not work for the menu).Another feature introduced with this change is the ability to insert links to files and automatically use
the filename as the link text.