local-quotes icon indicating copy to clipboard operation
local-quotes copied to clipboard

Daily Note quote on mobile does the same quote everyday

Open George20730 opened this issue 1 year ago • 23 comments

Describe the bug I use the daily note and on my computer i get a new quote everyday but then when i sync with my phone i keep getting the same quote everyday which then eventually syncs back to my computer.

To Reproduce I use the following code in my daily note:

[!quote] quote of the day

search *

Expected behavior I expect that my computers daily note is the one that syncs to my phone but even if not then i would expect to at least on my phone to see a different quote everyday.

Desktop (please complete the following information):

  • Mac OS 13.5
  • IOS 16.5.1
  • Obsidian version 1.3.7 (Mac OS)
  • Obsidian version 1.4.6 (IOS)

George20730 avatar Aug 25 '23 14:08 George20730

What syncing solution do you use (official Sync plugin, Syncthing, one of the community plugins)?

sundevista avatar Aug 25 '23 21:08 sundevista

I use the official Obsidian Sync

George20730 avatar Aug 25 '23 21:08 George20730

How many quotes do you have? How many quotes based on the search do you expect to take part in picking?

sundevista avatar Aug 26 '23 11:08 sundevista

I have about 15 quotes so far and sure I expect them to show the same once pretty regularly but the weird thing is that the mobile version always showed the same one.

Until this morning :) Today I decided todo it differently normally I always use Obsidian on my Mac first but today I decided to use my phone first and it gave me a different one, ok it is the same one it showed my yesterday on my Mac first (before sync replaced it with the phone one). So I am not sure if I fixed my problem but lets see what happens tomorrow.

George20730 avatar Aug 26 '23 14:08 George20730

Okay, let me know if something unexpected happens

sundevista avatar Aug 26 '23 16:08 sundevista

OK so today I did what I normally do open Obsidian on my Mac first and then later I open the mobile app.

And again the Mac seems to go well but the mobile app shows the same Quote as yesterday.

So it seems so far that it works fine as long as I use mobile first or at least that is how it went once.

I can try to remember to open mobile first tomorrow if you want to see if it changes my quote on mobile?

George20730 avatar Aug 27 '23 14:08 George20730

It'd be nice. By the way, it's very strange behavior, because plugin is platform-agnostic and should not behave so

sundevista avatar Aug 28 '23 05:08 sundevista

Do you sync plugin settings via Obsidian Sync?

sundevista avatar Aug 28 '23 05:08 sundevista

OK the latest update from this morning. Used Obsidian on my phone first and it gave the same quote it did on my phone yesterday and the day before (that Saturday one did end up changing to the Friday one from my mac). My mac opened with the same one as my phone which now is also the one it has for yesterday (not the one it was when I closed my mac last night) It all is a bit strange. I will try my normal mac first again for a couple days and see what happens (unless you sugest something else) and will keep you posted.

And yes the options "Core Plugin Settings" is on to sync core plugin settings.

Thanks for all your help

George20730 avatar Aug 28 '23 13:08 George20730

My update for the last two days.

Still doing mac first and Phone later and the last two days it does what it suppose todo. Both my mac and phone have the same quote and a no doubles weird multiple days of the same. I will keep an eye on it and update later this week if it all stays working fine.

George20730 avatar Aug 30 '23 14:08 George20730

OK it was fine for a couple days but yesterday i updated Obsidian to 1.4.5 and mobile 1.4.8.

And today my mac has the same quote as yesterday and my phone got a new one.

It was in good for a couple of days but we are back to strange only now the other way around :) I will keep watching but I am wondering if I should just change the code.....

George20730 avatar Sep 01 '23 14:09 George20730

You can show me samples of your quote blocks and quote listings if you're unsure about them. Just change text to something nonsense if you care.

sundevista avatar Sep 02 '23 08:09 sundevista

Just a little update, Mac daily note from yesterday now shows the same one as my mobile did while all day yesterday it wasn't. Today both have different quote (which is fine by me) nothing related to yesterday.

Below my complete quote list:

:::Unknown:::

  • A master has failed more times than a beginner has tried.
  • He who angers you controls you.
  • Be so good they can’t ignore you.
  • A happy soul is the best shield for a cruel world.
  • Happiness depends upon ourselves.
  • I could agree with you but then we’d both be wrong.
  • Worrying does not take away tomorrow's troubles, it takes away today's peace.

:::F.M. Alexandar:::

  • People do not decide their futures, they decide their habits and their habits decide their futures

:::Paulo Coelho:::

  • One day you will wake up and there won't be any more time to do things you've always wanted. Do it now

:::Montaigne:::

  • A man who fears suffering is already suffering from what he fears.

:::Azim Premji:::

  • If people are not laughing at your goals, your goals are too small.

:::Tony Robbins:::

  • The only impossible journey is the one you never begin.

:::Theodore Roosevelt::: The only man who never makes mistakes is the man who never does anything.

:::Jen Sincero:::

  • If you're serious about changing your life, you'll find a way. If not you'll find an excuse.

:::TheStickyFairy:::

  • Don't give up yet. You don't know how close you are.

George20730 avatar Sep 02 '23 14:09 George20730

I see. What about your quote block?

sundevista avatar Sep 03 '23 10:09 sundevista

OK one more update.... So my Mac daily note from yesterday has now a different Quote as yesterday and today's quote on my mac has the same one it originally had yesterday (which is the last quote on my list) and my phone it has a new quote today and yesterday's also changed to the one my mac has now too (from yesterday).

And below the code block i use `

[!quote] quote of the day

search *

`

I had the quote block in the first message but I guess something went wrong there sorry :)

George20730 avatar Sep 03 '23 14:09 George20730

Not sure why it changes the code block when I send it I put it in a separate file which i attached so i hope that works

code block.txt

George20730 avatar Sep 03 '23 14:09 George20730

I don't see any troubles in your block or listing, all is right

sundevista avatar Sep 03 '23 16:09 sundevista

any other idea's?

Could it be to few or to many quotes? from my whole list only 5 got ever used it always seems to be the same once....

George20730 avatar Sep 03 '23 18:09 George20730

Can you make a screenshot of output of command "Local Quotes: Open Statistics"? This modal show how many verified quotes exist.

sundevista avatar Sep 04 '23 05:09 sundevista

Sure here is the screenshot Local Quotes Open Statistics

George20730 avatar Sep 04 '23 14:09 George20730

I see. It means that quote listing scanner works as expected on your device. One more question. Does plugin work properly without sync, on just one device? Can you test it on extra vault?

sundevista avatar Sep 05 '23 05:09 sundevista

I am not around much today but will try to test it to install it later or tomorrow and then test if for a couple days. I will keep you posted after trying it for a couple days.

George20730 avatar Sep 05 '23 14:09 George20730

I made a new vault just empty with my quotes in one and daily note but it does not seem to work.

Settings seems fine but doesn't work.

I think we just call it a day for now, I kinda stop looking at the daily quotes as they are all the same so I guess that defeats the purpose so I am strongly thinking about stop using it at least for now.

George20730 avatar Sep 06 '23 21:09 George20730