ThibaultJanBeyer / joplin-sheets

Plugin to write excel like spreadsheets in Joplin like a pro
58 stars 4 forks source link

Prevent JSheets from creating a new panel every time #12

Open ImperialSquid opened 1 year ago

ImperialSquid commented 1 year ago

Currently, JSheets creates a new panel whenever it is opened. This is pretty annoying since it always opens on the right which might not be the most useful place to have it, this means frequently having to rearrange panels in most cases. Those panels are also not destroyed after use so they can massively pile up...

It looks like in the code you say this is due to reliability reasons link, just wondering if there's a workaround for this? Maybe destroying the contents of the panel but not the panel itself?

Credomo commented 8 months ago

After some use : Open the JSheets note -> open another note -> Open the JSheets note -> open another note -> ... It seems JSheets doesn't close the previous panel. Capture d’écran du 2024-01-03 12-43-37

ImperialSquid commented 8 months ago

It seems JSheets doesn't close the previous panel.

To add to this, because each new panel is unique and distinct from the previous, Joplin doesn't know where it belongs if you rearrange the panels, and it always defaults to putting them on the far right

This means even if you rearrange the panels and get your sheets one placed somewhere convenient, changing notes will make a new panel that hasn't been configured so it breaks whatever arrangement you made

Very very frustrating

katchy3132 commented 7 months ago

An imperfect solution is to switch to another notebook and then the panel closes.

It happens with other plugins too - must be a Joplin issue . Yes very frustrating.