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

Revision of sharing component, adds url copy to clipboard feature #10754

Merged
merged 15 commits into from
Nov 20, 2020

Conversation

guerler
Copy link
Contributor

@guerler guerler commented Nov 18, 2020

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.

image

@nsoranzo

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";
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guerler guerler marked this pull request as ready for review November 20, 2020 13:06
@dannon
Copy link
Member

dannon commented Nov 20, 2020

@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.

@dannon dannon merged commit e0e11f6 into galaxyproject:dev Nov 20, 2020
jmchilton added a commit to jmchilton/galaxy that referenced this pull request Nov 21, 2020
mvdbeek pushed a commit to mvdbeek/galaxy that referenced this pull request Nov 22, 2020
mvdbeek pushed a commit to mvdbeek/galaxy that referenced this pull request Nov 22, 2020
mvdbeek pushed a commit to mvdbeek/galaxy that referenced this pull request Nov 22, 2020
@hexylena
Copy link
Member

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.

@guerler guerler deleted the history_clipboard branch February 13, 2022 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a button to copy shared URLs to the clipboard
4 participants