Skip to content

Add law firm dictation landing page#76

Merged
SeoFood merged 1 commit into
mainfrom
seofood/001-legal-seo-lokales-diktat-kanzlei
May 25, 2026
Merged

Add law firm dictation landing page#76
SeoFood merged 1 commit into
mainfrom
seofood/001-legal-seo-lokales-diktat-kanzlei

Conversation

@SeoFood
Copy link
Copy Markdown
Contributor

@SeoFood SeoFood commented May 24, 2026

Summary

  • Add German and English law-firm dictation landing pages.
  • Position TypeWhisper as a system-wide raw-draft dictation layer for case notes, email drafts, internal memos, and longer legal formulations.
  • Register a dedicated law-firm mockup for the new use case.

Scope and boundaries

The page is written as a customer-facing landing page, not an implementation guide. It avoids legal-advice, deadline-control, and compliance-guarantee claims, and keeps professional review, legal merits, deadlines, citations, and approvals with the law firm.

Validation

  • npm run build
  • Build completed successfully with 0 errors. Existing Astro deprecation hints remain unchanged.

Summary by CodeRabbit

  • New Features

    • Added "Law‑Firm Dictation" use case and made it selectable across the UI so mockup previews and related flows appear where applicable.
    • Included localized interactive mockup content for the new use case (English and German).
  • Documentation

    • Added full English and German use-case pages describing features, benefits, workflow, and operational boundaries.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3afa0646-576e-4a08-b340-b1b23837f083

📥 Commits

Reviewing files that changed from the base of the PR and between 828c94b and 969b4b4.

📒 Files selected for processing (4)
  • src/components/use-cases/mockups/industry-mockup.tsx
  • src/components/use-cases/use-case-mockup.tsx
  • src/content/use-cases/de/law-firm-dictation.mdx
  • src/content/use-cases/en/law-firm-dictation.mdx
✅ Files skipped from review due to trivial changes (1)
  • src/content/use-cases/en/law-firm-dictation.mdx

📝 Walkthrough

Walkthrough

A new "law-firm-dictation" use case is added: components now recognize and render the slug, mock UI content and icon are provided in English and German, and corresponding MDX pages for en/de describe the workflow, pilot setup, and boundaries.

Changes

Law Firm Dictation Use Case

Layer / File(s) Summary
Component routing and slug support
src/components/use-cases/mockups/industry-mockup.tsx, src/components/use-cases/use-case-mockup.tsx
The IndustryMockupProps slug type is extended to include "law-firm-dictation", and routing logic in UseCaseMockup dispatches the new slug to the mockup renderer. The hasUseCaseMockup function includes the new slug in its supported list.
Mock UI content and icon
src/components/use-cases/mockups/industry-mockup.tsx
An icon mapping and bilingual mock content (English and German) are added, providing window titles, sidebar labels, presets, active preset, badge, document title/body, and term lists displayed in the mockup component.
English use-case documentation
src/content/use-cases/en/law-firm-dictation.mdx
An English MDX page defines metadata and content describing the law-firm dictation workflow, including features, three concrete use cases (case notes, email drafts, pleading sections), pilot setup parameters, and explicit boundaries clarifying the product scope.
German use-case documentation
src/content/use-cases/de/law-firm-dictation.mdx
A German MDX page provides translated metadata and content covering Kanzlei use cases (Mandatsnotiz, E-Mail-Rohfassung, Schriftsatzbaustein), pilot setup, and explicit boundaries around legal-aid integration and attorney workflow control.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐇 A tap, a key, a whispered legal line,
Drafts in English, drafts auf Deutsch combine,
A slug, an icon, mock windows shine bright,
Docs and copy folded into the night,
Hops of ink and code — the briefs take flight.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add law firm dictation landing page' directly and accurately summarizes the main change: adding new law-firm dictation pages in German and English along with corresponding mockup support.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch seofood/001-legal-seo-lokales-diktat-kanzlei

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


Comment @coderabbitai help to get the list of available commands and usage tips.

@SeoFood SeoFood marked this pull request as ready for review May 24, 2026 14:10
@SeoFood SeoFood force-pushed the seofood/001-legal-seo-lokales-diktat-kanzlei branch 2 times, most recently from 0e36628 to 828c94b Compare May 24, 2026 15:27
@SeoFood SeoFood changed the title Add law firm dictation use case Add law firm dictation landing page May 24, 2026
@SeoFood SeoFood force-pushed the seofood/001-legal-seo-lokales-diktat-kanzlei branch from 828c94b to 969b4b4 Compare May 24, 2026 15:29
@SeoFood SeoFood merged commit c78cfd1 into main May 25, 2026
2 checks passed
@SeoFood SeoFood deleted the seofood/001-legal-seo-lokales-diktat-kanzlei branch May 25, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant