-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from IFRCGo/project/phase-2-dummy-pages
Project/subscription and historical alerts
- Loading branch information
Showing
107 changed files
with
6,047 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,12 +32,16 @@ x-server: &base_server_setup | |
# Redis config | ||
CELERY_BROKER_URL: ${CELERY_BROKER_URL:-redis://redis:6379/0} | ||
CACHE_REDIS_URL: ${CACHE_REDIS_URL:-redis://redis:6379/1} | ||
TEST_CACHE_REDIS_URL: ${TEST_CACHE_REDIS_URL:-redis://redis:6379/11} | ||
# Email config | ||
EMAIL_HOST: ${EMAIL_HOST:-mailpit} | ||
EMAIL_PORT: ${EMAIL_PORT:-1025} | ||
EMAIL_HOST_USER: ${EMAIL_HOST_USER:-mailpit} | ||
EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD:-mailpit} | ||
DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-alert-hub-dev <[email protected]>} | ||
# Misc | ||
HCAPTCHA_SECRET: ${HCAPTCHA_SECRET:-0x0000000000000000000000000000000000000000} | ||
HCAPTCHA_SITEKEY: ${HCAPTCHA_SITEKEY:-10000000-ffff-ffff-ffff-000000000001} | ||
volumes: | ||
- ./backend/:/code | ||
- backend_data:/data/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,20 +20,19 @@ | |
}, | ||
"dependencies": { | ||
"@apollo/client": "^3.9.9", | ||
"@graphql-codegen/introspection": "^4.0.3", | ||
"@graphql-codegen/typescript-operations": "^4.2.0", | ||
"@hcaptcha/react-hcaptcha": "^1.11.0", | ||
"@ifrc-go/icons": "^1.3.3", | ||
"@ifrc-go/ui": "^1.1.2", | ||
"@ifrc-go/ui": "^1.2.1", | ||
"@mapbox/mapbox-gl-draw": "^1.4.3", | ||
"@placemarkio/geo-viewport": "^1.0.2", | ||
"@sentry/react": "^7.81.1", | ||
"@togglecorp/fujs": "^2.1.1", | ||
"@togglecorp/re-map": "^0.2.0-beta-6", | ||
"@togglecorp/toggle-form": "^2.0.4", | ||
"@turf/bbox": "^7.1.0", | ||
"@turf/circle": "^7.1.0", | ||
"graphql": "^16.8.1", | ||
"mapbox-gl": "^1.13.0", | ||
"patch-package": "^8.0.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.22.3" | ||
|
@@ -42,6 +41,8 @@ | |
"@eslint/eslintrc": "^3.0.2", | ||
"@graphql-codegen/cli": "^5.0.2", | ||
"@graphql-codegen/client-preset": "^4.2.5", | ||
"@graphql-codegen/introspection": "^4.0.3", | ||
"@graphql-codegen/typescript-operations": "^4.2.0", | ||
"@graphql-typed-document-node/core": "^3.2.0", | ||
"@julr/vite-plugin-validate-env": "^1.0.1", | ||
"@parcel/watcher": "^2.4.1", | ||
|
@@ -69,6 +70,7 @@ | |
"eslint-plugin-simple-import-sort": "^12.0.0", | ||
"fast-glob": "^3.3.0", | ||
"happy-dom": "^14.3.8", | ||
"patch-package": "^8.0.0", | ||
"postcss": "^8.4.38", | ||
"postcss-nested": "^6.0.1", | ||
"postcss-normalize": "^10.0.1", | ||
|
@@ -92,5 +94,10 @@ | |
"vite-tsconfig-paths": "^4.2.2", | ||
"vitest": "^1.1.0" | ||
}, | ||
"packageManager": "[email protected]+sha1.71f9126a20cd3d00fa47c188f956918858180e54" | ||
"packageManager": "[email protected]+sha1.71f9126a20cd3d00fa47c188f956918858180e54", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@ifrc-go/[email protected]": "patches/@[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
diff --git a/dist/components/Chip/index.d.ts b/dist/components/Chip/index.d.ts | ||
index 7345249eaad9a8fb959fe0330639292354032909..ceba3ed438c7fa0b687d07f7591bab624aff06bc 100644 | ||
--- a/dist/components/Chip/index.d.ts | ||
+++ b/dist/components/Chip/index.d.ts | ||
@@ -2,7 +2,7 @@ export type ChipVariant = 'primary' | 'secondary' | 'tertiary'; | ||
export interface Props<N> { | ||
className?: string; | ||
name: N; | ||
- label: string; | ||
+ label: React.ReactNode; | ||
variant?: ChipVariant; | ||
onDelete?: (name: N, e: React.MouseEvent<HTMLButtonElement>) => void; | ||
} | ||
diff --git a/package.json b/package.json | ||
index 999e201527e87de45a377344ca40f13212549f61..8ce9c9c085e950405fb0d0f888d5c57876b5e080 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -97,5 +97,10 @@ | ||
"vite-plugin-lib-inject-css": "^1.3.0", | ||
"vite-tsconfig-paths": "^4.2.3", | ||
"vitest": "^1.1.1" | ||
+ }, | ||
+ "pnpm": { | ||
+ "patchedDependencies": { | ||
+ "@ifrc-go/[email protected]": "patches/@[email protected]" | ||
+ } | ||
} | ||
} | ||
diff --git a/patches/@[email protected] b/patches/@[email protected] | ||
new file mode 100644 | ||
index 0000000000000000000000000000000000000000..31603365255a6e1aa30c140c96b27fa3e93cd7fa | ||
--- /dev/null | ||
+++ b/patches/@[email protected] | ||
@@ -0,0 +1,13 @@ | ||
+diff --git a/dist/components/Chip/index.d.ts b/dist/components/Chip/index.d.ts | ||
+index 7345249eaad9a8fb959fe0330639292354032909..ceba3ed438c7fa0b687d07f7591bab624aff06bc 100644 | ||
+--- a/dist/components/Chip/index.d.ts | ||
++++ b/dist/components/Chip/index.d.ts | ||
+@@ -2,7 +2,7 @@ export type ChipVariant = 'primary' | 'secondary' | 'tertiary'; | ||
+ export interface Props<N> { | ||
+ className?: string; | ||
+ name: N; | ||
+- label: string; | ||
++ label: React.ReactNode; | ||
+ variant?: ChipVariant; | ||
+ onDelete?: (name: N, e: React.MouseEvent<HTMLButtonElement>) => void; | ||
+ } |
Oops, something went wrong.