Neo
August 7, 2020, 9:39am
1
Just submitted a PR to fix this Discourse plugin tutorial:
The notebook
tutorial had an error due to this issue:
Which I fixed and tested with the PR:
kleinfreund:main
← unixneo:patch-1
opened 09:22AM - 07 Aug 20 UTC
This change fixes the issue with the issue "DEV: Discourse.Route has been deprec… ated"
https://review.discourse.org/t/dev-discourse-route-has-been-deprecated/11668
and it works again:
Hope this helps.
PS: Slowly, I'm making progress with learning to write Discourse plugins... very slowly
See also:
And also on meta:
And if you want to clone the working version until the owner accepts the PR:
2 Likes
Neo
August 8, 2020, 9:53am
2
Just pushed another version of this tutorial (0.7.2) out to Github; adding code to log various Rails calls to a log file so people, like me, learning Discourse plugins and Rails can see how various parts of this plugin work:
See also (as before)
https://github.com/unixneo/notebook-neo
I plan to add more "learning tools" to his tutorial plugin over time and perhaps do a new write-up to complement the original tutorial, where I may focus on the Rails MVC concepts (still thinking about this, since I am still learning Rails).
Neo
August 16, 2020, 1:55pm
3
Make a lot of changes to my fork:
Updates
Version 0.7.3
Changes
Added code and site settings to enable / disable for guest users
Modified plugin details
# frozen_string_literal: true
# name: notebook
# about: notebook is a fork of the notebook tutorial plugin https://github.com/kleinfreund/notebook
# version: 0.7.3
# authors: kleinfreund, unixneo
# url: https://github.com/unixneo/notebook-neo
Version 0.7.4
Changes
Appended username to notes; or "guest" if not logged in
Version 0.7.5
Changes
Change delete buttons (font awesome) and reposition.
Version 0.7.6
Changes
Change submit button (font awesome)
Version 0.7.7
Changes
Version 0.7.9
Changes
Reverse order of notes (now descending)
Added time to notes