Feature Wiki
Tabs
KS-Entry: Object Picker Radio
Description
Purpose
A form requires a specific repository object to be indicated: to set a realm of application, to point to an object, to be used as a copying template, to become a starting point or the like. The form element allows picking exactly one repository object.
Composition / Effect
The form element comprises of shy buttons and a Roundtrip Modal.
Rivals
unsure
Rules
Usage
The Picker is used in forms.
Interaction
Clicking a Select shy button triggers the picking workflow. A Modal displaying a the repository tree opens. User selects exactly one object. User clicks Save-Button saving the picked objects and closing the Modal) or Cancel-Button (aborting the workflow and closing the Modal). If the object was picked, the object is listed in the form next to a Remove shy button.
Style
Roundtrip Modal with repository tree (Dropdown if there are other options for links)
Responsiveness
it scales
Accessibility
Relations
Parents
- Complex Input Fields » Selector » ...
1 Discussion
2 History
A former repository picker proposal has been moved to: https://github.com/ILIAS-eLearning/ILIAS/pull/360.
This PullRequest was closed. A new PullRequest will open - Informations above.
- PHP Class:
- PHP Example:
- External Library:
- Status of Entry: To be revised
- Status of Implementation: to be implemented
- Description*:
- Purpose: A form requires a specific repository object to be indicated: to limit it' application, to point to it, to become a starting point or the like. The form might need none or exactly one repository object or may be able to use one or more objects.
- Composition:
- Effect: Picking a repository object from within a form is a workflow to be included in the form and take effect.
- Background:
- Feature Wiki Reference:
- Context*: Forms
- Rules:
- Usage: Repository Pickers MAY be used in Forms.
- Composition: The Indicator leads up to a "Select"-Link. The link calls uppon a Round Trip Modal, containing a tree representation with either clickable titles orcheckboxed entries. The Modal workflow is completed by either clicking the title of an object or clicking the "save"-Button. After selecting an object, the object's title is provided as a read-only entry in the form. If more than one object can be selected, "+-" Glyphs are presented to remove the object or add another one.
- Interaction:
Picking exactly One Object
- User clicks the "Select"-Link in the form.
- ILIAS calls a Roundtrip Modal presenting the repository tree.
- User selects the object by clicking on an object title (to pick one object).
- ILIAS closes the modal and inserts the selected object into the form.
Picking One or More Objects
- User clicks the "Select"-Link in the form.
- ILIAS calls a Roundtrip Modal presenting the repository tree.
- User checks all checkboxes to pick more than one object.
- User clicks "Save".
- ILIAS closes the modal and inserts the selected object into the form and adds "+-"-Glyphs.
- Relations:
- Is A:
- Must Use:
- May Use:
3 Discussion on former Article
Kiegel, Colin [kiegel] 2016-11-17: I support this request. However I suggest to remove the additional "label" suggested in the mockups, which is placed in front of the "Select" link. IMO this label is confusing because it looks like something was selected already.
Kiegel, Colin [kiegel] 2016-11-23: How does the repository picker relate to the dialogs for copying/moving/linking objects in the repository? Obviously these dialogs don't use overlays oposed to the repository picker from this request. Will it be a completely independent implementation or will the repository picker also allow non-overlay modes or share some code in another way with these dialogs?
Last edited: 10. Jan 2019, 11:08, Tödt, Alexandra [atoedt]