mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
## Move editor under `frontend/editor/`
Pure restructure: `frontend/` becomes the workspace, `frontend/editor/`
holds
the PDF editor. 1775 file renames + 40 wiring edits. No logic changes.
### Why
`frontend/` is currently the editor — its `src/`, `public/`,
`src-tauri/`,
config files all sit at the root. Promoting `frontend/` to a
workspace and putting the editor in a sibling folder leaves room for
future
apps to drop in alongside it, sharing one `package.json` /
`node_modules` /
lint config / Storybook.
### What moves
frontend/
├── editor/ ← NEW: everything editor-specific
│ ├── src/ ← was frontend/src/
│ ├── public/ ← was frontend/public/
│ ├── src-tauri/ ← was frontend/src-tauri/
│ ├── index.html, vite.config.ts, vitest.config.ts, playwright.config.ts
│ ├── tsconfig*.json, tailwind.config.js, postcss.config.js
│ ├── scripts/
│ ├── .env, .env.desktop, .env.saas
│ └── DeveloperGuide.md
├── package.json, package-lock.json, node_modules/ ← workspace install
├── eslint.config.mjs, .prettierrc, .prettierignore ← shared tooling
├── .gitignore
└── README.md
### Wiring edits (40 files)
- `.taskfiles/frontend.yml`, `desktop.yml`, `e2e.yml`
- `build.gradle`, `app/core/build.gradle`
- `eslint.config.mjs`, `frontend/package.json`, `.gitignore`,
`.prettierignore`
- `docker/frontend/Dockerfile`
- 8 `.github/workflows/*.yml`, plus `.github/dependabot.yml`,
`.github/config/.files.yaml`, `.github/labeler-config-srvaroa.yml`
- `scripts/translations/**`
- Docs: `AGENTS.md`, `CLAUDE.md`, `ADDING_TOOLS.md`,
`DeveloperGuide.md`,
`WINDOWS_SIGNING.md`, `devGuide/HowToAddNewLanguage.md`,
`frontend/README.md`,
`frontend/editor/DeveloperGuide.md`
Plus 3 renamed + edited: `editor/vite.config.ts` (env path +
node_modules
walk-up), `editor/scripts/setup-env.mts` (renamed from `.ts` for
`import.meta.url`), `editor/scripts/build-provisioner.mjs` (resolve
src-tauri
relative to script).
### Verification
| Check | Result |
|---|---|
| `task frontend:typecheck:all` (6 variants) | exit 0 |
| `task frontend:lint` (eslint + dpdm) | exit 0 |
| `task frontend:format:check` | exit 0 |
| `task frontend:test` | 657 tests pass, 50 files |
| `task frontend:build:{core,proprietary,saas,desktop,prototypes}` | all
green |
| `task desktop:build` | full Tauri pipeline →
`Stirling-PDF_2.11.0_x64_en-US.msi` |
| `playwright test --list --project=stubbed` | 172 tests discovered |
`task desktop:build` exercises the heaviest path — Rust + WiX + MSI
bundle
against the moved `editor/src-tauri/`. If anything in the restructure
was
wrong it wouldn't have built.
### Test plan
- [ ] `frontend-validation.yml` green
- [ ] `e2e-stubbed.yml` green
- [ ] `tauri-build.yml` green on at least one platform
- [ ] `check_toml.yml` runs on a translation-touching PR
---------
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
6 lines
9.5 KiB
XML
6 lines
9.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512">
|
|
<path d="M0 0 C3.49744921 0.00008059 6.99476555 -0.00676629 10.4921875 -0.02050781 C122.34246478 -0.45274246 122.34246478 -0.45274246 141.09765625 16.76342773 C174.54897241 50.48398084 198.17485368 98.50734979 220.2890625 140.18530273 C221.1324829 141.76100004 221.97621598 143.33653003 222.8203125 144.91186523 C225.34858406 149.64988997 227.82847564 154.41181605 230.2890625 159.18530273 C230.8267627 160.2267041 231.36446289 161.26810547 231.91845703 162.34106445 C263.97869273 224.6988045 263.97869273 224.6988045 257.2890625 246.62280273 C256.33837624 249.49549183 255.32151367 252.34111978 254.2890625 255.18530273 C254.04752441 255.87043945 253.80598633 256.55557617 253.55712891 257.26147461 C244.38398084 282.94389568 231.16369144 307.84651325 217.77392578 331.5480957 C216.15713726 334.41960994 214.56384348 337.30343438 212.97265625 340.18920898 C194.28299041 373.98591599 174.45724145 407.95539812 150.2890625 438.18530273 C149.44778687 439.26853527 148.60664286 440.35187005 147.765625 441.43530273 C135.2777998 457.28458828 120.48484397 460.1921792 101.2734375 462.52905273 C90.97014135 463.69879989 80.63803833 464.54507968 70.2890625 465.18530273 C69.63779388 465.2287381 68.98652527 465.27217346 68.31552124 465.31692505 C50.87151776 466.45187962 33.4023821 466.37275817 15.92993164 466.37060547 C12.48782015 466.37052485 9.04584358 466.37737916 5.60375977 466.39111328 C-105.75918075 466.82808362 -105.75918075 466.82808362 -124.51953125 449.60717773 C-157.96261218 415.89492615 -181.62027539 367.86551471 -203.7109375 326.18530273 C-204.17081055 325.32195312 -204.63068359 324.45860352 -205.10449219 323.5690918 C-210.43022193 313.56936897 -215.66249875 303.52575099 -220.6484375 293.35180664 C-221.3952219 291.82906657 -222.1455397 290.30805675 -222.8984375 288.78833008 C-247.25894415 239.50588323 -247.25894415 239.50588323 -240.02416992 217.67553711 C-239.27144018 215.50512905 -238.49479043 213.34465053 -237.7109375 211.18530273 C-237.46939941 210.50016602 -237.22786133 209.8150293 -236.97900391 209.10913086 C-227.80402405 183.42158124 -214.58045959 158.51494941 -201.18701172 134.80932617 C-199.59454635 131.9783937 -198.02842516 129.13384607 -196.46484375 126.28686523 C-187.65613486 110.30892324 -178.30355216 94.70052176 -168.7109375 79.18530273 C-168.13537109 78.25363281 -167.55980469 77.32196289 -166.96679688 76.36206055 C-156.65880245 59.72842263 -145.68617783 43.66588911 -133.7109375 28.18530273 C-133.26331055 27.60167969 -132.81568359 27.01805664 -132.35449219 26.41674805 C-120.11889277 10.58083036 -106.8466946 6.70895536 -87.58569336 4.19287109 C-76.32773901 2.82264388 -65.02778011 1.90231075 -53.7109375 1.18530273 C-52.43895508 1.09627686 -51.16697266 1.00725098 -49.85644531 0.91552734 C-33.25990706 -0.14473851 -16.62256341 -0.00201494 0 0 Z " fill="#03A9F4" transform="translate(247.7109375,22.814697265625)"/>
|
|
<path d="M0 0 C1.94015739 -0.00006042 1.94015739 -0.00006042 3.91950989 -0.00012207 C6.6350783 0.00151661 9.34980657 0.01994719 12.06518555 0.05175781 C15.52142771 0.09155158 18.97658108 0.09578014 22.43300915 0.08829498 C25.76796881 0.08446601 29.10259375 0.10532619 32.4375 0.125 C33.66583054 0.12520142 34.89416107 0.12540283 36.15971375 0.12561035 C47.09695747 0.27540119 56.50795369 2.57843586 64.7109375 10.15625 C72.91383281 19.03758026 73.6173168 28.09554397 73.515625 39.8125 C73.51578032 41.28023348 73.51727475 42.74796735 73.52003479 44.21569824 C73.52141245 47.27858816 73.50896828 50.34100621 73.48608398 53.40380859 C73.45770082 57.30735778 73.460445 61.21012427 73.4731741 65.11373138 C73.48016705 68.14058992 73.47230105 71.16727118 73.45991707 74.19410706 C73.45543758 75.63244443 73.45503473 77.07080108 73.45898247 78.50914001 C73.47463451 89.22704255 72.73697579 98.16811946 65.89453125 106.73828125 C59.56650261 113.00039293 51.33744879 116.85517881 42.48510742 116.82080078 C41.1841362 116.82064972 39.88316498 116.82049866 38.54277039 116.82034302 C37.13267868 116.81013124 35.72258856 116.79969927 34.3125 116.7890625 C32.86233211 116.78532959 31.41216168 116.78248393 29.96199036 116.78048706 C26.15614791 116.77287249 22.35045955 116.75324289 18.54467773 116.7310791 C13.97247756 116.70696463 9.40022569 116.69782931 4.82798004 116.68617249 C-2.10827653 116.66681704 -9.0441954 116.6284796 -15.98046875 116.59375 C-15.98046875 133.75375 -15.98046875 150.91375 -15.98046875 168.59375 C-11.39269531 168.54734375 -6.80492187 168.5009375 -2.078125 168.453125 C0.84312184 168.43266627 3.7642793 168.41340924 6.68554688 168.3984375 C11.31374653 168.37460446 15.9416271 168.34653118 20.56958008 168.29199219 C24.30435729 168.2482587 28.03879193 168.22455557 31.77380562 168.21424103 C33.19266712 168.20689857 34.61151168 168.19256131 36.03022575 168.17082977 C44.27281605 168.04969077 50.83849035 168.3352293 58.01953125 172.59375 C58.66119736 172.95160583 59.30286346 173.30946167 59.963974 173.67816162 C65.70350455 177.01858226 69.07169835 182.79801075 72.01953125 188.59375 C72.99960463 192.46008043 73.17298409 196.14122422 73.22827148 200.12133789 C73.2475621 201.42361832 73.26685272 202.72589874 73.28672791 204.06764221 C73.30154165 205.48388664 73.31531404 206.90014229 73.328125 208.31640625 C73.33469683 209.03602476 73.34126865 209.75564327 73.34803963 210.49706841 C73.38056493 214.31044424 73.40502597 218.12379305 73.42456055 221.93725586 C73.44231787 225.07113991 73.47705549 228.20411465 73.52709961 231.33764648 C73.58777934 235.14313026 73.6181004 238.94777684 73.62773323 242.75372124 C73.63621165 244.19247644 73.65483803 245.63121392 73.68447685 247.0696888 C73.89092106 257.66405546 72.34689436 266.684995 65.00950623 274.82313538 C57.79090516 281.6765038 50.00657402 284.66198025 40.13452148 284.78662109 C38.39131874 284.81071548 38.39131874 284.81071548 36.61289978 284.83529663 C31.29751293 284.88008458 25.98226986 284.92125017 20.66674805 284.94384766 C17.87246601 284.9571364 15.07892301 284.98490259 12.28491211 285.02587891 C8.23669479 285.08522035 4.18925534 285.10257348 0.140625 285.1171875 C-1.09418106 285.13985687 -2.32898712 285.16252625 -3.60121155 285.18588257 C-14.04047933 285.16075819 -23.76576747 282.61833853 -31.51953125 275.26171875 C-37.13294046 268.85282641 -40.24381233 262.00617759 -40.20751953 253.40478516 C-40.20736847 252.20399323 -40.20721741 251.00320129 -40.20706177 249.76602173 C-40.1967392 248.48456268 -40.18641663 247.20310364 -40.17578125 245.8828125 C-40.17204665 244.54617526 -40.16920179 243.20953526 -40.16720581 241.87289429 C-40.15960452 238.37119868 -40.13998663 234.8696715 -40.11779785 231.36804199 C-40.09726349 227.78835325 -40.08818793 224.20863704 -40.078125 220.62890625 C-40.05673704 213.61711873 -40.02264391 206.60544247 -39.98046875 199.59375 C-40.52234329 199.75542664 -41.06421783 199.91710327 -41.62251282 200.0836792 C-44.37168919 200.67837844 -46.89396671 200.7358999 -49.70776367 200.75488281 C-50.85963669 200.76449036 -52.0115097 200.7740979 -53.19828796 200.78399658 C-54.43996231 200.78824646 -55.68163666 200.79249634 -56.9609375 200.796875 C-58.2434993 200.80257507 -59.5260611 200.80827515 -60.8474884 200.81414795 C-63.56345005 200.82464026 -66.27938228 200.83049378 -68.99536133 200.83398438 C-72.45394824 200.83945074 -75.91213783 200.86344575 -79.3706007 200.89195633 C-82.69237098 200.91521378 -86.01409013 200.9170415 -89.3359375 200.921875 C-90.56749069 200.9342218 -91.79904388 200.9465686 -93.06791687 200.95928955 C-103.65184563 200.93208632 -112.25095602 199.24643018 -120.01953125 191.58203125 C-127.14949164 183.94649185 -130.05794562 177.10919245 -130.1574707 166.60107422 C-130.17672356 164.82299881 -130.17672356 164.82299881 -130.19636536 163.00900269 C-130.20375229 161.73501617 -130.21113922 160.46102966 -130.21875 159.1484375 C-130.22282553 158.49376621 -130.22690105 157.83909492 -130.23110008 157.16458511 C-130.25190891 153.69598972 -130.26623019 150.22743322 -130.27563477 146.75878906 C-130.28665966 143.20503139 -130.32102786 139.65190666 -130.36080647 136.09837151 C-130.38715858 133.34084033 -130.3953431 130.58345544 -130.39891624 127.82580948 C-130.40605871 125.88784044 -130.43241783 123.94997219 -130.45930481 122.01217651 C-130.43034057 110.08918086 -127.76147935 101.40358223 -119.421875 92.76171875 C-112.61145264 86.71406369 -106.09578246 84.47136897 -97.06030273 84.46435547 C-95.89236679 84.46120331 -94.72443085 84.45805115 -93.52110291 84.45480347 C-92.26890457 84.4568277 -91.01670624 84.45885193 -89.7265625 84.4609375 C-88.43355728 84.45998077 -87.14055206 84.45902405 -85.80836487 84.45803833 C-83.07739054 84.45656746 -80.34644902 84.45869659 -77.61547852 84.46337891 C-74.11958175 84.46908151 -70.62376167 84.46578998 -67.1278677 84.45980644 C-63.78575985 84.45531996 -60.44367253 84.45846276 -57.1015625 84.4609375 C-55.84733994 84.45891327 -54.59311737 84.45688904 -53.30088806 84.45480347 C-52.13610428 84.45795563 -50.9713205 84.46110779 -49.77124023 84.46435547 C-48.74707504 84.46515106 -47.72290985 84.46594666 -46.66770935 84.46676636 C-44.2753053 84.57981771 -42.26539621 84.90758854 -39.98046875 85.59375 C-39.99379242 84.85618469 -40.00711609 84.11861938 -40.02084351 83.35870361 C-40.14180142 76.35768374 -40.23278436 69.35703462 -40.29134178 62.35525894 C-40.32246122 58.75672551 -40.36456763 55.15906585 -40.43310547 51.56103516 C-40.49900628 48.0790645 -40.53431995 44.59792618 -40.54973221 41.11537933 C-40.56597536 39.1612142 -40.6126984 37.20737723 -40.6602478 35.25372314 C-40.66381698 25.6424848 -38.42861053 17.99523792 -32.24203491 10.48272705 C-23.21024427 1.73860842 -12.11330374 -0.16248684 0 0 Z " fill="#FEFEFE" transform="translate(258.98046875,113.40625)"/>
|
|
</svg>
|