At least I'm getting something done right?
So this will be a smaller blog post than most of my larger posts I've written up until this point. It's mainly just a status update on what I've done until this point.
Last time, I mentioned I was going to attempt to port 3 components from gatsby to next, something that I think will be good practice for myself. The components themselves were what I found hard working with, however. It was figuring out how I was going to test them out and make sure they worked. I knew if I made a PR with what I had right now, that it would fail automations, including the new ones setup for next. So I was hesitant on continuing on.
Another issue I had was that my components also relied on other components existing in order to work. A good example is the Banner component, which pulls the telescope url from a graphql query. I could just paste the url and grab the data I needed and that would be fine, but I didn't want to break any design choice in the code, especially since what I made would be shown on the official next frontend when the port was complete. I asked the slack what I should do about this and I got a response that made me feel much better about this problem:
Thanks to Tony for clearing that up btw. So what I'll probably end up doing is making sure that the styles are being used properly, then test them on the next index.ts page before finally making a commit and PR. Bugs will inevitably occur, after all, this is a transition from a code base that was made last year into a new code base with a different frontend engine and language. Hopefully, this poses no problems.
I should have my PR up by the end of this upcoming week, no promises though with this week being final exam week too. I know it won't be perfect, I have limited experience with Typescript, so I'll have to make some changes even after my PR is made. The way I see it, it's a marathon rather than a rush.
Next time, the final blog of DPS909. What a semester it's been. Both ups and down were recorded here. Soon, we'll know whether my work was worth it or not! Until next time, stay tuned!
Top comments (0)