!EJAGnUtRGlGEKsJelp:matrix.org

matrix-social

51 Members
room for matrix-social, an experimental Matrix "Social Media" client https://codeberg.org/imbev/matrix-social22 Servers

Load older messages


SenderMessageTime
19 Mar 2023
@imbev:matrix.orgimbevhow much was hard-coded?21:08:10
@imbev:matrix.orgimbevi think most of the svgs are actually hard-coded21:08:58
@heartade:matrix.orgSoohan Park (Heartade)image.png
Download image.png
21:09:06
@heartade:matrix.orgSoohan Park (Heartade)A lot21:09:08
@heartade:matrix.orgSoohan Park (Heartade)lol21:09:10
@heartade:matrix.orgSoohan 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:matrix.orgimbevthe fill-charm is tailwindcss21:11:33
@imbev:matrix.orgimbevnot yew21:11:36
@imbev:matrix.orgimbevyou 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:matrix.orgimbevthen add svg to the filetypes in tailwind.config.js21:12:17
@heartade:matrix.orgSoohan 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:matrix.orgimbevi see21:13:24
@imbev:matrix.orgimbevit might be possible to extract into another file, and embed the svg at compile time21:14:08
@imbev:matrix.orgimbevyou 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-library21:16:34
@heartade:matrix.orgSoohan 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:matrix.orgimbevthat solution sounds promising21:16:58
20 Mar 2023
@vantafen:matrix.orgVantapink joined the room.09:42:01
21 Mar 2023
@davidprieto:arada.club@davidprieto:arada.club joined the room.12:34:46
@davidprieto:one.ems.hostDavid Prieto left the room.12:34:50
27 Mar 2023
@raymand1992:mx.grupotd.nat.cu@raymand1992:mx.grupotd.nat.cu joined the room.12:51:52
3 Apr 2023
@tristan-cottam:matrix.orgTristan CottamHi everyone! Quick question: Is there any roadmap for this project?10:10:00
@imbev:matrix.orgimbevWelcome!10:52:36
@imbev:matrix.orgimbevNot yet, but I will create one.10:53:27
@imbev:matrix.orgimbev

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:matrix.orgimbevafter some research, the blocking bug in Ruma is resolved as of https://github.com/ruma/ruma/commit/8a3bccaef11223d191e0be447d76f1d0311471f811:18:56
5 Apr 2023
@mindlesstux:mindlesstux.commindlesstux left the room.19:46:00
6 Apr 2023
@redstone-menace:matrix.orgRedstone joined the room.08:03:20
7 Apr 2023
@heartade:matrix.orgSoohan Park (Heartade)Phew I've been extremely busy lately! Hope I'll get back to working on the logo next week or so18:24:55
@heartade:matrix.orgSoohan Park (Heartade)favicon_512x512.png
Download favicon_512x512.png
18:26:02
@heartade:matrix.orgSoohan 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

Show newer messages


Back to Room ListRoom Version: 9