You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-1Lines changed: 48 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -755,4 +755,51 @@ test('should throw an exception the note array is undefined', () => {
755
755
- Don't forget to rerun your Cypress tests. Green!
756
756
- Commit on Green.
757
757
758
-
[Code for this section](https://github.com/pairing4good/tdd-amplify-react/commit/8905e6d1e7c40c4ccc912f14bdca83fc19b68b73)
758
+
[Code for this section](https://github.com/pairing4good/tdd-amplify-react/commit/8905e6d1e7c40c4ccc912f14bdca83fc19b68b73)
759
+
760
+
## Usability
761
+
Customers rarely ask explicitly for a usable product. In this application rich world that we live in it's assumed that applications will be delivered with common sense usability baked-in. When I look at the application as it stands, a few things pop out at me.
762
+
1. Header - there's no heading telling you what this application does
763
+
1. Validation - there's no form field validation
764
+
1. Reset Form - after a note is created the form fields are not reset
765
+
766
+
### Header
767
+
- Create a new file `Header.js` in the `src` directory
768
+
```js
769
+
functionHeader() {
770
+
771
+
return (
772
+
773
+
);
774
+
}
775
+
776
+
export
777
+
```
778
+
- Let's test drive this component
779
+
- Create a new file `Header.test.js` in the `src/test` directory
0 commit comments