Dyllon, On Sat, Feb 5, 2022 at 4:43 PM Dyllon Gagnier <[email protected]> wrote:
> The modal is required even if using IndexedDB. We need a button click both > to show the choose file/folder dialogue as well as getting write/read > permission if using IndexedDB. If you have a wiki mostly for reading, you > can click the "close" modal button to exit without setting up the file save > location/file permissions. I *commented* *out* the call to $tw.modal.display and the saving flow is still working for me. If I clear the indexdb (via developer tools since the reset button isn't working for me), then the sequence looks like this: 1. Reload the TW page. 2. Click the + button to create a new tiddler 3. Click the checkmark to save the tiddler 4. A dialog box asks me to choose a file to save to. 5. I choose the same file I already have open and I'm asked if I want to replace the file and I say yes 6. The file saves Now with the indexdb entry re-populated, the sequence looks like this: 1. Reload the TW page 2. Click the + button to create a new tiddler 3. Click the checkmark to save the tiddler 4. A dialog box asks me if I want to let the site edit the file. I click the "edit file" button 5. The file saves So it is working for me even without the settings modal. Do you see this same behavior? > Thank you very much for finding the bug with the consistency check! I > rewrote a chunk of that recently when adding the save trail. I have fixed > this and pushed the fix to GitHub and the example wiki (plugin version > 0.6.2). I tested it out by opening the example wiki in two tabs and it was > able to detect when the file had changed unexpectedly. > Great, thanks for fixing it. > On Saturday, February 5, 2022 at 7:09:35 AM UTC-8 [email protected] > wrote: > [...] > Also, when I click the "Reset file save location" button, nothing in the >> indexdb gets deleted. The button doesn't seem to have any effect in spite >> of the log messages: >> >> $:/plugins/slaymaker1907/browser-nativesaver/saver.js:495 Reseting file >> saver... >> $:/plugins/slaymaker1907/browser-nativesaver/saver.js:506 Reset file save >> location. >> >> Does the reset button work for you? The only way I've been able to get the save location to reset is to use developer tools to clear out the indexdb. Brian -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAO5X8Cx3NCvJMyh5ZY2uKhVkYXv7vdm6mNrJFtCw_5vTPT8c2g%40mail.gmail.com.

