-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate milestones userland with backend (#158)
* merge add-childquestion_backend-integration until 32304c9 * make data a member of currentChild for now, start integrating backend calls * work on localization, add setup-await pattern to milestoneoverview * Squashed commit of the following: commit 43bf1b3 Author: Liam Keegan <[email protected]> Date: Mon Nov 11 08:17:47 2024 +0100 Add admin option to delete milestone images (#150) * Add admin option to delete milestone images - add delete button below existing milestone images in admin interface - add delete /milestone-images endpoint - restate /admin route for convenience during development, can be removed again later - resolves #98 * update openapi.json & openapi-ts client --------- Co-authored-by: Harald Mack <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 33d4f17 Author: Harald Mack <[email protected]> Date: Fri Nov 8 17:23:58 2024 +0100 Add childquestions backend integration and refactor datainput datastructure (#138) * add childanswers and base answer model * add child question models * add question admin endpoints * make current tests work again * adjust imports, add test skeleton * add dummy questions to test fixtures * start working on backend tests * work more on backend tests and model inheritance * fix errors in test data * try to get sqlmodel inheritnace to work * get rid of inheritance in question models for now * finish user question tests * finish python test draft * make use of states * adjust milestonegroup to backend data * get milestone loading right * integrate milestone * fix card styling, error message * add completion status to the milestone models * modify progress reporting to be only a userland feature * simplify progress computation, include milestone completion feedback * adjust styling * work on styling, change navigation to something hopefully more intuitive, make more use of localization * fix child data loading bug, adjust breadcrumb navigation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update openapi.json & openapi-ts client * fix backend error * adjust tests * update openapi.json & openapi-ts client * fix tests * correct merge error * use tailwind for making labels visible/invisible * work on layout * update openapi.json & openapi-ts client * remove searchByMilestone * fix styling issue * put progress computation into frontend * update openapi.json & openapi-ts client * remove debug output * simplify progress computation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
1496a3a
commit b75ded2
Showing
19 changed files
with
657 additions
and
880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,3 +176,4 @@ mondey_backend/static/*.jpg | |
|
||
# project specific | ||
private | ||
static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.