Migrate remaining legacy pages to Vue #168
Labels
No labels
Security
TeX
auto-update
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
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
source::aleksolotl
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
aleksis/AlekSIS-App-Tezor!168
Loading…
Reference in a new issue
No description provided.
Delete branch "migrate/vue"
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?
Information and screenshots
Checklist
tox -e reformat,lintusedapps.pyandREADME.rstup-to-dateBackend checklist
Frontend checklist (mandatory with ~"part::frontend")
WIP: Migrate remaining legacy pages to Vueto Migrate remaining legacy pages to Vue@ -0,0 +6,4 @@<c-r-u-d-provider:object-schema="{ type: 'PaymentClientType' }"disable-inline-edit> </c-r-u-d-provider>Please replace
> </c-r-u-d-provider>with
/>@ -0,0 +6,4 @@<c-r-u-d-provider:object-schema="{ type: 'InvoiceGroupType' }"disable-inline-edit> </c-r-u-d-provider>here as well
@ -5,0 +28,4 @@} from "./components/payment_variant/queries.graphql";export const paymentVariantObjectSchema = {type: "PaymentVariantType",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?
@ -141,3 +140,3 @@def get_absolute_url(self):return reverse("invoice_by_token", kwargs={"slug": self.token})return f"/o/invoice/{self.token}"this seems wrong, there is e.g. no app label in this url?
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
@hansegucker Take a look at
absoluteUrl: (group) => ({this is probably what you want to use
888bf81d32d281d71efd