[Tiki-devel] Kanban modifications and modal editing

Torsten Fabricius via TikiWiki-devel <[email protected]> Thu, 2 Nov 2023 03:42:34 +0100
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Dear Devs,

I need Tiki's kanban function for a private project in a small team.
In general it works, but there are a few downsides, that I try to fix 
with so far limited success.

_* Opening Tracker items as modal from Kanban canvas

_*The first issue* is, that on editing, a kanban-tracker-item (a task) 
will not open in a modal (popup), but in a new page. Thus the wikipage 
with the Kanban reloads to a Tracker and after editing the tracker item 
the user needs several clicks to get back to the Kanban canvas/wikipage.

I have no idea how to get the Tracker to open in a modal or similar ... 
ideally in a view-mode to view additional information and an edit-mode 
to enter additional information.
*
*_* Adding additional fields to the Kanban cards_*

**The second issue* is, that the information stored and displayed in the 
Kanban cards is very limited and needs to be extended ... maybe 
individually coded by an admin/developer or in future with a dialogue in 
the frontend.

The standart Kanban card has a title (textfield) and a description 
(textarea) and that's all.
It would be useful to be able to add fields for due dates or allocated 
users or relations to other tasks etcetera.
It would be aswell useful to be able to deside wether those extra fields 
would be visible in the card or only in the modal (like "read more"-ish).
It would be also ok to show the full card content in a specified area at 
the left or right edge of the browser.

If somebody familiar with the Kanban plugin could explain to me how to 
figure out the addition by local hardcoding, I would like to document 
where and how.
I doubt, that I alone have the knowledge to extend the feature in the 
described way.
all hints are welcome and appreciated.

So far I found, that the relevant files related to the WikiPluginKanban 
seem to be in the following places:

tiki/templates/wiki-plugins/wikiplugin_kanban.tpl
tiki/lib/wiki-plugins/wikiplugin_kanban.php
tiki/lib/vue-mf/kanban/...

I tried to add fields in 
_/tiki/templates/wiki-plugins/wikiplugin_kanban.tpl/_, but did not find 
a spot in there.
In _/tiki/lib/wiki-plugins/wikiplugin_kanban.php/_ I found a number of 
places, where I copied and renamed code of the existing description 
field and the same I did in 
_/tiki/lib/vue-mf/kanban/src/components/KanbanCards.vue/_ ._/

/_Up to now, no changes had any effect to the frontend (wikiplugin on 
wikipage) and I figured out, that there seem to be certain minified 
files in place, which might kind of "neutralize" my changes.

In case s.b. wants to test and play with the kanban plugin in general, 
there is a useful kanban Profile, that applies a working example in just 
a few seconds.

Any pointer is appreciated, thx for help.

Best regards,
Torsten

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel