-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Revision of sharing component, adds url copy to clipboard feature #10754
Conversation
This comment has been minimized.
This comment has been minimized.
@@ -82,15 +82,15 @@ import Vue from "vue"; | |||
import BootstrapVue from "bootstrap-vue"; | |||
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; | |||
import { library } from "@fortawesome/fontawesome-svg-core"; | |||
import { faClipboard, faEdit } from "@fortawesome/free-regular-svg-icons"; | |||
import { faLink, faEdit } from "@fortawesome/free-solid-svg-icons"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is faEdit available in both regular and solid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
… reactive flag to hide edit field
447f5a6
to
e9f2143
Compare
@guerler A nice next step would be to fix up 'share with indivdiual user' so that it doesn't load a new page, but this is a great start and it's working well. Looks nice. |
This seems to remove the need to set 'Also make all objects within the history accessible.', just checking that that's intended, right? If so, that's fantastic, makes sharing SO much less bugprone on EU and other servers that enforce dataset privacy by default within history. |
This PR revises the sharing component by removing legacy jquery helpers and introducing a slug input component. Additionally it adds a clipboard feature, allowing users to copy the url. It also applies conventional naming and formatting in consensus with newer components and use the font awesome components to render icons. Fixes #10732.