summaryrefslogtreecommitdiff
path: root/plugins/warp/src/templates
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-03-13 12:24:18 -0700
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-03-24 18:46:48 -0700
commit3c88b11e5df33116580ac008e36092775df66135 (patch)
treecd64fbe149f05683ddabcccd0db7b87356f1f8cf /plugins/warp/src/templates
parentf325aa7b6026a1daef84931baeb1f50d7da10c10 (diff)
[WARP] Improved UX and API
- Exposes WARP type objects directly - Adds processor API (for generating warp files directly) - Adds file and chunk API - Misc cleanup - Simplified the amount of commands - Replaced the "Create" commands with a purpose built processor dialog - Added a native QT viewer for WARP files - Simplified committing to a remote with a purpose built commit dialog
Diffstat (limited to 'plugins/warp/src/templates')
-rw-r--r--plugins/warp/src/templates/file.html37
-rw-r--r--plugins/warp/src/templates/file.json21
-rw-r--r--plugins/warp/src/templates/file.md15
3 files changed, 0 insertions, 73 deletions
diff --git a/plugins/warp/src/templates/file.html b/plugins/warp/src/templates/file.html
deleted file mode 100644
index 7ea465ef..00000000
--- a/plugins/warp/src/templates/file.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>{{ title }}</title>
-</head>
-<body>
-<h1>{{ title }}</h1>
-
-{% for chunk in chunks %}
-<section>
- <h2>{{ chunk.title }}</h2>
- <p>Target: {{ chunk.target }}</p>
- <p>Total items: {{ chunk.total_item_count }}</p>
-
- <table>
- <thead>
- <tr>
- <th>GUID</th>
- <th>Name</th>
- <th>Note</th>
- </tr>
- </thead>
- <tbody>
- {% for item in chunk.item_view %}
- <tr>
- <td>{{ item.guid }}</td>
- <td>{{ item.name or 'N/A' }}</td>
- <td>{{ item.note or 'N/A' }}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
-</section>
-{% endfor %}
-</body>
-</html> \ No newline at end of file
diff --git a/plugins/warp/src/templates/file.json b/plugins/warp/src/templates/file.json
deleted file mode 100644
index 764d35cd..00000000
--- a/plugins/warp/src/templates/file.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "title": "{{ title }}",
- "chunks": [
- {% for chunk in chunks %}
- {
- "title": "{{ chunk.title }}",
- "target": "{{ chunk.target }}",
- "total_item_count": {{ chunk.total_item_count }},
- "item_view": [
- {% for item in chunk.item_view %}
- {
- "guid": "{{ item.guid }}",
- "name": "{{ item.name or 'N/A' }}",
- "note": "{{ item.note or 'N/A' }}"
- }{% if not loop.last %},{% endif %}
- {% endfor %}
- ]
- }{% if not loop.last %},{% endif %}
- {% endfor %}
- ]
-} \ No newline at end of file
diff --git a/plugins/warp/src/templates/file.md b/plugins/warp/src/templates/file.md
deleted file mode 100644
index 433cb8e9..00000000
--- a/plugins/warp/src/templates/file.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# {{ title }}
-
-{% for chunk in chunks %}
-## {{ chunk.title }}
-
-Target: {{ chunk.target }}
-
-Total items: {{ chunk.total_item_count }}
-
-| GUID | Name | Note |
-|--------------|--------------|--------------|
-{% for item in chunk.item_view -%}
-| {{ item.guid }} | {{ item.name or 'N/A' }} | {{ item.note or 'N/A' }} |
-{% endfor %}
-{% endfor %}