Skip to content

Commit 7aeae00

Browse files
committed
Implement file upload in Contact Form using Uppy
1 parent d452344 commit 7aeae00

70 files changed

Lines changed: 8895 additions & 4626 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.env.example‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ CRON_SECRET="<cron_secret_here>"
4646

4747
# Environment variable
4848
PUBLIC_GOOGLE_MAPS_API_KEY="<api_key_here>"
49+
PUBLIC_GOOGLE_MAP_ID="<map_id>"
4950

5051
##
5152
# SMTP remailer

‎.vscode/dev-server-cli.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import yargs from 'yargs/yargs'
88
import { hideBin } from 'yargs/helpers'
99

1010
const pidFile = `${tempDir}/debug-server-hmDAr917.pid`
11-
const port = 3000
11+
const port = 4321
1212

1313
/**
1414
* Ensure we do not start a duplicate dev server instance

‎.vscode/settings.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"koko",
6161
"labelledby",
6262
"LGPD",
63+
"lighthousejs",
6364
"LIMS",
6465
"Linkify",
6566
"liradb",

‎_TODO.md‎

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -58,66 +58,3 @@ Vercel AI Gateway, maybe could use for a chatbot:
5858
Vercel AI Gateway, maybe could use for a chatbot:
5959

6060
https://vercel.com/kevin-browns-projects-dd474f73/astro-webstackbuilders-com/ai-gateway
61-
62-
## POM → Page/Route Mapping
63-
64-
### BreadCrumbPage (BreadCrumbPage.ts)
65-
66-
- Routes it targets: listing pages `/articles`, `/services`, `/case-studies`, then navigates to the first detail page it can find under each (e.g. ``/articles/<slug>`).
67-
68-
- 1:1 or 1:many: 1:many (listing + arbitrary first detail for each content type).
69-
70-
- Used by: `breadcrumbs.spec.ts`
71-
72-
### ComponentPersistencePage (ComponentPersistencePage.ts)
73-
74-
- Routes it targets: none hardcoded in the POM; the specs drive navigation. In practice it's used to start on `/` then navigate via Astro View Transitions to `/articles` and sometimes `/services`.
75-
76-
- 1:1 or 1:many: 1:many (it's a view-transitions persistence harness for whatever page contains the selector under test).
77-
78-
- Used by:
79-
- `footer.spec.ts` (navigates / → /articles)
80-
- `themepicker.spec.ts` (navigates / → /articles)
81-
- `head.spec.ts` (navigates / → /articles, /services, plus a reload back to /)
82-
83-
### HeadPage (HeadPage.ts)
84-
85-
- Routes it targets: none hardcoded; it asserts head/meta/JSON-LD on whatever page you've navigated to. In the structured data suite it covers `/`, `/articles`, first `/articles/<slug>`, `/services`, first `/services/<slug>`, and `/contact`.
86-
87-
- 1:1 or 1:many: 1:many (generic head / structured-data helper).
88-
89-
- Used by: `structured-data.spec.ts`
90-
91-
### MarkdownPage (MarkdownPage.ts)
92-
93-
- Routes it targets: `/testing/markdown` (dedicated fixture page).
94-
95-
- 1:1 or 1:many: 1:1 (single fixture route).
96-
97-
- Used by: `markdown.spec.ts`
98-
99-
### NewsletterPage (NewsletterPage.ts)
100-
101-
- Routes it targets:`/testing/newsletter` (dedicated fixture page).
102-
103-
- Also interacts with: the action endpoint `/_actions/newsletter/subscribe` (via `waitForResponse` expectations).
104-
1:1 or 1:many: 1:1 (single fixture route, plus the action endpoint).
105-
106-
- Used by: `newsletter-subscription.spec.ts`
107-
108-
### PerformancePage (PerformancePage.ts)
109-
110-
- Routes it targets: none hardcoded; in current specs it's used against `/` (homepage).
111-
1:1 or 1:many: 1:many in design (generic perf helpers), but currently exercised as 1:1 on `/`.
112-
113-
- Used by:
114-
- `core-web-vitals.spec.ts` (goes to `/`)
115-
- `lighthouse.spec.ts` (goes to `/`, but tests are skipped)
116-
117-
### PwaPage (PwaPage.ts)
118-
119-
- Routes it targets: primarily `/` (homepage), including helpers that wait for SW readiness/caches (some of which are environment-dependent).
120-
121-
- 1:1 or 1:many: 1:many in capability (PWA primitives), but current coverage is 1:1 on `/`.
122-
123-
- Used by: `offline-mode.spec.ts`

0 commit comments

Comments
 (0)