h1
Today I Learned… in Code
h2
Converting RGB to Hex using Lodash
h2
Book review: Grokking Continuous Delivery by Christie Wilson
h2
Where I was starting from
h2
Adding new shopping lists and stores via the in-app forms
h2
Grabbing the new record’s ID and saving it to the record
h2
Sorting the shopping lists by name (alphabetically) as they come in from Firebase
h2
Hooking up the rest of the app to the database
h2
PS: If you buy the textbook, you also get access to ebook versions for free
h2
LeetCode 22: Generate Parentheses solution, TypeScript
h2
[Update] 1 year later: a dynamic programming solution
h2
Leetcode 1101: The Earliest Moment When Everyone Become Friends solution, TypeScript
h2
Building a Flutter app: re-ordering lists
h2
First, the final product
h2
Getting set up – where we’re starting from
h2
Planning the work: UI inspiration
h2
Trouble with “orderBy” and Streams
h2
Sorting the Stream results
h2
Building the “reorder” UI
h2
Building the “store change” UI
h2
Building a Flutter app: creating a many-to-many relationship between stores and shopping lists
h2
First, the final product
h2
Feature description and purpose
h2
Deciding how to represent the store/list links in the database
h2
Inserting the data into the database by hand
h2
Building the store/list linking UI
h2
Firebase updates: adding a new store (or shopping list) to the map
h2
Passing the store name as the value
h2
Removing an existing link from the map
h2
Making the link a two-way link
h2
Handling long lists of linked entities
h2
Adding “store address” anywhere store names are displayed (store list, toggle list)
h2
Updating renaming shopping lists and renaming stores to also update any saved links
h2
Building a Flutter app: “Dark mode” feature
h2
First, the final product
h2
Material UI’s built in “dark” theme
h2
Adding a “Settings” drawer with a “Dark Mode” toggle switch
h2
Toggling between light/dark mode
h2
Fixing the SwitchListTile switch not toggling
h2
Persisting the user’s dark theme/light theme choice through app reload
h2
Building a Flutter app, part 7: in which I blast through a ton of feature work
h2
Building a Flutter app: “Cross off” feature
h2
First, the final product
h2
Adding the isCrossedOff property to Item
h2
Filtering the item stream by isCrossedOff’s value
h2
Making crossed off items look “crossed off” by drawing a line through them
h2
Moving items between the “active” list and the “crossed off” list
h2
Building a Flutter app, part 6: adding create, read, and update (“CRUD”) operations
h2
Seeding the database with the first bit of data
h2
Creating a database manager class
h2
Using the database manager to get records from the Firebase database
h3
Troubleshooting Firebase access denied (“ConnectionState.waiting” always being true)
h3
My initial (dead end) approach with “update” and “merge: true” and why that didn’t work with Cloud F
h3
Why read a book? The docs are free!