-
-
Notifications
You must be signed in to change notification settings - Fork 9
After updating all toolbars were gone #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@JohannaHerbst Oh my goodness, I'm so sorry to hear this. I haven't heard this happen to anybody else, so I'm very curious about your setup.
|
All is fine, because I had the backup and now all toolbars work as expected again. I just wanted to make sure that overriding the data.json is ok, my knowledge about those things is rather limited. Regarding your questions: There had been two updates in the last days, isn't it? I've activated both, so it must have been the update from version 1.23.03 to version 1.23.04. Unless I didn't mentioned the missing toolbars beforehand, which is unlikely. However, it was not from any prior version. I use a plugin called "Obsidian Plugin Update Tracker", which keeps me informed about updates and also helps with updating several plugins at once. My Obsidian version is 1.8.10 The vault is not synced at the moment at all, nor it's settings. All the best |
@JohannaHerbst Thanks for the additional information. Very helpful. Out of curiosity, had you enabled the Regarding your question:
If you completely replaced the file -- versus a portion of it which wasn't copy/pasted correctly -- it should be fine! |
The option Load settings changes is/was disabled on my side. |
I'll investigate. Help wantedIf anybody else has experienced your toolbars disappearing after upgrading, please let me know! Please mention:
|
Hi, so I think I had this happen to me today - I apologize in advance if my experience is not written in a helpful format. I'm on a Mac. I do not use a sync service. I started up Obsidian, but my very large vault's pages appeared to be blank. I quit and restarted. After I quit, a system error modal briefly showed on my screen and had the words "JavaScript" and the word "origin." It closed thanks to my trigger finger, sorry. Went to settings for note toolbar and it congratulated me for updating to 1.22, though I think that was the version (1.22.06)I was already on... it was more like the app reverted to first-launch mode(?) Unfortunately I do not have a back-up, but now that I'm aware of said feature, I will use it. I am running a buttload of other plug-ins... . It is probably worth mentioning that Fantasy Statblocks does a whole lot of frontmatter parsing whenever I restart, so... that may have also been involved. |
@DaranC Thank you for sharing. Just to confirm did you lose your toolbar configuration, and had to start over? If so, I'm sorry to hear that. It doesn't sound like an issue relating to the plugin, but I'll add that datapoint to my list, just in case. Thank you. |
Hello, forgot to mention, I'm also on a mac. Relating to the plugins above, these are the ones I have in common with DaranC:
Do you want to know the others too? It's a really long list of 67 plugins 🫣... If I can be of any help please let me know. Note Toolbar is a great plugin and I still hope this disappearing settings/toolbars is due to something strange related to my computer or whatever in my case. Have a good day |
I use Local Backup for this purpose, which automates the back-up process. I'd recommend it. |
@JohannaHerbst @DaranC What version of BRAT are you both using? Have you been using it for Note Toolbar? (They recently made changes to how new releases are fetched, and am wondering if that might be at play here.) |
I've BRAT Version: 1.1.6 (updated recently) but I don't use it for Note Toolbar. |
@JohannaHerbst Was worth a look. Thanks. |
Hi. |
@laktiv Sorry to hear. What versions of Note Toolbar did you upgrade from → to? |
@JohannaHerbst @laktiv @DaranC
Please let me know if any data loss continues to occur after this update.Notes:
|
Hi, I just updated Note-Toolbar to the new version (v1.23.05) and (after restarting Obsidian) everything looks fine, as far as I can tell by now. All toolbars are intact and working. Thanks for the tipp about the gallery item that back-ups the config file. I wasn't aware of that but had been looking for that option before, only in the app's settings not in the gallery. I've instantly integrated that item in one of my toolbars :-) Thank you also for your superb plugin and all the best! |
|
Good to hear, and thank you! Out of curiousity how did you colorize certain toolbar items? Via a CSS snippet that targeted those item's IDs? |
Yes, sort of.. I tried targeting their IDs but could not figure out the syntax... so I targeted the class associated with the SVGs themselves. Not recommended because any other use of these icons would then be colored as well, lol... I just don't end up using these anywhere else, so this works for me. :) If you get the syntax right for targeting IDs, please let me know! .lucide-castle, .lucide-trees { |
5 days old beta to 1.23.04 |
Updated. No issues. PS: It happens; it's not your fault. Thank you for your quick response. |
No IDs yet. Some possible variations.
:is(.note-toolbar-menu .menu-item-icon, [data-callout=note-toolbar]) svg {
&.lucide-trash-2 { color: var(--color-red); }
}
.cg-note-toolbar-container[id="3bc6b5e8-5f56-4c24-9647-769da4eb866f"][data-name="Toolbar"][data-tbar-position="top"][data-csstheme="CSSCLASS"] {
.cg-note-toolbar-callout {...}
} Extra example - you could target by other conditions, like opened file etc. Code for coloring pin icon only in pinned tab .workspace-tab-header:has(.mod-pinned) + .workspace-leaf,
.workspace-tab-header-container:has(.is-active .mod-pinned) + .workspace-tab-container {
.cg-note-toolbar-callout .external-link[aria-label="Pin tab"] svg {
-webkit-mask-image: var(--icon-pin-off); /* url("data:image/svg+xml,%3Csvg....) */
background-color: var(--color-accent);
} |
I would say it's risky to partially restore the |
I see. Thank you. |
Closing this issue, but will reopen pending further reports of this problem. |
Received this issue via the feedback form on May 28th. Will update as I get additional information.
|
Uh oh!
There was an error while loading. Please reload this page.
Hi,
after updating yesterday, all my toolbars were gone, except the toolbar-callouts. I took a look at note-toolbar's data.json file and my custom toolbar data was indeed missing. So I copied the contents of an older back-up data.json and replaced the new data.json with it to restore my toolbars.
It worked, but I guess, this is not how it should be done?
I have no idea why the update removed the toolbars.
Have a nice day
Johanna
The text was updated successfully, but these errors were encountered: