I have shared the incremental formalization video in SB 3.0 with colleagues and we are pretty exited about SB use the next semester. In the intermediate vacations and once I have finished the semester's end rush, I would like to explore how to customize SB providing new UI/UX elements.
The first think I would like to do is to add 2 new elements to the navigation tree and rearrange its order, so they become the first ones, as they would be more used that the alphabetical file list, "config" and "all" tabs in the defaults:
Clicking on the first, you get the last visited/edited pages, similar to what you get when pressing Ctrl + k. And the second would be custom made a document tree, where you can put a hierarchy of pages that are done by reading the parent: pageName in the YAML metadata of each page that belongs to such tree and a tree: name for each "root" page that has no parent. In this way I can have several trees to rearrange documents, without creating nested directories or symbolic links in the and caring more about the document structure and its "subpages". That is something I had in Leo Editor that helped me a lot to structure my writing and could help my students too, now with the increased approachability and UI/UX of SB.
Also I have been wondering about how to call from SB programs that are located in the OS, like Pandoc or Fossil and how to put buttons for such calls. For example, once I have my document trees and the Lua script that traverse them (in preorder), how to call Pandoc from the OS with such Lua script and applying Lua filters to create a PDF. I how how to make all of that from the CLI, but I'm wondering how to integrate that with SB, so I can customize it for our documentation workflows.
While I have been following videos and browsing the docs, I do not have a clear picture of where to start when you have in mind customizations like those. Could someone provide me of the starting points for them?
TIA
