Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
b93c863
update cover image generation logic to show uncropped images
yl5682 Apr 1, 2026
f244792
update cover image generation logic to show uncropped images (collect…
yl5682 Apr 1, 2026
a79161f
adjust foreground-background contrast for full description modal
yl5682 Apr 2, 2026
51bac2d
add an unescape filter to render html entities for collection descrip…
yl5682 Apr 2, 2026
380689d
add spacing between paragraphs in collection full description modal
yl5682 Apr 2, 2026
ab0a3e8
add a button/modal for collection metadata
yl5682 Apr 2, 2026
9a781d7
fix a missing include
yl5682 Apr 7, 2026
ce3890b
improve contrast for flatpage links
yl5682 Apr 7, 2026
69c6b81
update the collection hero layout and styles
yl5682 May 10, 2026
de4a593
hide pagination when there is no item to show
yl5682 May 10, 2026
abf5d7c
update flatpage link colors
yl5682 May 12, 2026
67d8e5f
make the vertical spacing between title and content consistent
yl5682 May 12, 2026
ae13442
update breadcrumb for profile pages
yl5682 May 13, 2026
75b9e47
style account overview page
yl5682 May 13, 2026
0f955fd
update other sections of user profile
yl5682 May 13, 2026
efa9fdc
polish user profile forms
yl5682 May 13, 2026
bc6fec9
update the logout uk-alert-success banner style
yl5682 May 13, 2026
87b402b
style the notification modal
yl5682 May 13, 2026
5bdb2bb
add pagination on the bottom
yl5682 May 13, 2026
8df36e0
update login modal social auth
yl5682 May 13, 2026
0db4c64
stretch page to fill entire viewport
yl5682 May 13, 2026
e6208ab
add label for homepage search field
yl5682 May 13, 2026
1d21373
accessibility: search and my account
yl5682 May 13, 2026
f113713
accessibility: add text to search page button
yl5682 May 13, 2026
ecf8adf
accessibility: search page form fields
yl5682 May 13, 2026
fcd5969
accessibility: volume page fields
yl5682 May 13, 2026
4f73859
accessibility: aria-label
yl5682 May 13, 2026
8d2dd18
Merge branch 'develop' into ui-bug-triage
yl5682 May 13, 2026
ab6b01a
[BUG] Text overlay toggle obstructing text
yl5682 Jun 10, 2026
19a1752
style login page (unstyled)
yl5682 Jun 11, 2026
d916768
render human-readable text on collections page
yl5682 Jun 11, 2026
6181c32
fix an issue with annotation loading
yl5682 Jun 11, 2026
7842aa1
skip MATOMO if unavailable
yl5682 Jun 12, 2026
6851184
Merge branch 'develop' into ui-bug-triage
yl5682 Jun 12, 2026
fca4935
eliminate warnings
yl5682 Jun 12, 2026
2b2dd7d
update wagtail to remove deprecation warnings
yl5682 Jun 12, 2026
8ad8f4f
BUG: Improve formatting of collection hero image and its metadata
yl5682 Jun 12, 2026
7c3ec71
handle html entities accordingly for collection view/pages
yl5682 Jun 12, 2026
9cf7e54
set default elasticsearch namespaces
yl5682 Jun 12, 2026
ff69351
address collection description html entries issue
yl5682 Jun 12, 2026
cb25a7a
use libsass for runtime compilation for now
yl5682 Jun 12, 2026
0da3d06
change annotation text color
yl5682 Jun 12, 2026
4e1ec55
fix annotation search query
yl5682 Jun 12, 2026
e636c63
prevent the annotator from being obstructed by the modals
yl5682 Jun 12, 2026
55404e1
adjust annotation index button css
yl5682 Jun 13, 2026
8ced497
address annotation and search result misalignments
yl5682 Jun 13, 2026
eff0e76
fix inconsistent pdf download button
yl5682 Jun 13, 2026
3e948ab
fix on-page annotation count update issues
yl5682 Jun 13, 2026
381ea29
Merge branch 'develop' into ui-bug-triage
yl5682 Jun 16, 2026
9972cbe
Merge branch 'develop' into ui-bug-triage
yl5682 Jul 9, 2026
456ffab
Improve formatting of collection hero image and its metadata
yl5682 Jul 9, 2026
f5e8c31
add missing aria label for accessibility compliance
yl5682 Jul 9, 2026
cc9519d
add missing aria labels
yl5682 Jul 9, 2026
62f70e3
add aria labels to achieve accessibility compliance
yl5682 Jul 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions apps/static/css/readux.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ html, body {

main { flex-grow: 1; }

/* Home page navigation transparent, light text/icons over dark hero */
/* Home page navigation: light text/icons over a dark scrim so the text keeps
sufficient contrast (a scrim WAVE can detect, since the hero background is an
image the checker cannot evaluate). */
.home-nav {
background-color: rgba($rx-color-midnight-blue, 0.85);
nav { background-color: transparent !important; }
a, .brand-logo, .brand-tagline { color: $color-white !important; }
svg line, svg path, svg circle, svg polygon, svg polyline, svg rect {
Expand Down Expand Up @@ -73,7 +76,7 @@ main { flex-grow: 1; }
/* Text & headings */
.paragraph { color: $rx-color-midnight-blue; line-height: normal; }
.title { color: $rx-color-midnight-blue; font-size: x-large; font-weight: bold; }
.hero { padding-top: 15vh; color: $color-white; }
.hero { padding-top: 15vh; padding-bottom: 2rem; color: $color-white; background-color: rgba($rx-color-midnight-blue, 0.85); }
.uk-container h2 { margin-bottom: 0.35rem;}

/* Utilities */
Expand Down
2 changes: 1 addition & 1 deletion apps/static/js/components/InfoUrlExternal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
</div>
<div class="rx-info-content-value">
<a :href="localUrl" class="rx-anchor" target="_blank">{{ localUrl }}</a>
<a :href="localUrl" class="rx-anchor" target="_blank" rel="noopener" :aria-label="`${label} (opens in a new tab)`">{{ localUrl }}</a>
</div>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion apps/static/js/components/InfoUrlSingle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</div>
</div>
<div class="rx-info-content-value">
<a :href="url" class="rx-anchor" target="_blank">{{ url }}</a>
<a :href="url" class="rx-anchor" target="_blank" rel="noopener" :aria-label="`${label} (opens in a new tab)`">{{ url }}</a>
</div>
</div>
</template>
Expand Down
5 changes: 3 additions & 2 deletions apps/static/js/components/InfoUrlUnit.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="rx-info-content-value uk-flex-between rx-flex">
<a :href="url" class="rx-anchor" target="_blank">{{ url }}</a>
<a :href="url" class="rx-anchor" target="_blank" rel="noopener" :aria-label="`${label} (opens in a new tab)`">{{ url }}</a>
<div>
<span class="uk-label rx-label-copy" @click="copyText">
<span uk-icon="icon: copy; ratio: 0.5"></span>
Expand All @@ -14,7 +14,8 @@
export default {
name: "InfoUrlUnit",
props: {
url: { type: String, required: true }
url: { type: String, required: true },
label: { type: String, default: "External link" }
},
methods: {
async copyText() {
Expand Down
2 changes: 2 additions & 0 deletions apps/static/js/components/OcrInspector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
<input
type="checkbox"
id="ocr-overlay"
aria-label="Overlay OCR on Page"
v-model="overlayChecked"
:disabled="overlayDisabled"
@change="onOverlayToggle"
>
<div class="uk-switch-slider"></div>
<span class="sr-only">Overlay OCR on Page</span>
</label>
<span style="flex: 1;">Overlay OCR on Page</span>
</div>
Expand Down
3 changes: 2 additions & 1 deletion apps/static/js/components/VolumeSearch.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<template>
<div class="rx-volume-search">
<div class="uk-search uk-search-default rx-page-search-container">
<span uk-search-icon></span>
<span uk-search-icon aria-hidden="true"></span>
<input
class="uk-search-input"
type="search"
id="volume-search"
placeholder="Search in volume text or annotations"
aria-label="Search in volume text or annotations"
name="q"
v-model="keyword"
@keypress.enter="getSearchResults"
Expand Down
8 changes: 4 additions & 4 deletions apps/templates/_home/_featured_collections.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ <h2 class="volume-title-inline">
</div>

<div class="uk-hidden@s uk-light">
<a class="uk-position-center-left uk-position-small" href uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right uk-position-small" href uk-slidenav-next uk-slider-item="next"></a>
<a class="uk-position-center-left uk-position-small" href aria-label="Previous collections" uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right uk-position-small" href aria-label="Next collections" uk-slidenav-next uk-slider-item="next"></a>
</div>

<div class="uk-visible@s">
<a class="uk-position-center-left-out uk-position-small" href uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right-out uk-position-small" href uk-slidenav-next uk-slider-item="next"></a>
<a class="uk-position-center-left-out uk-position-small" href aria-label="Previous collections" uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right-out uk-position-small" href aria-label="Next collections" uk-slidenav-next uk-slider-item="next"></a>
</div>

</div>
Expand Down
8 changes: 4 additions & 4 deletions apps/templates/_home/_featured_volumes.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ <h2 class="volume-title-inline">
</div>

<div class="uk-hidden@s uk-light">
<a class="uk-position-center-left uk-position-small" href uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right uk-position-small" href uk-slidenav-next uk-slider-item="next"></a>
<a class="uk-position-center-left uk-position-small" href aria-label="Previous volumes" uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right uk-position-small" href aria-label="Next volumes" uk-slidenav-next uk-slider-item="next"></a>
</div>

<div class="uk-visible@s">
<a class="uk-position-center-left-out uk-position-small" href uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right-out uk-position-small" href uk-slidenav-next uk-slider-item="next"></a>
<a class="uk-position-center-left-out uk-position-small" href aria-label="Previous volumes" uk-slidenav-previous uk-slider-item="previous"></a>
<a class="uk-position-center-right-out uk-position-small" href aria-label="Next volumes" uk-slidenav-next uk-slider-item="next"></a>
</div>

</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/templates/_home/_login_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Login Modal -->
<div id="login-modal" uk-modal>
<div class="uk-modal-dialog custom-modal uk-padding">
<button class="uk-modal-close-default uk-close-large uk-padding-small" type="button" uk-close>
<button class="uk-modal-close-default uk-close-large uk-padding-small" type="button" uk-close aria-label="Close">
</button>
<!-- Modal Header -->
<div class="modal-header">
Expand Down
6 changes: 3 additions & 3 deletions apps/templates/_page/_urls.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<info-url-multiple label="Collection Manifest">
{% for col in volume.collections.all %}
<info-url-unit url="https://{{ request.META.HTTP_HOST }}{% url 'CollectionRender' 'v2' col.pid %}">
<info-url-unit label="Collection Manifest" url="https://{{ request.META.HTTP_HOST }}{% url 'CollectionRender' 'v2' col.pid %}">
</info-url-unit>
{% endfor %}
</info-url-multiple>
Expand All @@ -26,7 +26,7 @@
{% if volume.external_links.see_also %}
<info-url-multiple label="See Also">
{% for link in volume.external_links.see_also %}
<info-url-unit url="{{ link }}">
<info-url-unit label="See Also" url="{{ link }}">
</info-url-unit>
{% endfor %}
</info-url-multiple>
Expand All @@ -35,7 +35,7 @@
{% if volume.external_links.related %}
<info-url-multiple label="External Links">
{% for link in volume.external_links.related %}
<info-url-unit url="{{ link }}">
<info-url-unit label="External Links" url="{{ link }}">
</info-url-unit>
{% endfor %}
</info-url-multiple>
Expand Down
19 changes: 11 additions & 8 deletions apps/templates/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1 class="collection-title uk-margin-remove uk-text-bold" id="collection-title"
<div class="hero-image-column">
<div class="hero-image-wrapper">
<div class="image-placeholder"></div>
{% if collection.metadata %}
{% if collection.collection_image_title or collection.collection_image_creator or collection.collection_image_summary %}
<button
class="info-icon-button"
uk-toggle="target: #modal-metadata"
Expand Down Expand Up @@ -86,16 +86,19 @@ <h2 class="uk-text-bold">{{ collection.label }}</h2>
</div>
{% endwith %}

{% if collection.metadata %}
{% if collection.collection_image_title or collection.collection_image_creator or collection.collection_image_summary %}
<div id="modal-metadata" class="uk-modal" uk-modal>
<div class="uk-modal-dialog uk-modal-body uk-margin-auto-vertical">
<button class="uk-modal-close-default" type="button" uk-close></button>
<h2 class="uk-modal-title uk-text-bold">Metadata and Image Information</h2>
{% for label, value in collection.metadata|metadata_items %}
<p><strong>{{ label }}:</strong> {{ value|unescape_html }}</p>
{% empty %}
<p>No image information available.</p>
{% endfor %}
{% if collection.collection_image_title %}
<p><strong>Title:</strong> {{ collection.collection_image_title|unescape_html }}</p>
{% endif %}
{% if collection.collection_image_creator %}
<p><strong>Creator:</strong> {{ collection.collection_image_creator|unescape_html }}</p>
{% endif %}
{% if collection.collection_image_summary %}
<p><strong>Summary:</strong> {{ collection.collection_image_summary|unescape_html }}</p>
{% endif %}
</div>
</div>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions apps/templates/snippets/_search_box.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="search-bar uk-padding-small">
<form action="{% url 'search' %}" method="get">
<label for="q" class="uk-hidden">Search</label>
<input class="uk-input" type="text" name="q" id="q" placeholder="Search for a volume in the library">
<label for="q" class="sr-only">Search for a volume in the library</label>
<input class="uk-input" type="text" name="q" id="q" placeholder="Search for a volume in the library" aria-label="Search for a volume in the library">
<button type="submit" class="uk-button">
Search
</button>
Expand Down
Loading