Commit Graph

239 Commits

Author SHA1 Message Date
m5r
514dae3ebb use maizzle for email templating, starting with reset password email 2021-10-26 23:36:20 +02:00
m5r
52732847fc fix response sent to twilio for incoming messages on free plan 2021-10-25 01:24:13 +02:00
m5r
101f33720f disable keypad when no ongoing subscription 2021-10-25 01:00:59 +02:00
m5r
37d9bd37f4 confirm plan switch with a modal 2021-10-25 00:32:33 +02:00
m5r
4facb32e74 use authenticated layout 2021-10-24 22:25:01 +02:00
m5r
1d59a74002 replace useRouter().params with useParam() 2021-10-24 17:42:48 +02:00
m5r
3edf0cb471 respond 200 to valid but unsupported paddle webhooks 2021-10-24 16:55:07 +02:00
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
e00f0bde64 immediately show the appended "sent from shellphone" signature 2021-10-21 00:41:15 +02:00
m5r
950a7e1bd0 fetch dismissed messages and phone calls that might have happened while on free plan 2021-10-21 00:39:09 +02:00
m5r
a4859137fe return early when receiving a message for a user on free plan 2021-10-21 00:38:37 +02:00
m5r
730030f6f1 add some metrics 2021-10-21 00:24:29 +02:00
m5r
5f6100b0bb prepare multiple phone numbers in one account 2021-10-21 00:24:18 +02:00
m5r
cea47251dd remove occasional scrolling bar on loader in settings 2021-10-21 00:12:33 +02:00
m5r
1dd1c2bafe rename hasActiveSubscription from useCurrentUser() to hasOngoingSubscription 2021-10-21 00:01:03 +02:00
m5r
6dbdeac4d3 little clean up 2021-10-20 23:57:55 +02:00
m5r
7a4c583ea5 fetch phone number data even if user is not on a paid plan 2021-10-20 23:57:32 +02:00
m5r
5df0634060 remove free plan and features from /settings/billing 2021-10-20 20:29:21 +02:00
m5r
4ce3c2503a smol fixes to subscription webhooks 2021-10-20 19:25:07 +02:00
m5r
4096cfaa6c clean up auth forms 2021-10-20 00:39:07 +02:00
m5r
59b13bd0ea blur phone call history if on free plan 2021-10-19 23:56:16 +02:00
m5r
fd003f461b allow switching phone numbers but delete previous phone number 2021-10-19 23:49:28 +02:00
m5r
29d24f9fb4 * avoid creating multiple api keys when not necessary
* fetch messages and calls if user switches phone number while on an active sub
2021-10-19 23:12:16 +02:00
m5r
f11c7d3723 extract useSubscription to core/hooks 2021-10-19 20:03:09 +02:00
m5r
20df3dc3ac inbound and missed call icons in phone calls list 2021-10-19 19:59:55 +02:00
m5r
b17e135cf6 reflect when user has cancelled his sub 2021-10-19 19:59:20 +02:00
m5r
931384b468 improve loading states:
* app loader
 * specific loaders with spinner
2021-10-18 00:06:45 +02:00
m5r
5703b991ee fix github ci 2021-10-16 01:33:39 +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
c3bdef4800 allow logging out from settings 2021-10-15 22:30:57 +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
dad61ae77e fetch messages when switching to free plan 2021-10-15 21:57:56 +02:00
m5r
526ab4e451 ignore incoming messages if on free plan 2021-10-15 21:57:28 +02:00
m5r
17eba67fca public area update 2021-10-15 21:57:00 +02:00
m5r
545ee225aa extract s3 to integrations 2021-10-13 21:42:23 +02:00
m5r
24f1e953f6 append messages from free users with "sent from shellphone" 2021-10-03 21:31:26 +02:00
m5r
a28d89a8c2 let user know when his cancelled sub is going to expire 2021-10-03 20:56:31 +02:00
m5r
5f3060c591 paginate payments history 2021-10-03 20:24:46 +02:00
m5r
38c2edb8e4 replace got http calls by @devoxa/paddle-sdk where possible 2021-10-03 18:40:59 +02:00
m5r
4ce6ccc142 update billing to do list 2021-10-03 18:23:06 +02:00
m5r
3830e91af6 update roadmap 2021-10-03 18:21:51 +02:00
m5r
bca848bdb8 poll for subscription change instead of fully reloading the page 2021-10-03 18:20:59 +02:00
m5r
3a3d526e77 allow organizations to have multiple subscriptions. although only 1 can be active at a time 2021-10-03 18:19:45 +02:00
m5r
22e2b21b14 sur Intl.NumberFormat to format currency in billing history 2021-10-03 18:18:34 +02:00
m5r
dd9d15d042 always create new subscription 2021-10-02 00:19:06 +02:00
m5r
300bfa8e65 smol changes 2021-10-01 23:05:07 +02:00
m5r
771fea4d7b * return 200 asap to paddle and queue webhook received
* paddle ids to int
2021-10-01 23:04:12 +02:00
m5r
188c028667 cancel subscription on account deletion 2021-10-01 20:07:00 +02:00
m5r
c5f135fdcc list payments 2021-10-01 00:59:35 +02:00
m5r
5172ab11e7 pricing plans in settings 2021-10-01 00:18:03 +02:00
m5r
13ac4a5580 better looking SettingsSection 2021-09-30 23:37:54 +02:00
m5r
49f11a16e2 pricing in billing 2021-09-30 01:01:20 +02:00
m5r
daec5c0170 fix settings layout paddings 2021-09-30 00:35:05 +02:00
m5r
45a9d863ca s/primary/rebeccapurple/ for public areas
new primary is #007AFF
2021-09-30 00:21:38 +02:00
m5r
5e08863078 fresh settings layout 2021-09-30 00:10:42 +02:00
m5r
d1b88078fb bases de la billing page 2021-09-27 06:44:26 +08:00
m5r
0f2c3daf77 integrate backend with paddle 2021-09-27 06:10:48 +08:00
m5r
9cec49f255 make user full name mandatory 2021-09-25 22:16:31 +08:00
m5r
9d30930f96 style reset password form 2021-09-25 22:05:39 +08:00
m5r
d8acd6c37c style forgot password form 2021-09-25 21:52:31 +08:00
m5r
767c2e3966 style registration form 2021-09-25 21:15:16 +08:00
m5r
60b5c74ed6 style login form 2021-09-25 20:58:28 +08:00
m5r
a483bd62ab remove red cross from unavailable features and fade out text instead 2021-09-25 18:58:07 +08:00
m5r
e969b1b83e use prisma referential actions to cascade deletions 2021-09-25 07:56:25 +08:00
m5r
0abac20c6c empty state for calls 2021-09-25 07:40:11 +08:00
m5r
47c7469828 empty state for messages 2021-09-25 07:34:48 +08:00
m5r
9dea1ed499 fix type errors 2021-09-25 07:12:16 +08:00
m5r
c9b657e44c implement update user, update password and delete account 2021-09-25 07:09:20 +08:00
m5r
12983316f5 public pages smol tings 2021-09-25 07:08:29 +08:00
m5r
2f45e1d9a8 add import messages/calls ui feedback 2021-09-25 07:08:11 +08:00
m5r
8f0a6f7060 pricing page 2021-09-22 04:02:27 +08:00
m5r
4d1ef66986 memoize isServiceWorkerSupported in useNotifications hook 2021-09-18 05:35:51 +08:00
m5r
257987e3c0 backup database to s3 2021-09-16 06:56:16 +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
8e856ffb92 update roadmap 2021-09-07 05:17:23 +08:00
m5r
bdac93d7e1 * custom error component
* upload sourcemaps to sentry
* report caught errors to sentry
2021-09-07 04:49:13 +08:00
m5r
48f9e67516 rework the formatRelativeDate function 2021-09-07 03:37:06 +08:00
m5r
3433a90258 memoize hook functions and wrap up outgoing calls 2021-09-05 00:29:25 +08:00
m5r
d5185fa183 smol change to landing page faqs 2021-09-04 00:41:02 +08:00
m5r
55a705d3d7 graciously handle call errors 2021-09-04 00:19:32 +08:00
m5r
356fd8818c clean code 2021-09-03 05:46:56 +08:00
m5r
afd9cfb73b smol change to landing page hero 2021-09-03 02:57:09 +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
c41fea755d rework header 2021-09-01 23:44:15 +08:00
m5r
8699f587f9 rework landing page hero 2021-09-01 23:04:16 +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
dee1bc4697 style footer 2021-08-31 05:15:30 +08:00
m5r
d71e4de033 style call list page 2021-08-31 04:25:56 +08:00
m5r
4bc24f5395 date formatter in a single file 2021-08-31 01:05:57 +08:00
m5r
5e0c2ae643 send discord notification when someone joins the waitlist 2021-08-30 23:05:20 +08:00
m5r
ab004235f6 update outgoing call duration every 30 seconds until the call is over 2021-08-30 20:53:21 +08:00