Skip to content

Instantly share code, notes, and snippets.

View goldtreefrog's full-sized avatar

Margaret Blauvelt goldtreefrog

View GitHub Profile
@goldtreefrog
goldtreefrog / u3l1p3-event-listener-drills
Created October 26, 2017 02:34
Event Listener Drills
https://repl.it/NNb5/0 - Cat Carousel
https://repl.it/NPTn/1 - FizzBizz
@goldtreefrog
goldtreefrog / Write to Speak
Created December 5, 2017 19:20
Write to Speak Summary Statement
A simple editor aimed at beginning spellers with on-demand text-to-speech for the mechanics of communication - spelling, writing and speaking.
@goldtreefrog
goldtreefrog / feature-changes
Created January 2, 2018 18:47
Write to Speak: Future Feature Changes Numbered by Priority (also Recently Done)
Date: 1/2/2018
------------------------------------------------------------------
index.html
7. Spoken summary on introductory page. (Easy.)
8. Smaller graphic on intro page so can see more of whole page at once. (Easy. Crop the bottom of the picture?)
9. Short demo on write or intro page. (Medium time. This would be the enhanced version of an auditory-only summary and may replace it or be a movie user can click on.)
Get all: Retrieve all restaurants.
db.restaurants.find()
Limit and sort: Make the first 10 restaurants appear when db.restaurants is alphabetically sorted by the name property.
db.restaurants.find({},{name: 1}).sort({name: 1}).limit(10);
Get by _id - Retrieve a single restaurant by _id. (First get the _id for one of the restaurants.)
const myId = db.restaurants.findOne()._id;
db.restaurants.findOne({_id: myId});
@goldtreefrog
goldtreefrog / bird-logger-user-stories
Created February 27, 2018 01:06
User Stories for Bird Logger
As an avid bird watcher, I want to keep track of the birds I have seen.
As a bird enthusiast, I want to look up general information about a bird.
As a bird watcher, I want to confirm that I have the right bird by comparing features with what I observed.
As a researcher, I want to generate statistics about bird sightings.
@goldtreefrog
goldtreefrog / gist:2f8218bac8ea9067afa29246cfd3767f
Created April 2, 2018 16:14
Creature Logger (Changed from Bird Logger)
User stories: See https://github.com/goldtreefrog/bird-logger
Screens:
- Add/Update Sighting (same screen with minor variations)
- List Sightings
- Select species from list of similar common names
User flows: See https://github.com/goldtreefrog/bird-logger
@goldtreefrog
goldtreefrog / creature-logger-user-feedback
Created April 12, 2018 01:03
User Feedback Notes for Creature Watcher's Creature Logger
1. Make the back button work to take you back to the list of names you were just looking at.
(And while we are at it, make the back and forward buttons work for all "pages.")
2. Sometimes there is a (rather short) lag between entering a common name and when the list pops up. When you are
not used to it, you have no idea something like this is about to happen.
(Consider showing the instructions even before the results come back from ITIS, ideally along with a spinner or something similar.)
 
3. "Add Sighting" at the top could be confused with "Save," especially since the input form is shown when you first visit the sight.
(Consider changing it to say "New Sighting." Also consider making the new visitor click on "New Sighting" before he sees the form.)
@goldtreefrog
goldtreefrog / React Lesson 1 Component Drills
Last active April 20, 2018 17:07
Links to React Component Drills - Navigation Bar and Address Book
Navigation Bar:
https://glitch.com/edit/#!/react-hb-challenge?path=src/components/navigation-bar.js:24:0
Address Book:
https://glitch.com/edit/#!/address-book-challenge?path=src/components/address-book.js:1:0
@goldtreefrog
goldtreefrog / React Introduction Communication Drills
Last active April 26, 2018 06:59
Communication drills: "Surprise!" "Hourly Rate Calculator" and "Live Search"
Surprise!
https://glitch.com/edit/#!/surprise-drill-mb?path=src/components/surprise.js:25:0
Hourly Rate Calculator
https://glitch.com/edit/#!/rate-calculator-mjb?path=src/components/rate-calculator.js:41:0
Character List
https://glitch.com/edit/#!/react-live-search-mjb?path=src/components/character-list.js:1:0
@goldtreefrog
goldtreefrog / redux-drills-1-and-2
Last active May 3, 2018 03:27
Redux action, reducer and store drills
Set Language State (i18n state)
https://redux-drill1-set-language.glitch.me/
CRUD Reducer
https://glitch.com/edit/#!/redux-crud-reducer-mjb?path=src/reducers/index.js:28:0