More Trapezites Updates!
I had a long meeting with Stacy to get some coding help. I was having an issue with building the logic for the dropdowns. They needed to be filtered every time another dropdown was selected, but each dropdown needed to remain clickable so the user could change their selection. Stacy looked through the code with me and ultimately decided that the whole things needed some refactoring.
We want to take a “object oriented” approach, which basically means that he wants to compartmentalize the various elements (currencies, regions, time periods, etc) into individual “objects.” Each of these objects then should contain functions to build their own dropdowns and filtering logic. Kind of confusing, but basically this change will require me to rewrite a lot of Rodrigo’s code. Luckily, I can still keep a lot of his logic. It’s just a matter of rewriting it to fit the new format.
So that’s essentially what I’ve been doing. This past week, I’ve been working specifically on bringing in the client’s currency data from the google spreadsheet and processing it to fit the logic in the code.
Other than that, I’ve helped make a few new STA sites in Cascade and write up short documentation for Vlabs.