Styling - remove disc list style if li contains: bold, pre, code, img
Styling - fix display of pre on website - overflow scroll
Improve db model for users & stream subscriptions
Build new subscriber model
Transfer over previous relationships
Allow sub-streams
For example: Tonic - Tonic customer acquisition, Atlas, Greenore, Housebuild
Add database and backend structure
Come up with way to prevent email from sending in certain scenarios
Scenarios
Small update
Send to self to test
Don't feel this warrants an email of its own
Thinking
Have an attribute called Email, which can be set to Self, All, or Digest
Self will immediately send to the user who owns the stream.
All will immediately send to anyone subscribed to the stream.
Digest will send to anyone subscribed to the stream, at the end of the day along with any other streams they're subscribed to.
Tasks
Add method to infer recipient list based on Email attribute
Send to ennis.tony@gmail.com if set to Self
Send to subscribers if set to all
Hide the email attribute in the output
This was the trickiest task today. Involved fun with Nokogiri
def cleaned_raw_roam_content
begin
doc = Nokogiri::HTML::DocumentFragment.parse(self.raw_roam_content)
doc.at('a:contains("Email:")').parent.parent.remove
return doc.inner_html
rescue => exception
self.raw_roam_content
end
end
Come up with structure for assigning a title
What about - if the first node is an h3 - get the content and set that as the title.
Set title based on first h3
Think about/mock up layout for "All Streams" frontend
How can we have a Github green grid style panel to incentivise regular posting?

Add published_at date to use instead of created_at and updated_at
For Next Time
Allow modifying dates for stream posts
Load in some old posts to the VanBuild stream and modify the dates