Commit graph

112 commits

Author SHA1 Message Date
bom
a24ee62d16 Split mode functions into raw and rendered
If we want to create different html to the default the raw functions can be used to build html from the reply itself.
2024-11-15 11:02:06 +01:00
bom
f0aa2633a7 General cleanup
imports, deprecations & versions
2024-11-15 10:54:30 +01:00
979f6a3a80 Fix word wrap in chrome 2024-05-31 11:05:54 +02:00
f79529e0ea Truncate long titles 2024-05-29 15:49:10 +02:00
2a8171b9bb Update in resources 2024-05-29 15:23:20 +02:00
99323a05ef Format 2024-05-29 15:09:10 +02:00
47126a7b75 Add arg to masto-html for mode 2024-05-29 15:09:01 +02:00
9f253e4401 Use div instead of p
For the case that hashtags and mentions are present.
2024-05-29 14:31:16 +02:00
643541f798 Add post css 2024-05-29 14:30:48 +02:00
14f66cb2e1 Remove unused 2024-05-29 14:30:33 +02:00
Clemens
0f330ca3c7 remove debug log 2024-05-29 11:27:50 +02:00
Clemens
1cde7289c5 Handle account and reply mode in same namespace, and html generation in own namespace 2024-05-29 11:25:49 +02:00
Clemens
6a637dc2cf remove debug lines 2024-05-29 10:18:16 +02:00
Clemens
a7ac9fab94 do not show link-preview if card is empty 2024-05-29 10:12:43 +02:00
8d41a8236d Remove erroneous text 2024-05-28 18:22:13 +02:00
1e1eb7786e Fix test 2024-05-28 18:20:20 +02:00
daf9149b04 Re-Add post html and remove link preview stub 2024-05-28 18:05:32 +02:00
142b74cd9b Refactor to to_html
Currently keeping reply_mode as ref
2024-05-28 18:04:58 +02:00
6a7e7deac6 Cleanup 2024-05-28 17:55:09 +02:00
73943a9af9 Add complete post for ref 2024-05-28 17:54:59 +02:00
9ef30bd5a2 Remove unused 2024-05-28 17:53:18 +02:00
bc604143b1 Rewrite for handling hiccup consistently 2024-05-28 17:53:10 +02:00
6bcbfa4da6 Rename to data_helpers 2024-05-28 15:45:06 +02:00
b16e3ea61f Remove unused data 2024-05-28 15:42:48 +02:00
1fe7b2ed78 Add todo 2024-05-28 15:21:42 +02:00
Clemens
e0a735e9bc remove unused functions 2024-05-22 12:14:26 +02:00
430911272e Dont use let 2024-05-17 18:54:08 +02:00
a21ff9592d Remove todo 2024-05-17 18:52:26 +02:00
aa5afcd90f Test for value filling 2024-05-17 18:45:04 +02:00
19e602bf9c Assoc without conj
Otherwise the vector is wrapped into a list
2024-05-17 18:31:49 +02:00
644717d272 Remove erroneous key 2024-05-17 18:30:59 +02:00
8422e3580a One function for inserting elem, one for filling vals 2024-05-17 18:12:22 +02:00
4fe4060a1f Test if class in attrs 2024-05-17 18:11:55 +02:00
07c7caade1 Fix 2024-05-17 18:10:25 +02:00
1143ba78a4 Test correct function 2024-05-17 18:10:13 +02:00
4537956c41 Fix 2024-05-17 18:09:46 +02:00
4f8eeb3eea Add empty a elem for link preview 2024-05-17 18:09:29 +02:00
ad352eb7fb Remove link prev section 2024-05-17 16:29:38 +02:00
43a3cbe6af Fix media->html test 2024-05-17 16:29:15 +02:00
098403588f Add minified html res 2024-05-17 16:28:38 +02:00
30f7ecd612 WIP implement link prev 2024-05-17 13:33:49 +02:00
b0d0ba9bd7 Fix test
Put hiccup defs for the test in own ns.
2024-05-17 12:47:50 +02:00
ea01bfe676 Delete redundant test 2024-05-17 11:30:22 +02:00
eb78652718 Rename for clarity 2024-05-17 11:29:48 +02:00
02b6af0e91 WIP Add test for masto media 2024-05-17 11:29:38 +02:00
a7ca30cf09 Add test values 2024-05-17 11:29:07 +02:00
bom
0ff6f40af8 Move url in image element to src 2024-05-17 08:26:38 +02:00
bom
051800a3d2 Move masto-edn references to doc 2024-05-17 08:20:15 +02:00
bom
c78a4dfdbe Cleanup account_mode 2024-05-17 08:19:53 +02:00
bom
0a83f43921 Conditionally insert image element 2024-05-17 08:15:27 +02:00