Issue inline editing
What does this MR do?
Moves the issue edit form for title & description inline. The other dropdown's (labels, milestones etc.) are already in the sidebar so they are not present in this inline form.
The user clicks the edit button in either desktop or mobile view & can then update the title, description, confidential status or move the issue to another project without having to navigate away from the page they are currently on.
If new data from the realtime endpoint is received after the title or description has been edited then a warning message is displaying asking the user to check the changes before saving. This warning box also contains a link to the issue that opens in a new window (follows the same behaviour as the current edit form).
Screenshots (if relevant)
What are the relevant issue numbers?
Closes #24873 (closed)
Merge request reports
Activity
added 1 commit
- e2323f5d - Added eventHub events to change the showForm value
added 5 commits
Toggle commit listadded 136 commits
-
6598a88c...e261b4b8 - 130 commits from branch
master
- 5d19bda4 - Issue inline editing
- 66539563 - Added eventHub events to change the showForm value
- 86700b97 - Added inline issue edit form actions
- 3bd37bc4 - Shows delete button if permissions are correct
- 3d553954 - Stop the polling before changing the location
- 47881254 - Moved json parsing out of service
Toggle commit list-
6598a88c...e261b4b8 - 130 commits from branch
added 6 commits
- e61ce83b - Issue inline edit title field
- 45c274da - Fixed form not sending correct data
- 14387b49 - for open.form event
- 36df19e7 - Stop passing through the store object
- 64e159ad - Created form component instead of using :is incorrectly
- a0f7ee43 - Merge branch 'issue-edit-inline-title-field' into 'issue-edit-inline'
Toggle commit listadded 69 commits
-
a0f7ee43...8b66e42b - 68 commits from branch
master
- 5f2b142b - Merge branch 'master' into issue-edit-inline
-
a0f7ee43...8b66e42b - 68 commits from branch
added 9 commits
- b1affe07 - Issue inline edit title field
- b5b5b4af - Added description field to inline edit form
- 7791d498 - Added accessibility data to description field
- aa6d92ae - Added sr-only to label for description
- 96a46521 - Added markdown docs link
- 86ab9edb - Merge branch 'issue-edit-inline' into issue-edit-inline-description-field
- f53d703f - Fixed else-if in description
- 9b93a3f2 - Use the tooltip mixin
- 4fcff0bf - Merge branch 'issue-edit-inline-description-field' into 'issue-edit-inline'
Toggle commit listadded 6 commits
- c4fea61f - Added inline confidential field
- 468afcaa - Merge branch 'issue-edit-inline' into issue-edit-inline-confidential
- 6dd2b4b9 - Added spec for window reload
- 2a934741 - Use dash instead of underscore
- 6963442d - Merge branch 'issue-edit-inline' into issue-edit-inline-confidential
- 81c69c28 - Merge branch 'issue-edit-inline-confidential' into 'issue-edit-inline'
Toggle commit listadded 5 commits
- f80d2ab3 - Added specs for description field
- 35b5ea0a - Merge branch 'issue-edit-inline' into issue-edit-inline-description-field-specs
- 6c34f5a2 - Added a test with markdown
- 203a94e3 - Merge branch 'issue-edit-inline' into issue-edit-inline-description-field-specs
- eee88bca - Merge branch 'issue-edit-inline-description-field-specs' into 'issue-edit-inline'
Toggle commit listadded 5 commits
Toggle commit listadded 6 commits
- 6a14a515 - Show warning if realtime data has changed since the form has opened
- 982ab870 - Added specs for testing when warning is visible
- 16243985 - Merge branch 'issue-edit-inline' into issue-edit-inline-locked-warning
- 59db8b2f - Removed role from link
- 95efe5b3 - Added test to check if warning is not visible
- 3f996024 - Merge branch 'issue-edit-inline-locked-warning' into 'issue-edit-inline'
Toggle commit listadded 11 commits
- efc9408f - Added description template selector
- 0820aab4 - Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
- 47e875ea - Added spec for rendering the selector
- f1b0b4a4 - Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
- 3301ca10 - Fixed up the template dropdown to correctly work
- 4f0849f2 - Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
- 7a21e26f - Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
- 17617a32 - Moved value into computed property
- 745ec1ac - added label to button
- 21205d1e - Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
- d853d821 - Merge branch 'issue-edit-inline-description-template' into 'issue-edit-inline'
Toggle commit listadded 2 commits
added 1 commit
- fd3750c6 - fixed bug with can? check when user is not logged in
added 536 commits
-
fd3750c6...6ece9792 - 534 commits from branch
master
- 2ef6172d - fixed spinach tests
- f452cb77 - Merge branch 'master' into issue-edit-inline
-
fd3750c6...6ece9792 - 534 commits from branch
@victorwu here is the issue inline edit merge request. Could you test it out & let me know of any issues you find? Thanks!
@iamphill : Looks great! Could you please also add in the description templates! Sorry they are not in the original issue. But the design should look exactly like the existing design when you edit an issue. I'll ping @dimitrieh again.
added 1 commit
- 0defc4f7 - fixed issuable templates dropdown not showing
added 4 commits
Toggle commit list@filipa can you look at this please? This is the final big merge request
assigned to @filipa
added 221 commits
-
5227ea5b...f47e86fe - 220 commits from branch
master
- 3465e1e5 - Merge branch 'master' into issue-edit-inline
-
5227ea5b...f47e86fe - 220 commits from branch
added 221 commits
-
5227ea5b...f47e86fe - 220 commits from branch
master
- 3465e1e5 - Merge branch 'master' into issue-edit-inline
-
5227ea5b...f47e86fe - 220 commits from branch
- Resolved by Phil Hughes
- Resolved by Phil Hughes
- Resolved by Filipa Lacerda
- Resolved by Phil Hughes
- Resolved by Phil Hughes
- Resolved by Phil Hughes
- Resolved by Phil Hughes
@iamphill overall LGTM
I left some comments regarding updating the store state directly through the main component, should we have methods to keep consistency?
Going to test locally in the meanwhile :)
@smcgivern can you please take a look at the ruby changes? Thanks!
@iamphill Tested locally and found:
- if I use the shortcut
e
it sends me to the old edit view, is that correct? - shortcut
cmd+shift+p
preview is empty
Love this feature
Edited by Filipa Lacerda- if I use the shortcut
assigned to @iamphill
@filipa addressed the comments & fixed the shortcuts bug
assigned to @smcgivern
- Resolved by Phil Hughes
- Resolved by username-removed-443319
assigned to @iamphill
assigned to @filipa
Code LGTM!
Just need to test it again :)@smcgivern are the Ruby changes good?
@filipa yep!
Thank you @iamphill
@iamphill Can you please check the ee job failing? :)
mentioned in commit 882a591d
mentioned in merge request !12106 (merged)
mentioned in issue #33598 (closed)
mentioned in issue #33798 (closed)
mentioned in issue #33735 (closed)