tattle-made / DAU

MCA Tipline for Deepfakes
GNU General Public License v3.0
6 stars 0 forks source link

[5_W0]: Attach DAU Data Collection form to the dashboard #123

Closed aatmanvaidya closed 4 months ago

aatmanvaidya commented 5 months ago

Integrate a google form in the media details page that allows the DAU Team to add an assessment report and some metadata associated to it in a form.

aatmanvaidya commented 5 months ago

form docs

  1. Phoenix.HTML.Form
  2. Form bindings

Other resources

Book

Add fkey in migration

put_flash - https://hexdocs.pm/phoenix/Phoenix.Controller.html#put_flash/3

aatmanvaidya commented 5 months ago

can we use something like formex or its not needed/ overkill for this issue - https://github.com/jakub-zawislak/formex

dennyabrain commented 5 months ago

I am generally averse to adding a new non-standard dependency on this project. I have two concerns

  1. In favour of using this library : Given that we foresee the form structure to change over time, If this library seems to be simplifying things we can consider using it
  2. Against using this library : the last commit seems to be 5 years ago and I am not sure if thats coz the library is complete and doesn't require more work or if its abandoned.

So maybe a starting point would be to investigate if there are more updated libraries like these or if we can dig into its source code to see how they are doing it and cherry pick ideas for our from scratch implementation.

aatmanvaidya commented 5 months ago

TODO

aatmanvaidya commented 4 months ago

Screencast from 30-06-24 06:03:22 PM IST.webm