Commit Graph
80 Commits
Author SHA1 Message Date
orrisroot 4a39453ce8 build(deps): bump dependencies to latest versions
- @biomejs/biome 2.6.4 -> 2.6.9
- @dr.pogodin/react-helmet 3.3.2 -> 3.3.3
- @types/node 24.19.2 -> 26.6.11
- @types/react 19.3.0 -> 19.3.3
- @vitejs/plugin-react 6.2.1 -> 6.3.0
- async-lock 1.4.1 -> 1.5.0
- react-router 8.5.1 -> 8.5.3
- vite 8.3.5 -> 8.4.1
- yet-another-react-lightbox 3.33.0 -> 3.33.1
- Point the Biome schema at 2.6.9
- Refresh transitive dependencies in the lockfile
2026-12-02 15:39:51 +09:00
orrisroot 4fb95b5cce build: move to the node 26 lts line
- keep @types/node on the 26.x line in .ncurc.js
- point the readme at node 26
2026-12-02 15:39:43 +09:00
orrisroot 0971edf4b4 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 602c0cd14b 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 eba1e3ca31 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:25 +09:00
orrisroot e7ddc91344 chore: correct the package name recorded in the lockfile 2026-09-15 20:30:54 +09:00
orrisroot 375b1b2040 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 c440710ef6 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 0d79a0ffd6 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 c94d272342 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 code on cerebellum.neuroinf.jp and keep the pupil
  platform's table layout, about page and menu
- load the Flickr badge feed as JSONP without extra libraries
- serve the XooNIps data from modules/xoonips/, redirecting the old
  download and /database/file URLs
- restate the column widths as border-box totals and keep form controls
  on white
- track page views with GA4
v2.0.0
2026-09-14 17:14:32 +09:00
orrisroot a1ac8c3cf9 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/pupil.brain.riken.jp/.
2026-09-14 17:14:31 +09:00
orrisroot 34c82a9c0e ignore .eslintcache from git v1.0.0 2021-05-28 13:56:05 +09:00
orrisroot cd235554fb update required libraries 2021-05-28 13:48:35 +09:00
orrisroot 1707f69d77 update required libraries 2021-01-19 15:06:36 +09:00
orrisroot 2ea858506f update required libraries. 2020-07-27 16:52:05 +09:00
orrisroot 3e303107eb update required libraries 2020-05-23 14:43:21 +09:00
orrisroot 5fd366cf9f add rule for index.html 2020-05-23 13:39:57 +09:00
Yoshihiro OKUMURA 723a2cf998 update required libraries 2020-04-29 19:41:46 +09:00
Yoshihiro OKUMURA 3fac6818b1 update required libraries 2020-02-18 01:22:41 +09:00
Yoshihiro OKUMURA c630568118 update required libraries 2019-12-23 11:26:21 +09:00
Yoshihiro OKUMURA 5dc0a376d4 update required libraries 2019-11-25 18:04:25 +09:00
Yoshihiro OKUMURA eeee95b8f6 update required libraries. 2019-11-06 22:12:27 +09:00
Yoshihiro OKUMURA 6babb2ba6a fix bug for page not found 2019-05-22 19:28:26 +09:00
Yoshihiro OKUMURA 820fb1c295 add index.php redirection. 2019-05-22 19:01:16 +09:00
Yoshihiro OKUMURA 9d681fe853 show react contents if existing directry accessed 2019-05-22 13:44:35 +09:00
Yoshihiro OKUMURA c1c937a321 moved block components to blocks directory. 2019-05-22 10:27:13 +09:00
Yoshihiro OKUMURA 795617b128 add ie11 support. 2019-05-21 22:52:02 +09:00
Yoshihiro OKUMURA cabe6ed188 use URLSearchParams class instead of query-string. 2019-05-21 21:40:08 +09:00
Yoshihiro OKUMURA d9f27dc590 add xoops compatible path redirecter 2019-05-21 19:49:54 +09:00
Yoshihiro OKUMURA ba8a99930b use original file name for downloading file. 2019-05-21 14:27:49 +09:00
Yoshihiro OKUMURA d0098db1b0 add page loading action. 2019-05-20 22:57:35 +09:00
Yoshihiro OKUMURA c62c1007ce set title for index item listing. 2019-05-20 20:18:14 +09:00
Yoshihiro OKUMURA d3eab49bc3 add data dump script. 2019-05-20 20:03:48 +09:00
Yoshihiro OKUMURA 6f67d479eb update libraries. 2019-05-20 20:01:14 +09:00
Yoshihiro OKUMURA 05f2e798da add data files. 2019-05-20 19:49:15 +09:00
Yoshihiro OKUMURA 6e37d774a1 fixed bug to show related items. 2019-05-20 19:46:18 +09:00
Yoshihiro OKUMURA 491f188251 use ni-team's favicon.ico. 2019-05-20 18:39:15 +09:00
Yoshihiro OKUMURA 1f9f44c98e set page title. 2019-05-20 18:22:04 +09:00
Yoshihiro OKUMURA 07d2b85f85 add missing changes. 2019-05-20 18:10:38 +09:00
Yoshihiro OKUMURA 7b5b667254 implemented page not found page. 2019-05-20 17:38:52 +09:00
Yoshihiro OKUMURA 8eb7c2ed20 update about page. 2019-05-20 17:04:42 +09:00
Yoshihiro OKUMURA b31cf963ee implemented frickr badge block. 2019-05-20 16:27:27 +09:00
orrisroot b1e2dd2570 update libraries. 2019-05-19 18:38:32 +09:00
orrisroot 77fcc37360 implemented advanced search function. 2019-05-19 18:32:37 +09:00
orrisroot e623360bfc implement item detail base class DetailBase. 2019-05-18 22:16:51 +09:00
orrisroot 5ca12b5745 implement list base class ListBase. 2019-05-18 20:41:52 +09:00
Yoshihiro OKUMURA 9410e0a783 implemented base class of item type top TopBase. 2019-05-18 00:18:05 +09:00
Yoshihiro OKUMURA d36f440b2a changed item type search url. 2019-05-15 22:11:45 +09:00
Yoshihiro OKUMURA c7c163b262 implemented detail search form. 2019-05-15 21:32:00 +09:00
orrisroot 9fcf542b5c move to page 1 if order by changed. 2019-05-13 23:54:12 +09:00