Finalise Vuetify app as SPA #759
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-Core#759
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We want to turn AlekSIS frontend into an SPA finally. To do so, we need to find a way to still incorporate legacy views.
The rough plan is:
TODOS:
LegacyBaseComponentAleksisVuepluginwindow.app?require, maybe do not useApolloQuerytoo much)person.secondaryImageUrlpassed fromPersonOverviewis null)changed due date to December 16, 2022
assigned to @yuha
added #760 as child task
added #761 as child task
added #762 as child task
added #763 as child task
added #764 as child task
created branch
759-finalise-vuetify-app-as-spato address this issuementioned in merge request !2768
mentioned in merge request !2769
mentioned in issue #766
changed the description
marked the checklist item end Impersonation in account menu as completed
marked the checklist item Nicer 404 as completed
marked the checklist item faulty login URLs as completed
marked the checklist item anonymous user graphQL errors and faulty message when not logged in as completed
changed the description
marked the checklist item Importing of messages does not work for vite production mode (since imports directories resulting from virtual modules are not evaluated properly in messages.js) as completed
marked the checklist item basic SW fixes as completed
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description
marked the checklist item change whoAmI resolver (DummyPerson when admin and no Person)/change handling of null whoAmI response (@yuha) as completed
changed the description
marked the checklist item Test progress page (@hansegucker) as completed
changed the description
changed the description
changed the description
changed the description
marked the checklist item Check translations (en and de, @hansegucker) as completed
marked the checklist item External links are opened within iframe as completed
marked the checklist item Find and define a clean way to set page titles in components as completed
changed the description
changed the description
marked the checklist item Admin has Login- and SignUp-Button, despite being logged in or having signup disabled, due to reliance on permissions/rules only (the permission check for an admin is always true) as completed
marked the checklist item show user if offline (@yuha) as completed
marked the checklist item reconsider handling of graphql errors when network connection is lost (ping query?) (@yuha) as completed
created branch
759-finalise-vuetify-app-as-spa-2to address this issuechanged the description
changed the description
changed the description
changed the description
marked the checklist item Factor out Apollo configuration, utility code, etc. into separate files as completed
marked the checklist item Factor out local GraphQL definitions into separate file as completed
marked the checklist item Everything that is specific to legacy pages is in
LegacyBaseComponentas completedmarked the checklist item All utility code offered to components is in the
AleksisVueplugin as completedmarked the checklist item Most important encapsulations: as completed
changed the description
changed the description
changed the description
changed the description
marked the checklist item Can we get rid of
window.app? as completedmarked the checklist item Refetch/Invalidate all querys (like whoAmI etc.) on login/logout/impersonate (@yuha) as completed
marked the checklist item Purge Apollo cache completely! as completed
marked the checklist item Change wording of legacy offline fallback page (to include sites that are not designated to be cached, e.g. forms) as completed
changed the description
marked the checklist item Pass GraphQL endpoint from Django as completed
changed the description
changed the description
marked the checklist item Fix query importing (do not use
require, maybe do not useApolloQuerytoo much) as completedmarked the checklist item Fix query importing (do not use
require, maybe do not useApolloQuerytoo much) as incompletemarked the checklist item Fix query importing (do not use
require, maybe do not useApolloQuerytoo much) as completedmarked the checklist item add revisioning to additional precache paths as completed
Opening AlekSIS (localhost:8000) throws some errors in the console, but the login page loads successfully.
My admin account without a person has the menu entry "Account", which links to
/person, whichs shows an empty page (except for theYour administrator account is not linked to any person. Therefore, a dummy person has been linked to your account.message).Trying to open
Data checksresults in the following server-side error:Additional infos, that may be related to that: I ran
makemigrations(andmigrate) which created the following migrations:Installation following the admin manual:
Needs Debian Bookworm -> Python version in uwsgi config has to be changed
Some scripts are loaded via https, even when accessing the site via http
Links to static files in manifest are broken
marked the checklist item Test regular deployment steps and update handbook as completed
marked the checklist item Test dev environment setup steps and update handbook as completed
changed the description
marked the checklist item Fix type error in Additional Image (if
person.secondaryImageUrlpassed fromPersonOverviewis null) as completedmarked the checklist item Fix type errors in SideNav as completed
changed the description
marked the checklist item Person page without data given (e. g. when offline & data not cached) is completely empty without any information as completed
marked the checklist item Test Sentry integration as completed
marked the checklist item Test Docker build as completed
marked the checklist item Test with Alsijil: Messages, Course book (@yuha) as completed
marked the checklist item Tests as completed
mentioned in commit
adc31fbaaa