Closed MaxTrautwein closed 4 days ago
{
"Title":"Genehmigung von Ausgaben und Anschaffungen",
"Description":"bla Genehmigung von zeugs",
"Category":"Antrag",
"form":[
{
"order":0,
"section":"Generell",
"items": [
{
"Description":"Kurzbezeichnung des Antrages",
"type":"Text",
"id":"bez"
},
{
"Description":"Fachschaft/Referat/Arbeitskreis",
"type":"Text",
"id":"fs_ref_ar"
},
{
"Description":"Kontaktdaten",
"help":"(Handy-Nr., E-mail)",
"type":"Text",
"id":"contact"
},
{
"Description":"Antragsteller*in",
"help":"(Name, Vorname)",
"type":"Text",
"id":"user"
}
]
},
{
"order":1,
"section":"Hauptteil",
"items": [
{
"Description":"Verwendungszweck: (Bitte ausführlich beschreiben! Evtl. Beiblatt nutzen)",
"help":"Was? Warum? Welcher Preis?",
"type":"TextMultiLine",
"id":"reason"
},
{
"Description":"Unterschriebenes Protokoll der FS-Sitzung mit genau erläutertem Beschluss im Anhang?",
"type":"bool",
"id":"prtocoll",
"ref":"Attachments-Protokoll"
},
{
"Description":"Termin (geplant):",
"type":"date",
"id":"date"
},
{
"Description":"Höhe der Ausgaben (ca.):",
"help":"(voraussichtliche Höhe angeben, falls nicht genau bekannt)",
"type":"money",
"id":"money"
}
]
},
{
"order":2,
"section":"Zahlung",
"items": [
{
"Description":"Empfänger*in",
"type":"text",
"id":"prepay_empf"
},
{
"Description":"Anschrift",
"type":"address",
"id":"prepay_adress"
},
{
"Description":"IBAN",
"type":"iban",
"id":"prepay_iban"
},
{
"Description":"Kreditinstitut",
"type":"text",
"id":"prepay_bank"
}
]
}
],
"Attachments":[
{
"id":"Protokoll",
"Description":"Unterschriebenes Protokoll der FS-Sitzung\nEnthält detailirten beschluss,..."
}
]
}
for saving progress, i would keep the structure but besides the value only keep the id
Spent 30 Minutes
Spent 1.5h for implementing the Initial concept Spent another 1.5h debugging why the build kept failing -> Some test wants an active DB Connecting, that can't work at build time... -> Going forward we need some way to disable that Test or mock the connecting.
Spent 15 minutes
added two Endpoints for some initial testing
/form/{id}
Get full Details for a given Form/getTemplates
Get all Templates, but with limited content (id, titel, description)that should allow for some initial testing on the main page
Spent 2h A large amount of that went into a failed attempt to do this with an openAPI specification. issues getting the generated dependencies
Spent 1h 30Min Updating and enhancing the initial data
Mit der Doku der API Würde ich am liebsten warten, bis das mit der OpenAPI Spec klappt. Dann sollte das auch deutlich besser gehen. Datenbank Layout Doku würde ich mir noch vornehmen, dass der derzeitige stand klar ist.
Spent 45 Minutes
Spent 2h on the openapi Adoption and setup
Ausarbeitung & Implementierung