Skip to content

Commit 14b001c

Browse files
rdhyeeclaude
andcommitted
Wireframe quick wins: lightbox gallery, vocab table, globe reframe
#97 - Enable lightbox for Photo Gallery: adds `lightbox: true` to _quarto.yml. The existing `group="gallery"` attributes on all 6 images now activate GLightbox with prev/next arrow navigation. #100 - Improve Vocabularies table readability: replace broken auto- generated listings with clean markdown tables. Remove redundant collapsible callout. Add section headings for Core and Extension vocabularies. Link extensions to their GitHub repos (pages are 404). #77 - Globe hero reframe: raise camera to center globe in viewport (was sitting low). Slow rotation from 15s to 18s per loop. Reduce file size from 3.8 MB to 1.6 MB (90 frames, quality 35). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3231e7a commit 14b001c

4 files changed

Lines changed: 24 additions & 31 deletions

File tree

_quarto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ format:
134134
number-sections: true
135135
anchor-sections: false
136136
number-depth: 8
137+
lightbox: true
137138
theme: cosmo
138139
css: styles.css
139140

assets/isamples_globe.webp

-2.19 MB
Loading

models/index.qmd

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
---
22
title: iSamples Vocabularies
33
subtitle: Vocabularies for interoperable sample description
4-
listing:
5-
- id: vocabulary-listing
6-
contents: "generated/vocabularies"
7-
page-size: 33
8-
sort-ui: false
9-
filter-ui: false
10-
sort: "title asc"
11-
fields: [title, subtitle]
12-
type: table
13-
- id: extension-listing
14-
contents: "generated/extensions"
15-
page-size: 33
16-
sort-ui: false
17-
filter-ui: false
18-
sort: "title asc"
19-
fields: [title, subtitle]
20-
type: table
214
number-sections: false
225
---
236

@@ -28,23 +11,25 @@ See the [iSamples Metadata Model](https://isamplesorg.github.io/metadata/) for t
2811
The authoritative versions of iSamples vocabularies are maintained as RDF/SKOS files in the [iSamples GitHub repositories](https://github.com/isamplesorg/). Vocabulary terms are also registered with the [Australian Research Data Commons (ARDC) Research Vocabularies](https://vocabs.ardc.edu.au/).
2912
:::
3013

31-
## Taxonomies {.unnumbered}
14+
## Core Vocabularies {.unnumbered}
3215

3316
One of the foundations for interoperability of iSamples material sample descriptions is the definition of vocabularies for the categorization of sample type. There are three core vocabularies for different aspects of sample type: material sample type, material type, and sampled feature type. Each vocabulary is maintained as an RDF file using the SKOS vocabulary, with hierarchical relationships using [`SKOS:broader`](https://www.w3.org/2009/08/skos-reference/skos.html#broader). In order to be domain agnostic, these core taxonomies cover a small set of top level terms. The taxonomies may be extended as necessary to support more specialized domains by relating additional terms using `SKOS:broader` and `SKOS:narrower`.
3417

35-
The iSamples taxonomies are used to characterize three fundamental concepts pertaining to physical samples:
18+
| Vocabulary | Description |
19+
|:-----------|:------------|
20+
| [Specimen Type](generated/vocabularies/material_sample_object_type.html) | Classifies what type of specimen the physical sample record represents |
21+
| [Material Type](generated/vocabularies/material_type.html) | Categorizes the composition of a physical sample |
22+
| [Sampled Feature Type](generated/vocabularies/sampled_feature_type.html) | Indicates what the sample is representative of |
3623

37-
1. The **Materials Vocabulary** categorizes the composition of a physical sample ("What material is the sample composed of?")
38-
2. The **Sampled Feature Type Vocabulary** indicates what the sample is representative of
39-
3. The **Specimen Type Vocabulary** classifies what type of specimen the physical sample record represents
24+
: {.striped .hover}
4025

41-
::: {.callout-note collapse="true"}
42-
## Core Vocabularies
26+
## Extension Vocabularies {.unnumbered}
4327

44-
- [Material Sample (specimen) Type Vocabulary](generated/vocabularies/material_sample_object_type.html)
45-
- [Materials Vocabulary](generated/vocabularies/material_type.html)
46-
- [Sampled Feature (context) Type vocabulary](generated/vocabularies/sampled_feature_type.html)
47-
:::
28+
The core vocabularies can be extended for specialized domains. Extension vocabularies add narrower terms beneath the core concepts using `SKOS:broader` and `SKOS:narrower`. Domain-specific extensions are maintained in the following repositories:
29+
30+
- [Earth Science extensions](https://github.com/isamplesorg/metadata_profile_earth_science)
31+
- [Biology extensions](https://github.com/isamplesorg/metadata_profile_biology)
32+
- [Anthropology/Archaeology extensions](https://github.com/isamplesorg/metadata_profile_archaeology)
4833

4934
## Related Pages {.unnumbered}
5035

tools/globe_capture.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,16 @@
5252
window._viewerError = e.message;
5353
}
5454

55-
// Set initial camera: equator-centered, matching progressive_globe default view
56-
const globalRect = Cesium.Rectangle.fromDegrees(-180, -60, 180, 80);
57-
viewer.camera.setView({ destination: globalRect });
55+
// Set initial camera: slightly elevated view to center the globe visually
56+
// Using setView with explicit position for better framing control
57+
viewer.camera.setView({
58+
destination: Cesium.Cartesian3.fromDegrees(10, 20, 22000000),
59+
orientation: {
60+
heading: 0,
61+
pitch: Cesium.Math.toRadians(-90),
62+
roll: 0
63+
}
64+
});
5865

5966
// Load H3 cluster data from R2
6067
const R2 = "https://data.isamples.org";

0 commit comments

Comments
 (0)