Implement editing of elements in the app
Open, NormalPublic

Description

  • make fields on the details pages editable, possibly only after a dedicated action is triggered
  • add a save action that re-assembles the element and sends it back to ReservationManager for saving
  • needs the reservation ID for saving (see T8778)
vkrause created this task.May 22 2018, 5:46 PM
vkrause triaged this task as Normal priority.

I had a quick chat with notmart about this (without going into much detail) and this is the outcome:

[13:51] <notmart> einar77_work: you wrap the setdata to make it accessible from qml, then just call it
[13:51] <notmart> from kile, a text field that appears on the delegate or something
[13:52] <notmart> so your delegate would need 2 states, just labels when normal, and swap between labels and text fields or whatever you need to edit on edit
[13:52] <einar77_work> notmart: thanks, very helpful
[13:52] * einar77_work saves
[13:52] <notmart> maybe the edit ui in a loader so is not instantiated all the time
[13:52] <einar77_work> it already uses a loader
[13:52] <notmart> but no, i can't think atm of an existing app that's doing that

vkrause moved this task from Actionable to In Progress on the KDE Itinerary board.Jun 30 2018, 2:12 PM

Implemented for a few examples as proof-of-concept, however I'm missing a Kirigami date/time picker control to see how well this works for date/time values with timezones (which JS doesn't support but which is kinda important for us).

Suspended until we have the date/time editing solved.

vkrause moved this task from In Progress to Ideas on the KDE Itinerary board.Aug 24 2018, 3:28 PM
vkrause moved this task from Ideas to Done on the KDE Itinerary board.Aug 19 2023, 1:45 PM