HackerTrans
TopNewTrendsCommentsPastAskShowJobs

yuchi

no profile record

comments

yuchi
·26 giorni fa·discuss
OOT, but this website design is fabulous, the only thing is the font size just a bit too small. That header sticky effect on mobile is chef’s kiss
yuchi
·5 mesi fa·discuss
Got goose bumps, exactly as the first time reading this. Thanks for sharing
yuchi
·7 mesi fa·discuss
While the reasoning holds generally, that specific example is wrong. The type the author presents is not the “User Profile” but a “User Profile Load Resource” (or something in those terms).

When you actually design interfaces you discover that there are way more states to keep in mind when implementing asynchronous loading.

1. There’s an initial state, where fetching has not happened yet

2. There may be initial cached (stale or not) data

3. Once loaded the data could be revalidated / refreshed

So the assumption that you either are loading XOR have data XOR have an error does not hold. You could have data, an error from the last revalidation, and be loading (revalidating).
yuchi
·10 mesi fa·discuss
As good as a script element with type application/json.
yuchi
·5 anni fa·discuss
I know I will be buried in these comments but PLEASE NO. Do NOT pin specific versions in you package.json unless you know you need to.

Instead DO USE package dependencies pinning as much as possible:

1. Commit and keep package-lock.json / yarn.lock files

2. Use the right commands in CIs (npm ci / yarn install --frozen-lockfile)

3. Teach others
yuchi
·6 anni fa·discuss
Mandatory comic reference: https://www.smbc-comics.com/?id=2158
yuchi
·8 anni fa·discuss
No no no, that's a completely different issue — we are talking about hasLayout stuff here.
yuchi
·8 anni fa·discuss
If they are "front and center" they should be covered by your front page, probably also centered :P

Anyway I'm intrigued, but being it closed source means there's a huge "NO" for me written on top of it. Even if it's source code included (as in "we give code snapshots to customers") this means it is not the kind of project I would bet on.
yuchi
·8 anni fa·discuss
As dev AND ux designer I ask you to, please, not to forget that most of decision makers have been in a situation where they had to throw away a medium to big system whose UX was blatantly old and poorly executed because it was on top of something similar to Alan. (This is just 4GL again)