!YeaXUCNFAusqeLQrjB:bordum.dk

Cactus Comments

139 Members
🌵 Federated, Embeddable Web Comments powered by Matrix (https://cactus.chat) 🌵 | Not for you? Check out Commento (https://commento.io/) or Isso (https://posativ.org/isso/)!68 Servers

Load older messages


SenderMessageTime
3 Aug 2021
@jomat:asra.gr𝚓𝚘There are some issues regarding the display name. Auto generating them, setting it to Anonymous and so on, but as far as i can see, there's nothing that prefills the input field with the last used value?15:39:08
@asbjorn:olli.ngAsbjørnyeah that's true.15:40:11
@asbjorn:olli.ngAsbjørnI guess I figured that anonymous commenting was going to be mostly passing visitors, and that recurring visitors would use a "proper" matrix login15:41:11
@asbjorn:olli.ngAsbjørnI guess we could store the last value of the display name field in localstorage, and initiate the field with whatever was there last. ...but I'm hesitant. I'd like to keep persistent dynamic state to as little as possible, just to keep complexity low.15:42:53
@jomat:asra.gr𝚓𝚘It'd also be handy if a site has a single comment section, eg in the right layout column, that a visitor doesn't lose the name after visiting another subpage15:43:16
@jomat:asra.gr𝚓𝚘
In reply to @asbjorn:olli.ng
I guess we could store the last value of the display name field in localstorage, and initiate the field with whatever was there last.
...but I'm hesitant. I'd like to keep persistent dynamic state to as little as possible, just to keep complexity low.
Yet the AT is already stored there, so if visiting a page gives the same guest account again, it should also give the same display name again, or?
15:44:38
@asbjorn:olli.ngAsbjørnah yep15:44:52
@asbjorn:olli.ngAsbjørnI'm silly15:44:55
@asbjorn:olli.ngAsbjørnno reason to store display name separately, the matrix homeserver has it15:45:07
@asbjorn:olli.ngAsbjørnclient could fetch it from the homeserver when starting15:45:27
@jomat:asra.gr𝚓𝚘And one small thing: It'd probably be better to render display names instead of mxids in replies15:51:27
@jomat:asra.gr𝚓𝚘Ah that might be an issue of element15:56:35
@asbjorn:olli.ngAsbjørnYeah sort of...15:56:48
@jomat:asra.gr𝚓𝚘as the mxid is in the formatted_body15:56:50
@asbjorn:olli.ngAsbjørnYep15:56:59
@asbjorn:olli.ngAsbjørn And cactus-client is just rendering the HTML as-is 15:57:22
@jomat:asra.gr𝚓𝚘Also the missing localization …15:57:49
@asbjorn:olli.ngAsbjørnIt seems that element replaces any occurrance of matrix user IDs with a little clickable "badge" 15:58:06
@asbjorn:olli.ngAsbjørn Might be an idea to mimic that in cactus.. 15:58:16
@asbjorn:olli.ngAsbjørn
In reply to @jomat:asra.gr
Also the missing localization …
Go on?
15:58:21
@asbjorn:olli.ngAsbjørnOh you mean translations... yeah I see15:58:43
@jomat:asra.gr𝚓𝚘Yes. The string "In reply to"15:58:58
@asbjorn:olli.ngAsbjørn* Oh you mean translations... yeah I see15:58:58
@asbjorn:olli.ngAsbjørnAnother Element issue, I'm afraid.15:59:58
@asbjorn:olli.ngAsbjørnThis will probably change when threading in Matrix becomes a real thing16:00:23
@asbjorn:olli.ngAsbjørnHopefully, anyway 16:00:32
@jomat:asra.gr𝚓𝚘So happy :3 Now also added some css for the replies16:27:35
4 Aug 2021
@jackal:toyboxnet.deJackal joined the room.15:20:55
@exstral:matrix.orgBarbs (they/she) changed their display name from Barbs (they/she/ex) to Barbs (they/she).18:14:22
@timokoesters:fachschaften.orgTimo ⚡️ changed their profile picture.19:51:16

There are no newer messages yet.


Back to Room List