@Dr-Wrong-MoSubmitted over 2 years ago
I go into more detail with my challenges in my README file that you can find in my GitHub repo, but here are the highlights.
- The dialog element that I used for my Delete Modal was showing up on the page when it should have been hidden by default. This was due to an unexpected side effect of using Flexbox on the dialog element.
- I also had an issue with formatting the Dialog modal due to property inheritance. I had set margin and padding to zero for everything, which caused issues with the Dialog.
- It was easy enough to loop through the data and input top level comments on the page, but dealing with comment replies became more challenging. This is a challenge that Angular has always made easy for me, so it was fun to attack this without a framework.
- Another issue I've never dealt with because I've traditionally used frameworks: I couldn't get event listeners to work on elements that were being loaded to the page dynamically. I had to study up on event bubbling to find my solution.
- The last noteworthy issue I had was related to username callouts in the comments (e.g. @jonwright). I wanted to be able to change the formatting of these callouts, no matter where they were in the comment, but I didn't want to inadvertently change the format on email addresses. For this issue, I had to finally study up on regular expressions.
This project was much more challenging than I expected at first glance. I learned a ton, and I feel like my code improved a ton as I went.