Commit Graph
22 Commits
Author SHA1 Message Date
orrisroot d677c81eb0 style: apply the biome 2.6 lint and format fixes
Biome 2.6 adds the useMathMinMax and useDomNodeTextContent rules and
starts formatting Markdown.

- Use Math.max and Math.min for the clamping ternaries
- Align the README tables
2026-11-04 13:52:28 +09:00
orrisroot 51639d316e build(deps): bump dependencies to latest versions
- @biomejs/biome 2.5.15 -> 2.6.4
- @types/node 24.19.1 -> 24.19.2
- @vitejs/plugin-react 6.1.2 -> 6.2.1
- ky 2.1.0 -> 2.2.0
- react 19.3.0 -> 19.3.1
- react-dom 19.3.0 -> 19.3.1
- react-router 8.4.0 -> 8.5.1
- vite 8.3.3 -> 8.3.5
- yet-another-react-lightbox 3.32.2 -> 3.33.0
- Point the Biome schema at 2.6.4
- Refresh transitive dependencies in the lockfile
2026-11-04 13:52:13 +09:00
orrisroot 67cfeaed77 build(deps): bump dependencies to latest versions
- @biomejs/biome 2.5.13 -> 2.5.15
- @dr.pogodin/react-helmet 3.2.3 -> 3.3.2
- react-router 8.3.1 -> 8.4.0
- @types/node 24.13.4 -> 24.19.1
- vite 8.3.0 -> 8.3.3
- @vitejs/plugin-react 6.1.1 -> 6.1.2
- Point the Biome schema at 2.5.15
- Refresh transitive dependencies in the lockfile
2026-10-07 15:36:23 +09:00
orrisroot 99de09f6f9 fix: keep text dark on form controls given a white background
sanitize.css forms.css makes form controls inherit the text color, so
the rules that put them back on white left white text wherever the
surrounding panel sets it, as in the nimgsearch search panel and the
open.neuroinf.jp advanced search.

- set the text to black next to each white control background,
  matching how the browser drew the controls before sanitize.css
2026-09-15 20:02:11 +09:00
orrisroot b8e1e71547 fix: draw the index tree lines at the right depth
The index tree has a single root, so its first indent unit is always
marked as an end and every line was shifted one column to the right,
doubling the vertical line under the root. Hide that unit and draw the
node's own branch (├ or └) after the indent from the leaf-last class,
as nimg.neuroinf.jp already does.
2026-09-15 18:27:18 +09:00
orrisroot 1597cefa44 fix: serve data files with reserved characters in dev and preview
sirv decodes request paths with decodeURI, which leaves %26 (&) and
%23 (#) encoded, so data files with such characters in their names
were not found by the dev and preview servers. Hand sirv the fully
decoded path, the way Apache resolves it in production.
2026-09-14 18:33:37 +09:00
orrisroot e93014bcea feat: migrate from Create React App to Vite
Rebuild the site on the stack the other converted sites share: Vite 8,
React 19, TypeScript 7, react-router 8, Biome and sanitize.css, with the
site data moved out of the bundle into static-contents/.

- base the database and pico code on the other converted sites,
  keeping this site's layout, pages and item fields
- read file timestamps as Unix seconds in the file and license views
- serve all module data from modules/, redirecting the old download and
  /database/file URLs
- keep form controls on white
- track page views with GA4
v2.0.0
2026-09-14 17:38:48 +09:00
orrisroot 2eb26d6ac2 chore: move XOOPS conversion tools to xoops-static-exporter
The dump scripts are site-specific but belong with the other sites'
tools rather than inside the front-end repository. They now live in
xoops-static-exporter under sites/open.neuroinf.jp/.
2026-09-14 17:38:47 +09:00
orrisroot f44d002b26 ignore .eslintcache from git v1.0.0 2021-05-28 13:56:05 +09:00
orrisroot 9edccfaa95 update required libraries 2021-05-28 13:48:37 +09:00
orrisroot e4e28a717a update required libraries 2021-01-19 15:06:37 +09:00
orrisroot 3a48781719 update required libraries 2020-07-27 19:19:16 +09:00
orrisroot d883df0858 update required libraries 2020-05-23 14:43:22 +09:00
orrisroot e96d5634ff add rule for index.html 2020-05-23 13:39:47 +09:00
Yoshihiro OKUMURA 4916b8dedd update required libraries 2020-04-29 19:41:48 +09:00
Yoshihiro OKUMURA 8614589c23 update required libraries 2020-02-18 01:22:43 +09:00
Yoshihiro OKUMURA 3d5dd0eace update required libraries 2019-12-23 11:26:21 +09:00
Yoshihiro OKUMURA fc131389ce update required libraries 2019-11-25 18:04:27 +09:00
Yoshihiro OKUMURA 17ce5ec672 add redirect rule. 2019-11-14 15:08:20 +09:00
Yoshihiro OKUMURA dfb836a7fd update required libraries 2019-11-14 14:52:54 +09:00
Yoshihiro OKUMURA 408e8c4b3d add openneuro sources. 2019-11-14 13:57:19 +09:00
Yoshihiro OKUMURA cc287a2425 Initial commit from Create React App 2019-11-08 13:28:21 +09:00