Meetable icon indicating copy to clipboard operation
Meetable copied to clipboard

Re-fetch user info from h-cards periodically

Open aaronpk opened this issue 3 years ago • 2 comments

Right now the h-card is fetched only the first time a user is seen. This should be re-fetched periodically, need to come up with some trigger to run that since there is no explicit "log in" step in this scenario

aaronpk avatar Sep 13 '21 17:09 aaronpk

Bump. Noticed fresh during IndieWebCamp Portland 2024 and it's been something noted by a folks RSVP-ing for HWC events.

artlung avatar Aug 25 '24 17:08 artlung

In addition, if an h-card lacks an icon, perhaps Meetable should re-fetch user info more frequently, in case someone just setup their personal site and then added their image later.

One user-interactive work-around for this could be for Meetable to refetech someone’s h-card every time they sign-in, that way, a “user fix” for this could be signing out and signing back in to Meetable.

Another more aggressive user-interactive work-around for this could be refetch someone’s h-card every time a signed-in user (re)loads a Meetable page, since Meetable obviously recognizes that the user is signed in (since it offers more UI options like RSVPing and editing).

That way the UX would be:

  • signed-in user updates their h-card with a new icon
  • user reloads whatever Meetable page they are looking at
  • Meetable detects the user page reload (same URL requested by same IP within 1hr? or use a cookie to note last time page was loaded by the user)
  • Meetable goes out and re-fetches the user’s h-card

That would feel more responsive and discoverable, since reloading a page to see an update is a very natural thing for a user to do.

(Originally published at: https://tantek.com/2024/238/t2/)

tantek avatar Aug 25 '24 17:08 tantek