Commit Graph

562 Commits

Author SHA1 Message Date
dependabot[bot]
84954f1643 Bump dompurify from 3.4.11 to 3.4.12 (#314)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.11 to 3.4.12.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.11...3.4.12)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-30 00:05:22 +02:00
dependabot[bot]
63af5c0fa6 Bump postcss from 8.5.14 to 8.5.23 (#316)
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.14 to 8.5.23.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.14...8.5.23)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-30 00:05:03 +02:00
lorenzo perone
f04e987df6 Fix PDF export sizing chart to zoomed viewport (#260, #18) (#319)
* Fix PDF export sizing chart to zoomed viewport

downloadPdf() read the PDF page size from getSvgDimensions(), which returns
the live #chartSvg width/height attributes. Those carry the on-screen zoomed
size (chart_wrapper.ts writes size * scale on every d3-zoom event), not the
true chart size. The SVG drawn into the page instead carried the true
dimensions (getStrippedSvg divides by the zoom scale), so the PDF page and
its contents mismatched: zooming in produced a giant page with the tree in
one corner, zooming out produced a truncated strip. See issues #260 and #18.

Fix: have getSvgContentsWithInlinedImages() return the chart's true width
and height (read from the single stripped SVG clone it already builds), and
have downloadPdf() consume those for both the jsPDF page format and the
draw target. downloadSvg()/downloadPng() were already correct and only need
to destructure contents from the new return shape. The buggy helper
getSvgDimensions() is removed.

* Add regression test for PDF export page size

Zooms the chart, exports a PDF and asserts the PDF MediaBox matches the
chart's true (unscaled) dimensions and not the live zoomed ones. Verified
to fail on the pre-fix code (pdfW == liveW) and pass after the fix
(pdfW == trueW).

* Apply prettier formatting to chart_export.spec.ts
2026-07-30 00:04:34 +02:00
Przemek Więch
689f9f253f refactor: move chart implementation, types, and export utilities into a dedicated directory 2026-07-06 16:56:07 +02:00
Przemek Więch
b3e4a0aabd chore: update all GitHub Actions to their latest versions 2026-07-05 23:42:31 +02:00
Przemek Więch
85df7d13bb Format markdown files 2026-07-05 22:51:04 +02:00
Przemek Więch
72abbc7e7e test: update visual regression snapshot for the intro page on Linux 2026-07-05 22:13:03 +02:00
Przemek Więch
b285fe349f refactor: restrict WikiTree integration to the apps.wikitree.com domain and add helper utilities 2026-07-05 20:35:57 +02:00
Przemek Więch
aeb73aced7 docs: add documentation for supported GEDCOM and GEDZIP file formats 2026-07-04 22:05:13 +02:00
Przemek Więch
4d2cd67f04 build: upgrade node base image to version 24-alpine 2026-07-04 22:01:17 +02:00
Przemek Więch
8133efdcdb npm run prettier 2026-07-04 21:53:34 +02:00
Przemek Więch
980df35198 refactor: consolidate prober logic into shared helper and add test-testid attributes to core UI elements 2026-07-04 21:42:21 +02:00
Przemek Więch
fa2636e8b1 Fix docker prober 2026-07-04 00:04:40 +02:00
Przemek Więch
31c3f4698b Add docker container prober 2026-07-03 23:55:08 +02:00
Przemek Więch
0cf16fa6e2 Add cors proxy prober on apps.wikitree.com 2026-07-03 23:47:28 +02:00
Przemek Więch
336ca34312 Add WikiTree prober 2026-07-03 23:43:39 +02:00
Przemek Więch
f28dfbf21d Add GitHub Pages prober 2026-07-03 23:39:16 +02:00
Przemek Więch
6af745ca3d Add design doc for probers 2026-07-03 23:05:19 +02:00
Przemek Więch
c23d134e95 Fix failing visual test 2026-07-01 13:08:11 +02:00
Przemek Więch
a1333932ac Fix visual tests 2026-07-01 11:02:33 +02:00
Przemek Więch
b5d41b91fb Add '/' shortcut to focus search box 2026-06-30 23:49:53 +02:00
Przemek Więch
f11b3187a2 Add Swedish translation (#309) 2026-06-28 23:36:57 +02:00
Przemek Więch
b0cd2a04d6 run prettier 2026-06-25 14:39:37 +02:00
Przemek Więch
3effe501b7 Align and standardize settings data source list layout
Aligns the "Data source" list items in the side panel by resolving a
browser-specific layout discrepancy where icons with different intrinsic
widths (e.g., "edit" vs "calendar") caused uneven text indentation and
vertical misalignment.

- Refactored `SourceHead` in `head.tsx` to wrap all list icons in a
  `list-icon-wrapper` container instead of using `<List.Icon>` directly.
- Added CSS rules in `index.css` to format `.list-icon-wrapper` and its
  sibling `.content` as table cells aligned at the top, with a fixed
  width of `20px` for the icon column.
- Converted relative sizing (`em`) to absolute pixels (`px`) for
  pixel-perfect cross-browser precision.
- Updated Playwright visual regression snapshots to match the newly
  aligned and corrected UI layout.
2026-06-25 14:31:25 +02:00
Przemek Więch
9cb57d1f49 Change order of place display options 2026-06-24 23:18:04 +02:00
Przemek Więch
1d80c07bf9 Trying to fix visual test under node 24 2026-06-24 22:54:40 +02:00
Przemek Więch
994624465d Bump node version to 24 2026-06-24 17:56:25 +02:00
Przemek Więch
e2dc5bfd4b Merge 2 google drive hooks 2026-06-24 17:51:58 +02:00
Przemek Więch
6c8a716ed0 Split long useEffect in useGenealogyLoader 2026-06-24 16:49:18 +02:00
Przemek Więch
445009a89b Extract useGenealogyLoader from view_page.tsx 2026-06-24 00:03:28 +02:00
Przemek Więch
960853ee9f extract useGoogleDriveAuthFlow from view_page.tsx 2026-06-23 23:51:49 +02:00
Przemek Więch
5037175727 Extract useUrlState hook from view_page.tsx 2026-06-23 23:41:27 +02:00
Przemek Więch
2f896feac1 Extract ProgressPill from view_page.tsx 2026-06-23 18:55:46 +02:00
Przemek Więch
48afec25e3 Move WikiTree and Google Drive code out of app.tsx 2026-06-23 18:53:21 +02:00
Przemek Więch
35eab84edd bump topola to 3.10.3 2026-06-22 23:55:22 +02:00
Kamil Jiwa
74bef35955 Don't cache embedded GEDCOM in sessionStorage (#308) 2026-06-21 17:57:31 +02:00
Kamil Jiwa
b6e3a95741 Recognize blob: and data:image URLs as images (#307) 2026-06-21 17:56:47 +02:00
dependabot[bot]
e6ba57886c Bump react-router from 7.15.0 to 7.15.1 (#302) 2026-06-18 20:32:34 +02:00
dependabot[bot]
f432f6068b Bump form-data from 4.0.4 to 4.0.6 (#303) 2026-06-18 20:32:09 +02:00
dependabot[bot]
b8ef6a17f0 Bump dompurify from 3.4.2 to 3.4.11 (#304) 2026-06-18 20:31:47 +02:00
Przemek Więch
17dd3ab291 WikiTree loading improvements 2026-06-15 07:39:22 +02:00
Przemek Więch
f887f40321 Handle wikitree authcode in apps.tsx 2026-06-13 17:11:38 +02:00
Przemek Więch
0589ffba5c Extract IntroPage from app.tsx 2026-06-12 16:14:55 +02:00
Przemek Więch
499f88d23c Extract ViewPage from app.tsx 2026-06-11 20:30:21 +02:00
Przemek Więch
ef2653b51f Extract useGoogleAuth from app.tsx 2026-06-11 17:31:52 +02:00
Przemek Więch
843e0f528c Shift config to URL as source of truth 2026-06-11 17:09:30 +02:00
Przemek Więch
11502aa8e7 Shift showSidePanel to URL as source of truth 2026-06-11 17:00:33 +02:00
Przemek Więch
b9e195e369 Shift selection and detailIndi to URL as source of truth 2026-06-11 16:18:32 +02:00
Przemek Więch
4dd84a7375 Shift freezeAnimation to URL as source of truth 2026-06-11 15:41:11 +02:00
Przemek Więch
e0db71c514 Shift showWikiTreeMenus to URL as source of truth 2026-06-11 15:32:03 +02:00