diff --git a/web/graphql/schema.json b/web/graphql/schema.json index 755b113..a6f2c07 100644 --- a/web/graphql/schema.json +++ b/web/graphql/schema.json @@ -65,6 +65,38 @@ "description": null, "enumValues": null, "fields": [ + { + "args": [], + "deprecationReason": null, + "description": null, + "isDeprecated": false, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "deprecationReason": null, + "description": null, + "isDeprecated": false, + "name": "idx", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, { "args": [], "deprecationReason": null, @@ -84,9 +116,13 @@ "isDeprecated": false, "name": "size", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { diff --git a/web/graphql/show_thread.graphql b/web/graphql/show_thread.graphql index 332dfff..e4dc9e7 100644 --- a/web/graphql/show_thread.graphql +++ b/web/graphql/show_thread.graphql @@ -35,9 +35,12 @@ query ShowThreadQuery($threadId: String!) { } path attachments { + id + idx filename contentType contentId + size } } } diff --git a/web/index.html b/web/index.html index 1e15a34..e9e7f67 100644 --- a/web/index.html +++ b/web/index.html @@ -4,296 +4,24 @@
- + + + + - diff --git a/web/src/view/mod.rs b/web/src/view/mod.rs index 983bfb3..cbea814 100644 --- a/web/src/view/mod.rs +++ b/web/src/view/mod.rs @@ -642,14 +642,53 @@ fn message_render(msg: &ShowThreadQueryThreadMessages, open: bool) -> Node