Commit Graph

458 Commits

Author SHA1 Message Date
Rish
965959c964 Cleared timeouts in App on unmount
no issue

- Clears any timeout on unmount in main App and components to avoid unexpected unmount behaviors
2020-09-23 20:49:16 +05:30
Rish
5cb1f02109 Updated notification handling
refs https://github.com/TryGhost/Team/issues/393

- Updated popup notification handling flow for action success and errors
- Updated global notification handling with show popup
- Updated action handler to create popup notifications
- Removed inline newsletter update message
- Generic cleanup of unused code
2020-09-23 20:36:33 +05:30
Peter Zimon
8ea26be5bb Updated notification copy
no refs.
2020-09-23 12:48:33 +02:00
Peter Zimon
8580f2fec1 Hide popup notifications 2020-09-23 11:15:51 +02:00
Rish
8af2340d42 Updated global notification handling flow
refs https://github.com/TryGhost/members.js/issues/92

- Adds new notification parser util
- Handles slideout animation for notification
- Clear search params on notification hide/close
2020-09-23 14:07:11 +05:30
Rish
81823f531b Updated github repo name to Portal
no issue

- Updated readme and package json to point to new repo name
2020-09-23 12:53:10 +05:30
Peter Zimon
f8f5377447 Added notification slide out animation 2020-09-22 17:07:57 +02:00
Peter Zimon
e537d1dd03 Added in-popup notification component
no refs.
2020-09-22 17:00:22 +02:00
Peter Zimon
306e13cf44 Repositioned popup close button
no refs.
- added CloseButton component to be able to use it in multiple pages
- moved close button inside content container so that it scrolls with the page on smaller screen sizes
2020-09-22 16:21:15 +02:00
Renovate Bot
ed25241ede Update dependency @testing-library/user-event to v12.1.5 2020-09-21 02:06:12 +00:00
Renovate Bot
55d50fe055 Update dependency @testing-library/react to v11.0.4 2020-09-21 01:05:04 +00:00
Peter Zimon
1a52840789 Applied success and error states to notifications 2020-09-18 17:12:36 +02:00
Rish
0a40206116 Added v1 notification trigger setup
no issue

- Adds notification flow setup based on query params
- v1 adds notification for successful/failed signin
2020-09-18 18:03:11 +05:30
Peter Zimon
d4b4d869b8 Portal notifications basic structure (#99)
* Added basic files for notifications

* Added basic notification styles
2020-09-18 13:12:34 +02:00
Peter Zimon
0a030b59cd Hide scrollbars in popup 2020-09-18 10:41:16 +02:00
Peter Zimon
b845272d09 Refined change plan flow
no refs.
- removed checkbox from change plan screen to make it less confusing if's a selection/checkbox or a button
2020-09-18 10:27:04 +02:00
Peter Zimon
20007db0c7 Replaced site logo span with img 2020-09-18 09:34:45 +02:00
Rish
e3e79d5c5d v0.9.1 2020-09-17 21:17:43 +05:30
Peter Zimon
4180727d29 Cleanup unnecessary containers
no refs.
- removed unnecessary `<div>`s
2020-09-17 16:19:53 +02:00
Rish
fb13d12015 Fixed stripe checkout not working on plan upgarde
no issue

- Incorrectly passed plan name was causing bad stripe request
2020-09-17 19:25:05 +05:30
Peter Zimon
5caa8433d9 Fixed and cleaned input field style 2020-09-17 15:54:44 +02:00
Peter Zimon
e9a27cdafc Fixed background color of inputs 2020-09-17 15:47:15 +02:00
Peter Zimon
ba7c66cb29 Fixed regression of single plan checkbox 2020-09-16 21:30:20 +02:00
Rish
454c01f2ae v0.9.0 2020-09-16 23:44:18 +05:30
Rish
ef235ad148 Updated plan update start date
no issue

- Updates the new plan's start date based on billing interval change
- If current and new billing interval is same, plan starts at period end, immediately otherwise
2020-09-16 23:43:19 +05:30
Rish
1baa21ddab Removed preceding 0 in date string
no issue

- Removes preceding 0 in `date` section of a date string
For ex. - 05 June -> 5 June
2020-09-16 23:35:13 +05:30
Rish
fa7258b247 Refactored plan upgrade flow for free members
no issue

- Refactors the plan upgrade flow for a free member
- Removes confirmation for free member and brings back checkboxes
- Takes straight to stripe checkout on plan confirmation
2020-09-16 23:03:59 +05:30
Rish
8729740c96 Some refinements 2020-09-16 23:03:59 +05:30
Peter Zimon
26c921d3cd Updated mobile styles for footers
no refs.
- fixed footer for signup and signin page considering various Portal settings
2020-09-16 18:12:59 +02:00
Peter Zimon
ee1d1c80f3 Updated responsive sizes for account home 2020-09-16 17:20:06 +02:00
Peter Zimon
8bbbfd9e49 Updated copy on free account home 2020-09-16 16:04:00 +02:00
Peter Zimon
7985c658fe Refined plan change confirmation
no refs.
- refined copy and design for plan change and confirmation
2020-09-16 16:00:48 +02:00
Rish
a32683fbb0 Updated change Plan UX
no issue

- Updates various flows to update/change plan for a member
- Adds a confirmation step for different change plan actions
- Adds new helpers for plans and members
- Updates Account plan page to use more streamlined components
- Fixed lint
2020-09-16 13:05:24 +05:30
Peter Zimon
fcd266e16a Fixed animation bug for mobile 2020-09-16 07:28:42 +02:00
Peter Zimon
9744b449bb Fixed input border for mobile 2020-09-16 07:21:06 +02:00
Peter Zimon
c4a628ebac Updated cancel confirmation copy 2020-09-15 17:37:38 +02:00
Peter Zimon
2dd9190bf2 Style updates for change plan
no refs.
2020-09-15 17:16:45 +02:00
Peter Zimon
59787099e2 Updated icon 2 2020-09-15 14:49:47 +02:00
Peter Zimon
6c1c2ee0f6 Updated portal icons
no refs.
2020-09-15 14:49:47 +02:00
Rish
51382bbee9 Updated account plan page to include confirmation screen
no issue

Adds confirmation screen on plan change/cancel on the plans screen
2020-09-15 18:17:14 +05:30
Peter Zimon
856f56f04e Added signup spacing logic
no refs.
- added logic to handle spacing on signup screen based on Portal settings
2020-09-15 13:32:44 +02:00
Peter Zimon
533b3fcbbb Added dynamic popup width
no refs.
- set popup width for signup and signin pages based on the number of plans
2020-09-15 12:22:13 +02:00
Peter Zimon
9a233e8210 Mobile size fixes
no refs.
- fixed account home margin
- fixed change plan bottom margin
2020-09-15 11:47:48 +02:00
Peter Zimon
6bf8451231 Removed debugger 2020-09-15 11:40:44 +02:00
Peter Zimon
6d45b0a295 Removed padding on account home + debugger cleanup
no refs.
2020-09-15 11:39:29 +02:00
Rish
3365e513d7 Refactored Account plan page into smaller components
no issue
2020-09-15 15:05:02 +05:30
Peter Zimon
8f9cef5a68 Fixed merge error 2020-09-15 15:05:02 +05:30
Peter Zimon
fab3e3ff3b Added back button and rearranged logout 2020-09-15 15:05:02 +05:30
Peter Zimon
24a29773e2 Removed cancel/confirm button from change plan 2020-09-15 15:05:02 +05:30
Peter Zimon
878bc146c2 Updated placement of continue sub button 2020-09-15 15:05:02 +05:30