Split message content into its own module

This is laying some groundwork for the rich text chatbar.
This commit is contained in:
James Graham
2025-06-29 12:43:48 +01:00
parent a1447ebd6f
commit f6e8491bf1
117 changed files with 122 additions and 104 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#4d4d4d;
}
</style>
</defs>
<path
style="color:#4d4d4d;fill:currentColor;fill-opacity:1;stroke:none" class="ColorScheme-Text"
d="m 14.514282,4.8066299 q 1.183528,0 2.037358,0.8538307 0.853831,0.8538308 0.853831,2.0373586 v 7.9549978 q 0,1.09899 -0.739705,1.927459 -0.739705,0.82847 -1.838695,0.946823 v 1.428687 q 0,0.262067 -0.181756,0.443823 -0.181756,0.181756 -0.443823,0.181756 -0.262067,0 -0.44805,-0.181756 -0.185983,-0.181756 -0.185983,-0.443823 v -1.41178 H 8.4698362 v 1.41178 q 0,0.262067 -0.1817561,0.443823 -0.181756,0.181756 -0.4438229,0.181756 -0.2620669,0 -0.4438229,-0.181756 Q 7.2186782,20.217853 7.2186782,19.955786 V 18.527099 Q 6.1196881,18.408746 5.3757563,17.584503 4.6318246,16.760261 4.6318246,15.652817 V 7.6978192 q 0,-1.1835278 0.8538307,-2.0373586 Q 6.3394861,4.8066299 7.5230139,4.8066299 H 8.622004 V 2.6171035 Q 8.3007608,2.7354562 8.1063241,2.9510274 7.9118873,3.1665985 7.9118873,3.2173211 q -0.06763,0.1352603 -0.1902098,0.2071174 -0.1225797,0.071857 -0.2662937,0.071857 -0.2197981,0 -0.3592853,-0.1521678 -0.1394872,-0.1521679 -0.1394872,-0.3381508 0,-0.109899 0.050723,-0.2113443 L 7.1341405,2.5748346 Q 7.3539385,2.2028687 7.8738454,1.8689448 8.3937522,1.5350209 9.1207764,1.5350209 h 3.8041966 q 0.710117,0 1.23425,0.3339239 0.524134,0.3339239 0.752386,0.7058898 l 0.126806,0.219798 q 0.04227,0.109899 0.04227,0.2028905 0,0.1944367 -0.139487,0.3508315 -0.139487,0.1563947 -0.359285,0.1563947 -0.143714,0 -0.266294,-0.076084 -0.12258,-0.076084 -0.19021,-0.2113443 0,-0.042269 -0.19021,-0.2620669 -0.190209,-0.219798 -0.519906,-0.3381507 v 2.1895264 z m -4.9031869,0 H 12.426201 V 2.5325657 H 9.6110951 Z M 7.7216775,14.917339 q -0.3085626,-0.304336 -0.7312511,-0.304336 -0.439596,0 -0.7439318,0.304336 -0.3043357,0.304336 -0.3043357,0.743932 0,0.448049 0.3170164,0.748158 0.3170164,0.300109 0.7312511,0.300109 0.405781,0 0.7227973,-0.300109 0.3170164,-0.300109 0.3170164,-0.748158 0,-0.439596 -0.3085626,-0.743932 z m 8.0775775,0 q -0.304336,-0.304336 -0.743932,-0.304336 -0.44805,0 -0.748159,0.317016 -0.300108,0.317017 -0.300108,0.731252 0,0.431142 0.308562,0.739704 0.308563,0.308563 0.739705,0.308563 0.414235,0 0.731251,-0.300109 0.317016,-0.300109 0.317016,-0.748158 0,-0.439596 -0.304335,-0.743932 z m 0.338151,-7.5914857 q 0,-0.6340327 -0.460731,-1.0947632 -0.46073,-0.4607304 -1.094763,-0.4607304 H 7.4722913 q -0.6424865,0 -1.103217,0.4565035 -0.4607305,0.4565036 -0.4607305,1.0989901 v 3.6942977 q 0,0.642486 0.4607305,1.103217 0.4607305,0.46073 1.103217,0.46073 h 7.1096207 q 0.642486,0 1.09899,-0.46073 0.456504,-0.460731 0.456504,-1.103217 z"
id="path4749" />
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB