Skip to content

Commit f91dc70

Browse files
CopilotcubapCopilot
authored
Wrap manifest-import in tpen-page component (#412)
* Add manifest import component and interface Introduce a new Manifest Import feature: adds a web component (components/manifest-import/index.js) that imports multiple IIIF manifests into TPEN, handles authentication, creates projects sequentially, and renders progress/results. Includes docs and support pages (IMPLEMENTATION.md, README.md, QUICKSTART.md), an examples page and interface (interfaces/manifest-import/index.html, examples.html, INDEX.md), and interface metadata (manifest.yml). Uses TPEN Services POST /project/import?createFrom=URL and integrates with TPEN auth/token handling. * Update index.js * Update components/manifest-import/index.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update components/manifest-import/index.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update components/manifest-import/index.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * [WIP] Update to address feedback on IIIF import PR (#407) * Initial plan * Fix URL format in INDEX.md to match permalink Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> * Fix URL examples to use correct /import-manifest permalink (#408) * Initial plan * Fix URL examples to use /import-manifest path Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> * [WIP] Address feedback on IIIF import direct pull request (#409) * Initial plan * Replace custom #escapeHtml with shared utility from /js/utils.js Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> * [WIP] Address feedback from review on IIIF import (#410) * Initial plan * Fix /?manifest= to /import-manifest?manifest= across all documentation Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> * [WIP] WIP Address feedback on IIIF import direct pull request (#411) * Initial plan * Add main element wrapper for improved accessibility Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> * Initial plan * Wrap manifest-import in tpen-page component Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> --------- Co-authored-by: cubap <cubap@slu.edu> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: cubap <1119165+cubap@users.noreply.github.com>
1 parent 13a271f commit f91dc70

1 file changed

Lines changed: 4 additions & 32 deletions

File tree

interfaces/manifest-import/index.html

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,12 @@
99
<meta charset="UTF-8">
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111
<title>Import Manifests - TPEN</title>
12-
<style>
13-
* {
14-
margin: 0;
15-
padding: 0;
16-
box-sizing: border-box;
17-
}
18-
19-
html, body {
20-
width: 100%;
21-
height: 100%;
22-
}
23-
24-
body {
25-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
26-
background: #f5f5f5;
27-
}
28-
29-
main {
30-
display: block;
31-
width: 100%;
32-
height: 100%;
33-
}
34-
35-
tpen-manifest-import {
36-
display: block;
37-
width: 100%;
38-
height: 100%;
39-
}
40-
</style>
12+
<script type="module" src="/components/gui/site/index.js"></script>
13+
<script type="module" src="/components/manifest-import/index.js"></script>
4114
</head>
4215
<body>
43-
<main>
16+
<tpen-page>
4417
<tpen-manifest-import></tpen-manifest-import>
45-
</main>
46-
<script type="module" src="/components/manifest-import/index.js"></script>
18+
</tpen-page>
4719
</body>
4820
</html>

0 commit comments

Comments
 (0)