•  
     
    story #13629 Update the title semantic of a card
Summary
taskboard user
Update the title semantic of a card
I can change the title and better describe my task or user story.

Functional overview

I can edit in place the title semantic of a card (String or Text field)

Technical overview

We will be reusing the existing REST route: PUT /artifacts/:id as it already enables us to update only a subset of fields.

Notes on edit in place of Title

When the Title semantic is set on a Text field, the card does not display any style (html tags). When I try to edit in place that Title, the "HTML" format is kept but I will lose all tags and formatting (if any). The edit in place only deals with text content (even in HTML format).

Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#13629
Joris MASSON (jmasson)
2019-12-03 17:30
2019-07-12 13:58
14988

References
Referencing story #13629

Git commit

tuleap/tuleap/stable

Use custom made icon for taskboard fdc4454287
No need to display the pencil in edit mode 63b595cfb0
Refactoring: split card.scss 0e67d439e6
Dispplay pencil icon on card 1d3f5b6545
Refactoring: Use slots instead of CardMixin 0010627a6d
Decrease size of generated css b87a4dc2c7
Switch to edit mode a86313584e
Fix card colors 00fb0267b1
Fix usage of VueJS slots 350d6714eb
Esc key cancels the edition of the card 90757bf902
Fix card color when in edit mode f6bb8adcc3
Display textarea to edit label 678488bf18
Prevent cards in edit mode to be dragged fa482d287a
UI to save the new label c945daf758
Inject semantic title tracker id in tracker mappings f9829ea106
Fix "autogrow" of textarea a0535030aa
Add missing readonly on payloads properties 450e1daeee
Better card UI 8ca4102971
All elements of a card in edit (except remaining effort) should be $tlp-themecolor bae4fb673c
Click on xref does not switch to edit mode: we should only click on the pencil dc194c4169
Extract setting of default properties in dedicated function 5dbeedc9d0
Do not suggest/allow edition of label if user doesn't have sufficient rights for the cards e341341292
Do REST call on save 6697809128
Add missing tests for BaseCard .taskboard-card-editable 1145b09c4f
Fix pencil colors a10a7a0d02
Save text fields as text format 10a0de0dfa
String field should not receive linebreaks 37032c4f77

Follow-ups

User avatar
Joris MASSON (jmasson)2019-12-03 17:28
Real-time update was split and is now story #14251 have Real-time update

  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2019-11-14 10:27
The story is split. story #14115 for the remaining effort, story #14151 for the assigned-to semantic. This story becomes the edit of the title semantic.

  • I want to
    -Edit in place a subset of card fields 
    +Update the title semantic of a card 
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • As a
    -cardwall user 
    +taskboard user 
User avatar
Joris MASSON (jmasson)2019-10-11 17:01
Updated ACs. The realtime part of this story is split and will be done at a later time.

  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2019-07-18 17:00
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2019-07-18 14:41
Update following estimation. The AC now include defining the realtime events mechanism

  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes