Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.11 KB

EXAMPLE-PROMT.md

File metadata and controls

49 lines (32 loc) · 1.11 KB

plone todos

Note: use plonecli>=7.0.b10, not the current stable version!

Create a new plone addon "derico.todos", with the following features:

content types (CT's)

Todos

  • type: container
  • global addable: yes
  • no default behaviors activated
  • fields: []

Todo

  • type: item
  • global addable: no
  • parent: Todos
  • no default behaviors activated
  • fields:
    • name: priority, type: choice field with vocabulary (hight, normal, low), default: normal
    • name: done, type: boolean, default: False
    • name: description, type: RichText, required: False

views

Todos

name: view registration for CT: Todos purpose: lists todos and there status (done yes/no), allows filtering by status, show only open by default.

  • use pat-inject to update the todos when filter changes
  • allow adding todos from this view, use pat-modal for the add view without leaving the current context.

Todo

name: view registration for CT: Todo purpose: shows Todo details

The addon has to be translated into german.

Restapi

create a restapi service to show all todo infos on the todos list without calling single todos.