Configure people directory using a web browser
OSI asked for a tool to allow KarlAdmin to configure the People tool themselves without filing tickets for developers to implement the changes and schedule a software update. http://
Blueprint information
- Status:
- Started
- Approver:
- Nat Katin-Borland
- Priority:
- Medium
- Drafter:
- Paul Everitt
- Direction:
- Needs approval
- Assignee:
- Tres Seaver
- Definition:
- Review
- Series goal:
- None
- Implementation:
- Beta Available
- Milestone target:
- m49
- Started by
- Paul Everitt
- Completed by
Whiteboard
Phase 1
-------
- [X] Branch both the buildout and src/karl.
- [X] Refactor the code to make objects under '/people' easier to manage
as content.
* Expose categories and items.
* Prefer items to attributes such as. 'reports', 'columns'.
* Expose report filters.
- [X] Morph the 'bin/peopleconf' scrtipt to support high-fidelity
dump and reload of /people.
* Must be able to dump both old-style and new-style trees
* Load only new-style.
* Now does a clean round-trip, with the current version checked in as
- [X] Expose the "dump" portion as a URL, '/people/
- [X] Add crude admin UI which allows uploading an edited version of the XML.
Phase 2
-------
- [X] Add views to allow adding / editing categories (Will)
- [X] Add views to allow adding / editing category items (Will)
- [X] Add views to allow adding / editing sections (Will)
- [X] Add views to allow adding / editing section columns (Will)
- [X] Add views to allow adding / editing report groups (Will)
- [X] Add views to allow adding / editing reports (Will)
- [X] Add views to allow adding / editing report filters (Will)
- [X] Add "admin" view showing contents.
* For each item, include a selection checkbox.
* For each item, include a link to its admin and edit view.
* Include a link to the admin view of the parent.
* Include "edit" in actions.
* Include appropriate "add" actions.
* Make "delete" work for selected items (Will).
* Make "move up" and "move down" work for selected items (Will).
- [X] Make column width tweakable.
* Add 'width' field to section column model (Will).
* Make the 'people_section' template respect any width set on
a column (Will).
* Ensure that non-columns still render appropriately (Will).
Phase 3
-------
- [_] Replace the selection box + "Delete" button mode for deleting items
with a "Delete" action.
- [_] In the report edit view, work out a better UI for selecting and
ordering columns based on the known allowed values.
- [_] In the add view for report filters, work out how to validate / pick
the ``__name__`` for a report filter against the list of known
categories.
* Can we refresh the values list based on the selected category,
even before adding the filter?
- [_] In the edit view for report filters, work out how to validate / pick
the ``values`` based on the list of category items in the category
corresponding to the filter's ``__name__``.