aboutsummaryrefslogtreecommitdiff
path: root/build/form-ui-improvements
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-02 14:22:21 -0400
committerBradley Taunt <bt@btxx.org>2024-07-02 14:22:21 -0400
commit3f6a9546ec13063d0d5bdf21d30a93d3e8aa6050 (patch)
tree947985c4eda1bceb1910bc01739c32fd0baad181 /build/form-ui-improvements
parent14074019d62d98885c4c764401a9e7e1fd129f79 (diff)
Rebuild changes based off latest barfHEADmaster
Diffstat (limited to 'build/form-ui-improvements')
-rw-r--r--build/form-ui-improvements/index.html75
1 files changed, 75 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..a12d44b
--- /dev/null
+++ b/build/form-ui-improvements/index.html
@@ -0,0 +1,75 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="color-scheme" content="dark light">
+ <link rel="icon" href="data:,">
+ <title>Prescription Form UI Improvements</title>
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
+<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
+</head>
+
+<nav>
+ <a href="#menu">Menu &darr;</a>
+</nav>
+
+<main>
+<h1 id="prescription-form-ui-improvements">Prescription Form UI Improvements</h1>
+<p>2019-03-13</p>
+<p>I was browsing the Clearly website a few days ago and ended up using their prescription form to update my worsening eyesight. The design of this form wasn&#8217;t <em>bad</em> per se, but it could certainly be improved.</p>
+<h2 id="current-design-of-the-prescription-view">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&#8217;t horrible by any means, but right away we can notice some problems:</p>
+<ul>
+<li>the layout causes the users&#8217; 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 id="starting-to-make-some-changes">Starting to make some changes</h2>
+<p>Let&#8217;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&#47;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&#47;OS element rows which created a problem of resetting the user thought-process. Since it requires the user to jump from the &#8220;right eye&#8221; option to the &#8220;PD&#8221; option, then back to &#8220;left eye&#8221; option it breaks the flow of user &#8220;tasks&#8221;. The new UI shifts the <code>PD</code> down into it&#8217;s own row, grouping the unrelated tasks on the page separately.</p>
+<blockquote>
+<p>You&#8217;ll also notice that I&#8217;ve updated the dropdowns to use a monospace 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 id="adding-some-color">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&#8217;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 id="finishing-touches">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&#8217;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://barf.btxx.org">barf</a>. <br>
+ Feeds: <a href="/atom.xml">Atom</a> & <a href="/rss.xml">RSS</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