• @[email protected]
    link
    fedilink
    English
    132 months ago

    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?

    • @Zorque
      link
      English
      -12 months ago

      Thats how you get spaghetti code.

      • @[email protected]
        link
        fedilink
        English
        62 months ago

        It’s really not that complicated.

        You give the information on where the setting is, then have an “enable now” button that calls the exact same function as clicking the toggle on the other page does. Having multiple ways to do the same thing isn’t unusual and is trivial with properly designed code.

      • The Quuuuuill
        link
        fedilink
        English
        22 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