[#46] Include Drafts

Description

This PR changes the backend generator to include draft proposals from "drafts/current" folder in the generated proposals. The frontend is also changed to include the draft bubbles in the homepage in a separate section, and the variant of the proposal page that can display draft proposal.

The index page and proposal pages looks like this with drafts interface. As can be seen below, a toggle checkbox is used to toggle the display of drafts bubbles. The state of draft display is reflected in the URL as well, so it remains same across page navigation.

image

image

Related issue(s) #46

Checklist for your Merge Request

Related changes (conditional)

  • Tests

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

Edited by Sandeep.C.R

Merge request reports

Loading