Our app works great, but there are lots of ways we can improve it. If you are feeling ambitious, you can take a look at the following challenges:
- Improve error handling in the app and handle cases where the network is slow by adding retry mechanisms.
- Customize the number of stories that get loaded by placing an input field widget on the header bar, and parse and pass that number to the network thread.
- Add a button to each story to view comments. When the user clicks on the comments button, the app should open a scrollable widget on the right and populate the comments in that story, one by one.
- Widgets can be styled using CSS. Try adding colors to the story container, depending on the popularity of posts, using the gtk::StyleProvider APIs.