Commit Graph
215 Commits
Author SHA1 Message Date
leander 21e3bdd96e add temporary error message for soon to be deprecated event api 2024-08-01 17:03:05 +02:00
leander fd04a28157 revert header color back to orange 2024-08-01 17:02:19 +02:00
leander 0b3c82e255 Merge branch 'leander/form-error-handling' into 'main'
fix* form error handling

See merge request edb/cnapp!4
2024-07-26 01:21:27 +00:00
leander 3561fe1ece Merge branch 'main' into 'leander/form-error-handling'
# Conflicts:
#   src/modules/login/Login.tsx
2024-07-26 01:20:42 +00:00
leander 6668467594 fix display of field errors from api 2024-07-26 03:09:41 +02:00
leander 702adabf84 fix ugly formatting for fields with multiple errors 2024-07-26 03:08:03 +02:00
leander e8bb66b740 display message on javascript error
Specifically this allows us to display an error message when the API is
unavailable
2024-07-26 03:04:08 +02:00
leander 8ed6e30da1 remove unused error formatter 2024-07-26 03:02:23 +02:00
leander 1caeebdca3 use snake_case field names for registration form
Although not conventional, our API uses snake_case and returns form
field exceptions in the same format. Thus to avoid handling variable
name conversions it is probably for the better
2024-07-26 03:01:43 +02:00
leander fb62f6f967 rephrase generic error messge 2024-07-25 22:08:22 +02:00
leander ab932e31a5 don't ignore errors with no fields 2024-07-25 22:08:22 +02:00
leander fd9be09582 display error on login when API is unreachable 2024-07-25 22:08:18 +02:00
nikolark 4cbb780235 refactor away some dusken name uses
Also allow running using expo dev build
2024-07-22 22:50:09 +02:00
ponas 129a3b4a7a add eas project id and owner 2024-07-22 22:00:27 +02:00
nikolark 104404fa0b roll more deps 2024-07-22 21:47:26 +02:00
nikolark cef7250413 npx sort-package-json 2024-07-22 21:13:50 +02:00
nikolark 6a37d3a823 remove already fixed TODOs 2024-07-22 21:13:19 +02:00
nikolark ec9a66b12b remove unused @babel/eslint-parser 2024-07-22 13:51:18 +02:00
nikolark ac2969296d misc dep cleanups
- Remove native-base
 - Remove eslint-plugin-unused-imports which is covered by typescript-eslint/no-unused-vars
 - Roll expo deps, to silence warnings
2024-07-22 13:48:50 +02:00
nikolark 9146171724 remove remaining native-base usage 2024-07-22 13:46:24 +02:00
nikolark 26c9e49183 npm run format 2024-07-22 13:26:52 +02:00
nikolark e11ecf4588 replace native-base usage in FormInput 2024-07-22 13:25:49 +02:00
nikolark 29b7dd10d9 replace native-base Alert use 2024-07-11 13:33:43 +02:00
leander b76a832c43 Fix forms not registering input values
Ended up ruining the clean looking code. There's probably a way to make
it clean AND working
2024-07-08 21:20:19 +02:00
leander 5ff7af78f8 Closes #11
Why the weird import order? Because it was the only way to make the
linter happy
2024-07-08 21:17:50 +02:00
nikolark fc8e6c9745 Fix last typescript strict issues
This uses the `any` escape hatch a few more places, which should be tidied up later.
Suggest upgrading redux usage to the latest version and start using slices to make a few things easier. Also the confetti component might be worth replacing

Remove dead code from the old membership charge flow++
2024-07-07 22:33:57 +02:00
nikolark 7a1fb19f56 Misc typing improvements++
Turned on compilerOptions.strict in tsconfig.json
and and did a bunch of ad hoc changes. Typed most of the implicit anys

 - Remove redux 4 to 5 migration
 - Stop prop drilling user state
 - Add more data types
 - Start typing redux state
 - Started using redux hooks in Dusken.tsx in favor of the connect HOC
2024-07-07 21:52:48 +02:00
nikolark ce43893f9d Merge branch 'nikolaik/migrate-ts' into 'main'
Migrate to typescript 💥

See merge request edb/cnapp!3
2024-07-07 10:44:02 +00:00
nikolark bb75b70021 Migrate to typescript 💥 2024-07-07 12:39:27 +02:00
nikolark 61337935cf eslint: sort imports 2024-07-05 22:38:04 +02:00
nikolark 4e3bf22e93 eslint: Autoremove unused imports
Also clean config a bit
2024-07-05 22:26:55 +02:00
nikolark 62ea54a313 Minor cleanups and roll some dev deps 2024-07-05 22:22:22 +02:00
nikolark d1acb8cf86 Merge branch 'nikolaik/payment-intent-flow' into 'main'
Implement stripe payment intent flow

Closes #5

See merge request edb/cnapp!2
2024-07-05 20:10:54 +00:00
nikolark c15e3a5848 stripe: Implement payment intent flow
- Remove remaining uses of native-base Toast
 - Try supporting stripe hardlinks
 - Tweaks to app.json
 - Add expo-constants to expose app.json / expoConfig to app code
2024-07-05 22:04:51 +02:00
nikolark 1e1091b1e1 register: Fix a few warnings linter issues 2024-07-04 09:20:51 +02:00
nikolark 731afa71e1 fix warnings about useSelector usage
Specifically this type of warnings:
> Selector unknown returned a different result when called with the same parameters. This can lead to unnecessary rerenders
2024-07-03 11:54:55 +02:00
leander f507331c9a display full day of week in event details 2024-07-02 00:28:20 +02:00
leander 5efac1ba66 disable event time clickability 2024-07-02 00:21:39 +02:00
leander f673359ffd replace CN pig splash with DNS pig 2024-07-02 00:04:42 +02:00
leander c0e9e9a59c replace CN logo with DNS logo 2024-07-02 00:04:17 +02:00
leander 4183687db4 change header color to pink w/ purple text 2024-07-01 23:39:52 +02:00
leander 258832233f display non-field register API errors in form if any 2024-07-01 23:06:01 +02:00
leander fe94dbc8e0 display register api field errors in form 2024-07-01 23:05:18 +02:00
leander bf4c5d8aaa upgrade to expo SDK 51 2024-06-26 23:38:19 +02:00
ponas 42f047f179 add .nvmrc 2024-06-06 19:54:41 +02:00
LBlend fb03ae5356 add missing return values 2024-04-10 03:54:08 +02:00
LBlend 94a02d48cc unpack about page from redundant stack screen 2024-04-03 04:10:06 +02:00
LBlend 640921b5a7 add initial app name 2024-04-03 03:51:26 +02:00
LBlend 6883ef5c8a add initial app logo 2024-04-03 03:51:18 +02:00
LBlend 45b52f435d add initial splash 2024-04-03 03:51:08 +02:00