d-oit/do-epub-studio·#1028· merged

feat(login): glass morphism overhaul, bookSlug fix, Cloudflare E2E tests

Analysed against 946c992210 files changedby d-o-hub
Open PR on GitHub

Change-risk score

9.0out of 10Elevated
Repository health
4.7to4.8base against this head

This change sits in the top third of this repository's own risk distribution, the band worth reviewing closely. It is riskier than 85% of this repository's own commits.

The largest health movement is in access.ts, down 0.8. Nothing outside this PR depends on a contract it changed.

Files changed
10
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
3
2 resolved

Blast radius on the repo map

Every file in the repository, grouped into its own directories and sized by lines. The ones this PR changes are lit, and everything that imports them is marked.

.agentsappspackagesplansscriptsskillswebworkerreader-coreschemashareduiarchiveagent-brow…do-web-doc-…srcsrcsrcsrcsrcscripts__tests__featuresi18nlib__tests__routes__tests__
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

Drawing 1,168 of 1,217 files at a readable size, grouped by directory and sized by lines of code. 10 changed here reach 15 more by import. 49 are too small to see at this width, which is what the frame below is for.

Inside apps

webworkersrcsrc__tests__componentsfeaturesi18nlib__tests__routesadminreaderofflineadminca…edge…fixt…worker-configura…admin…annot…api…da…ex…gr…i1…i1…mai…of…of…of…of…prefe…rea…rea…set…sto…syn…use…St…ar.tsde.tsen.tses.tsfr.…hi.…it.tsja.tsko.tsnl.tspt.tsru…zh…ad…ad…au…co…ed…fix…mfa…mi…mi…pa…ra…ra…rou…ro…ro…ro…ro…route…route…se…se…up…va…adm…mfa…pas…res…ob…te…ac…bo…co…de…expo…no…Acc…Adm…Adm…Adm…Aud…Boo…Boo…Gr…Mfa…Log…Lo…sy…sync.…book…Gr…useAn…use…us…us…us…us…us…export-…Ann…Ann…An…Co…Co…Fi…Fi…Read…Read…Re…

434 files, 9 changed by this PR and 12 that import one. Click any directory above to frame it instead.

Changed

What this PR added, and what it took away

Introduced findings are the ones inside the lines this PR added, not the file's existing ones. The resolved column is the only place in the product that lists them.

Introduced (3)
  • mediumcomplex method
    apps/worker/src/routes/access.ts:34

    accessRouter.post callback has cyclomatic complexity 9

  • mediumduplicated assertion block
    apps/tests/cloudflare-login.spec.ts:46

    assertion block at lines 46-48 is duplicated in apps/tests/cloudflare-login.spec.ts

  • mediumdry violation
    apps/tests/cloudflare-login.spec.ts:68

    70% of file duplicated; worst clone shares 23 lines with apps/tests/cloudflare-login.spec.ts

Resolved (2)
  • function hotspot
    apps/web/src/features/auth/LoginPage.tsx
  • duplicated assertion block
    apps/web/src/__tests__/app-identity-parity.test.tsx

Who else knows this code

The primary author of each changed file by share of its recent commits, mined from git history. Advisory: it says who has context, not who must review.

  • apps/worker/src/routes/access.tsDominik Oswald 79% of 21 commits
  • packages/shared/src/__tests__/schemas.test.tsDominik Oswald 100% of 2 commits
  • apps/web/src/i18n/it.tsd-oit 65% of 18 commits
  • apps/web/src/i18n/pt.tsd-oit 65% of 18 commits
  • apps/web/src/i18n/de.tsDominik Oswald 93% of 40 commits

Tests that cover this change

Test files that import a file this PR changes. Not a coverage measurement: it is the import graph, so it says which tests are worth running, not which lines they reach.

  • apps/web/src/__tests__/i18n-parity.test.ts
  • apps/web/src/__tests__/i18n-rendered-text.test.ts
  • apps/web/src/features/admin/AdminLoginPage.test.tsx
  • apps/tests/login-and-book-load.spec.ts
  • apps/web/src/__tests__/i18n-formatting.test.ts
  • packages/ui/src/__tests__/Input.test.tsx
  • apps/worker/src/__tests__/recovery.test.ts
  • apps/worker/src/__tests__/routes.access.test.ts
  • apps/worker/src/__tests__/routes.admin.test.ts
  • apps/web/src/features/admin/AuditLogPage.test.tsx

7 changed files have no test importing them.

Get this on your own pull requests

This page came from an index of d-oit/do-epub-studio. No model calls, no configuration, and it refreshes on every push. Install the bot and every pull request gets one of these.