Comments (2)
Currently the UV has separate Share and Embed buttons in the footer. By default the Embed button is disabled via an embedEnabled
config option. Clicking on the Share button shows the Share Dialogue which contains 'Share' and 'Embed' tabs. If the Embed button is enabled in the footer, clicking on it opens the Share Dialogue and defaults to the 'Embed' tab.
As per Stanford's design proposals:
There should be a single Share button in the footer which triggers an overlaid Share Dialogue that contains all share and embed options (without tabs).
The dialogue's content should resize responsively to fit the available horizontal space.
Additionally, there should be a single embedEnabled
config option that can be set globally in the UV config file (as opposed to just in the footer panel). If this is disabled, the embed option in the Share Dialogue will not be visible.
There should also be the option to control the visibility of the embed option via the manifest using a UV custom extension, e.g: https://wellcomelibrary.org/iiif/b19886780/manifest
{
"@context": "http://universalviewer.io/context.json",
"@id": "https://wellcomelibrary.org/iiif/uiHints/b19886780",
"profile": "http://universalviewer.io/ui-extensions-profile",
"disableUI": [
"embed"
]
}
If this is set, it will override the UV config option.
from user-stories.
As an organisation, I want to be able to disable embed or share once and have the option hidden everywhere on the viewer.
from user-stories.
Related Issues (20)
- Search generated text
- View search results of generated text
- View highlighted search results
- View a modern interpretation of the generated text
- Accessible display of generated text
- Copy generated text
- Download generated text
- View options for text and/or image display
- Clickable links within the generated text HOT 2
- View information from an external source
- View citation source
- Cite text
- Adjust text size
- Swap text colour and background HOT 1
- View copyright status HOT 2
- Handle long texts
- Transcript Source Formats HOT 2
- Support text display at both page and document/sequence levels HOT 1
- display attribution and license data of canvases in metadata panel
- Title attribute for thumbnails in contents pane
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from user-stories.