Commit Graph
199 Commits
Author SHA1 Message Date
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 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
LBlend 27a1c90687 rephrase missing form field error message
Pet peeve :)
2024-04-03 03:50:57 +02:00
LBlend 60d8797273 initial nav titlebar restyling 2024-04-03 03:22:15 +02:00
LBlend 51e5518b52 use new logo on membership proof screen 2024-04-03 03:21:46 +02:00
LBlend 605497fa6a use colors from branding profile 2024-04-03 03:21:16 +02:00
ponas 4fd7210083 docs: update readme and todo list 2024-04-03 00:53:32 +02:00
Leander Furumo 6509f91846 display full month name in event section headers 2024-04-03 00:18:06 +02:00
Leander Furumo d1cc4e89bf adjust event item padding and font sizing
make everything more spacious and attempt at creating contrast using spacing :)
2024-04-03 00:16:41 +02:00
Leander Furumo 8f36922b30 place event item arrow at right end of screen 2024-04-03 00:13:00 +02:00
Leander Furumo 5ee20bba9e replace old logo 2024-02-23 04:07:03 +01:00
Leander West Furumo 4585a96f60 Merge branch 'nikolaik/render-html' into 'main'
Migrate to react-native-render-html

See merge request edb/cnapp!1
2024-02-22 19:46:49 +00:00
nikolark d0624b3e52 feat: Migrate off some more native-base components 2023-09-22 22:47:03 +02:00
nikolark 869294aa97 feat: Migrate icons in EventDetail 2023-09-22 22:39:46 +02:00
nikolark 881d854eb5 chore: Remove unsued styled-components 2023-09-22 22:29:54 +02:00
nikolark b8c3c2e2aa chore: make eslint happy
might have introduced bugs, will see
2023-09-22 22:28:00 +02:00
nikolark f3506d96a9 feat: Start theming buttons
Format using prettier
2023-09-22 22:09:26 +02:00
nikolark 335493f943 chore: Add back eslint config 2023-09-22 22:09:10 +02:00