Commit Graph

60 Commits

Author SHA1 Message Date
m5r
a4ac0384c2 always pick the most recent subscription 2021-10-21 01:03:32 +02:00
m5r
c0554f321c hide phone init loader if user is on free plan 2021-10-21 00:41:44 +02:00
m5r
5f6100b0bb prepare multiple phone numbers in one account 2021-10-21 00:24:18 +02:00
m5r
1dd1c2bafe rename hasActiveSubscription from useCurrentUser() to hasOngoingSubscription 2021-10-21 00:01:03 +02:00
m5r
59b13bd0ea blur phone call history if on free plan 2021-10-19 23:56:16 +02:00
m5r
20df3dc3ac inbound and missed call icons in phone calls list 2021-10-19 19:59:55 +02:00
m5r
931384b468 improve loading states:
* app loader
 * specific loaders with spinner
2021-10-18 00:06:45 +02:00
m5r
2afd3554b3 set your twilio things from settings 2021-10-16 01:26:59 +02:00
m5r
3cc6f35071 get rid of onboarding requirements 2021-10-16 00:31:01 +02:00
m5r
c8f707af9c better empty states for phone calls and messages 2021-10-15 22:41:41 +02:00
m5r
5b9eef73ae reject incoming calls if on free plan 2021-10-15 22:06:54 +02:00
m5r
197c2286c3 prevent making a call if on free plan 2021-10-15 22:06:05 +02:00
m5r
24f1e953f6 append messages from free users with "sent from shellphone" 2021-10-03 21:31:26 +02:00
m5r
188c028667 cancel subscription on account deletion 2021-10-01 20:07:00 +02:00
m5r
5e08863078 fresh settings layout 2021-09-30 00:10:42 +02:00
m5r
0f2c3daf77 integrate backend with paddle 2021-09-27 06:10:48 +08:00
m5r
0abac20c6c empty state for calls 2021-09-25 07:40:11 +08:00
m5r
9dea1ed499 fix type errors 2021-09-25 07:12:16 +08:00
m5r
2f45e1d9a8 add import messages/calls ui feedback 2021-09-25 07:08:11 +08:00
m5r
f8a2ef3b97 import heroicons icons from react-icons/hi 2021-09-08 05:01:03 +08:00
m5r
9ec73d6cf4 replace fontawesome icons with ionicons 5 2021-09-08 04:59:38 +08:00
m5r
3433a90258 memoize hook functions and wrap up outgoing calls 2021-09-05 00:29:25 +08:00
m5r
55a705d3d7 graciously handle call errors 2021-09-04 00:19:32 +08:00
m5r
a4c99b7e28 refresh device token before it expires every hour 2021-09-02 06:13:41 +08:00
m5r
98778c7a7b refresh device token before it expires every hour 2021-09-02 05:54:49 +08:00
m5r
c81d8e7937 set state call_in_progress 2021-09-01 07:12:47 +08:00
m5r
24e9d20fe2 fix unending updateCallDuration queue 2021-09-01 06:42:59 +08:00
m5r
98485bd034 allow typing phone number with desktop keyboard 2021-09-01 06:42:39 +08:00
m5r
b4f06e5471 improve calling experience 2021-09-01 06:42:15 +08:00
m5r
d71e4de033 style call list page 2021-08-31 04:25:56 +08:00
m5r
ab004235f6 update outgoing call duration every 30 seconds until the call is over 2021-08-30 20:53:21 +08:00
m5r
6a2e76857b clean setTwilioWebhooks and twilio webhook verification 2021-08-30 19:24:05 +08:00
m5r
e77e7d17e0 tap phone button in keypad to "paste" latest recipient 2021-08-30 08:43:39 +08:00
m5r
3d1c545892 fix hook order error 2021-08-30 08:34:37 +08:00
m5r
74f903cc9f keypad QoL changes 2021-08-30 07:53:22 +08:00
m5r
87e3fc77d8 fix most lint warnings 2021-08-30 07:13:06 +08:00
m5r
e9fb2602ae Merge branch 'master' into outgoing-calls 2021-08-30 07:05:22 +08:00
m5r
a289e9a4ef validate call webhook and translate call status 2021-08-20 08:20:03 +08:00
m5r
30d186d37d insert call to db when making a call 2021-08-14 01:16:27 +08:00
m5r
f628addd80 skip duplicates when inserting calls and messages 2021-08-14 01:15:35 +08:00
m5r
306febe4d1 rename webhook route for calls 2021-08-13 23:56:07 +08:00
m5r
5d5195fd9f replace ascending with descending 2021-08-13 23:54:13 +08:00
m5r
800ff5ab99 cleanup call making 2021-08-13 23:52:38 +08:00
m5r
a26babc792 small qol changes 2021-08-13 19:55:05 +08:00
m5r
de4d4e63d5 useMakeCall() hook 2021-08-13 12:43:57 +08:00
m5r
0e280ceb27 wire up some stuff in outgoing call page 2021-08-08 19:46:32 +08:00
m5r
423a9cea00 reset keypad page phoneNumber state when calling 2021-08-08 19:46:04 +08:00
m5r
97fce0f33f extract keypad component 2021-08-08 19:22:34 +08:00
m5r
e4672597dd get access token and use it to make a call 2021-08-08 14:37:53 +08:00
m5r
6f672bfeb2 use twilio api key/secret instead of authToken 2021-08-08 12:28:19 +08:00