1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00
phorge-phorge/src/applications/paste/storage
Josh Cox 9422596ebf Converted Paste language selection to a typeahead
Summary: Fixes T11532. The language selection for pastes is now a typeahead that is backed by `pygments.dropdown-choices`. There is still a bit of weirdness around making "auto-detection" the default state. To actually select a different language, you first need to remove the "auto detect" option that is pre-populated in a new paste. Other than that, it works as intended.

Test Plan:
Create a new paste with a file extension that can be auto-detected.
Created a new paste and manually selected the language
Edited a paste and changed the language.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley, yelirekim

Maniphest Tasks: T11532

Differential Revision: https://secure.phabricator.com/D16463
2016-08-30 00:41:47 +00:00
..
PhabricatorPaste.php Converted Paste language selection to a typeahead 2016-08-30 00:41:47 +00:00
PhabricatorPasteDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorPasteSchemaSpec.php Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
PhabricatorPasteTransaction.php Modularize application transactions in Paste, mostly 2016-06-14 06:13:28 -07:00
PhabricatorPasteTransactionComment.php Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00