obsidian-db-folder icon indicating copy to clipboard operation
obsidian-db-folder copied to clipboard

[FR] Refresh Button

Open yurijserrano opened this issue 3 years ago • 2 comments

Good Morning @RafaelGB

I hope you are well and safe

When using your plugin I noticed that when we add new data it is not included in the table and to be included we need to go to a note and then go back to the database.

So, to leave the workflow only in the database I suggest to put a Refresh Button at the top so that the users can update the table without having to leave it.

An example of the button placement can be seen below:

01

If that is difficult, another alternative is to put a Refresh option in the Database Menu

I am at your disposal for any clarification.

Have a nice day

yurijserrano avatar Jun 24 '22 14:06 yurijserrano

Hi @yurijserrano thanks for your idea.

We can use the observer method of Obsidian to know if there has been any change. The happy path could be add those changes every x seconds to the database, but like a provisional solution a refresh button its ok for me. The code for that refresh is already implemented, should be easy to add it

RafaelGB avatar Jun 24 '22 17:06 RafaelGB

We can use the observer method of Obsidian to know if there has been any change. The happy path could be add those changes every x seconds to the database

Great idea Rafael

Really your idea turns out to be the best workflow, I hope it will be included in a future release

but like a provisional solution a refresh button its ok for me. The code for that refresh is already implemented, should be easy to add it

Glad to hear Rafael :smiley:

Once more, thank you so much for your attention.

I wish you a wonderful day.

yurijserrano avatar Jun 24 '22 20:06 yurijserrano

good news @yurijserrano , the refresh button could be integrated with https://github.com/RafaelGB/obsidian-db-folder/issues/73 . With the new architecture of 2.0.0 I can start to dev dynamic events, so I move the filters to the navbar. You don't need to refresh the view once you change a filter, the data will be refreshed instead. I am sure that fact could cover this request

RafaelGB avatar Aug 15 '22 10:08 RafaelGB

I am glad to hear @RafaelGB

I am waiting eagerly to see this in the next update.

Thank you so much for including.

I wish you a great day.

yurijserrano avatar Aug 15 '22 12:08 yurijserrano