SShortSingh.
Back to feed

Testing Optimistic UI Rollback by Letting Demo Users See a Failed Change

0
·2 views

A public SaaS demo can show whether an interface handles a rejected change by displaying an immediate update, deliberately rejecting the underlying operation, and checking what users understand afterward. The approach separates a pending change from a confirmed one, since a fast animation signals responsiveness but does not prove the change was saved. The exercise uses a fictional task board with a disposable item, a known saved value, and a reversible action so the difference between displayed and stored state is easy to follow. Testers are asked what they believe has happened, what they expect after a refresh, and whether the interface makes the failure clear. The author notes that the example is a proposed review exercise, not a report on any specific product, and that each product needs its own recovery policy.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Developer Builds Offline Desktop App to Track and Encourage Healthy Blinking

A computer vision research engineer with 20 years of experience says prolonged screen work reduces blink rate and can lead to painful dry eyes. After being told by doctors that regular lubricating drops were the main remedy, he built EyesRhythm, a desktop companion. The app gives small audio and visual cues to help users maintain a healthy blink rate and rhythm, and it also logs neck movement. It can automatically track the face across multiple desk webcams for accurate blink detection, and it runs entirely locally without needing an internet connection.

0
ProgrammingHacker News ·

"Shadow of the Sun": Matt Lakeman Essay Shared on Hacker News

A blog post titled "Shadow of the Sun" by Matt Lakeman, first published in July 2021, has been shared on Hacker News. The item linked to the author's personal site and gathered three points with one comment at the time of listing. The source material provided only the link metadata, so the post's specific content and arguments are not described here. Readers interested in the piece would need to consult the original article directly.

0
ProgrammingDEV Community ·

Python में ग्राहक सूची से डुप्लिकेट हटाने के तीन तरीके और उनके परिणाम

जब दो पंक्तियाँ पूरी तरह एक जैसी नहीं होतीं, तो डुप्लिकेट हटाने का तरीका चुनना अहम हो जाता है। लेख में 412 पंक्तियों वाली एक उदाहरण ग्राहक सूची पर पूरी पंक्ति, केवल ईमेल और ईमेल के साथ शहर जैसी तीन key की तुलना की गई है। पूरी पंक्ति वाली key से कुछ नहीं हटता, जबकि केवल ईमेल से 38 पंक्तियाँ हटती हैं और ईमेल व शहर से 25। लेख बताता है कि पहली मिली पंक्ति रखना डिफ़ॉल्ट है, पर सबसे नई ऑर्डर वाली पंक्ति रखने के लिए पहले तारीख के अनुसार क्रम बदलना ज़रूरी है। यह तरीका Python के साथ-साथ osFoundry के Spreadsheet Editor के Remove Duplicates कमांड में भी समझाया गया है।