Add Ideas

Logic:

  • Basic route (add_ideas):

    • Preselect the user in the drop-down list if accessed from a user list.

    • Extract full names from the JSON and pass them to the HTML template, was built around the usernmae, so need to convert to full names.

    • Title is required; description and external link are optional.

  • Secondary route (add2):

    • No preselection in the drop-down list as the button is on the main dashboard.

Frontend:

  • User selection drop-down list.

  • Title field (required).

  • Description and external link fields (optional).

  • Add button.

Last updated