Fishbowl archive on the website #33
Labels
No Label
admins only
bug
design
duplicate
gimme feedback
good first issue
hmmmm
invalid
reference
wontfix
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hmn/hmn#33
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Our fishbowls need more visibility! We should archive fishbowl contents for everyone to read. Since fishbowls are one-and-done deals, we can do some light editing for content and flow before publishing (or simply publish them as is).
It would be nice to display the messages in a somewhat Discord-like format just so it reads nicely, and it would be nice for participants' names and profile pictures to be hooked up to their HMN profiles if available. However, we probably don't need or want to hook this up to the Discord message content system, because we want control over message contents and order. Plus we'd like to be able to insert links and notes into the content here and there if we feel something deserves more explanation. Thanks to Ilia for helping flesh this out.
I think we can probably do just simple HTML pages for this. Any dynamic bits like the Discord links can just use some new Go template functions.
Ilia has been exporting conversations using this tool, with this command:
It produces some fancy stuff, but also produces good enough HTML to use as a starting point. We should be able to transform this output into a format that works for us with some fancy find-and-replace or perhaps a script.
As far as shipping goes, I'd be happy to ship this with just the OOP fishbowl at first, then edit and post the other fishbowls afterward.
Here's the edited OOP fishbowl. Took 90 minutes, apart from setting up the toolchain.
Workflow so far:
DiscordChatExporter.Cli.exe export -c 980152876846428221 -t <token> -o OOP.html --media
class="inserted-after" target="_blank"
)Just an update, I am able to drop the HTML from your export pretty much directly into the HMN website now and everything works great. I just have to build a little more surrounding scaffolding and write some of the promo / explanatory text to give people an idea of what a fishbowl is and direct people to the site.
@ilidemi, I think I can confidently say that your workflow works great and produces exactly what we want as-is, so if you could export and clean up the other fishbowls too, that would be great! No rush of course.
The one tiny comment I would make is that the default date format used by the exporter comment is a bit weird:
I realize this is subject to localization concerns, but I think I'd prefer one of the following instead:
Any of those should be unambiguous in different locales, but more natural to read imo.
I think this is code-complete, at least for the first pass. PR has been created; after Asaf gets a chance to look through it, I'll merge it and ship it.
Initial version has been shipped: https://handmade.network/fishbowl/oop/
I'll leave this issue open to track the remaining work though!
Flexible Software fishbowl has been merged and deployed.
Teaching Software fishbowl merged and deployed. https://handmade.network/fishbowl/teaching-software/
Simplicity/performance and config fishbowls have been merged and deployed:
https://handmade.network/fishbowl/simplicity-performance/
https://handmade.network/fishbowl/config/
Skimming fishbowl merged and deployed: https://handmade.network/fishbowl/skimming/
Parallel programming merged and deployed. https://handmade.network/fishbowl/parallel-programming/
Lisp jam fishbowl merged and deployed. https://handmade.network/fishbowl/lisp-jam/
Metaprogramming fishbowl merged and deployed. https://handmade.network/fishbowl/metaprogramming/
One more to go!!!
Internet/OS fishbowl merged and deployed! https://handmade.network/fishbowl/internet-os/
Done!!!