Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The primary purpose of the winter “sales” build is to provide Catapult sales staff features that they can use to help sell our products in the upcoming (in this case 2023) season. Based on a combination of customer feedback and sales staff intuition the following features are the ones our clients want the most.

  • Edit Homepage Blurb

  • Edit Post - Support Header Tags.

  • Rich View (URL)

  • Embed Post (Global Content)

Edit Homepage Blurb

Current Behavior: the system only stores one copy of “Post Content” this is stored as a string in the announcement API: PostInfo: string:Description We strip the HTML and serve the frst couple of lines as plain text for the description that appears on the homepage, then show the full version when the post is opened.

Desired Behavior: Add a secondary string which is automatically generated when the description is changed, but allow users to manually alter this to be a customized string of their choice (with a limited character count)

Edit Logic: If “Post Content” is edited and a custom blurb is present ask Ask the user on save if they would like to replace the custom blurb with a truncated version of their post content.

UI Reference: Replace Post Content with Tabs (default to Post Content)

Image RemovedImage Added

UI Reference: Homepage Blurb. (200 character maximum, no formatting options)

I found a script that was built by adobe which offers a running update of how many characters are left (including a reference for if you go over)

Script Reference: https://developer.adobe.com/commerce/frontend-core/javascript/jquery-widgets/remaining-characters/

If possible it would be nice to avoid “force truncating” the content until after the user hits save, at which point a note “your homepage blurb is over the maximum of 200 characeters, saving will truncate any additional text”

Edit Post - Support Header Tags

We want to add header tags to the list of supported HTML for the Edit Post (description) this will increase the compatability of our announcement descriptions with google docs, with minimal affect on the total HTML we’re adding.

Redirect URL

Overview: With the advent of the “Branded Newsletter” feature in Connect we’ve introduced content that cannot be easily displayed inside of an announcement post. We’d like to add an additional string to PostInfo which will store the URL of “rich html” content i.e. posts that need a full website instead of a simple post content. This will allow us to add logic to certain front end options to link directly to the rich content instead of showing the link in the description (reducing the number of clicks required from the viewer to get to that content.)

Reference UI:

Embed Post

The “Embed Post” button will provide an embed code which outputs the content of a single post. This embed code will be similar to the content provided in the “Share URL” unlike the share URL this content is intended to be added by developers to other catapult pages.