diff --git a/modules.json b/modules.json index f992dfc..6010dd9 100644 --- a/modules.json +++ b/modules.json @@ -73,6 +73,13 @@ "description": "Define and control assignment of Hubs and Accounts to the Marketplaces with the Marketplaces Management module.", "icon": "shopping_cart" }, + "News": { + "description": "Publish and manage your announcements, updates, or any other special messages on the Connect platform.", + "icon": "public", + "objects": [ + "news-post/object.json" + ] + }, "Offers": { "description": "Set, manage and update the offers of your products with Offers Management module.", "icon": "local_offer", diff --git a/news-post/object.html b/news-post/object.html new file mode 100644 index 0000000..5fd1553 --- /dev/null +++ b/news-post/object.html @@ -0,0 +1,34 @@ +<html> +<head> +<style> +</style> +<meta charset="utf-8"> + <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> + <script type='text/javascript' src='http://davidlynch.org/projects/maphilight/jquery.maphilight.js'></script> + <script type="text/javascript"> + $(document).ready(function () { + $('.map').maphilight({ alwaysOn: true }); + // uncomment this line for normal hover highlighting + // $('.map').maphilight(); + }); + </script> +</head> +<body> + +<!-- Edit with https://summerstyle.github.io/summer/ below --> + +<img class="map" src="object.png" alt="" usemap="#map" /> +<map name="map"> + <area shape="rect" coords="830, 1097, 1243, 1296" href="t-4-draft-deleted" /> + <area shape="rect" coords="1918, 1087, 2300, 1291" href="t-5-pub-deleted" /> + <area shape="rect" coords="1780, 429, 2416, 871" href="s-b-published" /> + <area shape="rect" coords="1367, 9, 1805, 169" href="t-3-pub-draft" /> + <area shape="rect" coords="1415, 461, 1731, 631" href="t-2-draft-published" /> + <area shape="rect" coords="824, 409, 1222, 868" href="s-a-draft" /> + <area shape="rect" coords="386, 446, 688, 635" href="t-1-new-draft" /> +</map> + +<!-- Edit with https://summerstyle.github.io/summer/ above --> + +</body> +</html> diff --git a/news-post/object.json b/news-post/object.json new file mode 100644 index 0000000..9ccb596 --- /dev/null +++ b/news-post/object.json @@ -0,0 +1,89 @@ +{ + "name": "News Post", + "image": "object.png", + "readme": "object.md", + "statuses": [ + { + "id": "s-a-draft", + "name": "Draft", + "mapping": { + "left": "31.44%", + "top": "28.22%", + "width": "20.05%", + "height": "34.07%" + } + }, + { + "id": "s-b-published", + "name": "Published", + "mapping": { + "left": "72.7%", + "top": "29.58%", + "width": "24.64%", + "height": "31.72%" + } + } + ], + "transitions": [ + { + "id": "t-1-new-draft", + "from": "New", + "to": "Draft", + "name": "1. Draft Creation", + "mapping": { + "left": "16.02%", + "top": "32.14%", + "width": "12.4%", + "height": "11.12%" + } + }, + { + "id": "t-2-draft-published", + "from": "Draft", + "to": "Published", + "name": "2. Post Publication", + "mapping": { + "left": "57.16%", + "top": "32.07%", + "width": "12.4%", + "height": "11.12%" + } + }, + { + "id": "t-3-pub-draft", + "from": "Published", + "to": "Draft", + "name": "3. Post Depublication", + "mapping": { + "left": "56.92%", + "top": "0.99%", + "width": "12.4%", + "height": "11.12%" + } + }, + { + "id": "t-4-draft-deleted", + "from": "Draft", + "to": "Deleted", + "name": "4. Draft Removal", + "mapping": { + "left": "35.26%", + "top": "80.47%", + "width": "12.4%", + "height": "11.12%" + } + }, + { + "id": "t-5-pub-deleted", + "from": "Published", + "to": "Deleted", + "name": "5. Post Removal", + "mapping": { + "left": "77.9%", + "top": "80.04%", + "width": "12.4%", + "height": "11.12%" + } + } + ] + } diff --git a/news-post/object.md b/news-post/object.md new file mode 100644 index 0000000..a650b70 --- /dev/null +++ b/news-post/object.md @@ -0,0 +1,9 @@ +# News Post +## Overview +News posts represent objects that generally include announcements or updates for your business partners on the CloudBlue Connect platform. Such posts can also include cover images and can also have different attachments such as links to your pictures, videos, and so on. + +Your posts can be published and be visible for all of your business partners and your account users or can only be visible to your account users, Vendors, Distributors, or Resellers. Each post can also have an external identifier for your system and can be anonymous if necessary. + +Note that certain user groups can be restricted from viewing posts by excluding corresponding permissions via the Account module. +## Learn more +Refer to the [News module documentation](https://connect.cloudblue.com/community/modules/news/) to learn more about the News module functionality and posts management. diff --git a/news-post/object.png b/news-post/object.png new file mode 100644 index 0000000..0be94b5 Binary files /dev/null and b/news-post/object.png differ diff --git a/news-post/object.pptx b/news-post/object.pptx new file mode 100644 index 0000000..c5944a3 Binary files /dev/null and b/news-post/object.pptx differ diff --git a/news-post/s-a-draft.md b/news-post/s-a-draft.md new file mode 100644 index 0000000..e75de1e --- /dev/null +++ b/news-post/s-a-draft.md @@ -0,0 +1,13 @@ +# Draft Status +## Description +Once your new post is created and saved on the Connect platform, the system assigns the *Draft* status to this post. Therefore, this status indicates that your post is saved within the system and available for the following edits or publication. The *Draft* status is also assigned to your unpiblished posts. The system allows editing your draft posts and deleting such posts. +## Prerequisites +A new saved post or an unpublished post is required. +## Transferable statuses +In case your draft post is published, the system assigns the [Published](s-b-published.html) status to your post. +Draft posts can also be removed if necessary. +## Associated transitions +* [Draft Creation](t-1-new-draft.html) +* [Post Publication](t-2-draft-published.html) +* [Post Depublication](t-3-pub-draft.html) +* [Draft Removal](t-4-draft-deleted.html) diff --git a/news-post/s-a-draft.png b/news-post/s-a-draft.png new file mode 100644 index 0000000..c71cb83 Binary files /dev/null and b/news-post/s-a-draft.png differ diff --git a/news-post/s-b-published.md b/news-post/s-b-published.md new file mode 100644 index 0000000..fc74725 --- /dev/null +++ b/news-post/s-b-published.md @@ -0,0 +1,14 @@ +# Published Status +## Description +The *Published* status indicates that your post is available for your specified audience. The system allows selecting the scope of your post and consequently make it available for everyone or specifically restricted to your account users, Distributors, Vendors, or Resellers. +The system allows editing your published posts, edit the scope, or make other changes. Your published posts can also be unpublished or removed if necessary. + +## Prerequisites +A post in the [Draft](s-a-draft.html) state that is ready for publication. +## Transferable statuses +In case your post is unpublished, it is transferred back to the [Draft](s-a-draft.html) status. +Published posts can also be removed from the system. +## Associated transitions +* [Post Publication](t-2-draft-published.html) +* [Post Depublication](t-3-pub-draft.html) +* [Post Removal](t-5-pub-deleted.html) diff --git a/news-post/s-b-published.png b/news-post/s-b-published.png new file mode 100644 index 0000000..7a41f15 Binary files /dev/null and b/news-post/s-b-published.png differ diff --git a/news-post/t-1-new-draft.md b/news-post/t-1-new-draft.md new file mode 100644 index 0000000..4b2c8fb --- /dev/null +++ b/news-post/t-1-new-draft.md @@ -0,0 +1,7 @@ +# Draft Creation +## Description +This transition indicates that a new post is created and saved on the Connect platform. Therefore, the system assigns the *Draft* status to your post that will be available for the following edits and publication. +## Prerequisites +A new saved post is required for this transition. +## Operation results +A post object with the [Draft](s-a-draft.html) status. diff --git a/news-post/t-1-new-draft.png b/news-post/t-1-new-draft.png new file mode 100644 index 0000000..8ceda22 Binary files /dev/null and b/news-post/t-1-new-draft.png differ diff --git a/news-post/t-2-draft-published.md b/news-post/t-2-draft-published.md new file mode 100644 index 0000000..bea2c2c --- /dev/null +++ b/news-post/t-2-draft-published.md @@ -0,0 +1,7 @@ +# Post Publication +## Description +This transition indicates that your post is being published on the CloudBlue Connect platform. Consequently, this post will be automatically assigned to the *Published* state and will be visible for your selected audience. +## Prerequisites +A post object in the [Draft](s-a-draft.html) state is required. +## Operation results +A post object with the [Published](s-b-published.html) status. diff --git a/news-post/t-2-draft-published.png b/news-post/t-2-draft-published.png new file mode 100644 index 0000000..20dd3e3 Binary files /dev/null and b/news-post/t-2-draft-published.png differ diff --git a/news-post/t-3-pub-draft.md b/news-post/t-3-pub-draft.md new file mode 100644 index 0000000..2368f36 --- /dev/null +++ b/news-post/t-3-pub-draft.md @@ -0,0 +1,7 @@ +# Post Depublication +## Description +In case users want to unpublish their post on the Connect platform, the system transfers such posts back to the *Draft* status. Therefore, the system enables to edit the provided content, switch the selected scope, author, and make other changes or updates. The system also allows publishing such post again if necessary. +## Prerequisites +A post object with the [Published](s-b-published.html) status is required. +## Operation results +A post object in the [Draft](s-a-draft.html) state. diff --git a/news-post/t-3-pub-draft.png b/news-post/t-3-pub-draft.png new file mode 100644 index 0000000..a5e41f3 Binary files /dev/null and b/news-post/t-3-pub-draft.png differ diff --git a/news-post/t-4-draft-deleted.md b/news-post/t-4-draft-deleted.md new file mode 100644 index 0000000..a2bd936 --- /dev/null +++ b/news-post/t-4-draft-deleted.md @@ -0,0 +1,7 @@ +# Draft Removal +## Description +This transition implies that your created draft is being deleted from the system. Note that removed drafts or their content cannot be managed or restored back. +## Prerequisites +A post object in the [Draft](s-a-draft.html) state is required for this transition. +## Operation results +A removed draft post object. diff --git a/news-post/t-4-draft-deleted.png b/news-post/t-4-draft-deleted.png new file mode 100644 index 0000000..8707826 Binary files /dev/null and b/news-post/t-4-draft-deleted.png differ diff --git a/news-post/t-5-pub-deleted.md b/news-post/t-5-pub-deleted.md new file mode 100644 index 0000000..967caf9 --- /dev/null +++ b/news-post/t-5-pub-deleted.md @@ -0,0 +1,7 @@ +# Post Removal +## Description +This transition implies that your published post is being deleted from the system. Therefore, this post will no longer be published or available. Removed posts or their content also cannot be restored back. +## Prerequisites +A post object with the [Published](s-b-published.html) status is required. +## Operation results +A removed published post object. diff --git a/news-post/t-5-pub-deleted.png b/news-post/t-5-pub-deleted.png new file mode 100644 index 0000000..ddaac16 Binary files /dev/null and b/news-post/t-5-pub-deleted.png differ