amilner42 / code-tidbit

Share Programming Knowledge Better
GNU General Public License v3.0
9 stars 1 forks source link

164 qa frontend #172

Closed amilner42 closed 7 years ago

amilner42 commented 7 years ago

Closes

Closes #150 Closes #156 Closes #169 Closes #164 Closes #167

Description

Hooked up the frontend to the endpoints. A full QA system is now in place (although it lacks notifications as pointed out in #171).

Additionally

To reuse the QA between Snipbits and Bigbits, created an Elements directory with a slightly formalized way of writing reusable components in Elm. This has been documented in the README. This will be the groundwork for writing DRY code.

Also added InfixOperators to default services which allows for very helpful common infix operators (for things like Maybe.map and Maybe.andThen).

Snapshots

(snapshots just from Bigbits but it's the same for both).

Now a "Browse Questions" button (even if logged out, hence 150 is closed). image

Browsing Questions image

Browsing Specific Question image

Browsing Answers image

Answering Question image

(more images excluded to not take 100 images, run this commit to see a specific page if needed)