Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add admin option to delete milestone images #150

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

lkeegan
Copy link
Member

@lkeegan lkeegan commented Nov 8, 2024

- 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
@codecov-commenter
Copy link

codecov-commenter commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 28 lines in your changes missing coverage. Please review.

Project coverage is 27.88%. Comparing base (33d4f17) to head (c735252).

Files with missing lines Patch % Lines
...src/lib/components/Admin/EditMilestoneModal.svelte 0.00% 23 Missing ⚠️
frontend/src/lib/components/Admin/EditImage.svelte 0.00% 2 Missing and 1 partial ⚠️
...nd/src/lib/components/Admin/MilestoneGroups.svelte 0.00% 1 Missing ⚠️
frontend/src/routes/admin/+page.svelte 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
- Coverage   27.89%   27.88%   -0.01%     
==========================================
  Files          91       93       +2     
  Lines        3280     3306      +26     
  Branches       88       90       +2     
==========================================
+ Hits          915      922       +7     
- Misses       2299     2316      +17     
- Partials       66       68       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lkeegan lkeegan requested a review from MaHaWo November 8, 2024 14:37
Copy link
Collaborator

@MaHaWo MaHaWo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link

sonarcloud bot commented Nov 11, 2024

@MaHaWo MaHaWo merged commit 43bf1b3 into main Nov 11, 2024
6 checks passed
@MaHaWo MaHaWo deleted the fix_98_admin_can_delete_milestone_images branch November 11, 2024 07:17
MaHaWo added a commit that referenced this pull request Nov 11, 2024
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
MaHaWo added a commit that referenced this pull request Nov 14, 2024
commit 1e481ac
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:17:06 2024 +0100

    fix tests

commit 6079925
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 15:06:43 2024 +0000

    update openapi.json & openapi-ts client

commit d207bab
Merge: 4b4a7e7 1496a3a
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:05:52 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 4b4a7e7
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:42:41 2024 +0100

    adjust tests

commit 77ea2eb
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:24:26 2024 +0100

    fix backend error

commit 036f4ce
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:14:35 2024 +0000

    update openapi.json & openapi-ts client

commit 2f64c56
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:13:52 2024 +0000

    [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci

commit ef560b7
Merge: 8fad755 43bf1b3
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:13:26 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 8fad755
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:06:02 2024 +0100

    fix child data loading bug, adjust breadcrumb navigation

commit b6e1452
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 13:47:15 2024 +0100

    work on styling, change navigation to something hopefully more intuitive, make more use of localization

commit 3012086
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 19:00:06 2024 +0100

    adjust styling

commit eb136b3
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 14:38:56 2024 +0100

    simplify progress computation, include milestone completion feedback

commit efae46f
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 13:28:56 2024 +0100

    modify progress reporting to be only a userland feature

commit 1dd97f7
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:46:21 2024 +0100

    add completion status to the milestone models

commit 06b6a2a
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:41:54 2024 +0100

    fix card styling, error message

commit 4e58cf8
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 16:56:51 2024 +0100

    integrate milestone

commit 166c18f
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 15:44:20 2024 +0100

    get milestone loading right

commit 7db9480
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 11:10:51 2024 +0100

    adjust milestonegroup to backend data

commit e7709d5
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:53:32 2024 +0100

    make use of states

commit 84c3f17
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:03:59 2024 +0100

    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

commit d900c19
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 08:56:33 2024 +0100

    work on localization, add setup-await pattern to milestoneoverview

commit be2393d
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 15:30:24 2024 +0100

    make data a member of currentChild for now, start integrating backend calls

commit 2254332
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 14:51:20 2024 +0100

    merge add-childquestion_backend-integration until
    32304c9
Majapur1 pushed a commit that referenced this pull request Nov 14, 2024
* 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>
MaHaWo added a commit that referenced this pull request Nov 14, 2024
* 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>
MaHaWo added a commit that referenced this pull request Nov 14, 2024
commit 7c01dce
Merge: 7ac5c7b 4e2a2ec
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 13:39:39 2024 +0100

    Merge branch 'integrate-milestones-userland-with-backend' of github.com:ssciwr/mondey into integrate-milestones-userland-with-backend

commit 7ac5c7b
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 13:39:35 2024 +0100

    remove debug output

commit 4e2a2ec
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Thu Nov 14 12:39:35 2024 +0000

    update openapi.json & openapi-ts client

commit c9e4d97
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 13:38:11 2024 +0100

    put progress computation into frontend

commit 44100b0
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 12:59:41 2024 +0100

    fix styling issue

commit e233c63
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 12:47:22 2024 +0100

    remove searchByMilestone

commit 670bf04
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Thu Nov 14 09:39:33 2024 +0000

    update openapi.json & openapi-ts client

commit 02841be
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 10:38:46 2024 +0100

    work on layout

commit 109ec0e
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 10:04:29 2024 +0100

    use tailwind for making labels visible/invisible

commit 42d239c
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 10:03:21 2024 +0100

    correct merge error

commit 1e481ac
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:17:06 2024 +0100

    fix tests

commit 6079925
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 15:06:43 2024 +0000

    update openapi.json & openapi-ts client

commit d207bab
Merge: 4b4a7e7 1496a3a
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:05:52 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 4b4a7e7
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:42:41 2024 +0100

    adjust tests

commit 77ea2eb
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:24:26 2024 +0100

    fix backend error

commit 036f4ce
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:14:35 2024 +0000

    update openapi.json & openapi-ts client

commit 2f64c56
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:13:52 2024 +0000

    [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci

commit ef560b7
Merge: 8fad755 43bf1b3
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:13:26 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 8fad755
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:06:02 2024 +0100

    fix child data loading bug, adjust breadcrumb navigation

commit b6e1452
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 13:47:15 2024 +0100

    work on styling, change navigation to something hopefully more intuitive, make more use of localization

commit 3012086
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 19:00:06 2024 +0100

    adjust styling

commit eb136b3
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 14:38:56 2024 +0100

    simplify progress computation, include milestone completion feedback

commit efae46f
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 13:28:56 2024 +0100

    modify progress reporting to be only a userland feature

commit 1dd97f7
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:46:21 2024 +0100

    add completion status to the milestone models

commit 06b6a2a
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:41:54 2024 +0100

    fix card styling, error message

commit 4e58cf8
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 16:56:51 2024 +0100

    integrate milestone

commit 166c18f
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 15:44:20 2024 +0100

    get milestone loading right

commit 7db9480
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 11:10:51 2024 +0100

    adjust milestonegroup to backend data

commit e7709d5
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:53:32 2024 +0100

    make use of states

commit 84c3f17
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:03:59 2024 +0100

    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

commit d900c19
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 08:56:33 2024 +0100

    work on localization, add setup-await pattern to milestoneoverview

commit be2393d
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 15:30:24 2024 +0100

    make data a member of currentChild for now, start integrating backend calls

commit 2254332
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 14:51:20 2024 +0100

    merge add-childquestion_backend-integration until
    32304c9
MaHaWo added a commit that referenced this pull request Nov 15, 2024
* use runes mode for login, add missing localization

* make better use of stores

* work on refresh-login logic

* Squashed commit of the following:

commit 1e481ac
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:17:06 2024 +0100

    fix tests

commit 6079925
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 15:06:43 2024 +0000

    update openapi.json & openapi-ts client

commit d207bab
Merge: 4b4a7e7 1496a3a
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:05:52 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 4b4a7e7
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:42:41 2024 +0100

    adjust tests

commit 77ea2eb
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:24:26 2024 +0100

    fix backend error

commit 036f4ce
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:14:35 2024 +0000

    update openapi.json & openapi-ts client

commit 2f64c56
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:13:52 2024 +0000

    [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci

commit ef560b7
Merge: 8fad755 43bf1b3
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:13:26 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 8fad755
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:06:02 2024 +0100

    fix child data loading bug, adjust breadcrumb navigation

commit b6e1452
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 13:47:15 2024 +0100

    work on styling, change navigation to something hopefully more intuitive, make more use of localization

commit 3012086
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 19:00:06 2024 +0100

    adjust styling

commit eb136b3
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 14:38:56 2024 +0100

    simplify progress computation, include milestone completion feedback

commit efae46f
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 13:28:56 2024 +0100

    modify progress reporting to be only a userland feature

commit 1dd97f7
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:46:21 2024 +0100

    add completion status to the milestone models

commit 06b6a2a
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:41:54 2024 +0100

    fix card styling, error message

commit 4e58cf8
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 16:56:51 2024 +0100

    integrate milestone

commit 166c18f
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 15:44:20 2024 +0100

    get milestone loading right

commit 7db9480
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 11:10:51 2024 +0100

    adjust milestonegroup to backend data

commit e7709d5
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:53:32 2024 +0100

    make use of states

commit 84c3f17
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:03:59 2024 +0100

    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

commit d900c19
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 08:56:33 2024 +0100

    work on localization, add setup-await pattern to milestoneoverview

commit be2393d
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 15:30:24 2024 +0100

    make data a member of currentChild for now, start integrating backend calls

commit 2254332
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 14:51:20 2024 +0100

    merge add-childquestion_backend-integration until
    32304c9

* remove old userStore, remove separate adminstore, remove old basicStore, adjustments for convenience

* Squashed commit of the following:

commit 7c01dce
Merge: 7ac5c7b 4e2a2ec
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 13:39:39 2024 +0100

    Merge branch 'integrate-milestones-userland-with-backend' of github.com:ssciwr/mondey into integrate-milestones-userland-with-backend

commit 7ac5c7b
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 13:39:35 2024 +0100

    remove debug output

commit 4e2a2ec
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Thu Nov 14 12:39:35 2024 +0000

    update openapi.json & openapi-ts client

commit c9e4d97
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 13:38:11 2024 +0100

    put progress computation into frontend

commit 44100b0
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 12:59:41 2024 +0100

    fix styling issue

commit e233c63
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 12:47:22 2024 +0100

    remove searchByMilestone

commit 670bf04
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Thu Nov 14 09:39:33 2024 +0000

    update openapi.json & openapi-ts client

commit 02841be
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 10:38:46 2024 +0100

    work on layout

commit 109ec0e
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 10:04:29 2024 +0100

    use tailwind for making labels visible/invisible

commit 42d239c
Author: Harald Mack <[email protected]>
Date:   Thu Nov 14 10:03:21 2024 +0100

    correct merge error

commit 1e481ac
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:17:06 2024 +0100

    fix tests

commit 6079925
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 15:06:43 2024 +0000

    update openapi.json & openapi-ts client

commit d207bab
Merge: 4b4a7e7 1496a3a
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 16:05:52 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 4b4a7e7
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:42:41 2024 +0100

    adjust tests

commit 77ea2eb
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 15:24:26 2024 +0100

    fix backend error

commit 036f4ce
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:14:35 2024 +0000

    update openapi.json & openapi-ts client

commit 2f64c56
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date:   Wed Nov 13 13:13:52 2024 +0000

    [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci

commit ef560b7
Merge: 8fad755 43bf1b3
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:13:26 2024 +0100

    Merge branch 'main' into integrate-milestones-userland-with-backend

commit 8fad755
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 14:06:02 2024 +0100

    fix child data loading bug, adjust breadcrumb navigation

commit b6e1452
Author: Harald Mack <[email protected]>
Date:   Wed Nov 13 13:47:15 2024 +0100

    work on styling, change navigation to something hopefully more intuitive, make more use of localization

commit 3012086
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 19:00:06 2024 +0100

    adjust styling

commit eb136b3
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 14:38:56 2024 +0100

    simplify progress computation, include milestone completion feedback

commit efae46f
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 13:28:56 2024 +0100

    modify progress reporting to be only a userland feature

commit 1dd97f7
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:46:21 2024 +0100

    add completion status to the milestone models

commit 06b6a2a
Author: Harald Mack <[email protected]>
Date:   Tue Nov 12 11:41:54 2024 +0100

    fix card styling, error message

commit 4e58cf8
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 16:56:51 2024 +0100

    integrate milestone

commit 166c18f
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 15:44:20 2024 +0100

    get milestone loading right

commit 7db9480
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 11:10:51 2024 +0100

    adjust milestonegroup to backend data

commit e7709d5
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:53:32 2024 +0100

    make use of states

commit 84c3f17
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 09:03:59 2024 +0100

    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

commit d900c19
Author: Harald Mack <[email protected]>
Date:   Mon Nov 11 08:56:33 2024 +0100

    work on localization, add setup-await pattern to milestoneoverview

commit be2393d
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 15:30:24 2024 +0100

    make data a member of currentChild for now, start integrating backend calls

commit 2254332
Author: Harald Mack <[email protected]>
Date:   Fri Nov 8 14:51:20 2024 +0100

    merge add-childquestion_backend-integration until
    32304c9

* merge main

* work on removing svelte 5 deprecations and leftover debug output

* reduce usage of deprecated functionality

* undo some breaking changes

* remove svelte:component in carddisplay

* remove flowbite gallery

* use runes in gallerydisplay

* try to fix some code smells/typing issues

* use more svelte 5 features, correct minor mistakes and type issues

* activate more biome linter rules

* relax any and console rule

* work on gallerydisplay code issues

* work on code quality of carddisplay

* add type to util file

* allow forEach, console. log

* work on code quality

* work on fixing code quality issues uncovered by biome

* add nonempty block

* add better output

* adjust styling, codegen

* remove old tests that will be replaced with cypress tests in the future

* remove old backend stuff

* update openapi.json & openapi-ts client

* reorganize testable functionality  - most likely temporary

* fix comparison

* add functionality to frontpage button

* adjust styling of frontpagecard

* use more localization

* add corrections from review

* add missing locale checks

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

admin interface: option to remove/disable milestone images
3 participants