1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 23:10:57 +01:00
phorge-phorge/webroot/rsrc/js/application/differential
epriestley 21f0aba701 Use an inline dialog element for inline comments in Differential
Summary:
The current approach of using a modal overlay dialog to create/edit inline
comments is pretty silly. Use an inline textarea instead.

This element isn't perfect and we have some mild modalness issues, but I think
it's better than the silly thing we've got going on right now. We can keep
poking it as people break it.

Test Plan:
  - Created comments; submitted and undid them in empty and nonempty states.
Used undo for nonempty states + cancel.
  - Edited comments; saved and canceled them. Used undo for changed state.
  - Replied to comments; yada yada as above.
  - Deleted comments.
  - Did various modal trickery where I clicked "Reply" on something else with a
dialog already up, this very mildly glitches but I think it's not a big issue.

Reviewers: vrana, btrahan, Makinde, nh

Reviewed By: vrana

CC: aran, epriestley

Maniphest Tasks: T431

Differential Revision: https://secure.phabricator.com/D1716
2012-02-29 14:28:48 -08:00
..
behavior-accept-with-errors.js Added a big warning if reviewer is about to accept a diff with lint or unit 2011-06-13 11:49:31 -07:00
behavior-add-reviewers-and-ccs.js Ability to add reviewers while requesting review 2012-02-14 15:14:12 -08:00
behavior-comment-jump.js Added 'Next' and 'Previous' links to differential 2011-05-11 14:46:00 -07:00
behavior-comment-preview.js Include added reviewers and ccs in preview 2012-01-04 17:08:13 -08:00
behavior-diff-radios.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
behavior-dropdown-menus.js Display links to editor in Differential and Diffusion 2012-01-24 10:42:33 -08:00
behavior-edit-inline-comments.js Use an inline dialog element for inline comments in Differential 2012-02-29 14:28:48 -08:00
behavior-keyboard-nav.js Add more keyboard navigation options for inline comments 2012-01-05 12:58:05 -08:00
behavior-populate.js Use Workflow, not Request, for Differential populate/show more requests 2011-07-16 19:15:54 -07:00
behavior-show-all-comments.js Go to correct position after revealing comments 2012-02-26 13:13:51 -08:00
behavior-show-more.js Add "Reveal Entire File" option to Diffusion 2012-01-06 11:51:10 -08:00
DifferentialInlineCommentEditor.js Use an inline dialog element for inline comments in Differential 2012-02-29 14:28:48 -08:00