Day 245: Week 36 Plan
Week 35
Last week, I said I’d “finish up the iframe stuff” and then get to working on the Browserflow gallery. Things didn’t go exactly as planned.
The aforementioned iframe work involved enabling Browserflow to introspect iframes and be able to pick out elements, but I had two realizations as I worked on it:
- The code was getting extremely messy
- Seleting shadow DOM elements weren’t working as expected
I started refactoring the code that handles selecting the element, generating the CSS selector, and shortening the selector, and ended up rewriting all of it over the course of the week.
As a result, I didn’t get to work on the gallery at all, but I feel quite okay with this because the element selecting logic is a key aspect of creating flows using Browserflow. And best of all, I decided to write tests as I refactored the code so I have unit test coverage for generating and shortening CSS selectors!
On the non-work front, I spent half of this week hanging out with Shiva and his friends in San Diego. It was incredibly fun and rejuvenating. I love meeting new people, and opportunities to do so are few and far between in the age of coronavirus. Everyone I met there was great, and I’m incredibly thankful to Shiva, Ben, Natasja, Randa, and Sam for the good vibes.
Snippets
-
Done
-
Finish iframe support
-
Publish v0.1.0
-
Exercise at least once
- Worked out and ran with Shiva
-
-
Carry over
-
Create gallery with at least 3 flows
-
Go to sleep before 12am at least 2 times
- Did not sleep before 12am a single time this past week
-
Week 36
Assuming I don’t got lost in some refactoring rabbit hole again, I want to start the gallery to showcase flows. There are some product changes that’ll make sharing and running flows much easier like accepting flow-level variables for customization and storing flows in Firebase rather than locally, and I’m hoping I can get some of those things done after getting the basic gallery up and running.
Snippets
-
Browserflow
- Create gallery with at least 3 flows
- Go to sleep before 12am at least 2 times