Tuesday, July 15, 2014

UX Today: Twitter's Mobile Site Sign In Form

I'm starting a new blog series, UX Today, where I will document and analyze usability issues I encounter online and in the physical world.

Today's usability issue comes from Twitter's mobile website sign in page.

login page for twitter.com with username and password fields
Twitter's mobile site sign in page
My username was pre-populated because I have used the site on my phone before. I thought my password was also pre-populated, because the placeholder text Twitter uses in the password field is a series of dots, which look just like an obfuscated password.

a password field with a series of dots as placeholder text
Twitter's password placeholder text

Thinking my password was already entered into the password field, I tapped the "Sign in" button. The page refreshed and I wasn't signed in, but I didn't see why, so I tapped "Sign in" again, thinking the site had a glitch.

What actually happened was that I had not entered my password, and the error message on the page was located at the top in a light gray text, hardly noticeable, and resulting in frustration while I tried to figure out what was wrong.

screen shot of a login form with error text at the top
Error message at the top of the form
There are two easy fixes here that Twitter should make:
  1. Remove the dots as placeholder text from the "Password" field. They are not necessary and cause confusion. Placeholder text in form fields are harmful because it makes it hard for users to know what information they have already entered.
  2. Move the error message next to the field where the error occurred and make it obvious. By placing it at the top of the form, away from the "Password" field, and making it a light gray, it isn't obvious for users.
In working on a quick mock-up of these improvements, I realized that Twitter developers likely added the placeholder text so that users would know where to type. Without the placeholder text, it's not obvious. That said, adding placeholder text isn't the best solution.

a mock-up of a sign in form for the Twitter mobile site with Password error text next to the form field
Mock-up of changes Twitter could make to the mobile Sign In form

Thursday, June 5, 2014

Adventures in Building a Rain Garden

When I bought my house last year, I knew I wanted to incorporate green measures like xeriscaping and rain barrels. Little did I know how that would cascade into multiple projects! The week after I moved in, Austin experienced the historic Halloween Flood of 2013 and according to the closest rain gauge in the Flood Early Warning System, our area received 7-8 inches of rain in just a few hours.

I noticed that there were a couple of inches of water in the yard and really started to worry my new house was about to be flooded, argh! Thankfully that did not happen and it got me thinking more broadly about stormwater management. Not long after, I saw a flier in the library—Earth-wise Guide to Rain Gardens—and soon after read a great book explaining the ins and outs of stormwater management—Rain Gardens: Managing Water Sustainably in the Garden and Designed Landscape.

The roof on a small house like mine can fill four 55 gallon rain barrels with a little as 0.33" of rain. In order to even use the rain barrels, we had to install gutters. With only two rain barrels this meant we'd need to direct the rest of the water somewhere. Off the back porch, we installed another section of gutter to direct the downspout into the rain garden. The rain barrel overflow would be directed into the garden as well.

Project Description

Build a rain garden to capture and direct rainwater, including overflow from a rain barrel.

Time: It tooks us a combined total of about 15 days over several months (January to April)
Cost: $150 for gravel and plants

Completed rain garden in Austin, Texas


What is a rain garden?

According to Grow Green, a rain garden is a shallow, vegetated depression designed to absorb and filter runoff from hard (impervious) surfaces like roofs, sidewalks, and driveways. Rain gardens are usually planted with colorful native plants and grasses. They not only provide an attractive addition to the yard, but also help to conserve water and protect our water quality.

How does a rain garden help?

As areas become increasingly urbanized, native landscapes are replaced with impervious surfaces that prevent rainwater from soaking into the ground. Stormwater quickly runs off these hard surfaces, picking up pollutants from the land and carrying them to our creeks. This rapidly flowing water also increases the chances of flooding and erosion.

The goal of a rain garden is to keep water on the land. Rain gardens, with their shallow depressions, capture stormwater and provide for natural infiltration into the soil. This provides water for the plants and helps maintain a constant flow of water in our streams through groundwater. They also help filter out pollutants including fertilizers, pesticides, oil, heavy metals, and other chemicals that would otherwise reach our creeks through storm drains or drainage ditches. By reducing the quantity of water that runs off your property, rain gardens help lower the risk of flooding and erosion.

Supplies Needed for This Project

The lists below reflect what we used for our rain garden design.

Materials

  • Large, flat limestone rocks for the border
  • 5/8" river gravel (2 yards) for mulch
  • Native, drought-tolerant plants

Tools

  • Shovel
  • Wheelbarrow
  • Gas-powered tiller

Create a Rain Garden in Six Easy Steps

Well, that's what the rain garden fact sheet claims but depending on the size of the garden and the grade and soil composition of your yard, the time and effort needed will vary greatly. My goal for writing this blog post is to show a walkthrough of what we did following the Grow Green project outline.

Step 1: Find the Right Location

The right location for our garden was cut and dry. We have a relatively flat area behind the house where water tends to collect. It gets full sun during the summer and partial sun in the winter. It's also located such that we could easily direct the gutter on our porch and the rain barrel overflow into it.

An important step when determining your garden location is to call 811 and find out where any underground utilities like gas, water, electric, and cable lines are running on your property so that you don't accidently cut them. Call before you dig! It's a free service.

Electric and cable lines marked with spray paint

Step 2: Test the Soil

Most of the soil in this area is composed of caliche (a kind of clay) and rocks formed from limestone. If your yard is located on a bunch of shallow rock, a rain garden won't work for you. You need about 12" of loose soil for water to absorb effectively.

To test our soil, I dug two 6" wide by 6" deep pilot holes on either side of where I wanted the garden to be. You then fill the holes with water and see how long it takes the water to drain. Lucky for us, it took about two hours so our location was good to go.

Pilot hole to test drainage

Step 3: Calculate the Size and Shape of Your Garden

The fact sheet provides a formula for calculating the size, in square feet, a rain garden needs to be to hold 1" of runoff based on the measurements of the roof area. Our back roof and porch came out to 658 ft. sq. which calculates to a 110 ft. sq. rain garden. We experimented with the shape using spray paint (bad idea) and bricks (good idea) until we came up with a shape we liked that was roughly the right size—19 ft. x 6 ft. more or less.

We also made sure that the rain barrel would have ample space and that we would still be able to walk comfortably between the house and the garden and the porch and the garden (not visible to the right) and be able to get the lawn mower around everything.

Rain garden shape before construction

Step 4: Rain Garden Construction

Ooo boy, time to get dirty. We made this a lot harder than it needed to be because we wanted to transplant all the turf from the rain garden area to low spots around the back porch that had been eroded by rain over the years. This extended the project timeline by a lot. After we stopped digging and started using a tiller, things went very fast.

Digging out the garden takes a long time

Because you have to dig out 6" for the rain garden to be able to hold water, we had a lot of soil piled up and covered with a tarp—about 2.5 cubic yards worth! We put an ad on Craigslist for free fill dirt and have gotten rid of some of it, but keep in mind that you will have to find a place for all the dirt.

Tillers are worth every penny

While the soil was nice and loose from tilling, we had to grade the area. One side of the garden is about 6" higher than the other side because of a slight slope in the yard. The important thing is to get the floor of the garden level to 6" at the lowest point so that the water can spread out evenly. At this point, we also lined up the rain barrel overflow and gutter downspout to drain into the garden.

Step 5: Plant Selection and Installation

I selected native, drought-tolerant plants for the rain garden based on some tried and true favorites of mine: salvia bushes, lantana, red yucca, fountain grass, and feather grass. Some of these stay green year round and all are perennial. I used eight plants spaced out so that when they reach maturity, they have enough room. We threw down some leftover garden soil and crushed glass from our pallet planter project as a base.

Luna checks out the rain garden

Next, we filled the garden up with some 5/8" river gravel to act as a mulch. Originally we were going to use crushed glass, but I did not like the look. We went with the 5/8" instead of pea gravel to discourage the cats from using the garden as a litter box, which they did while it was dirt. After adding the gravel, we positioned the border rocks around the edges and filled the spaces with more gravel. We were lucky and got the border rocks for free from Craigslist, saving us hundreds.

Step 6: Maintenance

There's not much to it so far. We had our first big rain storm of nearly 4" over two days and the garden filled and drained twice. I've had to do a little weeding and edging but it has been nearly maintenance free. Through some questionable math, I determined it has about a 300 gallon capacity.

Rain garden full after 1.5" of rain

That's it! For more information, check out the City of Austin's rain garden site. If you're in Austin, you can also check out installations of small-scale green infrastructure around the city. I'll end this post with a short video of our rain garden at work during a storm.


Thursday, February 27, 2014

How To Make a Stand for a Rain Barrel

We recently bought two rain barrels for our house and realized we needed stands both for elevation and stability.

Project Description

This how-to details the step-by-step process for constructing a rain barrel stand out of salvaged pallets for basically no cost. You can certainly use store-bought or nicely milled lumber depending on the look you're going for.

Time: 3 hours
Cost: $8.47 for a box of screws

Completed rain barrel stands; design 1 left; design 2 right

We ended up making two different stand designs using the same materials. The first one has the barrel sitting at the top of the stand with a 1" lip to prevent the barrel from sliding off. The second one drops the barrel 6" below the top of the stand to provide more stability against being blown off the stand when it's empty. I'll reference both designs in the walk through.

Supplies Needed for This Project

The lists below reflect what we used for our stands for 55 gallon plastic barrels.

Measure your barrel and adjust the lumber cuts as needed to accommodate the size of your barrel and your elevation needs.

Materials

  • Lumber from pallets
    • Short supports: 6 pieces of 2x3 boards cut to 22"
    • Long supports: 6 pieces of 2x3 boards cut to 25"
    • Legs: 8 pieces of 2x4 boards cut to 24"
    • Slats: 5 pieces of 2x4 boards cut to 22"
  • A box of 3" decking screws


Tools

  • Wood saw; we used a compound miter saw
  • Measuring tape
  • Square
  • Drill; we used both a corded and cordless
  • Large C-clamps (3)
  • Pencil

Instructions

These are the steps we took to complete this project. Please modify to fit your own project. :)

Step 1: Decide on the stand size and design

  1. What size stand do you need to accommodate your barrel?
    Design 1: Turn the barrel over and measure the diameter of the bottom; this is the minimum width that the inside of your stand will need to be; the bottom of our barrel is 18" and the inside of our stand is 22" square.

    This is reflected by the short cut which is 22". The measurement of the long cut is [short cut] + 3". (Note: A 2x3 is actually 1.5" x 2.5"!) So, you can pretty easily adjust these measurements as needed if your barrel is larger in diameter than 18".

    Design 2: Calculate the circumference of the barrel at the widest point where it will sit inside the stand. We measured the first ribbed ring on our barrel that sat below the spigot (so that the stand would not interfere with it) and got 67". Divide this by pi (3.14) to get the diameter; on our barrel this was 21.34" which still fit nicely inside the same 22" stand from design 1.

    For design 2: Measure the circumference 
  2. How tall does your stand need to be?
    If your rain barrel is on level ground and the area you need to water is at the same elevation or lower, then the height of 21" of this stand should be sufficient. However, if you plan to try and water anything uphill from your barrel, then this is probably not the stand design for you.
  3. What lumber do you want to use?The project time estimate does not take into account gathering materials. It took my partner a couple of hours to break down some large pallets and another hour to pull out the nails; but it saved us a lot of money.

    Removing nails from salvaged lumber


Step 2: Make all the lumber cuts

The number of boards and cuts will vary depending on the material you salvage or buy.  Lay out your boards and using a tape measure, mark the places for each cut. Then using a square, draw a straight line at each point.

We had several 93" 2x4s which is 3" shorter than a standard 8' board so we were able to get two legs (24") and two slats (22") from each board with the least amount of waste. For our 2x3s, we were able to get two long pieces (25") and two short pieces (22") with the least amount of waste.

Measure and mark the lumber for all cuts

I suggest labeling everything to keep your materials straight using leg, slat, long, or short on each piece as you cut.

Cut the lumber to size using a wood saw

Step 3: Assemble the legs

We decided to put two 2x4 pieces together instead of using 4x4s. Look over the eight leg pieces and decide which ones you want to face out and which ones should be hidden. (This matters more for salvaged wood that might look crappy.)

On four of the leg pieces, you'll need to mark the areas where the three side pieces will attach, as well as mark the screw holes for attaching the two pieces together. Decide which end is the top and which is the bottom of the leg and write that on the wood. Perform all measurements from the top to the bottom for consistency.

Design 1: Mark the following on each leg.
  • Mark a line 1" from the top; this is where the top lip will attach.
  • Mark a line 3.5" from the top; this is where the middle 2x3 side piece will attach.
  • Mark a line 18.5" from the top.
  • Mark a line 21" from the top; this is where the bottom 2x3 side piece will attach.
  • Measure the distance between the middle and bottom side pieces; on our legs it was 14.5". Mark three holes roughly equidistant in this space. We marked holes at 2", 7.5", and 12". 

Lines and holes for design 1


Design 2: Mark the following on each leg.
  • Mark a line 2.5" from the top; this is where the top 2x3 side piece will attach.
  • Mark a line 6" from the top.
  • Mark a line 8.5" from the top; this is where the middle side piece will attach.
  • Mark a hole between the first two side pieces.
  • Mark a line 18.5" from the top.
  • Mark a line 21" from the top; this is where the bottom 2x3 side piece will attach..
  • Measure the distance between the middle and bottom side piece; on our legs it was 10". Mark two holes roughly equidistant in this space. We marked holes at 3.25" and and 6.75".
Lines and holes on legs for design 2

Take one of the leg pieces you marked and sandwich it with an unmarked piece, then clamp them together using two C-clamps. Drill pilot holes at the three places marked on each leg. Use 3" screws to attach the 2x4s together. Do this for all four legs.

Design 1: Leg assembly


Step 4: Attach the short pieces to the legs

Using the lines marked on the legs in step 3, line up short pieces (22") on top of two legs, making sure that the nice sides of the legs are facing you. Attach one side piece at a time for stability.

For each side piece, mark and drill pilot holes first, then attach with two screws on each end of the side piece. Repeat for the other two legs.

Short side pieces attached to legs for design 2

Design 1: We attached the side pieces that create the top lip at the very end to make it easier to attach the slats (see step 7).

Step 5: Attach the long pieces to the legs

Place the two assembled sides from step 4 on their edges and line up long pieces (25") across the legs, attaching one at a time.

For each side piece, mark and drill pilot holes first, then attach with two screws on each end of the side pieces.

Design 2: Attach the long pieces to the frame

Once you have three sides of the frame together, flip it over and attach the final long pieces to complete the stand frame.

Design 1: completed stand frame minus top lip

Design 1: We attached the side pieces that create the top lip at the very end to make it easier to attach the slats (see step 7).

Step 6: Install the slats

Attach a slat to the legs on one side of the stand using two screws per leg on a diagonal for added support. Mark and drill pilot holes first. You might have to shave a little wood off the length of your slats depending on how tightly the frame fits together. Repeat on the other side.

Design 1: The slats should be flush with the top of the legs.

Design 2: The slats should be flush with the tops of the middle side supports.

Design 1: add the two side slats first

Measure and mark off three, equidistant 1.5" segments for the remaining three slats.

Measure and mark the center slats

For each slat, put the slat in place in the frame, then use a scrap piece of wood to clamp it in place and ensure it is level and even with the side slats. Measure and drill pilot holes and attach all three slats to one side of the frame. Then using the scrap piece of wood, clamp the slats in place on the other side of the frame and attach with screws.

Clamp slats in place to attach

Step 7 for Design 1: Add the top lip

Attach the remaining four side pieces to create the top lip using the same methods in steps 4 and 5.

Design 1: Completed stand

Voila! You're now ready to install your rain barrels on your stands. The reason we left 3" below the bottom slat is to allow for some leveling and anchoring into the dirt but if your stand will be on a flat surface like a deck or cement, you can lower this slat to meet your needs.

We used heat-treated and pressure-treated lumber so we're not too worried about protecting it (plus we like the "rough" look), but you can always paint or stain your stand for durability and to achieve the look you want.

Last but not least, we got to try out the rain barrels for the first time yesterday. They started to overflow after a mere 0.2" of rain.



Did this walk through work for you? What changes or improvements did you make?