libera/#shirakumo - IRC Chatlog
Search
6:42:45
Colleen
<glenneth> Could have sworn I had. Pulled now - spec subtree is updated in lichat-js (the data-fields clarification). Also saw ex-lichat master move (0.3.5 + the user-notes error text fix) local master updated.
6:43:53
Colleen
<glenneth> PR #14 now includes the DATA-FIELDS implementation plus ExUnit tests, and I verified it end-to-end with a probe client: signed upload
6:45:01
Colleen
<shinmera> https://codeberg.org/shirakumo/ex-lichat/commit/f3f17395555c6c356ae9afb49cc70814c67f0712
6:56:41
Colleen
<glenneth> Pulled, rebuilt, and re-verified against master - my probe client's #12 reconstruction and signature verification pass against your implementation. PR #14 retargeted to the ephemeral-profile fix + tests. One issue though: the converted message still carries the data update's signature on the wrapper, which can't verify - clients will show failed-verification shields on signed uploads. Clear it server-side, or should clients ignore the wrapper signature when DATA-FIELDS is present?
9:04:11
Colleen
<shinmera> just discovered this PR from... 2 months ago, which I do not at all remember??? https://codeberg.org/shirakumo/lichat/pulls/3/files
10:01:57
Colleen
<Hugo> I just tried an interesting game called the Council, the first episode is free
10:02:10
Colleen
<shinmera> scymtym: so we've got about two months to get the IDE done, tested, and uh, rolled out.
10:02:21
Colleen
<shinmera> less than that, really, since I need to also prepare the actual course material and all
10:46:13
scymtym
should we make a list of issues that prevent merging at the moment, for example in a pull reqest? as an example of such issues, i know about the problem with menu items not showing up immediately
10:46:46
Colleen
<shinmera> If you prefer a PR, that's fine. Otherwise there's the todo list: https://feedback.tymoon.eu/trial/alloy?message=Feedback%20submitted#$2xr
10:47:34
Colleen
<shinmera> Meantime I'll try to unblock my brain by getting started on the course material
10:49:54
Colleen
<shinmera> from my end I just want an easy place where I can report issues that I might encounter
10:53:37
scymtym
multiple issues are related to the text shape valign property. i wasn't sure how that is supposed to work
10:54:17
scymtym
for the text input component, the component size and shape size should be identical so there doesn't seem to be any room for vertical alignment. is the issue about other situations?
10:55:55
Colleen
<shinmera> and even for multiline text, for a console it is sometimes preferred to be bottom aligned
10:57:06
scymtym
ok. and for msdf text shape, the location slot would be the way to implemented that, right?
10:59:15
scymtym
me too. i implemented 50 % of vertical alignment but wasn't sure i was doint it the right way
11:00:22
Colleen
<shinmera> it should be conceptually very simple. The actual text lines create a box, and that box needs to be anchored to the size of the shape box
11:05:40
scymtym
yes. i remember the issue my now. i thought to align to the top of the component, the shape needs to know the height of the component. but i guess the issue revolves around being assigned a (vertical) size that is larger than the text content
11:06:24
scymtym
although i'm not sure it happens like that with the text editor in a scrolling layout
11:06:29
Colleen
<shinmera> yes. If the textual content is largerg than the box then there is no real alignment.
11:35:55
scymtym
is resolve-alignment correct? for example, :top gives 0 (assuming no margins). wouldn't that place the shape at the bottom (on screen) of the component with the actual content of the shape outside the bounds of the component?
12:19:24
scymtym
i'm making progress but there is one more issue. for pointer events on a text input component, the pointer location has to be mapped to the local coordinates of the text shape in order to look up glyphs at that location. but the text input component is not supposed to know about shapes
12:21:11
scymtym
the concrete issue is that the :label shape of the code-editor component has a left margin to form a "fringe" region for line numbers and other stuff. that margin has to somehow go into the mapping from the pointer location to shape coordinates
12:22:23
Colleen
<shinmera> the presentations protocol already has a stealth mixin on renderables, so it could theoretically at least intercept the pointer events
12:22:49
Colleen
<shinmera> slightly less gross would be an extra stealth mixin on text-input-component
12:24:28
Colleen
<shinmera> I can't really think of a way to do a protocol that flows "downward" as it were
12:25:02
Colleen
<shinmera> or as would be the case in a qt backend or whatever, just "automatically" handles
12:32:19
scymtym
the last part of the mapping is done by the text info object. maybe the renderer could somehow inject the extra translation there since the renderer has access to the text info. but that wouldn't fit very well either since the text info is supposed to be self-contained
12:32:45
scymtym
although there already is a way for renderers to attach extra information to the abtract text info
14:55:05
Colleen
<shinmera> glenneth: not sure if this is just my caches being weird or whatever but the lichat site still jumps to the iframe for me