From c02c3a06e09baaa7746a26dffebb97ef8ec1ff6e Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 28 Nov 2016 14:01:09 +0000 Subject: [PATCH] Sort the edit content type dropdown groups more sensibly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now we put the developer stuff at the bottom instead of the top… --- core/language/en-GB/Types/application_javascript.tid | 1 + core/language/en-GB/Types/application_json.tid | 1 + core/language/en-GB/Types/application_x_tiddler_dictionary.tid | 1 + core/language/en-GB/Types/image_gif.tid | 1 + core/language/en-GB/Types/image_jpeg.tid | 1 + core/language/en-GB/Types/image_png.tid | 1 + core/language/en-GB/Types/image_svg_xml.tid | 1 + core/language/en-GB/Types/image_x-icon.tid | 1 + core/language/en-GB/Types/text_css.tid | 1 + core/language/en-GB/Types/text_html.tid | 1 + core/language/en-GB/Types/text_plain.tid | 1 + core/language/en-GB/Types/text_vnd.tiddlywiki.tid | 1 + core/language/en-GB/Types/text_x-tiddlywiki.tid | 1 + core/ui/EditTemplate/type.tid | 2 +- 14 files changed, 14 insertions(+), 1 deletion(-) diff --git a/core/language/en-GB/Types/application_javascript.tid b/core/language/en-GB/Types/application_javascript.tid index fda69c6e1..28ee6ddbf 100644 --- a/core/language/en-GB/Types/application_javascript.tid +++ b/core/language/en-GB/Types/application_javascript.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/application/javascript description: JavaScript code name: application/javascript group: Developer +group-sort: 2 diff --git a/core/language/en-GB/Types/application_json.tid b/core/language/en-GB/Types/application_json.tid index 27b129821..7f7575599 100644 --- a/core/language/en-GB/Types/application_json.tid +++ b/core/language/en-GB/Types/application_json.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/application/json description: JSON data name: application/json group: Developer +group-sort: 2 diff --git a/core/language/en-GB/Types/application_x_tiddler_dictionary.tid b/core/language/en-GB/Types/application_x_tiddler_dictionary.tid index 13ab6943e..76fbec0a3 100644 --- a/core/language/en-GB/Types/application_x_tiddler_dictionary.tid +++ b/core/language/en-GB/Types/application_x_tiddler_dictionary.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/application/x-tiddler-dictionary description: Data dictionary name: application/x-tiddler-dictionary group: Developer +group-sort: 2 diff --git a/core/language/en-GB/Types/image_gif.tid b/core/language/en-GB/Types/image_gif.tid index bca7d7d28..559d17f56 100644 --- a/core/language/en-GB/Types/image_gif.tid +++ b/core/language/en-GB/Types/image_gif.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/image/gif description: GIF image name: image/gif group: Image +group-sort: 1 diff --git a/core/language/en-GB/Types/image_jpeg.tid b/core/language/en-GB/Types/image_jpeg.tid index 943f19341..5db4dc001 100644 --- a/core/language/en-GB/Types/image_jpeg.tid +++ b/core/language/en-GB/Types/image_jpeg.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/image/jpeg description: JPEG image name: image/jpeg group: Image +group-sort: 1 diff --git a/core/language/en-GB/Types/image_png.tid b/core/language/en-GB/Types/image_png.tid index 59fb3f865..d9e78bf0e 100644 --- a/core/language/en-GB/Types/image_png.tid +++ b/core/language/en-GB/Types/image_png.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/image/png description: PNG image name: image/png group: Image +group-sort: 1 diff --git a/core/language/en-GB/Types/image_svg_xml.tid b/core/language/en-GB/Types/image_svg_xml.tid index ddb6912dd..9f7c23ba3 100644 --- a/core/language/en-GB/Types/image_svg_xml.tid +++ b/core/language/en-GB/Types/image_svg_xml.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/image/svg+xml description: Structured Vector Graphics image name: image/svg+xml group: Image +group-sort: 1 diff --git a/core/language/en-GB/Types/image_x-icon.tid b/core/language/en-GB/Types/image_x-icon.tid index ff8d12f81..6ae32331c 100644 --- a/core/language/en-GB/Types/image_x-icon.tid +++ b/core/language/en-GB/Types/image_x-icon.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/image/x-icon description: ICO format icon file name: image/x-icon group: Image +group-sort: 1 diff --git a/core/language/en-GB/Types/text_css.tid b/core/language/en-GB/Types/text_css.tid index 15785f0a0..9539e21d0 100644 --- a/core/language/en-GB/Types/text_css.tid +++ b/core/language/en-GB/Types/text_css.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/text/css description: Static stylesheet name: text/css group: Developer +group-sort: 2 diff --git a/core/language/en-GB/Types/text_html.tid b/core/language/en-GB/Types/text_html.tid index cd8d8221e..260f3a30b 100644 --- a/core/language/en-GB/Types/text_html.tid +++ b/core/language/en-GB/Types/text_html.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/text/html description: HTML markup name: text/html group: Text +group-sort: 0 diff --git a/core/language/en-GB/Types/text_plain.tid b/core/language/en-GB/Types/text_plain.tid index 83da10bc8..1511e07ff 100644 --- a/core/language/en-GB/Types/text_plain.tid +++ b/core/language/en-GB/Types/text_plain.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/text/plain description: Plain text name: text/plain group: Text +group-sort: 0 diff --git a/core/language/en-GB/Types/text_vnd.tiddlywiki.tid b/core/language/en-GB/Types/text_vnd.tiddlywiki.tid index e946d9a4a..9546e1aed 100644 --- a/core/language/en-GB/Types/text_vnd.tiddlywiki.tid +++ b/core/language/en-GB/Types/text_vnd.tiddlywiki.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/text/vnd.tiddlywiki description: TiddlyWiki 5 name: text/vnd.tiddlywiki group: Text +group-sort: 0 diff --git a/core/language/en-GB/Types/text_x-tiddlywiki.tid b/core/language/en-GB/Types/text_x-tiddlywiki.tid index e593430ee..e9c6c7097 100644 --- a/core/language/en-GB/Types/text_x-tiddlywiki.tid +++ b/core/language/en-GB/Types/text_x-tiddlywiki.tid @@ -2,3 +2,4 @@ title: $:/language/Docs/Types/text/x-tiddlywiki description: TiddlyWiki Classic name: text/x-tiddlywiki group: Text +group-sort: 0 diff --git a/core/ui/EditTemplate/type.tid b/core/ui/EditTemplate/type.tid index a357972b4..be57f7264 100644 --- a/core/ui/EditTemplate/type.tid +++ b/core/ui/EditTemplate/type.tid @@ -10,7 +10,7 @@ tags: $:/tags/EditTemplate <$reveal state=<> type="nomatch" text="" default="">
<$linkcatcher to="!!type"> -<$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group]]'> +<$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group-sort]]'>
<$text text={{!!group}}/>