You are reading content from Scuttlebutt
@SoapDog (Macbook Air M1) %i5Zm+9lZybrlQ+e9GuDanOO4nmlWAWtGiAkYzlmuTvc=.sha256

Patchfox 2021.5.1.png

A new version has shipped. The main feature for this version is the new Patchfox app called Books that provides book club features similar to those of Patchbay.

Fixes

I apologise for the amount of deep development topics in this changelog. I try to describe the changes in terms of their high-level impact and usability, but during the making of this version there were so many silly gotchas, that to document everything I had to resort to tech speak.

  • npm scripts: The copy:docs script was wrong and was not copying root files. Patched many of those scripts.
  • Spectre.css: Browserify was borking the import from node_modules/, so I made an extra copy:spectre-icons-css script that copies it to the default theme directory, and patched the SCSS code to import from there.
  • NPM flamefest while updating: 😤 A gazillion errors happened when trying to bring dependencies up to date...
  • Zine: The old masonry grid was buggy. Unfortunately Firefox is yet to support grid-template-rows: masonry;. So I'm using a fallback to CSS Grid, and left the masonry grid template in place. I expect support for that CSS will arrive shortly since it is already possible to use it in Firefox if you switch some internal flags in about:config.
  • CSP: Had to change the CSP for the add-on to support unsafe-eval because ssb-gatherings uses Function(). Mozilla will probably complain and reject the add-on because of that. I might need to revert this and remove some of the gathering features.
  • Show unknown renamed to show extras in display settings: At the beginning Patchfox had a core set of messages that it understood. As the packaging system expanded, this set became a dynamic set based on which packages are loaded. To be able to view these potential extra messages on thread viewers, you need to enable Show Extra in the Display Settings. The default option has been changed to display these extra messages.
@SoapDog (Macbook Air M1) %gsbIE8AWVcppIKknKHJTmaG3jw2IZjouqPukFZRp08w=.sha256

Besides Patchfox, what other clients support book club messages? I'm only aware of Patchbay.

Anyway, I hope you enjoy this release and that you all make use of the book club features. Maybe at some point I'll try to make an importer for goodreads and the storygraph, maybe.

@SoapDog (Macbook Air M1) %TuBeiv2FzbQiBtxzr7SFwruNUTWFIJ+bakYacEP8g9c=.sha256

For the developer-curious among you all, here is the source for the books package:

I hope this can demonstrate how easy it is to plug a complete new feature into Patchfox.

@SoapDog (Macbook Air M1) %LNurtpdyZ+NIN3Am8izfEEPKmVn0BUaYsGC88J532/s=.sha256

Like, it took me most of the day to do this, but:

  1. I had no idea how books worked on Patchbay, so I had to research.
  2. I am not a fast developer, I type slowly and favour an iterative approach by trying things out even when I know they will error out just to see if the error being triggered is the one I expect.

I think it took me about six hours to implement this, don't know, I was not counting. I still consider this a victory. Book club is a wonderful feature and more clients should implement it.

@SoapDog (Macbook Air M1) %+uLwX3cXnLHkqtH85KLbyg4+FIzvyFZTRE5CUUWcC1A=.sha256

Please, if you're a Patchfox user and received the update already, tell me how it is going! I WANT TO KNOW! Does it work on other machines?

User has not chosen to be hosted publicly
@SoapDog (Macbook Air M1) %9LaX3NhjFg8RDzAgpB1AjeJ4CqC3v38wiEQuRDNMVQY=.sha256

Still, on the topic of https://viewer.scuttlebot.io/%25TuBeiv2FzbQiBtxzr7SFwruNUTWFIJ%2BbakYacEP8g9c%3D.sha256, the whole Books app is 642 lines of code. You can create and integrate a new application in Patchfox in less than a thousand lines.

@Daan %pBAbA8vXUQ9fQvOSxqd/ZevsVQ+ntp2oH9RJk5yCmnY=.sha256

SoapDog (Macbook Air),

tell me how it is going!

I just posted my first book review... ever? Surely the first one since I messed around with patchbay when I first found ssb. This is awesome!

User has not chosen to be hosted publicly
User has chosen not to be hosted publicly
@SoapDog (Macbook Air M1) %ltlxm5UDwN7JOtawNbrX0dejFW6C3eInQGKYpfoxPIw=.sha256

patchfoo has everything, it is just a tight bundle of love <3 <3 <3

@SoapDog (Macbook Air M1) %1uBnkbhFVL3JXKWOJRBs1gV6okDJiF04I2qRO7L/mhY=.sha256

Daan,
Image 2021-05-14 20-29-33.png

I can see your review :D this stuff is working!

@Rabble %VWaYEm/owaRuFMwwzdCl4YZhiKF8fTEKihDkTfWqOfg=.sha256
Voted ![Patchfox 2021.5.1.png](&0qq+eiR+75gp2rzhwYpBQ6qklOBVAOB02PouqkMipO0=.sha2
User has not chosen to be hosted publicly
@SoapDog (Macbook Air M1) %sk95MnHdC8g8rJ6i1/Z+rUDT4jWia2TE7Fgiy08rjh4=.sha256

@ZACH ALSO! when it first started loading the books on that view, I got sooooo happy. I was like: "I'm gonna bring this feature back from the dead!"

I just hope this foster more activity around books. There still need some more features, such as comments on reviews and books, but it is a good start. I will also check how goodreads and storygraph export data to see if an importer can be built. The hard part is actually reconciling books already on SSB with data from external sources, since the books on SSB don't carry any form of unique id (like ISBNs). I guess the process will have to be partially manual with the user giving the final approval on tentative matches. Anyway, that's for the future, for now we can just enjoy it.

Is there a feature you or others here would like to see next?

I'm gonna look into chess, but since it apparently require a plugin, I might not be able to do it.

@SoapDog (Macbook Air M1) %UtCxBVkl3xCnH4QyQmXlF41jbQhoePAH0FpYvRmyQY8=.sha256

Oh, reminding everyone using Patchfox that CTRL+M will open the launcher in any Patchfox view, you don't need to go to the menus to do it.

@SoapDog (Macbook Air M1) %V6rM7C7qoUWN8kKIgJxkQtWQ4zDNsicVn6P+4YLeeMA=.sha256

Need to document this stuff...

User has chosen not to be hosted publicly
Join Scuttlebutt now