aboutsummaryrefslogtreecommitdiff
path: root/build/form-ui-improvements
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-06-06 08:05:12 -0400
committerBradley Taunt <bt@btxx.org>2024-06-06 08:05:12 -0400
commit6b742c459266b18e2b375b35205ce8a6c02f0452 (patch)
treeb16fbb9a045e33dd6c97eb5ab72e6ff4d9237ea3 /build/form-ui-improvements
Initial commit
Diffstat (limited to 'build/form-ui-improvements')
-rw-r--r--build/form-ui-improvements/index.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/build/form-ui-improvements/index.html b/build/form-ui-improvements/index.html
new file mode 100644
index 0000000..f0e7c9c
--- /dev/null
+++ b/build/form-ui-improvements/index.html
@@ -0,0 +1,71 @@
+<!doctype html>
+<html lang="en" id="top">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="data:,">
+ <title>Prescription Form UI Improvements</title>
+ <link href="https://bt.ht/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style>
+</head>
+
+<nav>
+ <a href="#menu">Menu &darr;</a>
+</nav>
+
+<main>
+<h1>Prescription Form UI Improvements</h1>
+<p>2019-03-13</p>
+<p>I was browsing the <a href="https://www.clearly.ca">Clearly</a> website a few days ago and ended up using their prescription form to update my worsening eyesight. The design of this form wasn't <em>bad</em> per se, but it could certainly be improved.</p>
+<h2>Current design of the prescription view</h2>
+<p><img src="/public/images/prescription-ui.webp" alt="Default prescription UI" /></p>
+<p>As I stated, this design isn't horrible by any means, but right away we can notice some problems:</p>
+<ul>
+<li>the layout causes the users' eyes to jump between left-to-right and top-to-bottom without good correlation</li>
+<li>title content and <code>next</code> buttons are centered, while dropdowns are presented as left-to-right</li>
+<li>anchor link coloring is inconsistent</li>
+<li>too much whitespace between interactive sections</li>
+<li>dropdown height overly large</li>
+</ul>
+<h2>Starting to make some changes</h2>
+<p>Let's tackle these problems one at a time. First, we want a more defined page layout so the user can scan through the content more easily (left-to-right, down to the next line, then repeat).</p>
+<p><img src="/public/images/prescription-ui-update-1.webp" alt="Layout wireframe UI" /></p>
+<p>We have now left-aligned the title content to be flush with the OD/OS elements below it to help keep the reading flow consistent. </p>
+<p>The previous layout also had the <code>PD</code> in-line with the OD/OS element rows which created a problem of resetting the user thought-process. Since it requires the user to jump from the "right eye" option to the "PD" option, then back to "left eye" option it breaks the flow of user "tasks". The new UI shifts the <code>PD</code> down into it's own row, grouping the unrelated tasks on the page separately.</p>
+<blockquote><p>You'll also notice that I've updated the dropdowns to use a <code>monospace</code> font to convey that these options are number inputs.</p>
+</blockquote>
+<p>Finally we place the button actions in-line with the <code>PD</code> block since it previously ate up far more real estate than was necessary.</p>
+<h2>Adding some color</h2>
+<p>The original design has some inconsistencies with the link coloring - some being a muted grey while others use the accented blue. Updating all interactive links to use Clearly's default blue accent color would make for a better disconnect from non-interactive elements.</p>
+<p><img src="/public/images/prescription-ui-update-2.webp" alt="Layout UI with color" /></p>
+<h2>Finishing touches</h2>
+<p>Now that the most important aspects of the refreshed UI are complete (layout, UX flow), we can implement all the visual extras to cleanup our basic wireframe.</p>
+<ul>
+<li>make default select styling include depth and importance (this is the main action of the page afterall)</li>
+<li>round out harsh corner edges on elements</li>
+<li>set labels and row items with more pleasing backgrounds (while still maintaining contrast)</li>
+<li>give the <code>next</code> button visual importance (make it look like a real button)</li>
+</ul>
+<p><img src="/public/images/prescription-ui-update-final.webp" alt="Layout UI with color" /></p>
+<p>That's it!</p>
+<footer role="contentinfo">
+ <h2>Menu Navigation</h2>
+ <ul id="menu">
+ <li><a href="/">Home</a></li>
+ <li><a href="/projects">Projects</a></li>
+ <li><a href="/uses">Uses</a></li>
+ <li><a href="/wiki">Wiki</a></li>
+ <li><a href="/resume">Resume</a></li>
+ <li><a href="/colophon">Colophon</a></li>
+ <li><a href="/now">Now</a></li>
+ <li><a href="/donate">Donate</a></li>
+ <li><a href="/atom.xml">RSS</a></li>
+ <li><a href="#top">&uarr; Top of the page</a></li>
+ </ul>
+ <small>
+ Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
+ Maintained with ♥ for the web. <br>
+ Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
+ The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
+ </small>
+</footer> \ No newline at end of file