Menu

We deleted a 308-line unlock dialog and replaced it with a scroll and three pulses
📰

We deleted a 308-line unlock dialog and replaced it with a scroll and three pulses

DEV Community: css·Daniel Pertu·2 days ago
#Ny6qzHUl
#devtocss#devto#dev#card#spotlight
Reading 0:00
15s threshold

Our practice dashboard lists a provider's games. If you have not bought that provider, there is a slim card above the grid offering the two things you can buy, and the locked cards below it used to open a modal when clicked.

The modal was good. It had its own checkout state so that only the clicked button showed a spinner, its own discount-code field, a success state, and two purchase options with a feature list each. It was also selling exactly what the card 400 pixels above it was selling, and it could be opened by a deep link from the play wall, which is how you end up with a page where the same two products exist in two places that have to be kept in step.

It is gone.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.