newpost
Page for creating or modifying a post
New Post Page Overview
This page is used to create a new Post
or modify an existing one. Posts
contain a Title
, text (Post
), and optional Image
, which can all be modified. When an existing Post is modified, a new Edit
is created indicating the changes made and the User
making the changes.
Key Workflows
Button Create Post is clicked
Creates a new
Post
or modifies the existingPost
Sets the
Upvotes (num)
field to 0
Triggers the
Save post
custom workflow on the relevantPost
Triggers the
Edit post
custom workflow on the relevantPost
Edit post [Custom workflow]
Creates a new
Edit
instance and links it to thePost
Stores the values of fields that have been updated on the
Post
These
Edits
exist primarily for reference
Updates the
Edits
list of thePost
and stores thatEdit
as thePost
'sMost recent edit
When the
Most recent edit
field of thePost
is not empty, the post UI is updated to indicate that thePost
has been edited (and shows the editor'sUsername
and edit timestamp)
Save post [Custom workflow]
Stores or the updates various fields on the
Post
with the inputted values
Last updated
Was this helpful?