Skip to content
Snippets Groups Projects

Issue inline editing

Merged Phil Hughes requested to merge issue-edit-inline into master
All threads resolved!

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)

Screen_Shot_2017-05-25_at_14.30.30

Screen_Shot_2017-05-25_at_14.30.43

Screen_Shot_2017-05-25_at_14.31.16

Screen_Shot_2017-05-25_at_18.46.24

What are the relevant issue numbers?

Closes #24873 (closed)

Edited by Phil Hughes

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Filipa Lacerda
  • Filipa Lacerda
  • Filipa Lacerda
  • Filipa Lacerda
  • Filipa Lacerda
  • Filipa Lacerda
  • @iamphill overall LGTM :sparkles:

    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 :green_heart:

    Edited by Filipa Lacerda
  • Filipa Lacerda resolved all discussions

    resolved all discussions

  • Author Maintainer

    Nice find with them shortcuts! :tada:

    e shortcut isn't correct - well it wasn't scoped in the issue. But its a super simple fix!

  • Phil Hughes added 1 commit

    added 1 commit

    • df7c9011 - fixed issuable shortcuts not working

    Compare with previous version

  • Author Maintainer

    @filipa addressed the comments & fixed the shortcuts bug

  • assigned to @smcgivern

  • Phil Hughes added 1 commit

    added 1 commit

    • 29fd1305 - enable meta+enter shortcut to quick submit

    Compare with previous version

  • username-removed-443319
  • Just two comments on the Ruby!

  • Phil Hughes resolved all discussions

    resolved all discussions

  • assigned to @filipa

  • Code LGTM! :muscle: Just need to test it again :)

    @smcgivern are the Ruby changes good?

  • Thank you @iamphill :tada:

  • Filipa Lacerda approved this merge request

    approved this merge request

  • @iamphill Can you please check the ee job failing? :)

  • Filipa Lacerda mentioned in commit 882a591d

    mentioned in commit 882a591d

  • mentioned in merge request !12106 (merged)

  • Please register or sign in to reply
    Loading