@cheeaun@mastodon.social
@cheeaun@mastodon.social avatar

cheeaun

@cheeaun@mastodon.social

Product-1st Front-end Engineer, based in Singapore. Currently on a career break since July '22. Working on a Mastodon web client https://phanpy.social https://hachyderm.io/@phanpy

Why follow me: I have interests in #WebDev, #design, #DataViz, #Maps, #PublicTransport, #stickers & #anime. I usually post about my side projects, tech events, weird discoveries, and sometimes local news.

#fedi22 tfr #tech #JavaScript

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Decad3nce, to random
@Decad3nce@mastodon.social avatar

How about a new image grid layout algorithm.

  • Supports more than 4 images well.
  • Layouts based on aspect ratio and box fit.

New trunks image grid layout algorithm.

cheeaun,
@cheeaun@mastodon.social avatar

@Decad3nce oh my god 🙇‍♂️

cheeaun,
@cheeaun@mastodon.social avatar

@Decad3nce wondering what happens if it's like 5 16✗16px images? 🤔

dimillian, to random
@dimillian@mastodon.social avatar

A feature I'm exploring for @IceCubesApp
Pin people at the top of your timeline (like Instagram stories, etc..), and whenever you refresh your timeline, you can tap on their pictures to see their most recent posts in your timeline context. You can also see their posts only, for example.
Interested?

cheeaun,
@cheeaun@mastodon.social avatar

@dimillian @IceCubesApp 🤔 will the pinned people be added into a list? 😉

cheeaun,
@cheeaun@mastodon.social avatar

@dimillian @IceCubesApp Mammoth (v1?) used to have "Top Friends" list. But it was auto-generated upon log-in without user action (seamless experience but some folks were surprised) and now seems removed.

cheeaun,
@cheeaun@mastodon.social avatar

@dimillian @IceCubesApp just wondering, have you tried Phanpy's Catch-up? 😉

cheeaun,
@cheeaun@mastodon.social avatar

@dimillian @IceCubesApp maybe need a config for user to assign which list they want to be the pinned list? Also, not forgetting i18n 🤪

cheeaun,
@cheeaun@mastodon.social avatar

@dimillian @IceCubesApp thanks! Hope it opens up more possibilities and ideas to extend it further.

I'm not sure if it's taxing on the API; it paginates home timeline with 1 sec intervals. I released this early in experimental form to get feedback but so far didn't get complaints about rate limits 🤔

tripplehelix, to random
@tripplehelix@fosstodon.org avatar

@cheeaun This is the second time I've seen this. Seems opening a profile in a new tab for ActivityPub users opens to JSON. Also, profiles are empty. Guessing this might be a federation issue. But shouldn't there be a fallback action for this while federation is borked? The username is @awakari@activitypub.awakari.com for investigation. Or is this just spam? On fosstodon the same action opens the profile on fosstodon.

A screen recording showing that opening a profile in a new tab takes you to a json file while using phanpy.

cheeaun,
@cheeaun@mastodon.social avatar

@tripplehelix the URL comes from the backend API, there's no way to know if it's borked or not.

Regarding the interaction, are you expecting the link to open on Phanpy site instead of the original server site?

As for that account, judging from its site, seems like a bot? 🤔

cheeaun,
@cheeaun@mastodon.social avatar

@tripplehelix you're right. will be looking at this.

cheeaun, to threads
@cheeaun@mastodon.social avatar
cheeaun,
@cheeaun@mastodon.social avatar

@timbray "Home/Following" doesn't refer to the same thing. I know it's confusing, difference is feed vs page.

On single-column, "Following" feed is the "Home" page. I've thought of changing the header to "Following" (Mammoth does this) but feels… odd - maybe we got used to "Home"; even the API calls it "home" timeline.

On multi-column, there are multiple feeds on the "Home" page, "Home" header doesn't make sense. "Following" feed can also be removed from the "Home" multi-column page.

cheeaun,
@cheeaun@mastodon.social avatar

@virtuous_sloth the columns are in Shortcuts Settings. Shortcuts have 3 display options; one of them is multiple columns.

cheeaun,
@cheeaun@mastodon.social avatar

@timbray yeah, I'm also not sure about the expectations. I suspect this copy change wouldn't affect most people, at least on Phanpy.

I do notice that this "Following" copy started to surface when social media apps need to show a separate chronological feed besides the algo-based "For You" feed which was supposedly defaulted to "Home". So, the confusion/inconsistency started from there.

ayo, to mastodon
@ayo@ayco.io avatar

so… is the new #mastodon leadership holding back releases? I’m getting anxious here 😄

cheeaun,
@cheeaun@mastodon.social avatar

@ayo it's just a lot of work, judging by reading the commit messages.

box464, to random
@box464@mastodon.social avatar

Embarrassing. I absolutely believed Phanpy did not have quote posting capabilities. I have even been jumping over to a different app on the rare occasion I use that feature, copying the post url, etc. over so I could find it. 🤦‍♂️

How could I miss it? The only thing I can think of is that at one time it didn't have them (I have been a Phanpy fan for a very long time), so I just blinded myself to them not being there out of habit.

I even run my own personal phanpy client instance. :psyduck:

cheeaun,
@cheeaun@mastodon.social avatar

@box464 I kinda sneak in this feature to observe responses 🫣

Notes:

thylacoleo, to mastodon
@thylacoleo@mas.to avatar

Btw, pleeeaaaase let me pick languages to pin on the post menu! I keep having to hunt down Spanish whenever I need to use it.

I don't remember needing to do it in vanilla UI. And if I recall correctly, vanilla has a searchable drop-down menu for it.

cheeaun,
@cheeaun@mastodon.social avatar

@thylacoleo hi, Phanpy dev here. If you've picked Spanish in your previous postings, it should be remembered and sorted to the top the next time.

Alternatively, you can pick the language in "Hide Translate button" section in Settings. It's a setting to hide the 'Translate' button for languages you already know, but it's also used to sort them up in the languages list while composing.

ayo, (edited ) to random
@ayo@ayco.io avatar

I'm hesitating from writing a <time-ago> web component for https://ayco.io/threads ... I know the ideal situation is to not calculate the relative time on the server (for more accurate html info, faster response, simpler), and instead I should progressively enhance this on the browser -- I have to do this at some point

cheeaun,
@cheeaun@mastodon.social avatar
cheeaun, to random
@cheeaun@mastodon.social avatar

I understand the reasoning, but this gave me a good laugh 😂: "I sometimes read at my standing-desk while brushing my teeth which leaves me with only one hand." https://github.com/cheeaun/phanpy/issues/542

cheeaun,
@cheeaun@mastodon.social avatar

@sarajw It may not be the main reason but it's still a legit use-case, I think. Always interesting to learn how folks navigate things on their computers, though we can't really build everything for every single edge case.

cheeaun,
@cheeaun@mastodon.social avatar

@sarajw understood 👍🙇‍♂️

ayo, to random
@ayo@ayco.io avatar

firefox pixel indicators messing with me right now... is there a known issue about maybe inaccuracy in how they show these lines? I know it could also be because I just woke up, I can't handle math right now

cheeaun,
@cheeaun@mastodon.social avatar

@ayo the a is inline element?

cheeaun,
@cheeaun@mastodon.social avatar
cheeaun,
@cheeaun@mastodon.social avatar

@ayo no problem. To be honest, your CSS code ain't uh… pretty 😂 .card { margin-left: -40px } is quite hacky lol

thisismissem, to random
@thisismissem@hachyderm.io avatar

@cheeaun @snarfed.org@snarfed.org thoughts on this comment re oauth application vacuuming?

https://github.com/mastodon/mastodon/pull/30316#issuecomment-2117768682

cheeaun,
@cheeaun@mastodon.social avatar

@thisismissem @snarfed.org@snarfed.org sorry what kind of feedback are you expecting? Tokens expiring and clients renewing them?

cheeaun,
@cheeaun@mastodon.social avatar

@thisismissem @snarfed.org@snarfed.org Oh so is this about migrating from confidential to short-lived tokens? Or deciding when to migrate? Potentially have to wait for clients or warn clients to implement token renewal within a year?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines