• Lyza Danger Gardner's avatar
    Adjust UI for sharing annotations on non-shareable documents · 53b33217
    Lyza Danger Gardner authored
    In both the share-this-annotation and share-this-page's-annotations
    components, provide a UI path for when the annotation's URI or the
    page's URI (respectively) are not web-available. That is, to be
    "shareable in context", the URI in question needs to have an
    `http:` or `https:` protocol.
    
    For "share this page's annotations" when the page is not web-accessible,
    explain why the page's annotations can't be shared in context and don't
    provide a sharing link, as it won't work.
    
    For "share this annotation," when the annotation's URI (document) isn't
    web-accessible, provide some explanatory text about how it can't be
    shared in-context, but provide a link to the single-annotation view,
    when available.
    
    These changes are intended to avoid confusion when users try to share an
    annotation or a set of annotations that have been made on a local
    (e.g. PDF) document.
    
    Some SCSS patterns have also been adjusted to accommodate more flexible
    styling of the share-single-annotation panel. The width of the compact
    panel pattern has been increased slightly so that the new wording
    variant for not-shareable-in-context single annotations doesn't risk
    taking up too much vertical space.
    
    Fixes #2786
    53b33217
Name
Last commit
Last update
..
test Loading commit data...
account-id.js Loading commit data...
annotation-metadata.js Loading commit data...
annotation-sharing.js Loading commit data...
build-thread.js Loading commit data...
collections.js Loading commit data...
copy-to-clipboard.js Loading commit data...
date.js Loading commit data...
disable-opener-for-external-links.js Loading commit data...
dom.js Loading commit data...
fetch-config.js Loading commit data...
group-list-item-common.js Loading commit data...
group-organizations.js Loading commit data...
groups.js Loading commit data...
immutable.js Loading commit data...
is-sidebar.js Loading commit data...
is-third-party-service.js Loading commit data...
memoize.js Loading commit data...
oauth-client.js Loading commit data...
observe-element-size.js Loading commit data...
on-activate.js Loading commit data...
permissions.js Loading commit data...
postmessage-json-rpc.js Loading commit data...
random.js Loading commit data...
retry.js Loading commit data...
search-filter.js Loading commit data...
sentry.js Loading commit data...
service-context.js Loading commit data...
session.js Loading commit data...
state.js Loading commit data...
tabs.js Loading commit data...
theme.js Loading commit data...
thread-annotations.js Loading commit data...
thread.js Loading commit data...
time.js Loading commit data...
typing.js Loading commit data...
unicode.js Loading commit data...
url.js Loading commit data...
version-data.js Loading commit data...
view-filter.js Loading commit data...
visible-threads.js Loading commit data...
watch.js Loading commit data...