1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

967 commits

Author SHA1 Message Date
Kevin Ansfield 92931f7190
Upgraded ember-power-* addons (#1459)
no issue

- bump deps
- adjust usage for breaking changes... 
  - https://github.com/cibernox/ember-power-select/blob/master/CHANGELOG.md#300-beta1
  - https://github.com/cibernox/ember-basic-dropdown/blob/master/CHANGELOG.md#200-beta3
  - https://github.com/cibernox/ember-power-datepicker/blob/master/CHANGELOG.md#070
- update overridden component and template files to match latest addon code
  - switch to class syntax w/decorators
  - adjust for angle bracket syntax
2020-01-15 13:53:51 +00:00
Kevin Ansfield ad4cbc3321
Enabled manual typing of post publish dates (#1431)
*  Enabled manual typing of post publish dates

closes https://github.com/TryGhost/Ghost/issues/9256

- stores the typed date internally to the component until
  - Enter is pressed whilst focused
  - Ctrl/Cmd+S is pressed whilst focused
  - the input loses focus
- shows an error message if the typed date is not in the correct format or is invalid
- stops Ctrl/Cmd+S propagating if the typed date is not in the correct format or is invalid
- as long as the date is valid it calls the `setDate` action when the input loses focus, Ctrl/Cmd+S or Enter is pressed
- prevents publish being triggered in the publish menu if an invalid date is entered
- resets any invalid state in the PSM when it's closed
- manages focus when using <kbd>Tab</kbd>
2020-01-10 14:25:59 +00:00
Kevin Ansfield b61f3f1ecc Cleaned up unused code in <GhTagSettingsForm>
no issue

- the tag screen is now separate from the index so the code needed for handling switches between main/meta panes and scroll resets is not used and no longer needed
- tidies up indentation in the template
2020-01-10 14:14:55 +00:00
Kevin Ansfield 8046820190 Unsilenced deprecations that are no longer triggered
no issue

- cleaned up the `deprecation-workflow.js` file by removing deprecations that are no longer being triggered by our test suite or general app usage (if they are still triggered in untested areas it will be useful to see the logs)
- updated usages of `{{gh-text-field}}` to use it's `shouldFocus` attribute rather than directly overriding it's `autofocus` computed property
2020-01-09 17:20:13 +00:00
Kevin Ansfield 8f1375677d Fixed typo in email confirmation modal 2020-01-08 16:44:43 +00:00
Kevin Ansfield 684ce495b4 Fixed incorrect "explicit this" for did-insert and will-destroy element modifiers
no issue

- the "explicit this" codemod incorrectly added `this.` in front of the `{{did-insert}}` and `{{will-destroy}}` element modifiers
2019-12-19 21:19:20 +00:00
Rishabh Garg f95c68662b
Added upgrade modal for host member limits (#1428)
no issue

Uses 160ef2976a to add new upgrade popup for host limit errors while publishing/scheduling post with emails.
2019-12-17 19:27:42 +05:30
Rishabh Garg 9298e30562
Added new brand color publication setting (#1409)
no issue

Reads new brand primary color setting and adds UI to modify/update it behind the dev flag
2019-12-17 16:37:34 +05:30
Rishabh Garg 8afa2bf645
Added members growth chart (#1424)
no issue

Adds new members growth chart in members list screen to highlight growth of members over different date ranges
2019-12-17 15:59:26 +05:30
Kevin Ansfield 403bac5876 Converted <GhErrorMessage> to glimmer component
no issue

- fixes `isVisible` deprecation warning that was showing up for every component invocation since the Ember 3.14 upgrade
2019-12-13 16:12:04 +00:00
Kevin Ansfield aaf9f88ebc Ran "no implicit this in templates" codemod
no issue

We were in a part-way state where some touched files had been (sometimes partially) migrated to explicit `this`. The codemod that was available has now fixed the formatting issues it had so it was a good time to run it.

https://github.com/ember-codemods/ember-no-implicit-this-codemod

- part of the migration path for https://github.com/emberjs/rfcs/pull/308
- starts to make template resolution rules more explicit
  - `<MyComponent />` - always a component
  - `{{my-component}}` - component or helper (components _must_ have a `-`. This style of component will go away once fully migrated to angle bracket components)
  - `{{value}}` - a helper or local template variable
  - `{{this.value}}` - reference to a property on the backing context (either a controller or a component JS file)
2019-12-13 14:20:29 +00:00
Kevin Ansfield aa9a2d393a Fixed member count after deleting a member
no issue

- the member count is automatically calculated via the length of the live members array so there's no need to manually decrement it - if we do manually decrement then the count is off by one because the auto calculation runs to get the new value before the manual decrement
2019-12-13 11:38:37 +00:00
Kevin Ansfield 35b53e7712 🐛 Fixed unsaved changes modal when using Cmd+S on tag/member screens
no issue

- keep a scratch model on the tag/member controllers rather than inside of the form components
  - allows the controller's `save` task to transfer scratch values to real values before saving
  - means that pressing Cmd+S whilst a field is still focused will save the expected value rather than the old value avoiding unsaved changes modals when trying to leave the screen when you think you've already saved
- fixed route and url not changing after saving a new member
- fixed error when clicking delete tag button
- cleaned up unused `showDeleteTagModal` actions
2019-12-13 11:37:01 +00:00
Kevin Ansfield 72e4722f66 Tidied up <GhMemberSettingsForm>
no issue

- removed unused `isViewingSubview` property
- replaced `hasMultipleSubscriptions` CP with the `gt` CP macro
- fixed indentation in the template
2019-12-12 18:22:31 +00:00
Kevin Ansfield 3497d86338 Unified tag and member screen code
no issue

The tag and member screens share the same underlying UI/UX patterns but were using different code patterns. This brings both in line so that we have consistent code patterns that can be re-used for other screens.

- fixed cleanup of new tags by adding the `deactivate` hook to the `tag` route
- updated `member` and `member.new` route/controller setup to match tag route/controller setup
  - added `save` action to member controller so that Ctrl/Cmd+S works on member screen
  - updated tag route/controller to utilise the same instant display w/background refresh when accessing the tag details screen
- completed transition of non-component tag/members templates over to angle bracket component syntax
2019-12-12 13:59:46 +00:00
Naz Gargol cf3bbeffe5
Added members cancel subscription fields on members page (#1423)
refs https://github.com/TryGhost/Members/pull/107

- Added 'cancel at period end' logic to members subscription details
- Added stripe subscription link in subscriptions details
2019-12-12 20:00:57 +07:00
Kevin Ansfield 47abee280b Fixed tag deletion
no issue

- don't show "Delete tag" button when we're displaying a new/unsaved tag
- refactor the `_deleteTag()` method to be more explicit and remove handling that is no longer required since the tag screen is not nested in the tags screen
- revised the condition in `showUnsavedChangesModal()` method so that it's body doesn't fire twice when leaving the `tag` or `tag.new` route
- revised the `showUnsavedChangesModal()` method body to look at the number of changed properties on the tag rather than relying on `tag.hasChangedAttributes` which is always `true` for new models
2019-12-10 12:18:20 +00:00
Kevin Ansfield c2605a32ae Cleaned up and re-organised tag and new tag routes/controllers
no issue

- removed unused `<GhTagsManagementContainer>` component and related `isMobile` CPs
- un-nested `tag` and `tag.new` routes
  - nested routes in Ember are used for nested UI but these are both separate screens
  - removes usage of `selectedTag` property in favour of using Ember's built-in model handling
  - removed unnecessary `tags/new` controller
  - sets up `tag.new` route which extends the `tag` route to avoid duplicate code
2019-12-09 17:44:16 +00:00
Peter Zimon 00ab972d2e 🎨 Refined new member avatar style
no issue.
- removed outline from manually created member avatar on member detail screen
2019-12-04 11:42:58 +01:00
Hannah Wolfe 377055a7de Added Secondary Navigation (#1410)
refs: https://github.com/TryGhost/Ghost/pull/11409

- Added a new UI for a second set of navigation links
- This should support most concepts of nav, e.g. left and right, or header and footer
- This PR mostly updates the design and nav components to cope with a second set of nav
2019-12-04 11:14:45 +07:00
Naz Gargol ab2ef2d8d4
🎨 Added gravatars for member avatars (#1417)
no issue

- When an email has a valid gravatar handle it displays an image instead of initials for the member
- Introduces new {{gravatar}} helper which accepts an email as parameter and size/d as named parameters. The output is a URL to gravatar image
- Refactored usage of "splattribute" to explicit property. There was a need to duplicate class property usage in the component and doing that through splatttibute feature is unsafe as pointed ou here - https://github.com/TryGhost/Ghost-Admin/pull/1417#discussion_r351837584
2019-12-03 18:10:47 +07:00
Peter Zimon 600fe7637a Refined mobile email preview
no refs.
Issue was that the ratio of email mobile preview UI was completely off on higher screen resolutions.

- set the email mobile preview UI to fixed size
2019-12-03 11:18:02 +01:00
Naz Gargol 83fced0e73
Improved adding first members on no-members screen (#1416)
no issue

- There was a need to make the experience of adding a first member(s) as frictionless as possible, which lead to adding some actionable controls to the "no-members" screen.
- Adds the ability to make yourself a member
- Adds the ability to import CSV member
- Link to add a member manually
2019-12-03 12:04:04 +07:00
Naz Gargol 3ec3671aee
Added member "add" screen (#1411)
no issue

- We have a need to create a member manually, this changeset solves this problem.
- Added new member button to the member's screen
- Needed to be able to perform add member action
- Fixed inconsistent `createAt` naming. All models use consistent `createdAtUTC`, fixed it up so that members model follows the same pattern. If we want to change this pattern should probably happen for all models at once
- Fixed member avatar when creating a new member. If the values are completely empty the screen ends up being filled with empty space. Added some dummy initials which are recalculated once the member enters the name or an email
- Refactored DS naming for consistency. Nowhere else in the codebase 'DS' name is ever used, made this consistent
- Added missing validations in members form
- Simplified if conditions in the member list template. When using the if/esle statements unnecessary new-line symbols were inserted which made it hard to test. Also by using computed property view is much cleaner
- Updated member's model default value for `subscribed` to "true". It is turned on by default in the model layer  on the backend (ref: https://github.com/TryGhost/Ghost/blob/3.1.0/core/server/data/schema/schema.js#L330), this behavior is intended and should be the same on the frontend
2019-11-28 18:30:21 +07:00
Peter Zimon 1b8805deb3 Removed link to settings for admins in email error copy 2019-11-26 13:38:43 +01:00
Peter Zimon 175e022634 Updated email role restrictions
no issue.
Only admins and owners should have access to sending emails. Updated relevant templates
to restrict access to emails for non-admins/owners
2019-11-26 13:20:49 +01:00
Peter Zimon d80b6785ef Updated email copy 2019-11-26 12:10:51 +01:00
Peter Zimon d4e9560614 Updated PSM/Email wording 2019-11-25 17:44:50 +01:00
Peter Zimon 88020002df Updated post list design for scheduled posts 2019-11-25 17:44:18 +01:00
Peter Zimon b4adf900b2 Updated email error design in PSM 2019-11-25 17:03:54 +01:00
Kevin Ansfield e18bd9f9cc Added failed state with retry button to PSM email pane
no issue

- follow similar retry-then-poll behaviour as the confirm email modal
2019-11-25 13:20:16 +00:00
Peter Zimon 54e24d584d Updated email failure modal with dynamic error 2019-11-22 17:17:29 +01:00
Peter Zimon 3a49d48442 Removing error box in email failure modal 2019-11-22 16:37:39 +01:00
Peter Zimon 429088719d Refined email status on post list 2019-11-22 16:25:11 +01:00
Kevin Ansfield 39c738ee67
Added ability to retry failed emails from the confirm modal (#1412)
no issue

- adds a `.retry()` method to the email model+adapter
- adds a retry email task to the publishmenu that follows the same retry-then-poll behaviour as the regular email confirmation
- show a retry button in the confirm email modal if the original send failed
- increases max "immediate failure" poll timeout to 15sec (an 8sec retry-to-failure time has been seen locally)
2019-11-22 15:09:48 +00:00
Peter Zimon 977faac233 Refined email error modal 2019-11-22 14:31:03 +01:00
Kevin Ansfield c56856ef25 Show "email failed" state in posts list 2019-11-20 23:37:37 +00:00
Kevin Ansfield 76c357a66f Added polling when confirming email to show immediate error
no issue

- when confirming email send, after initial save in, poll every second for a maximum of 10 seconds and check the status of the email
  - if it's `'success'` close the modal immediately
  - if it's `'failure'` switch the confirm modal to an error state
  - if the save fails for some other reason (validation, server error) close the modal immediately and let the normal editor error handling do it's thing
- fixed confirm modal not appearing when retrying a save after a post validation failed
- show email status in post status area
    - `"and sending to x members"` when email is pending or submitting
    - `"and sent to x members"` once email is fully submitted
2019-11-20 23:27:09 +00:00
Peter Zimon c6091c8d8c Fixed subject for email preview 2019-11-16 13:07:51 +01:00
Peter Zimon a50cc0d9e2 Refined mailgun settings in Labs 2019-11-15 14:38:59 +01:00
Kevin Ansfield dfc6efe60f Swapped baseUrl input for region selection for bulk email settings
no issue

- Mailgun makes it really difficult to find your baseUrl from their UI if you've previously sent emails on a domain
- use a dropdown with flag and region name instead to better match what you can see in their UI
2019-11-15 13:10:45 +00:00
Kevin Ansfield 150dca7e81 Updated handling of send_email_when_published
refs 5fd2b7fed1

- sends `?send_email_when_published=true` query param when scheduling/publishing a post with the toggle turned on
  - adds support to the posts adapter for handling the `adapterOptions` option
  - updates the editor `save` task to pass through the required adapter option when a post is being published or scheduled with the toggle checked
- moves state for the email toggle into the publish menu so that we don't try to toggle the model attribute which should only be fetched from the API
- prevent `post.send_email_when_published` being sent to the API via the serializer as it's now a read-only attribute
2019-11-14 17:33:35 +00:00
Kevin Ansfield 93b8922c16 Hid email toggle on scheduled state of publish menu if email already sent 2019-11-14 17:20:53 +00:00
Peter Zimon 1a51241abc Updated copy on email confirmation popup 2019-11-14 18:05:45 +01:00
Peter Zimon 71f85284d5 Reorder mailgun settings in labs 2019-11-14 16:05:37 +01:00
Peter Zimon 7fe77cfb09 Design for minimal email stats 2019-11-14 14:30:49 +01:00
Peter Zimon fbeb995698 Updated post list 2019-11-14 13:53:43 +01:00
Rish be2de9df74 Wired admin bulk email settings UI to read/write setting
no issue
2019-11-13 22:38:16 +05:30
Kevin Ansfield 2fd85c84de Added "View email" button to view already-sent email
no issue

- refactored `renderEmailPreview` into separate fetch and render functions
- grab email info from an existing email resource if it exists on the post rather than fetching a preview
- added "View email" button the the email-sent state of the newsletter settings PSM section
2019-11-13 16:38:32 +00:00
Kevin Ansfield 567ec911f0 Fixed tests 2019-11-13 16:10:29 +00:00
Peter Zimon 549328d523 Updated scheduled publishmenu to display email setting 2019-11-13 15:36:54 +01:00
Peter Zimon 85209c9328 Remove GhScheduledPostCountdown component 2019-11-13 15:33:57 +01:00
Peter Zimon a47948c705 Updated post status in editor 2019-11-13 15:31:42 +01:00
Kevin Ansfield d295d1c5be Fixed email subject field not being disabled if mailgun is not configured
no issue

- changed `disabled=deliveredAction` to `disabled=mailgunError` so that it's switching on the correct property
- removed all references to the unused `deliveredAction` property
2019-11-13 11:17:36 +00:00
Kevin Ansfield 509a2085f9 Use logged-in-user's email as the default test email address
no issue

- removed unnecessary scratch value handling for a non-model property
- use [`oneWay`](https://api.emberjs.com/ember/release/functions/@ember%2Fobject%2Fcomputed/oneWay) to bind the logged in user's email address to the `testEmailAddress` property on the component - this allows for the default value to always be the logged in users email but changing the property value only changes the value on the component, not upstream on the user model
- use default two-way binding of the `<Input>` helper to avoid unnecessary boilerplate
- removed unnecessary usage of the `truncate` helper for the placeholder
2019-11-13 10:52:09 +00:00
Kevin Ansfield 0e5932c605 Display "all paid members" instead of incorrect count in email confirm modal 2019-11-13 10:17:00 +00:00
Kevin Ansfield a3338348ec Fixed email icon not showing for scheduled posts in posts list 2019-11-11 10:37:44 +00:00
Peter Zimon 4da4a34626 Refined email icon on post list 2019-11-08 17:17:37 +07:00
Kevin Ansfield a360859659 Display basic info in PSM once an email has been sent 2019-11-08 17:07:47 +07:00
Peter Zimon f5f8430db8 Updated tag for email icon in post list 2019-11-08 16:50:07 +07:00
Peter Zimon 39d2e13f75 Updated copy for scheduled posts 2019-11-08 16:46:10 +07:00
Peter Zimon 421809b5cf Added link to mailgun domain 2019-11-08 16:46:10 +07:00
Kevin Ansfield bfe134b086 Show email icon in posts list 2019-11-08 16:44:56 +07:00
Kevin Ansfield 301475ee0d Fix missed wording change from merge conflict 2019-11-08 16:17:36 +07:00
Kevin Ansfield ecff12221e Extracted PSM email settings into separate component 2019-11-08 15:56:56 +07:00
Peter Zimon 9ff273b882 Refined post status and email warning copy 2019-11-08 15:38:25 +07:00
Peter Zimon 52ff106276 Refined member detail copy 2019-11-08 13:37:28 +07:00
Peter Zimon fc2b8fc597 Updated PSM copy 2019-11-08 13:19:19 +07:00
Peter Zimon 1efc12e668 Refined publish menu 2019-11-08 11:46:45 +07:00
Rish 2a3e35b08d Removed subdirectory from blog host in email setting field
no issue
2019-11-07 17:47:34 +07:00
Peter Zimon e2dd5f517a Refined mailgun warning 2019-11-07 17:14:08 +07:00
Kevin Ansfield d75f82613e Fixed scrolling and hid scrollbars in email preview 2019-11-07 17:11:53 +07:00
Kevin Ansfield 56204d0129 Added confirmation modal and use email model in place of action 2019-11-07 15:56:41 +07:00
Peter Zimon 6450edb1f6 Refined disabled states more 2019-11-07 15:49:49 +07:00
Peter Zimon 5af94d7b7c Refined disabled states and copy 2019-11-07 15:32:29 +07:00
Peter Zimon 6205e1c9e0 Styled disabled email checkbox 2019-11-07 13:21:23 +07:00
Rish 914e5d731d Added error for incorrect mailgun config in publish and settings menu 2019-11-07 12:44:37 +07:00
Peter Zimon a9dc99b9f7 Refined members email settings 2019-11-07 11:47:29 +07:00
Rish 1bc600e5bb Revert "Added preview modal toggle in publish menu"
This reverts commit 31a04c0b59.
2019-11-07 11:47:16 +07:00
Rish af66904cfa Added mailgun domain to admin settings 2019-11-07 11:32:38 +07:00
Peter Zimon 194a7147b2 Refined email preview in publish menu 2019-11-07 11:32:10 +07:00
Peter Zimon 6da3667c0e Refined styles for test email 2019-11-07 11:20:21 +07:00
Peter Zimon 0aecbb7934 Refined email preview 2019-11-07 11:09:55 +07:00
Rish 7f70845751 Fixed valid test email check 2019-11-07 10:55:55 +07:00
Rish 31a04c0b59 Added preview modal toggle in publish menu 2019-11-07 10:54:26 +07:00
Rish 42f59387eb Added test email validation in settings 2019-11-07 10:54:04 +07:00
Rish 6da000c933 Fixed publish menu input toggle not disabled for 0 members 2019-11-07 10:19:46 +07:00
Rish c36c7a1950 Added send test email button loading states 2019-11-07 09:58:25 +07:00
Peter Zimon a978647d5a Minor design refinements 2019-11-06 18:22:57 +07:00
Rish e071042e69 Added email subject to preview modal header 2019-11-06 18:18:37 +07:00
Peter Zimon ad4a7002e6 Updated member details screen 2019-11-06 18:00:03 +07:00
Kevin Ansfield 7caea66e3c Fixed send email checkbox label clickiness 2019-11-06 16:06:42 +07:00
Peter Zimon d625752e5d Email preview refinements 2019-11-06 15:58:10 +07:00
Rish 839bfba528 Disabled email toggle in publish menu if no members 2019-11-06 15:28:40 +07:00
Rish e83c44de93 Disabled email subject based on delivered action 2019-11-06 15:28:40 +07:00
Peter Zimon a0fdd27b3f Removing sent indicator from publishmenu 2019-11-06 15:08:47 +07:00
Peter Zimon d4845e9779 Refined mobile email preview 2019-11-06 12:36:39 +07:00
Peter Zimon f82b994a3c Refined browser preview 2019-11-06 12:07:52 +07:00
Peter Zimon c177ad2575 Updated email settings design in PSM 2019-11-06 11:23:20 +07:00
Peter Zimon ab801f0746 Updated publishmenu design 2019-11-06 11:01:42 +07:00
Kevin Ansfield 3c5d55db7a Hid email settings in PSM when editing a post 2019-11-05 18:34:10 +07:00
Rish 02cdbf65b7 Hide members mail config setting in admin
no issue
2019-11-05 18:23:27 +07:00
Nazar Gargol 17adb2044d Added subscribed toggle to member profile page 2019-11-05 18:00:07 +07:00
Rish 5589c25b34 Added mail provider API key setting
no issue
2019-11-05 17:26:25 +07:00
Rish 6901edfdb0 Added test preview email to post email settings
no issue
2019-11-05 16:10:24 +07:00
Rish 7f63e3ce11 Added email preview modal flow 2019-11-05 13:10:49 +07:00
Kevin Ansfield f7c64479dd Fixed unwanted "unsaved changes" modal if changing email toggle without publishing 2019-11-04 17:25:24 +07:00
Kevin Ansfield 1b0bfd380a Display email sent info on published state of publish menu 2019-11-04 16:59:46 +07:00
Kevin Ansfield 7ebe9f6e13 Display real member count in publish menu 2019-11-04 16:44:18 +07:00
Kevin Ansfield da5d4e7131 Display "sent" info in publish menu 2019-11-04 16:13:18 +07:00
Kevin Ansfield 297a4c8f74 Put email post toggle behind members feature flag 2019-11-04 13:38:48 +07:00
Rishabh Garg 7739adecaa
Added email settings to post settings menu (#1398)
no issue
2019-11-04 13:15:13 +07:00
Kevin Ansfield e690fcb820 Added "email when published" toggle to publish menu 2019-11-04 12:41:38 +07:00
Kevin Ansfield 3b43152f75 Removed "Public API" toggle in Labs screen
no issue

- the v0.1 "Public API" was removed in Ghost 3.0 so the toggle was non-functional
2019-10-29 09:46:59 +00:00
John O'Nolan 3b31c77ccd
Correct Stripe dashboard URL for members detail 2019-10-24 17:31:55 +07:00
Kevin Ansfield 9cf511f486 Fixed enter in tag screen inputs triggering save (#1381)
no issue

- `{{gh-task-button}}` was used inside a form but didn't have a `type="button"` property which meant the browser was treating it as a submit button and triggering the save action and related animation before the field's focus-out was called resulting in a save request before the scratch value is transferred to the model
- removed the submit action from the `<form>` element to prevent any other accidental triggers before scratch values have been transferred into real model values
2019-10-21 21:03:27 +05:30
Kevin Ansfield 8275403430
Prevented enter key submitting misleading member details save request (#1380)
no issue

- `{{gh-task-button}}` was used inside a form but didn't have a `type="button"` property which meant the browser was treating it as a submit button and triggering the save action and related animation before the field's focus-out was called resulting in a save request before the scratch value is transferred to the model
- removed the submit action from the `<form>` element to prevent any other accidental triggers before scratch values have been transferred into real model values
2019-10-21 16:24:57 +01:00
Peter Zimon 18605d9d05
V3 css fixes (#1377)
* Fixed Firefox bug for input groups
* Moved from `rem` based responsive styles to `px` based
* Fixed invisible clickable menus for member/user list
* Added responsive CSS for meembers list header
* Updated member list responsive styles
* Fix list header responsive style
2019-10-21 13:09:56 +02:00
John O'Nolan e58b9de431 Refined copy for members settings 2019-10-21 15:24:50 +07:00
John O'Nolan 0ccee171a0 Corrected members yearly pricing label (#1372)
no issue
2019-10-20 14:14:17 +05:30
Peter Zimon 6a136d459b Dark mode related fixes
no issue

- fixed double border for tags tabs
- refined view action button border
- fixed border for staff avatar
- fixed member avatar label color
2019-10-20 10:41:03 +02:00
John O'Nolan 4622566b8a Amended Stripe signup link (#1371)
no issue
2019-10-19 18:37:54 +05:30
Rishabh Garg c85430e441
🐛 Fixed members count on list page (#1369)
no issue

Members calculation was breaking when viewed on admin without refresh after adding/deleting new members, updated to more robust calculation logic.
2019-10-19 18:06:38 +05:30
Peter Zimon 17dc58c315 Responsive fixes on tags list screen
no issue
- fixed filter responsive CSS
- fixed list behavior
2019-10-18 14:08:46 +02:00
Peter Zimon 79cd190dc4 Fixed Stripe info box responsive behavior
no issue
2019-10-18 11:44:45 +02:00
Peter Zimon e75ebafea8 Added input groups with append value
no issue
- members price and email settings share the same pattern now: the uneditable parts of the input value is inside the input
2019-10-16 21:35:06 +02:00
Peter Zimon 884e64d48e Added Stripe info to members labs settings
no issue
2019-10-16 19:54:49 +02:00
John O'Nolan c164481134 Refined copy for members settings (#1366)
no-issue
2019-10-16 15:27:46 +07:00
Rish 5cb40bf8be Updated to password input for member settings keys
no issue
2019-10-16 11:45:14 +05:30
Peter Zimon b1e1b39d68 Refined member details
no issue
- updated copy for member since date
- added note to note field
- added subscription value to plan data
2019-10-15 16:24:20 +02:00
Peter Zimon 7f4347a7eb Refined member list
no issue
- added list headings
- added active state to search field when it has value
- set position of actions dropdown
- refined avatar typography
2019-10-15 16:11:43 +02:00
Peter Zimon 6ebe91c854 Moved Member settings section to top in labs
no issue
2019-10-15 14:43:22 +02:00
Rish ca54402c82 Enabled members by default
no-issue

This removes the need for `enableDeveloperExperiments` flag for members
2019-10-14 08:42:04 +05:30
Kevin Ansfield 9d15b069f4 Merge branch 'master' into v3 2019-10-11 13:35:01 +01:00
Rish c1eae87bf6 Fixed member section visibility for owner
no issue

Previously we were just hiding the toggle for member section in case of user not being owner. This updates to hide full section in case of non-owner user which is expected behavior
2019-10-11 15:27:24 +05:30
Kevin Ansfield a35fa9e764 Merge branch 'master' into v3 2019-10-11 10:43:38 +01:00
Rish 3ecc6f68ca Renamed member require payment setting
no issue

Renames member setting `requirePaymentForsSignup` -> `allowSelfSignup` to match existing usage in members API
2019-10-11 14:10:37 +05:30
Peter Zimon 428f4f7e66 Updated members Labs settings UI
no issue
- new settings have been introduced for members, switched to expand/collapse UI pattern for members settings
2019-10-11 10:25:52 +02:00
Rish acf1fae267 Added members feature toggle for owner only
no issue
2019-10-11 11:34:31 +05:30
Peter Zimon 583fcf5aea Updated member email font weight
no issue
2019-10-10 16:01:38 +02:00
Peter Zimon a998602f44 Updated member avatar initial fontsize
no issue
2019-10-10 15:59:21 +02:00
Rish 772a600a25 Added unsaved changes check to member details page
no issue

- Adds unsaved changes check to member detail page for write operations
2019-10-10 18:06:33 +05:30
Rish f0c906f289 Enabled write operation for member name and note
no issue

- Allows editing member's name and note in admin
2019-10-10 17:29:35 +05:30
Kevin Ansfield 0dd5de76b9 Merge branch 'master' into v3 2019-10-10 10:17:44 +01:00
Rish d1fe33f073 Updated subscription data in member details
no issue
2019-10-10 13:54:19 +05:30
Kevin Ansfield facea619ee Merge branch 'master' into v3 2019-10-09 15:06:37 +01:00
Rish 677de7f317 Updated members lab settings design
no issue

- Extracts members lab settings from `Beta Features` section to its own section
- Adds new `fromAddress` field to members settings
2019-10-09 15:33:08 +05:30
Naz Gargol 9ae73c3bd7
Hidden post visibility select from PSM for non editors (#1357)
no issue

- Limited visiblity to only those users who have the rights to edit post's visibility
2019-10-09 10:23:36 +02:00
Kevin Ansfield 59e76c07cc Remove duplicated members config from Labs screen 2019-10-08 14:13:19 +01:00
Kevin Ansfield 276d4308f4 Merge branch 'master' into v3 2019-10-08 14:04:38 +01:00