Turn text block into "Quick edit" block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Cecilia Vela Gurovic |
Bug Description
When learners work with templates that contain pre-defined text boxes, it will be beneficial when they don't have to enter edit mode to make their text additions. Instead, we are going to create a "Quick editing" functionality in the "Details" mode as a trial to see whether that functionality would be beneficial to the community.
The origin of the idea stems from templated portfolios where nurses need to provide a self assessment and peers provide a peer assessment. Peers can simply enter their text on the page whereas a nurse needs to go into edit mode and click the configure icon before they can make changes. That makes it impossible for them to see any instructions on the page once they are in the configuration modal and thus they need to go in and out of them editing text.
Instead of creating a new block type, the “Text” block type is revamped to support these new requirements and make it a versatile block to be used for other text purposes in the portfolio as well.
Characteristics of the block:
- The block can have instructions. When editing the block, the instructions are not immediately visible but hidden in a collapsible so that the content area is not too overwhelmed;
- Portfolio owner can add text directly on the page in details mode rather than needing to enter edit mode;
- When details mode is entered, portfolio owner sees the “Quick edit” option in the black bar that is shown at the top of a text block. They click “Quick edit” and the modal drawer is displayed from the right. A new function is created;
- The extra things, i.e. instructions, tags, and retractable option, go into an “Advanced” panel when configuring the block;
- In “Quick edit”, the instructions are displayed above the text box to be filled in like in the peer assessment block;
- Portfolio owner can save their content as draft first so it's only visible to them and then publish it once completed so others can view it. They can still make changes afterwards, but all these changes will be visible to others instantly while in draft mode, only they can see them. Once the content has been published, it cannot be set back to draft;
- It is still possible to edit text when opening the block in edit mode and clicking the “Configure block” icon, including draft and publish buttons.
- Things not taken over from the peer assessment block:
-- Notifications about assessment;
-- Profile picture and date stamp of assessment as it's the portfolio author's own page.
Note: Entering “Quick edit” via the details mode is chosen because one of the aims of Mahara 19.10 was to remove clutter from pages when they are viewed. That includes removing “Add comment” / “Details” links below artefacts that can have comments or have additional metadata. That information is still accessible via the details mode. When that mode is turned on, it is expected that work is to be done, e.g. commenting and reviewing comments.
Adding the “Quick” edit into the details bar is an extension of that and a way towards making editing of blocks faster than in the past as the details mode can stay turned on even when a page is refreshed and a viewer or portfolio author navigates to another page.
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
milestone: | none → 20.10.0 |
tags: | added: newfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/10732