[FEATURE] UI: add UI\Component\Transfer component family#11570
Draft
thibsy wants to merge 2 commits into
Draft
Conversation
* Copy: to indicate information can be copied (to the clipboard) * Share: to indicate information can be shared * QR-code: to indicate a QR-code can be shown
* Add `UI\Component\Transfer` component family, for components to transfer specific information from one medium or context to another, using different means of transportation. * Add `UI\Component\Transfer\Link` component, for transferring links such as the permanent-link.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi folks,
This PR implements a [feature request](https://docu.ilias.de/go/wiki/wpage_8762_1357) to visualise the permanent-link inside the footer as a QR-code, in addition to the copying mechanism.
To implement this we propose a new transfer UI component family, whose purpose is to provide components which allow users to transfer specific information from one medium or context to another. The first of which is a
UI\Component\Transfer\Linkcomponent, for transferring a link such as the permanent-link.We propose a new component family instead of a new
UI\Component\Link\Sharingcomponent, because a family allows for variety in information, whereas a new link component would have only allowed us to transfer links. We believe transferring information will also be useful for different purposes as well, like inline- or multiline-text (notes/messages), inline- or multiline-code (KS documentation), tokens (anonymous access), etc. The new family allows us to provide semantic descriptions of these transfers in the future.Known caveats:
Summary:
UI\Component\Transfercomponent family, for components to transfer specific information from one medium or context to another, using different means of transportationUI\Component\Transfer\Linkcomponent, for transferring links such as the permanent-linkUI\Component\Symbol\Glyph\Glyphvariations for:UI\Component\MainControls\Footer::withPermanentLink(), so it uses aUI\Component\Transfer\Linkfor renderingKind regards,
@thibsy