Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bba583b
Add citizen reporting web client template
idormenco Mar 27, 2025
f3a9965
Query data, add api models
idormenco Mar 27, 2025
6854555
Add thank you add typography
idormenco Mar 27, 2025
fd719b3
add landing page & footer (#928)
imdeaconu Mar 27, 2025
c99bec6
Update About.tsx
idormenco Mar 27, 2025
8b4cf35
Add citizen guides
idormenco Mar 27, 2025
f27387c
Add 404 , add forms list
idormenco Mar 28, 2025
bb51270
Update .gitignore
idormenco Mar 28, 2025
3d18e55
Update LICENSE
idormenco Mar 28, 2025
2e02dd1
Add form with and display questions
idormenco Mar 28, 2025
a8e48d0
hide footer on thank you page (#937)
imdeaconu Mar 28, 2025
c490dc5
created card for every form in form page (#938)
RafaelCiobotariu Mar 28, 2025
9a79222
Update ReportingForm.tsx
idormenco Mar 28, 2025
c0287e0
Citizen reporting web (#939)
imdeaconu Mar 28, 2025
b640952
updating className properties for each of typographyClasses (#940)
FriptuT Mar 28, 2025
72666bb
Add locations step
idormenco Mar 30, 2025
d9e6b8d
rework select flow
idormenco Mar 30, 2025
e43cd81
Merge branch 'main' into feature/citizen-reporting-web
idormenco Mar 30, 2025
c6fcb14
Update ReportLocationStep.tsx
idormenco Mar 30, 2025
8ca0212
Update ReportLocationStep.tsx
idormenco Mar 30, 2025
6b01baf
Update ReportLocationStep.tsx
idormenco Mar 30, 2025
6650d23
Feature/guide-details-page (#950)
RafaelCiobotariu Mar 31, 2025
a48ef71
fix imports ; update readme
idormenco Mar 31, 2025
1ec5583
Rework header links + make location selector work
idormenco Apr 9, 2025
e6912c6
Merge branch 'main' into feature/citizen-reporting-web
idormenco Apr 15, 2025
654304d
added language selector for reporting forms (#957)
RafaelCiobotariu Apr 16, 2025
e9fb9a0
[Citizen Reporting Web] Bugfixes and improvements for the reporting f…
imdeaconu May 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added web-citizen-reporting/README.MD
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VITE_APP_ENVIRONMENT="development"
PUBLIC_APP_URL=http://localhost:3000
VITE_API_URL=https://votemonitor.staging.heroesof.tech
VITE_ELECTION_ROUND_ID=681c30c3-cb8d-496b-a84b-af374abf60f4
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
.DS_Store
dist
dist-ssr
*.local
.vite
21 changes: 21 additions & 0 deletions web-citizen-reporting/web-citizen-reporting-template/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 Commit Global

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
20 changes: 20 additions & 0 deletions web-citizen-reporting/web-citizen-reporting-template/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Welcome to web citizen reporting template

# Getting Started

To run this application:

copy `.env.example` to `.env`

```bash
pnpm install
pnpm start
```

# Building For Production

To build this application for production:

```bash
pnpm build
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/styles.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
27 changes: 27 additions & 0 deletions web-citizen-reporting/web-citizen-reporting-template/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon.ico" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site for collecting citizen reports for vote monitor" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<title>Vote Monitor Citizen Web</title>
<script>
try {
if (localStorage.theme === 'dark' || ((!('theme' in localStorage) || localStorage.theme === 'system') && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', `'${META_THEME_COLORS.dark}'`)
}
} catch (_) { }
</script>
</head>

<body class="min-h-svh bg-background font-sans antialiased">
<div id="app"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
68 changes: 68 additions & 0 deletions web-citizen-reporting/web-citizen-reporting-template/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"name": "web-citizen-reporting-template",
"private": true,
"type": "module",
"scripts": {
"start": "vite --port 3000",
"build": "vite build && tsc",
"serve": "vite preview",
"test": "vitest run"
},
"dependencies": {
"@hookform/resolvers": "^4.1.3",
"@radix-ui/react-accordion": "^1.2.3",
"@radix-ui/react-aspect-ratio": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.4",
"@radix-ui/react-collapsible": "^1.1.3",
"@radix-ui/react-dialog": "^1.1.6",
"@radix-ui/react-hover-card": "^1.1.6",
"@radix-ui/react-label": "^2.1.2",
"@radix-ui/react-popover": "^1.1.6",
"@radix-ui/react-progress": "^1.1.2",
"@radix-ui/react-radio-group": "^1.2.3",
"@radix-ui/react-scroll-area": "^1.2.3",
"@radix-ui/react-select": "^2.1.6",
"@radix-ui/react-separator": "^1.1.2",
"@radix-ui/react-slider": "^1.2.3",
"@radix-ui/react-slot": "^1.1.2",
"@radix-ui/react-tabs": "^1.1.3",
"@radix-ui/react-tooltip": "^1.1.8",
"@stepperize/react": "^5.1.5",
"@tailwindcss/vite": "^4.0.6",
"@tanstack/react-query": "^5.69.0",
"@tanstack/react-router": "^1.114.3",
"@tanstack/react-table": "^8.21.2",
"@tanstack/router-plugin": "^1.114.3",
"axios": "^1.8.4",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"framer-motion": "^12.6.2",
"jotai": "^2.12.2",
"lucide-react": "^0.476.0",
"next-themes": "^0.4.6",
"react": "^19.0.0",
"react-day-picker": "8.10.1",
"react-dom": "^19.0.0",
"react-dropzone": "^14.3.8",
"react-hook-form": "^7.54.2",
"sonner": "^2.0.1",
"tailwind-merge": "^3.0.2",
"tailwindcss": "^4.0.6",
"tailwindcss-animate": "^1.0.7",
"vaul": "^1.1.2",
"zod": "^3.24.2"
},
"devDependencies": {
"@hookform/devtools": "^4.3.3",
"@tanstack/react-query-devtools": "^5.69.0",
"@tanstack/react-router-devtools": "^1.114.3",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"jsdom": "^26.0.0",
"typescript": "^5.7.2",
"vite": "^6.1.0",
"web-vitals": "^4.2.4"
}
}
Loading