Versions Compared

Key

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

...

To support these features we provide a forum engine. This consists of

  • Database collection for stories.

  • Story edit form and display components

  • Database collection for comments and threads

  • Comment edit form and display component

Story Entity

A story consists of:

_id - storyID

name - the title of the story, single line shown as a heading

( we use name rather than title so that these items are consistent with other Card components)

imgUrl - the primary image illustrating the story.

subtitle - a short text that shows on a Card view of the story.

content - the rich text content

author - PersonID for the author

organisation - OrganisationID for post originator

activity - ActivityID if this posting is associated with an activity

opportunity - OpportunityID if this posting is associated with an opportunity

tags - array of tag strings, used to filter stories e.g. for landing page.

dateAdded, dateUpdated- automatic fields for creation and update dates

Comment Entity

A comment consists of

comment - rich text

author - personID of person writing the comment

story - storyID

dateAdded, dateUpdated- automatic fields for creation and update dates