this post was submitted on 18 Jul 2024
612 points (98.1% liked)

Technology

59390 readers
3290 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 4 months ago (10 children)

I hate the pop up about it though. If I care that much, I’ll find it. Don’t use advertising tactics.

[–] [email protected] 13 points 4 months ago (3 children)

I don’t mind the pop up as much as I mind it being a pop up that tells you to go to another menu to change the setting. Why not just put the setting in the pop up?

[–] [email protected] -1 points 4 months ago (2 children)

Thats how you get spaghetti code.

[–] [email protected] 2 points 4 months ago

No. It isn't. The setting in the modal should act as a convenience component that doesn't have any of its own data. It only modifies the value in the original source of truth. Once the modal has been used, it should never pop up again, as the assumption will be if the user has interacted with the modal, they are now aware of the setting and can set it themselves from the original source of truth. Unless of course you consider any feature speghettification

load more comments (1 replies)
load more comments (1 replies)
load more comments (7 replies)