Paweljong doesn't appear in the frontend #62

Closed
opened 2024-04-26 00:56:44 +02:00 by ZugBahnHof · 5 comments
ZugBahnHof commented 2024-04-26 00:56:44 +02:00 (Migrated from edugit.org)

For some reason the frontend for paweljong is not included into django-vite-values.json even tho it seems to be recognized as an AlekSIS-App (e.g. it appears in the About section).

The reason for this seems to be different ways of finding AlekSIS-Apps. The About page uses the AppConfig which works flawlessly. The script for writing the vite values uses the entrypoint of the app packages using importlib.metadata. For some reason this didn't include paweljong, but every other installed app. After some comparing of files and directories I found the issue to be a (for some reason) missing line in the pyproject.toml.

How to fix it? → Include the line

For some reason the frontend for paweljong is not included into `django-vite-values.json` even tho it seems to be recognized as an AlekSIS-App (e.g. it appears in the `About` section). The reason for this seems to be different ways of finding AlekSIS-Apps. The `About` page uses the AppConfig which works flawlessly. The script for writing the vite values uses the entrypoint of the app packages using `importlib.metadata`. For some reason this didn't include paweljong, but every other installed app. After some comparing of files and directories I found the issue to be a (for some reason) missing line in the `pyproject.toml`. How to fix it? → Include the line
ZugBahnHof commented 2024-04-26 00:56:44 +02:00 (Migrated from edugit.org)

assigned to @leuckeju

assigned to @leuckeju
ZugBahnHof commented 2024-04-26 00:56:50 +02:00 (Migrated from edugit.org)

created branch 62-paweljong-doesn-t-appear-in-the-frontend to address this issue

created branch [`62-paweljong-doesn-t-appear-in-the-frontend`](/Teckids/hacknfun/AlekSIS-App-Paweljong/-/compare/master...62-paweljong-doesn-t-appear-in-the-frontend) to address this issue
ZugBahnHof commented 2024-04-26 00:56:58 +02:00 (Migrated from edugit.org)

mentioned in merge request !178

mentioned in merge request !178
ZugBahnHof commented 2024-04-26 01:22:41 +02:00 (Migrated from edugit.org)

mentioned in merge request !175

mentioned in merge request !175
nik commented 2024-05-02 16:38:57 +02:00 (Migrated from edugit.org)

mentioned in commit 25689950b8

mentioned in commit 25689950b8e098a2b4d201516b8affbb3f19f3bc
nik (Migrated from edugit.org) closed this issue 2024-05-02 16:38:58 +02:00
Sign in to join this conversation.
No labels
Doing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
teckids/AlekSIS-App-Paweljong#62
No description provided.