Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

updating? #1

Open
wants to merge 3,443 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3443 commits
Select commit Hold shift + click to select a range
2250f69
Make sure the CompanionArea styled root receives props necessary for …
cbeer Dec 19, 2023
589a51e
Trim wrapping divs where possible
cbeer Dec 19, 2023
8923572
Name Window slots
cbeer Dec 19, 2023
5ebf51f
Name the WorkspaceArea root component
cbeer Dec 20, 2023
1961328
Use flexbox to lay out the workspace
cbeer Dec 20, 2023
7306b0e
Use the palette shade for the workspace background
cbeer Dec 20, 2023
45ecb49
Use a consistent root styled component for the workspace
cbeer Dec 20, 2023
a476b2d
Fix elastic workspace panning
cbeer Dec 20, 2023
bc0cc02
Pull WorkspaceElastic styles up
cbeer Dec 20, 2023
afe3a3a
Merge pull request #3868 from ProjectMirador/mui5-clean-up-wrappers
jcoyne Dec 20, 2023
cec72ca
Update to React 18
cbeer Dec 14, 2023
d6e71d6
Get rid of a function as an input to a selector
cbeer Dec 14, 2023
df8f56f
Don't construct new objects in selector inputs
cbeer Dec 14, 2023
7ee770e
chore: remove unused paramater of maximizeWindow action
Jan 8, 2024
5cb692e
Merge pull request #3780 from dbmdz/fix-description-selector
cbeer Jan 10, 2024
593e81b
Merge pull request #3648 from ProjectMirador/mui5
cbeer Feb 1, 2024
fac2bad
Merge branch 'master' into mui5-react-18
cbeer Feb 1, 2024
e497c7f
Add new language - Estonian
gerdesque Feb 22, 2024
fa16365
Merge pull request #3891 from ProjectMirador/add-estonian-language
cbeer Mar 14, 2024
8e002b3
Merge pull request #3864 from ProjectMirador/mui5-react-18
cbeer Mar 14, 2024
60b7269
Remove extra slash from import
marlo-longley Mar 19, 2024
6cb8524
Merge pull request #3894 from ProjectMirador/fix-slash
jcoyne Mar 19, 2024
e68133d
Update package.json to version 4.0.0-alpha.2
marlo-longley Mar 28, 2024
7b1b2d5
Merge pull request #3896 from ProjectMirador/alpha2
cbeer Mar 28, 2024
90f22f0
Fix #3783 and #3897, omit OpenSeadragon 4.1.0
lutzhelm Apr 2, 2024
3c87395
Merge pull request #3899 from ProjectMirador/fix-3783-and-3897-limit-…
cbeer Apr 2, 2024
0cfe601
Add maximized option to windows in config
bertyhell Apr 17, 2024
30a2811
Merge pull request #3901 from bertyhell/patch-1
lutzhelm Apr 18, 2024
2afd081
Update italian translation
atomotic May 7, 2024
8a02a05
Merge pull request #3905 from atomotic/patch-2
cbeer May 7, 2024
f0c6ff1
Fix Japanese Translation
gerdesque Jun 6, 2024
5734446
Merge pull request #3910 from ProjectMirador/fix-japanese-translation
marlo-longley Jun 6, 2024
714282c
fix: preservation of viewport doesnt work
Jun 26, 2024
85503c3
Merge branch 'master' into bug_openseadragon_preserveViewport
Jun 26, 2024
50de431
test: mock getConfig for canvas test
Jun 26, 2024
f6b9ba7
add comments
Jul 9, 2024
8910050
Update translation.json
veesalu Jul 25, 2024
018142a
Merge pull request #3925 from veesalu/patch-1
cbeer Jul 25, 2024
52561ea
Create translation.json
hrvoj3e Aug 28, 2024
3850165
Update settings.js
hrvoj3e Aug 28, 2024
0bdf686
Update i18n.js
hrvoj3e Aug 28, 2024
883051a
Update translation.json
hrvoj3e Aug 28, 2024
16aa69c
Merge pull request #3922 from fstoe/bug_openseadragon_preserveViewport
marlo-longley Oct 11, 2024
5269ce6
Pin to ubuntu-22 to avoid CI failure
marlo-longley Oct 15, 2024
9f892b6
Merge pull request #3938 from ProjectMirador/ubuntu-22
corylown Oct 15, 2024
37b1f21
Merge pull request #3931 from hrvoj3e/patch-1
cbeer Oct 22, 2024
78d18e6
Update dependencies
cbeer Oct 28, 2024
e6ffeec
Reformat hr locale to match linter-expected format.
cbeer Oct 28, 2024
3837c10
Merge pull request #3940 from ProjectMirador/dependencies
jcoyne Oct 29, 2024
bcb1a28
Merge pull request #3941 from ProjectMirador/hr-i18n-format
jcoyne Oct 29, 2024
5afa717
Avoid using deprecated method waitForTimeout
jcoyne Oct 29, 2024
3b37950
Merge pull request #3948 from ProjectMirador/without-timeout
cbeer Oct 29, 2024
0fdf544
Skip companion window plugin test that's acting wonky.
cbeer Oct 29, 2024
437153f
Stop testing the mui5 branch now that it's merged
cbeer Oct 29, 2024
dfd1bbf
Bump CI action versions.
cbeer Oct 29, 2024
7e99c8e
Merge pull request #3953 from ProjectMirador/cbeer-patch-2
cbeer Oct 29, 2024
dd0a77b
Merge pull request #3952 from ProjectMirador/bad-test
marlo-longley Oct 29, 2024
ddaf3fe
Merge pull request #3954 from ProjectMirador/cbeer-patch-4
marlo-longley Oct 29, 2024
f4515ba
Update react-i18next
cbeer Oct 29, 2024
0ea1832
Update testing-library dependencies
cbeer Oct 29, 2024
5654e43
Merge pull request #3950 from ProjectMirador/react-i18next
jcoyne Oct 29, 2024
1215b40
Remove babel proposal plugins
jcoyne Oct 29, 2024
74283f5
Merge pull request #3951 from ProjectMirador/testing-library
jcoyne Oct 29, 2024
bd11b94
Simplify the parameters passed to the button
jcoyne Oct 29, 2024
d00fc05
Convert CompanionWindow to functional component
marlo-longley Oct 29, 2024
19c2694
Remove react-sizeme and repalce with our own HOC
marlo-longley Oct 29, 2024
6a0d2a4
Merge pull request #3956 from ProjectMirador/owner-state-destructure
marlo-longley Oct 29, 2024
c2fb050
Merge pull request #3945 from ProjectMirador/remove-proposal
cbeer Oct 30, 2024
b848acc
Merge pull request #3959 from ProjectMirador/no-sizme
jcoyne Oct 30, 2024
599572b
Update webpack-dev-server
cbeer Oct 30, 2024
5587a23
Use act() to ensure all promises are resolved
jcoyne Oct 30, 2024
c16e805
Extend uuid version support.
cbeer Oct 30, 2024
08dbbd9
Merge pull request #3962 from ProjectMirador/wds
marlo-longley Oct 30, 2024
c7872bf
Include OpenSeadragon v5
lutzhelm Aug 15, 2024
9091f04
Update test stubbing to work with OSD 5.x
cbeer Oct 30, 2024
aff5ad4
Merge pull request #3929 from ProjectMirador/openseadragon-5.0
jcoyne Oct 30, 2024
b9d77e6
Merge pull request #3964 from ProjectMirador/uuid
jcoyne Oct 30, 2024
3362d85
Stop using defaultProps in MosaicRenderPreview component
marlo-longley Oct 29, 2024
db13611
Disable react/require-default-props eslint rule
marlo-longley Oct 30, 2024
0744dbc
Merge pull request #3960 from ProjectMirador/mosaicProps
jcoyne Oct 30, 2024
9c423bb
Remove unmaintined airbnb and flowtype eslint plugins
jcoyne Oct 30, 2024
7f2e2fc
Revert "Remove unmaintined airbnb and flowtype eslint plugins"
jcoyne Oct 30, 2024
3e61c32
Fix warnings about usage of i18n
jcoyne Oct 31, 2024
fee48e2
Merge pull request #3972 from ProjectMirador/i18nwarning
cbeer Nov 5, 2024
1d19390
Remove canvas.
cbeer Nov 6, 2024
ae92d56
Skip two tests that seem to require canvas.
cbeer Nov 6, 2024
756da0d
Merge pull request #3961 from ProjectMirador/sidebar-index-toc-act
cbeer Nov 6, 2024
9ada173
Use ES6 default arguments to avoid deprecated defaultProps on functio…
jcoyne Oct 29, 2024
c0409ce
Use ES6 destructuring on the other functional components.
cbeer Nov 6, 2024
9820e05
Update i18n stubbing to avoid react deprecation warnings.
cbeer Nov 6, 2024
47a97a9
Merge pull request #3976 from ProjectMirador/default-args-background-…
jcoyne Nov 6, 2024
2bd95cf
Use a function mock ref instead of a string.
cbeer Nov 7, 2024
457a3f2
Don't forward the focused prop. It isn't valid on Rnd.
cbeer Nov 7, 2024
d4e49e2
Merge pull request #3978 from ProjectMirador/focused-prop
marlo-longley Nov 7, 2024
44e7b2b
Merge pull request #3977 from ProjectMirador/func-ref
marlo-longley Nov 7, 2024
7792cdf
Remove act from MiradorMenuButton test.
cbeer Nov 7, 2024
23b8e24
Refactor MiradorViewer initialize to avoid act() warning.
cbeer Nov 7, 2024
dd5de5b
Merge pull request #3980 from ProjectMirador/viewer-initiaizer
jcoyne Nov 7, 2024
92010e9
Stop passing tReady through to the MUI menu component.
cbeer Nov 8, 2024
a5b9fbd
Fix MUI5 menu focus styles.
cbeer Nov 8, 2024
7d85ce6
Merge pull request #3979 from ProjectMirador/no-act
marlo-longley Nov 12, 2024
27f7a08
Allow externally updated props to change the viewer even if OSD is st…
cbeer Nov 14, 2024
38899c8
Merge pull request #3986 from ProjectMirador/viewer-external-props
jcoyne Nov 14, 2024
0efce3c
Remove unused act import.
cbeer Nov 14, 2024
45f1ac2
Hook up a double-click handler for OSD to handle zooming
cbeer Nov 14, 2024
feede3d
Merge pull request #3988 from ProjectMirador/no-act-import
lutzhelm Nov 15, 2024
89c5e73
Merge pull request #3987 from ProjectMirador/double-click-zoom
jcoyne Nov 16, 2024
dd3ee4a
Merge pull request #3870 from fstoe/remove_unneeded_param
cbeer Nov 18, 2024
38b84ff
Merge pull request #3981 from ProjectMirador/tReady
cbeer Nov 18, 2024
19998cd
Merge pull request #3982 from ProjectMirador/mui5-focus
cbeer Nov 18, 2024
c65cbae
Address some re-select inputStabilityCheck warnings.
cbeer Nov 18, 2024
34a00ea
Merge pull request #3990 from ProjectMirador/inputStabilityCheck.ts
marlo-longley Nov 18, 2024
9444d3b
Convert some class components to functions.
cbeer Nov 19, 2024
c2943e6
Merge pull request #3992 from ProjectMirador/function-components
jcoyne Nov 20, 2024
728923d
Fix a mirador crash when viewerConfig hasn't been initialized yet.
cbeer Nov 20, 2024
ec54962
Convert ThumbnailNavigation to a function.
cbeer Nov 20, 2024
7c1dfdd
Convert CollectionDialog to a function.
cbeer Nov 20, 2024
8266c80
Update CanvasLayers to a function.
cbeer Nov 20, 2024
da8fcaa
Convert NewWindow to a function.
cbeer Nov 20, 2024
ca38a90
Convert IIIFAuthentication to a function.
cbeer Nov 20, 2024
fb2f7db
Forward refs through the withSize component
cbeer Nov 21, 2024
f549380
Forward refs through WindowCanvasNavigationControls.
cbeer Nov 21, 2024
c1fa0cc
Merge pull request #4000 from ProjectMirador/fix-withSize-ref-regression
jcoyne Nov 21, 2024
9a4b93b
Rewrite ScrollTo as a function.
cbeer Nov 22, 2024
9429944
fix: fetchSearch send two requests due to two events fired
Nov 25, 2024
3257448
Merge pull request #4006 from ProjectMirador/scroll-to-fn
marlo-longley Nov 25, 2024
24312ef
Merge branch 'master' into 3936
Nov 26, 2024
5291b35
fix: add isSuggestionSeleceted to state to prevent two fetch requests
Nov 26, 2024
cc0afc9
Convert Workspace components to functions
cbeer Nov 20, 2024
b91063c
Merge pull request #3975 from ProjectMirador/remove-canvas
cbeer Nov 27, 2024
5b02a7d
Add node 22.x to the test matrix
jcoyne Oct 29, 2024
3b04f56
Merge pull request #3946 from ProjectMirador/node22
cbeer Nov 27, 2024
76f18b8
test: add test for fetching once in searchPanelControl
Nov 28, 2024
f956d2a
Merge pull request #3993 from ProjectMirador/function-components
cbeer Dec 2, 2024
f1164fe
Merge pull request #3994 from ProjectMirador/thumbnail-function
cbeer Dec 2, 2024
30b66ce
Merge pull request #3995 from ProjectMirador/cd-function
cbeer Dec 2, 2024
77351aa
Merge pull request #3996 from ProjectMirador/cl-function
cbeer Dec 2, 2024
cac3ae2
Merge pull request #3998 from ProjectMirador/auth-fn
cbeer Dec 2, 2024
ee210c9
Merge pull request #4008 from fstoe/3936
cbeer Dec 3, 2024
2e60ddc
Guard against null required statements to work around a possible regr…
cbeer Dec 3, 2024
eb8c433
Merge pull request #4010 from ProjectMirador/manifesto-regression
cbeer Dec 3, 2024
0162744
Merge pull request #3997 from ProjectMirador/newwindow-fn
marlo-longley Dec 4, 2024
8ab88f6
Update search components to functions.
cbeer Nov 20, 2024
8853a58
Rename NewWindow to NewBrowserWindow for clarity
marlo-longley Dec 4, 2024
d75f811
Merge pull request #4013 from ProjectMirador/NewBrowserWindow
cbeer Dec 6, 2024
e2ffc36
Merge pull request #3999 from ProjectMirador/search-fn
marlo-longley Dec 6, 2024
b987a38
Use the useContext hook instead of withWorkspaceContext HOC
cbeer Dec 5, 2024
7a32c14
Merge pull request #4018 from ProjectMirador/workspace-context-context
marlo-longley Dec 6, 2024
b617068
Use hooks to determine the element size, not HOCs
cbeer Dec 6, 2024
3afdf6f
Extract components for handling OSD + tile sources.
cbeer Dec 4, 2024
acccdda
Merge pull request #4014 from ProjectMirador/osd-fn
marlo-longley Dec 9, 2024
4d54a42
allow user to pass initalViewerConfig into windows
dnoneill Dec 3, 2024
126a357
Merge pull request #4019 from ProjectMirador/viewer-state
marlo-longley Dec 9, 2024
916f83f
Convert AnnotationsOverlay to a function.
cbeer Dec 9, 2024
9b6ad42
Make sure we initialize (or reinitialize on HMR) the OSD pan/zoom/etc
cbeer Dec 10, 2024
530577f
Guard against trying to initialize the viewer configuration when we d…
cbeer Dec 10, 2024
26409c7
Merge pull request #4026 from ProjectMirador/loose-eq
cbeer Dec 10, 2024
d103817
Convert withWidth from a HOC to a hook.
cbeer Dec 6, 2024
0490034
Merge pull request #4022 from ProjectMirador/anno-fn
cbeer Dec 10, 2024
c24df9c
Merge pull request #4021 from ProjectMirador/withWidth
marlo-longley Dec 11, 2024
cd1327b
Merge pull request #4020 from ProjectMirador/withSize
cbeer Dec 11, 2024
6d0d037
Bump package version
cbeer Dec 12, 2024
074c0e0
Merge pull request #4032 from ProjectMirador/cbeer-patch-2
marlo-longley Dec 12, 2024
c03da18
Don't let manifesto mutate the manifest json.
cbeer Dec 12, 2024
f6c092f
Remove forced re-render; it doesn't seem necessary any more. Part of …
cbeer Dec 12, 2024
514d18a
Merge pull request #4035 from ProjectMirador/4016
marlo-longley Dec 12, 2024
eb6d622
Pass through all props to the plugins
cbeer Dec 12, 2024
6591559
Add a comment
cbeer Dec 13, 2024
73ecae5
Don't bother passing the viewer ref to children, they can get it from…
cbeer Dec 12, 2024
d105e6b
Merge pull request #4036 from ProjectMirador/manifesto
cbeer Dec 13, 2024
8f0539d
Merge pull request #4034 from ProjectMirador/viewer-ref
cbeer Dec 13, 2024
38bfa77
Merge pull request #4033 from ProjectMirador/plugin-rest
cbeer Dec 13, 2024
fbe6b1a
Add index.js files to src directories
cbeer Nov 19, 2024
2ecb72c
Replace webpack + babel with Vite
marlo-longley Nov 12, 2024
635fcd9
Try out vitest
cbeer Nov 12, 2024
4832014
Temporarily use a fork of react-mosaic-component that works with ESM
cbeer Nov 13, 2024
c423e30
Wire up vitest.
cbeer Nov 13, 2024
29fd100
Reorganize plugin tests
marlo-longley Nov 14, 2024
74a8355
Skip the SVG tests because vitest/etc doesn't support canvas attributes
cbeer Nov 27, 2024
36fc6fa
Update OpenSeadragonCanvasOverlay mocking.
cbeer Nov 27, 2024
f265aef
Remove timer stubbing from IIIF auth tests
cbeer Nov 27, 2024
6616fb5
Restore real timers in NewWindow test
cbeer Nov 27, 2024
84d9adf
Let RTL render MiradorViewer tests
cbeer Nov 27, 2024
42a911d
Test plugin prop without a lazy loaded component.
cbeer Nov 27, 2024
9cf9d41
Guard against missing context2d object.
cbeer Nov 27, 2024
26c2c04
Add netlify build.
cbeer Nov 27, 2024
5a360e3
Use a ref to the OSD container instead of having OSD find it by id
cbeer Dec 11, 2024
3abaca3
Merge pull request #3991 from ProjectMirador/index-js
cbeer Dec 13, 2024
a9c8da7
Expect zero value for opacity and index in OpenSeadragonTileSource
lutzhelm Dec 13, 2024
2b83ab8
Merge pull request #4037 from ProjectMirador/osd-tilesource-compare-t…
cbeer Dec 13, 2024
0de1c9a
Merge pull request #3985 from ProjectMirador/vite-WIP
cbeer Dec 13, 2024
c24fc0b
Update chalk dependency
marlo-longley Dec 13, 2024
6309d01
Update container scripts to module imports
marlo-longley Dec 13, 2024
fb534c7
Merge pull request #4039 from ProjectMirador/chalk
cbeer Dec 13, 2024
bb3cbda
Replace withTranslation HOC with hooks.
cbeer Dec 5, 2024
d76d2a0
Remove Mirador 2 note
cbeer Dec 13, 2024
9652366
Remove Jest references
marlo-longley Dec 13, 2024
99313f5
Remove eslint-config-react-app and update .eslintrc
marlo-longley Dec 13, 2024
2c73d0a
Merge pull request #4038 from ProjectMirador/vite-cleanup
cbeer Dec 13, 2024
72de2ce
Re-enable parallel testing.
cbeer Dec 13, 2024
36713a0
Merge pull request #4040 from ProjectMirador/cbeer-patch-2
marlo-longley Dec 13, 2024
7a208f3
Merge pull request #4041 from ProjectMirador/parallel-tests
marlo-longley Dec 13, 2024
aaf4e06
Enable coverage.
cbeer Dec 13, 2024
d81ae8c
Run CI on ubuntu-latest
cbeer Dec 13, 2024
633a1d5
Update codecov-action in CI.
cbeer Dec 13, 2024
48e15c3
Merge pull request #4042 from ProjectMirador/vitest-coverage
cbeer Dec 13, 2024
3c4de40
Merge pull request #4043 from ProjectMirador/cbeer-patch-2
marlo-longley Dec 13, 2024
fd7cc56
Merge pull request #4017 from ProjectMirador/useTranslation-hook
cbeer Dec 13, 2024
ca15ad7
Update to vite 6
cbeer Dec 13, 2024
b3af802
Remove mui/lab package
cbeer Dec 13, 2024
c55a7f9
Remove more jest cruft.
cbeer Dec 13, 2024
cd626a9
Merge pull request #4046 from ProjectMirador/no-puppeteer
marlo-longley Dec 14, 2024
fd390d9
Merge pull request #4045 from ProjectMirador/mui-lab
marlo-longley Dec 14, 2024
deeb551
Merge pull request #4044 from ProjectMirador/vite6
marlo-longley Dec 14, 2024
0f5a1ff
Add Vitest information to README
marlo-longley Dec 16, 2024
e4df61d
Merge pull request #4048 from ProjectMirador/vitest-readme
cbeer Dec 16, 2024
1754ba7
Update OpenSeadragonComponent to support 0 (e.g. false-y) rotation/x/…
cbeer Dec 16, 2024
98bed19
Merge pull request #4049 from ProjectMirador/cbeer-patch-2
cbeer Dec 16, 2024
be5ff38
Externalize peer dependencies
cbeer Dec 16, 2024
9fd0dbc
Add . export
cbeer Dec 17, 2024
0a22ee6
Fix issue with lodash import
marlo-longley Dec 16, 2024
40fd217
Merge pull request #4051 from ProjectMirador/lodash-import
jcoyne Dec 17, 2024
41e2a86
Merge pull request #4052 from ProjectMirador/build-fixes
cbeer Dec 17, 2024
5569370
Fix CI testing flakiness by waiting for the values to settle.
marlo-longley Dec 17, 2024
dab041e
Remove jest cruft from initial-viewer-config.js
cbeer Dec 18, 2024
fb225d1
Don't start dispatching updateViewport actions until the viewport pos…
cbeer Dec 18, 2024
f7fed3e
Delete console.log
marlo-longley Dec 18, 2024
644b804
Merge pull request #4062 from ProjectMirador/flaky-viewer-test-debug
marlo-longley Dec 18, 2024
816eef8
Only render the thumbnails if there are canvas groupings in the first…
cbeer Dec 18, 2024
5d1116a
Make codecov a little less strict.
cbeer Dec 18, 2024
5b50e27
Remove duplicate background key from dialog scroll
marlo-longley Dec 17, 2024
4e236a6
Add companionWindowId to the CanvasLayers label selectors to ensure w…
cbeer Dec 17, 2024
e5d1414
Initialize the i18n instance with the correct locale.
cbeer Dec 17, 2024
f203919
Update the LocalePicker to use labels for languages.
cbeer Dec 18, 2024
25f3314
Update getLocalesForStructure to support IIIF v3 multilingual patterns.
cbeer Dec 18, 2024
df014ca
Add demo page with i18n examples.
cbeer Dec 17, 2024
b709b7d
Merge pull request #4061 from ProjectMirador/codecov
marlo-longley Dec 18, 2024
d5b1bc9
Merge pull request #4063 from ProjectMirador/canvas-groupings-guard
marlo-longley Dec 18, 2024
d19b3bd
Merge pull request #4059 from ProjectMirador/initialize-i18n
marlo-longley Dec 18, 2024
56e5acc
Stop requiring an unused prop.
cbeer Dec 18, 2024
ea79588
Update SidebarIndexList to include required containerRef prop.
cbeer Dec 18, 2024
d342531
Make searchIsFetching optional
cbeer Dec 18, 2024
e4e5275
Remove unused required prop searchService from SearchPanelNavigation
cbeer Dec 18, 2024
8302554
Merge pull request #4056 from ProjectMirador/dupe-bg
cbeer Dec 18, 2024
d85dadc
Update re-rendering test to make sure we're passing all required props.
cbeer Dec 18, 2024
01ebfc1
Merge pull request #4064 from ProjectMirador/test-warnings
marlo-longley Dec 18, 2024
c6e4ecd
Merge pull request #4058 from ProjectMirador/manifest-locales-picker
cbeer Dec 18, 2024
05194d8
Merge pull request #4060 from ProjectMirador/layers-companion-window-id
marlo-longley Dec 18, 2024
7dfb7d8
Don't run coverage by default (slows down local development)
cbeer Dec 19, 2024
d350a7a
Merge pull request #4065 from ProjectMirador/no-coverage
marlo-longley Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
codecov:
coverage:
precision: 1
round: up

4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist/
config/
coverage/
styles/
101 changes: 92 additions & 9 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,99 @@
{
"extends": "airbnb-base/legacy",
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"airbnb",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:testing-library/react"
],
"globals": {
"Mirador": true,
"jQuery": true
"page": true,
"document": true,
"vi": true
},
"plugins": [
"react",
"react-hooks",
"testing-library"
],
"rules": {
"no-param-reassign": [
2, {
"props": true,
"ignorePropertyModificationsFor": [
"$"
]
"import/no-unresolved": [
2, { "ignore": ["test-utils"] }
],
"import/prefer-default-export": "off",
"no-console": "off",
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"no-unused-vars": "off",
"no-undef": "off",
"no-restricted-syntax": ["warn", "WithStatement"],
"no-restricted-globals": ["error"],
"eqeqeq": ["warn", "smart"],
"no-use-before-define": [
"warn",
{
"functions": false,
"classes": false,
"variables": false
},
],
"no-mixed-operators": [
"warn",
{
"groups": [
["&", "|", "^", "~", "<<", ">>", ">>>"],
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"],
],
"allowSamePrecedence": false,
},
],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": true,
"FunctionExpression": true
}
}],
"no-underscore-dangle": "off",
"react/prefer-stateless-function": "off",
"sort-keys": ["error", "asc", {
"caseSensitive": false,
"natural": false
}],
"react/jsx-props-no-spreading": "off",
"react/function-component-definition": "off",
"default-param-last": "off",
"arrow-parens": "off",
"import/no-anonymous-default-export": "off",
"import/no-extraneous-dependencies": "off",
"max-len": ["error", {
"code": 120,
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}],
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": [2, {
"functions": "defaultArguments"
}],
"react-hooks/exhaustive-deps": "error",
"testing-library/render-result-naming-convention": "off",
"testing-library/no-render-in-lifecycle": [
"error",
{
"allowTestingFrameworkSetupHook": "beforeEach"
}
]
}
Expand Down
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/annotations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Annotations
about: Issues related to annotation viewing / rendering in Mirador 3. Issues related to annotation creation can be filed in ProjectMirador/mirador-annotations.
title: ''
labels: Mirador3, annotations
assignees: ''

---

<!--- Annotation compatibility support: https://github.com/ProjectMirador/mirador/wiki/Annotation-compatibility-support -->
<!--- Annotation creation tools plugin: https://github.com/projectmirador/mirador-annotations -->

Manifest URLs:
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/installing-mirador.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Installing Mirador
about: Issues related to installing / embedding Mirador in your application
title: ''
labels: Mirador3, embed
assignees: ''

---

<!--- See "Embedding Mirador" in the wiki: https://github.com/ProjectMirador/mirador/wiki/M3-Embedding-in-Another-Environment -->
- Mirador version (release, commit, etc.):
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/manifest-compatibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Manifest / Image not loading
about: Report examples of manifests or images that are not loading or displaying as
expected
title: ''
labels: Mirador3, manifest compatibility
assignees: ''

---

- I am the author or maintainer of this manifest: Yes or No
- URL: <!--- insert manifest URL here -->
- Manifest hosting institution <!--- e.g. Smithsonian, Bodleian Library -->

### Observed behavior
- Description: (Example: I was able to load my manifest via the "Add Resource" button but thumbnails are not loading in Gallery view)
- Screenshots / screen recordings / GIFs
- Errors or warnings from the UI, developer console, or the [IIIF Presentation Validator](https://iiif.io/api/presentation/validator/service/)
```
Paste errors here if needed, otherwise delete
```
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Miscellaneous
about: If your issue doesn't fit the other categories, use this one!
title: ''
labels: Mirador3
assignees: ''

---

<!--- Add manifest URLs or screenshots if relevant -->
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/plugins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Plugins
about: Issues, questions, and proposals for customizing Mirador.
title: ''
labels: Mirador3, Plugins 🔌
assignees: ''

---

<!--- See examples of Mirador 3 plugins on the wiki: https://github.com/ProjectMirador/mirador/wiki/Mirador-3-plugins -->
- Mirador version (release or commit):
- Description of use case:
- Include screenshots, designs, etc. if relevant
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/requested-settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Requested setting
about: Propose new options for Mirador’s out-of-the-box settings. See examples in src/config/settings.js
title: 'Requested setting'
labels: Mirador3, requested setting
assignees: ''

---

<!--- See examples of settings at: https://github.com/ProjectMirador/mirador/blob/b15cbb61a7b60118b50469675d66e672748cb39e/src/config/settings.js#L252 -->
- Manifest URLs (if any):
- Screenshots of desired behavior
- Description of desired behavior, suggested options for settings
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/ui-ux.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: UI / UX
about: Feedback on Mirador’s user interface / user experience. User stories for enhancements and new features
title: ''
labels: Mirador3, user experience
assignees: ''

---
30 changes: 30 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
21 changes: 5 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
.grunt/
_SpecRunner.html
bkp
css/discovery.css
css/mirador.css
dev.html
discovery.html
js/discovery
node_modules/
npm-debug.log
dist/
coverage/
data/ecodices
data/BnF
data/Harvard
build/
.idea/
bower_components/
node_modules/
package-lock.json
*.log
*.tgz
4 changes: 0 additions & 4 deletions .jshintrc

This file was deleted.

9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

74 changes: 74 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Mirador Code of Conduct

The [IIIF Code of Conduct](https://iiif.io/event/conduct/) guides our behavior as members of the IIIF Community in any forum, including remote and in-person meetings and events, email lists, Slack, GitHub, social media, and private correspondence related to IIIF and the Mirador project. IIIF is an inclusive and safe community, committed to openness and transparency in all interactions and activities. To reflect these commitments, we agree to operate according to the following standards.

> **Note:** Please visit the [IIIF Code of Conduct](https://iiif.io/event/conduct/) page for the complete and current standards, which includes additional details regarding the process for evaluating Code of Conduct reports, the appeals process, and the IIIF Code of Conduct Team involved in these activities.


- [Community Ideals](#community-ideals)
- [Inclusivity](#inclusivity)
- [Collaboration](#collaboration)
- [Respect](#respect)
- [Greater Good](#greater-good)
- [Unacceptable Behaviors](#unacceptable-behaviors)
- [Reporting Harassment](#reporting-harassment)
- [Project Maintainer Enforcement Responsibilities](#project-maintainer-enforcement-responsibilities)
- [Acknowledgements](#acknowledgements)


## Community Ideals

### Inclusivity
We believe everyone is a valuable contributor to the community regardless of physical or intellectual ability, gender, sexual orientation, physical appearance, race, religion, nationality, language, employment source or status, financial ability, and any other facets of community dynamics not mentioned here. While the community primarily communicates in English at this point, we recognize that it is not the native language for many in the community and strive to express ourselves simply and clearly. We provide opportunities for participation despite challenges of ability, time, geography, finances, etc.

### Collaboration

We collaborate to share the community’s workload and to ensure a variety of needs and voices are accounted for. We do our work as transparently as possible, establishing guidelines for contributing and sharing current and historical community information openly, and welcome new collaborators with enthusiasm.

### Respect

The IIIF community is respectful of and open to differing opinions, viewpoints, experiences, and backgrounds. When we make a mistake we accept responsibility, apologize, and learn from the experience. We give and gracefully accept constructive feedback.

### Greater Good

We do work that benefits the community. We notice, call attention to, and help resolve potential problems. Community members should model good behavior and feel empowered to be [active bystanders](https://www.diglib.org/active-bystander-orientation/) to call out improper behavior and step in to help resolve issues without waiting to escalate to a higher power.


## Unacceptable Behaviors

Participants asked by anyone to stop any harassing behavior must comply immediately. Participants who violate these guidelines by behaving in the following ways will be notified and asked to change their behavior.

- Physical or verbal harassment or threats directed against another person or group of people
- Offensive verbal comments, insults, or jokes related to physical or intellectual ability, gender, sexual orientation, disability, physical appearance, body size, race, religion, etc.
- Sexual harassment, including inappropriate or unwanted physical contact, use of sexualized language or imagery, and sexual attention or advances of any kind
- Intentional provocation, insulting or derogatory comments, and personal or political attacks
- Publishing or threatening to publish others’ private information without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
- Advocating for or encouraging any of the above

## Reporting Harassment

If you believe anyone is in physical danger, please notify appropriate law enforcement first.

If you are subject to or witness harassment, please contact the Code of Conduct committee at [[email protected]](mailto:[email protected]), or individually at in-person events where committee members or event-specific contacts will be identified by badges and introductions at the beginning of the event.

**Written or verbal Code of Conduct reports should include the following information:**
- Your contact information
- Names (real, nicknames, or pseudonyms) of individuals involved and witnesses
- When and where the incident occurred (please be as specific as possible)
- Your account of what occurred. If there is a record available (e.g. a mailing list archive or messages in a Slack channel) please include a link or screenshot.
- If you believe this incident is or may be ongoing

You will receive an email or verbal confirmation that your report has been received. Within one week you will receive a resolution and course of action or explanation of why the situation is unresolved and continues to be evaluated.

## Project Maintainer Enforcement Responsibilities

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct.

## Acknowledgements

The IIIF Code of Conduct is modeled on examples from [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct/), [Django](https://www.djangoproject.com/conduct/), [the Digital Library Federation (DLF)](https://www.diglib.org/about/code-of-conduct/), [Islandora](https://www.islandora.ca/code-of-conduct), [Samvera](https://wiki.duraspace.org/display/samvera/Code+of+Conduct), and [DuraSpace](https://duraspace.org/about/policies/code-of-conduct/#:~:text=All%20communication%20will%20be%20treated,exclusionary%20behavior%20in%20any%20form.).

Project maintainer enforcement responsibilities are modeled on the [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct/).

The IIIF Code of Conduct is licensed under a [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
Loading