1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00
phorge-phorge/scripts
epriestley 221562b294 Modernize file uploads
Summary:
Modernizes file uploads. In particular:

  - Adds a mobile menu, with an "Upload File" item.
  - Adds crumbs to the list view, detail view and upload view.
  - Adds "Upload File" action to crumbs.
  - Moves upload file to a separate page.
  - Removes the combined upload file + recent files page.
  - Makes upload file use a normal file control by default (works on mobile).
  - Home page, file list and file upload page are now global drop targets which accept files dropped anywhere on them. Dragging a file into the window shows a mask and an instructional message.
    - User education on this is a little weak but I think that's a big can of worms?
  - Fixes a bug where dropping multiple files into a Remarkup text area produced bad results (resolves T2190).

T879 is related, although it's specifically about Maniphest. I've declined to make global drop targets yet there because there are multiple drop targets on the page with different meanings. That UI needs updating in general.

@chad, do we have an "upload" icon (counterpart to "download")?

Test Plan: Uploaded files in Maniphest, Differential, Files, and from Home. Dragged and dropped multiple files into Differential. Used crumbs, mobile.

Reviewers: chad, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2190

Differential Revision: https://secure.phabricator.com/D4200
2012-12-16 16:34:01 -08:00
..
aphront Delete license headers from files 2012-11-05 11:16:51 -08:00
calendar Delete license headers from files 2012-11-05 11:16:51 -08:00
celerity Use application icons for "Eye" menu and Crumbs 2012-12-07 13:37:28 -08:00
conduit Delete license headers from files 2012-11-05 11:16:51 -08:00
daemon Delete license headers from files 2012-11-05 11:16:51 -08:00
differential Delete license headers from files 2012-11-05 11:16:51 -08:00
drydock Allow leases to be explicitly released via web or CLI 2012-12-14 15:42:58 -08:00
fact Delete license headers from files 2012-11-05 11:16:51 -08:00
files Delete license headers from files 2012-11-05 11:16:51 -08:00
fpm Delete license headers from files 2012-11-05 11:16:51 -08:00
install Fix the RHEL install script, mostly for RHEL 5. 2012-11-27 12:52:37 -08:00
mail Delete license headers from files 2012-11-05 11:16:51 -08:00
profile Delete license headers from files 2012-11-05 11:16:51 -08:00
repository Exit instead of throw from reparse.php without commits 2012-12-06 11:16:15 -08:00
search Delete license headers from files 2012-11-05 11:16:51 -08:00
setup Delete license headers from files 2012-11-05 11:16:51 -08:00
sql Delete license headers from files 2012-11-05 11:16:51 -08:00
symbols Delete license headers from files 2012-11-05 11:16:51 -08:00
user Delete license headers from files 2012-11-05 11:16:51 -08:00
util Delete license headers from files 2012-11-05 11:16:51 -08:00
__init_script__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
celerity_mapper.php Modernize file uploads 2012-12-16 16:34:01 -08:00