Lemmy: Cakeday?

Created on 30 Apr 2020  Â·  15Comments  Â·  Source: LemmyNet/lemmy

This is a nice little feature that I like on Reddit. Would it work okay through federation?

good first issue

Most helpful comment

Some more cakes!
cakes_icons

All 15 comments

Ya it could. We set up a proper user creation date for federated users I'm pretty sure.

We are federating the user creation time already, so this only needs a check in the frontend. Should be pretty easy to do.

I love this idea!

Should we call it cakeday though? Would we be better off recognizing it differently?

Hi, we’d like to work on this issue as a group (@niniack & @Charleshthomasiii )! I've got a few questions:

  1. Should the cake day be displayed on the user profile and replace “Joined xxxx ago”?
    lemmy_cakeday
  2. Should there be an option for the user to hide the cake day in settings (I know you can’t do that on reddit)?

Thanks!!

Don't worry about hiding the cakeday, that's not necessary.

user-listing.tsx is the place where you'd add an icon, you can look in the other .tsx files for examples of icons and in the symbols.tsx to add them.

Throwing this in for an icon candidate, very open to suggestions!

lemmy_cakeday

Maybe a candle?

May 2, 2020, 8:41 AM by [email protected]:

>
>
>
>

Throwing this in for an icon candidate, very open to suggestions!

https://user-images.githubusercontent.com/41016622/80868595-c010c280-8c69-11ea-9519-76e249a09982.png

—
You are receiving this because you authored the thread.
Reply to this email directly, > view it on GitHub https://github.com/LemmyNet/lemmy/issues/682#issuecomment-622972539> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AE7GLJA5SOL3FXM36ASMQOTRPQ5JRANCNFSM4MVCSEZQ> .

Some more cakes!
cakes_icons

My favorites are either bottom left or top right. Leaning more towards top right.

Throwing this in for an icon candidate, very open to suggestions!

lemmy_cakeday

It looks a little too "pie-like" with the crust. Maybe make it more of an outline to look like it's frosting.

@PopeRigby its a cheeky cheesecake hahah :)

Don't worry about hiding the cakeday, that's not necessary.

user-listing.tsx is the place where you'd add an icon, you can look in the other .tsx files for examples of icons and in the symbols.tsx to add them.

I’m wondering what is the recommended way to get the user creation date from user-listing.tsx. Should I pass the user creation date as a prop to the UserListing component wherever it’s used, or is it possible to get the creation date by username? Thanks!

It comes from the input props, just trace down the references for UserListing.

Hi @dessalines, I see that this issue has no PR yet, can I submit one?

Sure, go ahead :)

Was this page helpful?
0 / 5 - 0 ratings