creecros / metamagik Goto Github PK
View Code? Open in Web Editor NEWCustom Fields for Kanboard - Plugin MetaMagik
License: MIT License
Custom Fields for Kanboard - Plugin MetaMagik
License: MIT License
Hi creecros!
Tks for your super plugin / it allows to tune the kanboard just for me.
However I wonder why the plugin doesn't allow to use not just a DATE but DATE+TIME field (like a "due date" for a task)?
I tried to modify the field type in the DB directly but in this case I can's see the modified field in the task view at all :-(
If by chance you can add this feature to your plugin it would extend our practice :-)
Thanks anyway for your time & knowledge!
If I create two or more non-global custom fields of the same name, they show up multiple times in the task summary. It seems to be alright on the edit task part.
In my particular case, I have the DCP field that is associated with the projects 20 and 24. They are declared in the settings part of kanboard :
If I fill this field in any task, it ends up showing up twice :
Considering that I will definitely use this field for upcoming projects, it's gonna add up each time I will associate it to additional projects...
I think the bug could be fixed somewhere around the task template/custom field loop but I am no PHP fluent enough to do it on my own.
I was thinking how to manage the export.
Currently Kanboard export feature saves all TAGs into a single CSV cell with comma separated values, so it's very hard to group them using Excel filters.
For Metadata I was thinking to extend the current export table with a column for each metakey.
If Metaval <> empty then it's populated, otherwhise a "null" value is inserted so the CSV is respected.
What do you think ?
I forgot to fix this, putting on my to do list for next release.
For now, just don't use spaces in field names.
We can see custom fields in a csv export, but if we import a csv , it seems that we are not able to specify those fields in our csv.
Do you think it's possible for you to do that?
Thanks a lot for this plugin btw !
Some strings are not translatable i.e.:
MetaMagik/Template/config/metadata_types.php
Lines 40 to 43 in b127457
Can you please help how to reference a tasks's custom field in an automatic action? I would like to use a custom field to be involved in the task title. Thanks in advance!
Filters work now
find tasks that have meta field name = metakey:name
find tasks that have value in any key = metaval:value
want to improve by adding more filters, i.e. find task with value in a certain key, and no, metakey: name metaval:value combined won't work the way i currently have them setup. I know what needs to be done, i'll get to it.
Hi,
when i move a Task to another swimlane in the project the contents of my custom field get lost. I can re-fill the information, so the field itself is available, but all contents seem to vanish.
Thanks in advance.
Greets,
Sebastian.
Please add support for date time field
the latest version can't work with new task, my enviroments:
Application version: v1.2.10
PHP version: 7.3.6
PHP SAPI: fpm-fcgi
HTTP Client: cURL
OS version: Linux 4.15.0-52-generic
Database driver: mysql
Database version: 5.7.26-29-log
when I create new task, the custom column will no display; logs output
PHP message: PHP Notice: Undefined index: id in /var/www/app/plugins/MetaMagik/Helper/MetaHelper.php on line 82"
PHP message: PHP Notice: Undefined index: id in /var/www/app/plugins/MetaMagik/Helper/MetaHelper.php on line 82"
PHP message: PHP Notice: Undefined index: id in /var/www/app/plugins/MetaMagik/Helper/MetaHelper.php on line 82"
2019/06/30 03:14:25 [error] 14#14: *2 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: id in /var/www/app/plugins/MetaMagik/Helper/MetaHelper.php on line 82PHP message: PHP Notice: Undefined index: id in /var/www/app/plugins/MetaMagik/Helper/MetaHelper.php on line 82PHP message: PHP Notice: Undefined index: id in /var/www/app/plugins/MetaMagik/Helper/MetaHelper.php on line 82" while reading response header from upstream, client: 172.18.0.38, server: localhost, request: "GET /?controller=TaskCreationController&action=show&project_id=1&column_id=1&swimlane_id=1 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "www.example.com"
Notice that fields aren't updating from settings panel to the form, until the modification panel is opened for a second time. Need to debug.
Hey,
I just saw your plugin and added it to the readme of the original version.
Thanks for the credits and the great improvements :)
Thanks a lot for this incredible plugin !
It could be great to be able to add "textarea" type field with MD support, the standard "text" field is quiete short and not readable friendly for long text.
Maybe also add a size="..." or maxlength="..." in form attribute for text field to limit size of text in form to be equal with the DB size limit
Best regards,
Robin
Hello creecros, updating to the latest version from the plugin directory, it returns me not found plugin.
Hello, would like know if is possible create a new task ,try to show or hide custom fields by filtering through different swimlanes.
I think could a good suggest.
Thanks.
Hi I just found out that when creating custom fields, the name of that field seems not supporting Chinese characters, as when I set the name in Chinese, it will not show up neither in management page nor in card.
I am not sure if this only happens to Chinese or it happens to all non-latin characters.
I had installed the metamagik plugin in my kanboard
According to the document, I had typed the metakey:"xx" on my filter bar, it seems not working, all the cards are displayed.
same for metaval.
Kanboard 1.2.18
MetaMagik 1.4.9
I have this strange problem, after installing MetaMagik and playing around for a while (creating extra fields for some projects) I cannot create new tasks to any project -- either it has or not extra metadata.
The only solution i found was to uninstall MetaMagik :-(
When installing back, i get the same issue again.
For clarity, when i say "impossible to create tasks" that means that the Save button on the creation pop-up does not work: after clicking on it it gets grey for a little and then blue again. I have to Escape in order to go back to the board view where a message on the upper left corner says Impossible to create this task, and disappears after a couple of seconds.
Any help?
First off all, thank you a lot for this awesome plugin !
I was wondering if it could be possible, as an improvement, to be able to edit a custom field.
I understand that changing it type or options might be impossible, but maybe the other properties might be possible to edit ?
It would be nice to be able to change some properties without loosing everything.
Anyway, thank you for your time, have a good day !
Hi. Im complete noob, not develeloper, but enthusiast.
I was looking for a good Kanban, Kanboard was the best Open Source by far. Im still playing.
Found that Custom Fields is a great option to add some info that I need/want to keep tracking.
But I saw some captures, where theres a sign of dollar, like this:
Thats juts what I need, and would like to ask how can I do that.
Can someone explain?
Thanks in advance!
When I try to add a dropdown list as a "required" field it does not seem to mark it as required in the task creation. The dropdown list doesn't have the red * the signifies it as required and the task is allowed to be created with the field blank.
Is this a larger issue with Kanboard where dropdown lists aren't allowed to be required?
A user with a "Project Viewer" role can edit or remove metadata in the board view and in the task view.
Is this a normal behavior?
My opinion is that a viewer user should not have any possibility of modification.
Hello,
How can i add a more readable text for my custom field? For me it's no a problem, but users tend to dislike name_like_this.
Hi,
I created a Meta-Field which I update in the Project->Task-View.
There is no Webhook event when I save the change.
Is this working as designed?
Could this be adjusted?
Regards
markus
Thanks for giving us a hint on how to use the DB field inside MetaMagik:
tablename, keycolumn, valuecolumn
By making keycolumn the SAME as valuecolumn I can now list out all values in that column :)
But it does not seem to work if the two column names are DIFFERENT :(
Can you please explain when we can use different column names ?
May be we can select only certain values instead of all values in a column ?
Thanks for your help.
This references Closed Issue #29
Yeah, that's a tricky one, you can break things if you get it wrong.
groups,name,name
Would give you a drop down of all groups.
Now, if I have to edit fields (their properties), I have to edit them in SQL.
An option to edit them in the settings would pe superb.
Thanks!
started adding types:
text
radio group
dropdown list
checkboxes
Need to add:
checkbox
radio
bugged:
checkboxes - stores an array of options, so i need to account for that.
Hello,
Will it be possible to send values for custom fields when creating new tasks with the provided API procedures?
thanks,
how we can get metadata key and values?
After playing with this, I determined, it is beyond my capabilities to easily hook this to Task Creation/Modification. Why? A lot of reasons, but mainly, once you open the task edit modal, you are playing with Task Table and Task related controllers. I don't know how to build relationships in the TaskModels to a dynamic set of Key's that could exist in the Metadata Table. Simply put, once you hit "Save", I have no idea how to update the values for the Metadata since it doesn't exist in the TaskModel. Pretty sure there is another solution, or even a better one, but I am just a novice here to be honest.
Solution would be to hook to task layout, just above "Description" and use a seperate Modal to edit metadata. This would be similiar to curren plugin, but i would add it to the main layout when you view a task, and it would be editable via a Modal, like how "Edit Task" currently is.
Originally posted by @tjdm007 in #10 (comment)
Hi, my suggestion for this plugin would be to add more kind of fields, like:
I am trying to search for specific boards using the filters but the result is not as expected. Example:
If I search for metaval:"A" then A1B1 board shows and A board shows; I was expecting that only A board showed up;
If I search for metaval:"B1" then A1B1 board shows and nothing else; works as expected;
If I search for metaval:"C" then all boards show; I was expecting nothing to show.
I am using Kanboard v 1.2.22.
After proper installation of MetaMagik v1.4.4 through the Extensions GUI, I am able to create and put values in custom fields.
However, in the Board view, the tooltip is not visible and therefore does not allow to quickly see values.
See screenshot showing that the value for custom field "Montant" is set:
See screenshot showing that the tooltip is not available:
Thanks for your help
Currently only Kanboard admins can add new meta fields, and when admin do so, all projects's tasks are affected.
I think that a Project Owner should have the same functionality but "project wide" only, in this way only his project's tasks are affected.
So basically you can have:
=> Application wide task's metadata
=> Project wide task's metadata
Please note that it's always about tasks's metadata that I'm referring to, not project's metadata or user's metadata
I don't know if you agree with my vision, but an empty metaval can be considered as not to be saved, so it can be deleted from the database.
Please note that I consider 0 (zero) as non-empty
If I create a metakey with name "Value" and don't enter it, for each task edited/created the empty value is also created in the database, but maybe it should not be.
Let me know your view
it would be great, ordering the metadata in the task
Name is latin only. How about caption with custom utf string?
Hi
Is it possible to create metadata only for the subtasks? So that they show up in the sub task panels/edits?
thanks
Hi,
I downloaded Metamagik plugin for creating custom fields and this plugin works, however there is an issue with the "required" fields for creating task.
While creating custom fields, there was a checkbox called "required" and I believe that if the custom fields are having the "required"check box checked, then it will become a mandatory field while creating a task. This mandatory field check doesn't work and we can create a task without filling an data in the custom fields
.
Hi there,
I'm using Kanboard 1.2.10 with Metamagik 1.3.
Repro :
I've restarted php-fpm and nginx on my server (just in case) to no avail.
Hope that helps.
Cheers /jerome
Actual behavior
If we have required fields enabled for task creation and one is left empty once the Save button is pressed all the fields are empty afterwards.
Expected behavior:
If a required field is left empty and the SAVE button is pressed , the rest of the custom fields should keep the old values.
are the custom fields available thru the api for inserts/read?
I have a dropdown field called "Category" with the options government, semi-government and local. For example a task has been created with the meta field " Category" with the option selected Government. Now when I am going to duplicate the task to another project , no options are being shown in dropdown during the duplication procedure pop up. But after the task is duplicated, the meta dropdown field options can be found in the edit task panel.
This is not an issue but a feature suggestion: add an option to make a field visible on the front of the card, as it is done in the "Custom fields" feature of Trello, see below example:
This option could be activated/deactivated for each field.
It would be really useful, e.g. to turn KB into a CRM in which we can see the cost of each opportunity.
Many thanks to consider this feature.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.