Migrate remaining legacy pages to Vue #168

Merged
hansegucker merged 8 commits from migrate/vue into master 2026-09-15 12:59:24 +02:00
Owner

Information and screenshots

image

image

image

Checklist

  • tox -e reformat,lint used
  • Changelog updated/No update necessary
  • Documentation (incl. Screenshots) up-to-date
  • Copyright in apps.py and README.rst up-to-date
  • (Unit) tests for new feature/regression tests for bug fixes (only if useful)
  • Adhere to URL scheme
  • Tested with admin account
  • Tested with normal account (based on permissions)

Backend checklist

  • Use permissions for all GraphQL mutations
  • Use query optimizer for all GraphQL queries
  • Don't use inefficient DB queries

Frontend checklist (mandatory with ~"part::frontend")

## Information and screenshots ![image](/attachments/db066992-e4c6-43b0-9c1f-86e140e29421) ![image](/attachments/1f57b1ce-a96e-4556-959d-891afd003f95) ![image](/attachments/dc43814f-ccd7-4df3-a5e4-4005b7639475) ## Checklist - [x] `tox -e reformat,lint` used - [x] Changelog updated/No update necessary - [ ] Documentation (incl. Screenshots) up-to-date - [x] Copyright in `apps.py` and `README.rst` up-to-date - [ ] (Unit) tests for new feature/regression tests for bug fixes (only if useful) - [x] Adhere to [URL scheme](https://code.teckids.org/aleksis/aleksis/issues/86) - [x] Tested with admin account - [x] Tested with normal account (based on permissions) ## Backend checklist - [x] Use permissions for all GraphQL mutations - [x] Use query optimizer for all GraphQL queries - [x] Don't use inefficient DB queries ## Frontend checklist (mandatory with ~"part::frontend") - [x] Screenshots are attached (mobile and desktop) - [x] Tested on mobile, tablet, and desktop sizes - [x] Adhered to [frontend guidelines](hhttps://code.teckids.org/aleksis/AlekSIS/src/branch/master/project/frontend_guidelines.rst) - [ ] Checked with [Firefox Accessibility Checker](https://firefox-source-docs.mozilla.org/devtools-user/accessibility_inspector/)
Migrate invoice groups to vue
Some checks failed
CI / lock (push) Successful in 40s
CI / test (push) Failing after 2m3s
CI / lint (push) Successful in 2m31s
CI / tests-done (push) Failing after 2s
CI / build (push) Successful in 2m51s
CI / publish (push) Has been skipped
0356c2e202
Migrate payment variants to Vue frontend
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / tests-done (push) Has been cancelled
CI / build (push) Has been cancelled
CI / publish (push) Has been cancelled
CI / lock (push) Has been cancelled
8579a51202
Update copyright
All checks were successful
CI / lock (push) Successful in 29s
CI / lint (push) Successful in 1m8s
CI / build (push) Successful in 1m11s
CI / test (push) Successful in 1m50s
CI / tests-done (push) Successful in 2s
CI / publish (push) Successful in 16s
9bc4654e8f
Update changelog
Some checks failed
CI / lock (push) Successful in 40s
CI / test (push) Failing after 3m19s
CI / lint (push) Successful in 3m38s
CI / tests-done (push) Failing after 1s
CI / build (push) Successful in 3m49s
CI / publish (push) Has been skipped
acceeb6f0d
hansegucker changed title from WIP: Migrate remaining legacy pages to Vue to Migrate remaining legacy pages to Vue 2026-09-05 18:11:03 +02:00
@ -0,0 +6,4 @@
<c-r-u-d-provider
:object-schema="{ type: 'PaymentClientType' }"
disable-inline-edit
> </c-r-u-d-provider>
Member

Please replace
> </c-r-u-d-provider>
with />

Please replace ` > </c-r-u-d-provider> ` with `/>`
hansegucker marked this conversation as resolved
@ -0,0 +6,4 @@
<c-r-u-d-provider
:object-schema="{ type: 'InvoiceGroupType' }"
disable-inline-edit
> </c-r-u-d-provider>
Member

here as well

here as well
hansegucker marked this conversation as resolved
@ -5,0 +28,4 @@
} from "./components/payment_variant/queries.graphql";
export const paymentVariantObjectSchema = {
type: "PaymentVariantType",
Member

It might be that you need something like aleksis/AlekSIS-Core#3950/files after the recent core changes, but maybe not, did you test this with a recent enough core?

It might be that you need something like https://code.teckids.org/aleksis/AlekSIS-Core/pulls/3950/files after the recent core changes, but maybe not, did you test this with a recent enough core?
hansegucker marked this conversation as resolved
@ -141,3 +140,3 @@
def get_absolute_url(self):
return reverse("invoice_by_token", kwargs={"slug": self.token})
return f"/o/invoice/{self.token}"
Member

this seems wrong, there is e.g. no app label in this url?

this seems wrong, there is e.g. no app label in this url?
Member

btw, if you need this url in the frontend, there is now a field for this in the objectschema, which will automatically add a link in the action column of a crudlist

btw, if you need this url in the frontend, there is now a field for this in the objectschema, which will automatically add a link in the action column of a crudlist
Member

@hansegucker Take a look at

this is probably what you want to use

@hansegucker Take a look at https://code.teckids.org/aleksis/AlekSIS-Core/src/commit/6ca7b3331d5a9a5ca16a3f28f14661cdfa32dfa3/aleksis/core/frontend/objectSchemas.js#L589 this is probably what you want to use
hansegucker marked this conversation as resolved
Fix things from review
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / tests-done (push) Has been cancelled
CI / build (push) Has been cancelled
CI / publish (push) Has been cancelled
CI / lock (push) Has been cancelled
888bf81d32
hansegucker force-pushed migrate/vue from 888bf81d32
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / tests-done (push) Has been cancelled
CI / build (push) Has been cancelled
CI / publish (push) Has been cancelled
CI / lock (push) Has been cancelled
to d281d71efd
Some checks failed
CI / lock (push) Successful in 30s
CI / build (push) Failing after 1m20s
CI / lint (push) Successful in 1m36s
CI / test (push) Successful in 2m39s
CI / tests-done (push) Successful in 3s
CI / publish (push) Has been skipped
2026-09-15 12:56:02 +02:00
Compare
hansegucker scheduled this pull request to auto merge when all checks succeed 2026-09-15 12:57:12 +02:00
hansegucker deleted branch migrate/vue 2026-09-15 12:59:24 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
aleksis/AlekSIS-App-Tezor!168
No description provided.