<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tanya Anokhina on Medium]]></title>
        <description><![CDATA[Stories by Tanya Anokhina on Medium]]></description>
        <link>https://medium.com/@tanya_anokhina?source=rss-d673f598ea47------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*q6cP9ugWV_3w5kfC3c-EwQ@2x.jpeg</url>
            <title>Stories by Tanya Anokhina on Medium</title>
            <link>https://medium.com/@tanya_anokhina?source=rss-d673f598ea47------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 04:50:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tanya_anokhina/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Designers guide to user data and CRUD]]></title>
            <link>https://medium.com/@tanya_anokhina/designers-guide-to-user-data-and-crud-4e53f7c5150d?source=rss-d673f598ea47------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e53f7c5150d</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[usability]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[ux-design]]></category>
            <dc:creator><![CDATA[Tanya Anokhina]]></dc:creator>
            <pubDate>Mon, 16 Sep 2019 21:09:17 GMT</pubDate>
            <atom:updated>2019-09-26T09:06:54.002Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eJkUoy2jf9O7zDlkebx3Lw.png" /></figure><p><em>In this article, I’d like to describe the challenges of designing apps that manage user-generated content and </em><strong><em>how to create great app experience</em></strong><em>. Examples here are mostly for Apple platform but the same principles apply everywhere. Without a further do let’s talk about user content.</em></p><p><strong>User data or user-generated content</strong></p><p>User data or user-generated content is anything that the user creates in your app. The app purpose can be working with user content, like creating documents, writing notes, taking and editing photos, composing music, etc.. Or this can be a feature in a larger app: commenting on articles, creating wish-lists in a shopping app, saving a place you interested in on a map, etc.</p><p><strong>What is CRUD</strong></p><p>CRUD stands for <strong>Create, Read, Update, </strong>and<strong> Delete</strong>. You may know this acronym as <strong>functions of persistent storage</strong>. We can use CRUD as a framework to design user interactions.</p><p><strong>Importance of user data</strong></p><p>User data is something people invest their time, skill, and soul. Some things, like photos or videos, are irreplaceable. User data belongs to users regardless of what privacy policy says.</p><blockquote>“I just pressed something and everything disappeared.”</blockquote><blockquote>— Frustrated user.</blockquote><p>It is incredibly important to protect users from data loss or corruption. Because CRUD actions directly change user data, the UI must be predictable to minimize user error.</p><p><strong>With this in mind let’s take a look at designing CRUD operations:</strong></p><h3><strong>Create</strong></h3><p>New entities, depending on the app, can be empty or must contain information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*US9UFl8JU3DbkRtH_W5P8Q.png" /><figcaption>The operations like adding a new contact, typing down a note or recording an interview create new entity with user date.</figcaption></figure><p><strong>Here is what to consider:</strong></p><ul><li>What is the entry point? The “+” button in the calendar, inline input in reminders, or File/New in a desktop app.</li><li>If a new entity can be empty create it and smoothly transition to editing.</li><li>Ask only necessary information from users and allow them to edit it later on. A document can be created and name can be specified later on.</li><li>Use modal dialogs when you need information in-prior. Let users see some context. When creating folders, Files app shows the full-screen dialog and blurs out the background, Notes app displays a text field inside an alert view.</li><li>Be proactive by pre-filling information. You can often derive information like dates and location. When entering a new phone number, the Contacts app pre-fills the phone type by suggesting the next one: Home, Work, Mobile.</li><li>Automate the creation of necessary entries. If your app requires entries to be grouped (files in folders, items in a wish-list) create a group automatically.</li><li>Suggest names. For instance, when creating a wish-list the name can be derived from the item type.</li><li>Use templates when creating documents.</li><li>Allow users to copy/past and duplicate entries.</li></ul><blockquote>Entities can be a result of operation, like taking a picture, recording video or sound. Import is another potential source of new entities. Consider using system dialogs before designing custom one.</blockquote><p>Sometimes users change their mind and decide not to create new data. Maybe they tap Create button accidentally.<strong> Consider these two cases:</strong></p><ul><li>User-created empty entry or it was pre-filled automatically. You can safely remove it, there is no need to ask if they want to save empty data.</li><li>If there is already some content, handle cancellation as a delete action. Imagine a voice recording app. After recording one-hour-long interview the last thing user expects is to lose it by accidentally tapping Cancel.</li></ul><p>Another scenario to be aware of is interruptions. When something goes wrong and the app crashes. With user data, it is important to properly handle such cases. Keep a draft or use autosave feature and when something goes wrong to suggest to reopen unfinished entity. This is also important for the Update operation.</p><h3><strong>Read</strong></h3><p>Read operation is displaying entities in the app and opening a particular one. We aim to design a convenient way to navigate through a set of similar entities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MNBnHnfC6xczooeuFao_Bw.png" /><figcaption>Created entities can be presented in a list or a grid.</figcaption></figure><p><strong>Create previews for entities:</strong></p><ol><li>Display one or two lines of textual information next to the entity name;</li><li>Show date when the entry was added;</li><li>Display thumbnails for media.</li></ol><p><strong>What UI elements are best to use for the case:</strong></p><ol><li>Lists are good for showing mostly textural information with optional thumbnail;</li><li>Grids are best for media and also work well with titles. For example in Books app or iTunes Store;</li><li>Horizontal scroll works well for groups, when a number of entities is small, and when content preview must contain more information.</li></ol><p><strong>Help users to organize and search entities:</strong></p><ol><li>Arrange entities by date or name. Allow users to sort or rearrange them as they like;</li><li>Use groups and tags if necessary;</li><li>Design a full text search;</li><li>Consider additional features like search by date, smart folders, filters, etc.</li></ol><h3><strong>Update</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HkTqR4GcAJLG41GPvRK5nw.png" /><figcaption>Depending on content the update action can be in-place or in a separate view.</figcaption></figure><p>Update operation is very similar to Create and the same points apply. Additional things to think about:</p><ul><li>When displaying entities choose between inline, always editable (Notes, Reminders) or edit as a separate action (Contacts);</li><li>If entities can be edited inline make sure to include undo;</li><li>When using edit action make the sure transition to edit mode is clear. Using a separate modal presentation allows focussing on the editing process. Include save (confirm) and cancel actions. Protect users from unintentional cancellation by following the same guides as for Create operation.</li></ul><h3><strong>Delete</strong></h3><p>When designing delete operation it’s good to consider a type of content, how hard it’s to create. Depending on this you can design simple delete or hide it a bit to protect users from accidentally deleting important data. Can the user recreate the content? Setting a reminder is simple in comparison to writing a note. Writing a document, drawing an artwork, or composing music is much harder. Taking a photo is simple and yet the moment is impossible to recreate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cOP4NxjsoHRRNwwGXkMK7Q.png" /><figcaption>How hard it’s to delete an entity in your app? Swipe to delete, open and scroll to the bottom to delete, delete button.</figcaption></figure><p><strong>How to perform delete action:</strong></p><ul><li>Lists can use swipe to delete gesture. This allows users to quickly delete entities. Swipe reveals delete action and requires users to tap it, or swipe through all the screen. This serves as protection from accidentally deleting content. You can always design additional dialog for data that is hard to recreate. It is always good to include swipe to delete in lists.</li><li>Scroll to the bottom to delete. You can include Delete button at the bottom of the view that edits content. This will require the user to switch from viewing to editing and scroll all the content. Use this pattern when recreating data is hard, like in Contacts app.</li></ul><p><strong>Delete button:</strong></p><ol><li>You can include Delete button when view allows inline editing, like in Notes app;</li><li>When displaying all entities you can have select and then delete actions like in Photos or Files apps.</li></ol><p>People who are new to the platform may not know about swipe to delete gesture. But this is not the reason to skip it. Compliment it with buttons.</p><p><strong>To protect users from accidentally deleting important data you can design a way to revert action:</strong></p><ul><li>Do not delete entities immediately but move them to the Recently deleted section in the app;</li><li>Implement support of undoing;</li><li>When a user deletes an entity and returns back to the list. Animate deletion from the list to keep the user in focus.</li></ul><p>Also, consider what happens next after delete action. Photos app is a great example here. When deleting a photo the app shows next or previous photo depending on your scroll direction.</p><h3><strong>Undo</strong></h3><p>Undo allows users to revert change. This is important to support for Update and Delete operations. UI for Undo, especially on mobile, can be challenging because of limited space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mNXZpCA9u3d9NVKcJcOy_A.png" /><figcaption>Two ways to use undo on iOS: button or shake to undo.</figcaption></figure><p><strong>Consider those cases:</strong></p><ul><li>Undo can replace confirmation dialogs.</li><li>Make sure users know how to perform undo. When editing documents display undo as a button in a toolbar.</li><li>Support system interactions for undo. They are not obvious, like shake to undo or new multitouch gestures on iPad OS, but necessary to support.</li><li>Some apps tend to implement undo for every user interaction, even selecting entities. Do not overuse undo.</li></ul><p>Hope you found this article interesting to read. Thanks for reading!</p><p><strong>Clap 👏 if you enjoyed the article so others can find it.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e53f7c5150d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>