dbdev icon indicating copy to clipboard operation
dbdev copied to clipboard

FAQ page takes you to the profile of faq

Open bakrhaso opened this issue 1 year ago • 4 comments

The FAQ page (https://database.dev/faq) shows the profile page (AFAIK, I was just taking a look at the site, I'm not a user) of a user named faq (created today, presumably now() is a default value?)

image

bakrhaso avatar Apr 08 '24 15:04 bakrhaso

thanks, i just came across this today. i'll let the rest of the team know about this.

w3b6x9 avatar Apr 29 '24 23:04 w3b6x9

dayjs(undefined) becomes dayjs() which is always today. profile?.created_at is undefined: https://github.com/supabase/dbdev/blob/69dcb85811e42d3dd8f4411e71817550ff082d74/website/pages/%5Bhandle%5D/index.tsx#L60

w3b6x9 avatar Apr 29 '24 23:04 w3b6x9

As a logged out user I shouldn't able to see Edit profile:

Screenshot 2024-04-29 at 16 45 56

w3b6x9 avatar Apr 29 '24 23:04 w3b6x9

probably related to #80

JTBrinkmann avatar Feb 11 '25 10:02 JTBrinkmann