classifai icon indicating copy to clipboard operation
classifai copied to clipboard

Recommended Content settings iteration

Open jeffpaul opened this issue 3 years ago • 1 comments

Is your enhancement related to a problem? Please describe.

The current Recommended Content block takes input from a user via several controls, two of which are the Categories and Tags multiselect boxes. Let's look into an iteration here that:

  1. Sets the Post type field to the same post type for the currently edited post type (e.g., if editing on a Page, then set the Post type to Page).
  2. Set the Categories and Tags to be the same as the currently edited post type (e.g., if editing on a Page that's set as Categories=Sports, Tags=[Soccer, Technology], then set those categories and tags as the default ones for the Recommended Content block).
  3. Add a Use this Post's Categories and Tags toggle that defaults to enabled and sets those fields based on #2 above. This makes those fields uneditable (or alternatively hides them). Disabling this toggle makes the Categories and Tags fields editable.

Props to @jakemgold for the inspiration on this UX improvement.

Designs

Use This Posts Categories And Tags setting enabled and showing full view of pre-set fields: UseThisPostsCategoriesAndTags_EnabledFullView

Use This Posts Categories And Tags setting enabled but hiding the pre-set fields / collapsing them away from view: UseThisPostsCategoriesAndTags_EnabledCollapsed

UseThisPostsCategoriesAndTags_Disabled: UseThisPostsCategoriesAndTags_Disabled

Describe alternatives you've considered

n/a

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

jeffpaul avatar Nov 17 '22 19:11 jeffpaul

While we work on a replacement for Personalizer in #392 the work here can be put on hold until work wraps in 392.

jeffpaul avatar Oct 20 '23 17:10 jeffpaul