19 Mar 2023 |
imbev | how much was hard-coded? | 21:08:10 |
imbev | i think most of the svgs are actually hard-coded | 21:08:58 |
Soohan Park (Heartade) |  Download image.png | 21:09:06 |
Soohan Park (Heartade) | A lot | 21:09:08 |
Soohan Park (Heartade) | lol | 21:09:10 |
Soohan Park (Heartade) | I wanted it to be imported as svg tag, not img , so that I can use fill-charm attribute and it seems like there's no simple way of doing this in Yew | 21:10:45 |
imbev | the fill-charm is tailwindcss | 21:11:33 |
imbev | not yew | 21:11:36 |
imbev | you can probably extract the svg into its own file, and embed (https://stackoverflow.com/questions/4476526/do-i-use-img-object-or-embed-for-svg-files) | 21:12:06 |
imbev | then add svg to the filetypes in tailwind.config.js | 21:12:17 |
Soohan Park (Heartade) | Yep, I mean the tailwind fill attribute works by setting the fill CSS attribute which only works for SVG, so it won't work if I use <img src="assets/wordmark.svg" class="fill-charm-300"> | 21:13:02 |
imbev | i see | 21:13:24 |
imbev | it might be possible to extract into another file, and embed the svg at compile time | 21:14:08 |
imbev | you might want to look at https://docs.rs/yew/0.20.0/yew/virtual_dom/enum.VNode.html#method.from_html_unchecked and https://stackoverflow.com/questions/32748918/is-there-any-way-to-include-binary-or-text-files-in-a-rust-library | 21:16:34 |
Soohan Park (Heartade) | I've tried something like let svg_node = VNode::from(svg_string(include_str!("/path/to/svg"))) and while it ended up rendering everything within quotation marks, it might be worth giving another shot | 21:16:36 |
imbev | that solution sounds promising | 21:16:58 |
20 Mar 2023 |
| Vantapink joined the room. | 09:42:01 |
21 Mar 2023 |
| @davidprieto:arada.club joined the room. | 12:34:46 |
| David Prieto left the room. | 12:34:50 |
27 Mar 2023 |
| @raymand1992:mx.grupotd.nat.cu joined the room. | 12:51:52 |
3 Apr 2023 |
Tristan Cottam | Hi everyone! Quick question: Is there any roadmap for this project? | 10:10:00 |
imbev | Welcome! | 10:52:36 |
imbev | Not yet, but I will create one. | 10:53:27 |
imbev | To inform everyone of the current state of the project:
Somix has architectural issues that limited it significantly (long loading times, freezing with many rooms).
The process of improvements is ongoing, but currently blocked by a limitation of the spec. A temporary solution (abusing the search feature to find replies), is currently blocked by a bug in Ruma.
I plan to resolve these issues, after which I will implement a basic feature set. | 11:00:23 |
imbev | after some research, the blocking bug in Ruma is resolved as of https://github.com/ruma/ruma/commit/8a3bccaef11223d191e0be447d76f1d0311471f8 | 11:18:56 |
5 Apr 2023 |
| mindlesstux left the room. | 19:46:00 |
6 Apr 2023 |
| Redstone joined the room. | 08:03:20 |
7 Apr 2023 |
Soohan Park (Heartade) | Phew I've been extremely busy lately! Hope I'll get back to working on the logo next week or so | 18:24:55 |
Soohan Park (Heartade) |  Download favicon_512x512.png | 18:26:02 |
Soohan Park (Heartade) | While I'm figuring out my life, here's the new logo I've worked on (hadn't yet created a PR) | 18:26:18 |