zef
(Zef Hemel)
July 2, 2024, 1:52pm
1
For a little while now, the action buttons (top right buttons in the UI) have been configurable in SETTINGS: SETTINGS
What are y’all using it for? My only adjustment is adding a button for Quick Note:
actionButtons:
- icon: file
command: "{[Quick Note]}"
- icon: home
command: "{[Navigate: Home]}"
description: "Go to the index page"
- icon: book
command: "{[Navigate: Page Picker]}"
description: Open page
- icon: terminal
command: "{[Open Command Palette]}"
description: Run command
Anybody using this for something surprising or useful?
1 Like
What is your plan, if you will add a new icon in the future?
If you were customized the buttons with actionButtons
, it wouln’t appear and you would miss that.
zef
(Zef Hemel)
July 2, 2024, 6:55pm
3
No plan. Just collecting creative uses of this feature. This is not a “I’m looking for stuff to remove” thread
Fine, but my take would be to let plugins add their own buttons to actionButtons. Maybe there should be a way to disable or reorg buttons, but primirarly I expect buttons to “magically” apper from plugins.
I literally feared to override the buttons because I feared to miss out new buttons.
Nothing special
actionButtons:
- icon: home
command: "{[Navigate: Home]}"
description: "Go to the index page"
- icon: book
command: "{[Navigate: Page Picker]}"
description: Open page
- icon: terminal
command: "{[Open Command Palette]}"
description: Run command
- icon: sidebar
command: "{[Tree View: Toggle]}"
description: "Toggle Tree View"
- icon: moon
command: "{[Editor: Toggle Dark Mode]}"
description: "Toggle Dark Mode"
- icon: eye
command: "{[Markdown Preview: Toggle]}"
description: "Toggle Preview"
3 Likes
zef
(Zef Hemel)
July 4, 2024, 8:39am
6
Hah! You’re using markdown preview! Who’s using markdown preview?
2 Likes
dsegonds
(David Segonds)
July 4, 2024, 1:51pm
7
Here are mine. Nothing original.
actionButtons:
- icon: home
command: "{[Navigate: Home]}"
description: "Go to the index page"
- icon: search
command: "{[Search Space]}"
description: "Search"
- icon: book
command: "{[Navigate: Page Picker]}"
description: Open page
- icon: terminal
command: "{[Open Command Palette]}"
description: Run command
- icon: sidebar
command: "{[Tree View: Toggle]}"
description: "Toggle Tree View"
- icon: arrow-left
command: "{[Navigate: Back in History]}"
description: "Go to the previous page"
mobile: true
Similar to everyone else.
actionButtons:
- icon: home
command: "{[Navigate: Home]}"
description: "Go to the index page"
- icon: file
command: "{[Quick Note]}"
description: "Create a quick note"
- icon: book-open
command: "{[Todays Note]}"
description: "Open today's journal entry"
- icon: book
command: "{[Navigate: Page Picker]}"
description: Open page
- icon: terminal
command: "{[Open Command Palette]}"
description: Run command
- icon: sidebar
command: "{[Tree View: Toggle]}"
description: "Toggle Tree View"
mobile: false
meain
July 13, 2024, 6:06am
9
In addition to the usual, I have buttons to go back and forward and one for daily note. These come in handy on mobile devices.
Here are mine in mobile
actionButtons:
- icon: Home
command: "{[Navigate: Home]}"
description: "Go to the index page"
- icon: shopping-cart
description: "Shopping List"
command: '{[Navigate: To Page]("Shopping List")}'
mobile: true
- icon: Book
command: "{[Navigate: Page Picker]}"
description: Open page
- icon: Terminal
command: "{[Open Command Palette]}"
description: Run command
- icon: sidebar
command: "{[Tree View: Toggle]}"
description: "Toggle Tree View"
mobile: false
- icon: arrow-left
command: "{[Navigate: Back in History]}"
description: "Go to the previous page"
mobile: true
choddles
(Choddles)
July 14, 2024, 9:04pm
11
Very new to to silverbullet, looking at editing these action buttons, I guess editing !SETTINGS should not be done as its grey and comes up in a red banner could not save page, retrying in 10 seconds.
Ross
(Ross)
July 14, 2024, 9:48pm
12
This is where you would make those edits. Any chance you can tell if there are any errors in your logs or console?
zef
(Zef Hemel)
July 15, 2024, 4:06am
13
You edit them in your space’s SETTINGS page. Since this is a meta page, you get to it via the Meta Picker (Ctrl-Shift-k or Cmd-Shift-k on Mac) or by running the Navigate: Open SETTINGS
command
choddles
(Choddles)
July 15, 2024, 8:17pm
14
there is a SETTINGS page and a !SETTINGS page, the 2nd is populated with the stock settings, the 1`st is just a link to the 2nd i think
there are no errors on the logging ( docker ) on linux.
edit :–
ok sorted, there are user settings and system settings pages ) which are protected )