Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-fetch user info from h-cards periodically #135

Open
aaronpk opened this issue Sep 13, 2021 · 2 comments
Open

Re-fetch user info from h-cards periodically #135

aaronpk opened this issue Sep 13, 2021 · 2 comments

Comments

@aaronpk
Copy link
Owner

aaronpk commented Sep 13, 2021

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

@artlung
Copy link

artlung commented Aug 25, 2024

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

@tantek
Copy link

tantek commented Aug 25, 2024

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/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants