Cards are going to be represented as WordPress posts, effectively using the post’s title to describe the task to be done. The list below is the same, but for the Kanban cards. For example either a) deleting a column means deleting everything under that column or b) “soft” deleting by perhaps renaming the cards under it as _del_, so you can undelete them in the future. It will be up to you to decide how to implement this delete. By doing this you will effectively “orphan” the cards under that column. This simply deletes the category corresponding to the column. WordPress API Resource: Delete a category This will change the corresponding category’s description to add the new capacity number. This will simply change the category name. change_col_name(oldname:string, newname:string)Ĭhange the name of a Kanban column from oldname to newname.This will create a new category, and then add the capacity integer number to the category description. WordPress API Resource: Create a new category In the latter case, the real cause can be found within the JSON response object, but in general, no real error-control will be provisioned for the proof-of-concept prototype.Ĭreate a new Kanban column named cname with an integer number cap representing capacity. However, all functions will return true or false to signify if the operation was completed successfully or if something went wrong. This list does not document any return values, since for this prototype the JSON response object from WordPress will suffice. Columns are going to be represented as WordPress categories, and their capacity number is going to be added in the category description. The list below documents the functions that will manipulate the Kanban columns, along with their parameter types. There is no doubt that new and challenging problems will arise once the actual implementation of the prototype begins, but the following drafts are enough for us to start with! Kanban Columns API The functions are extrapolated from the two main functionalities listed previously, and the WordPress assets mapping of columns to categories and cards to posts. Moving a card from a column to another means simply changing the corresponding category of the post.įollowing the “iterate early and often” idea of rapid prototyping, the Kanban APIs presented below are merely drafts.Kanban cards as posts that are assigned to a category.Column capacities can be placed as integer numbers in category descriptions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |