new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

IBM Carbon · all subjects

patterns/edit

12 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Edit pattern definition

Editing is making changes to a resource that already exists in the system. Updating and editing should use the same behavior as when the resource is created. This should only vary in situations where the number of editable fields is significantly smaller or larger than during creation, or the context of current settings is required.

Low-impact edit usage

For low-impact edits, allow editing with no warning. This approach is typically used when editing doesn't have a wider impact.

Low-impact edit modal

If an object was created in a modal, its editable fields can be made available in a modal. A modal can also be used where a small subset of fields are editable. If enough fields are editable to require scrolling, use a side-panel or full-page edit dialog instead.

Low-impact edit side-panel

If an object was created in a side panel, its editable fields can be made available in a side panel. A side panel can also be used where context in the main view of the screen is useful in the editing flow.

Low-impact edit full page

When an object is created in a full-page flow and the majority of fields become editable, a full-page edit flow should be used. This is made possible by including a configuration or properties view.

High-impact edit usage

Warn the user of the consequences of editing. This pattern is typically used when editing has a wider impact. Inform users of the likely consequences of the edit to their system, and inform them that editing cannot be undone. Include a warning stage.

High-impact edit modal

A high-impact edit action of only a few fields can use a danger modal. A second confirm edit modal should also be inserted before the changes are saved. If desired, the confirmation modal can include a summary of changes.

High-impact edit side-panel

If an object was created in a side panel, or there are too many editable fields for a modal, a slide-over panel can be used. High-impact side panel edits should also warn the user of destructive edits with a warning before changes are saved.

High-impact edit full page

When an object was created in a full-page flow, or the volume of editable fields is high, use a full-page edit dialog. Include a modal warning users of the consequences of saving after a full-page edit.

Summary of changes in high-impact edit

Adding a summary of changes to the warning stage of a high-impact flow can help the user manage and understand all of the changes they have made.

Non-editable fields display

When a small number of fields are not editable, display their set value in a disabled field. Where a majority of variables are not editable, consider using an option that will display only editable fields. In a small number of cases, make individual variables editable in modals.

Success notification for edit

An optional success notification can be used to confirm that the user's changes have been saved.

Give your agent this brain