Replies

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

joelanman, (edited ) to UX
@joelanman@hachyderm.io avatar

a question. If a site has both a signed out home page, and a signed in one (for example a feed or dashboard), what should you see if you're signed in and try to view the home page?

joelanman,
@joelanman@hachyderm.io avatar

for example, if I go to figma.com or twitter.com I see my signed in home page. If I go to mural.co I see the signed out one, and have to manually click to the signed in one

joelanman,
@joelanman@hachyderm.io avatar

github also only shows the signed in home page

joelanman,
@joelanman@hachyderm.io avatar

@benjamineskola I'm leaning to the same, but it does feel odd that theres a page you can't see when you're signed in. But then it also feels odd to me that I can't just type mural.co and see my dashboard

joelanman,
@joelanman@hachyderm.io avatar

@benjamineskola I think you hit the nail on the head with access to the same information. So for example you should be able to find out about pricing and whatever even if you're signed in

joelanman,
@joelanman@hachyderm.io avatar

@yatil right but in effect thats the same user experience? That if I go to github.com I get the dashboard, if I go to mural.co I don't

joelanman,
@joelanman@hachyderm.io avatar

@yatil so my question is which of those is the better approach for users

joelanman,
@joelanman@hachyderm.io avatar

@EndlessMason so when people do have them separate, they have separate URLs. The question is which is the better user experience

joelanman,
@joelanman@hachyderm.io avatar

@eviljonny yeh it annoys me too, I think I'll avoid it on my project. @benjamineskola put it well - the same info should be available to you either way

joelanman, to webdev
@joelanman@hachyderm.io avatar

not sure about loading=lazy in html, I'm sure it makes the initial page load quicker but the pop in of images is distracting

joelanman,
@joelanman@hachyderm.io avatar

@mac No they're triggered as you scroll, MDN:

The loading attribute on an <img> element, or the loading attribute on an <iframe>, can be used to instruct the browser to defer loading of images/iframes that are off-screen until the user scrolls near them

joelanman,
@joelanman@hachyderm.io avatar

@dracos @mac not getting any pop in on yours, I'm guessing because theyre really small. I'm getting noticeable pop in on mine, dimensions are set

joelanman, to webdev
@joelanman@hachyderm.io avatar

Got a Playwright question - in my tests I'm clicking a button which in the backend sends an email. I tried to use Jest to mock that function in the backend so it doesn't send an email, but that doesn't seem to work. Should it?

I could check for NODE_ENV in the backend and not send an email, but I'd like access to the email contents in my playwright test, but without actually sending an email.

Am I thinking about this all wrong?

joelanman,
@joelanman@hachyderm.io avatar

I'm thinking maybe if NODE_ENV is test, save emails to a folder instead of actually sending them. Then you can access them from tests

rachel, to github
@rachel@norfolk.social avatar

Am I right in believing everyone has access to for public projects these days?
I wanted to be able to use them for some training stuff

joelanman,
@joelanman@hachyderm.io avatar
joelanman,
@joelanman@hachyderm.io avatar

@rachel CodePen (if its just frontend) and Glitch are other options

joelanman,
@joelanman@hachyderm.io avatar

@rachel sounds cool!

joelanman, to random
@joelanman@hachyderm.io avatar
joelanman,
@joelanman@hachyderm.io avatar

@samb You're sorrier than I am! But I am sorry as well. I am as sorry as you are, Dimitri. Don't say that you are more sorry than I am, because I am capable of being just as sorry as you are.

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