Closed nsfmc closed 7 years ago
json is a pain to make by hand, so sometimes i just make it in a notepad, and assign it to a variable in a console and then copy(JSON.stringify(thatvar))
in the console to have real json i can paste.
also, if you use this you will discover that this is worse than bad ui, it gives no feedback, so the optimal way to use this is to have the firebase console open and then peer at it updating in realtime as you use this to make changes.
This adds a textarea and two buttons: "add as brew" and "add as coffee" to the app body. This is all very gross code and implementation, but the idea is to start populating from bespoke json dicts we paste in the browser and then start using our fancy form (in the interim this also gives us the ability to start examining the db read-only)
this is not permanent, it's really just a short term salve so we can start shoving data into firebase and rendering it (and discovering all the weird corner-cases even just rendering static data has)