Hi,
So I had some discussions with Dave indeed to clarify some elements.
I'll list the concerns I understood and do some proposals for Council to decide.
The design that is proposed is this XEP is indeed focusing on simplicity and genericity. The idea is to embed the hierarchy information within the node itself. As defined in the introduction the goal is to make it reusable across various different "bookmarks systems" like:
However this raises the concern that a node might have heterogeneous items in it. Here's what I found about it:
So my proposals for the Council regarding that issue:
Regarding Marvin feedbacks:
Regarding 2 and 4: This makes me wonder how to do UX when two ids map to the same title. In Roster Groups we don't have IDs, we just group by the title of the group, thereby entirely eliminating this issue.
Indeed we could add a small paragraph that says that its to the clients implementation freedom but that its advised to order it alphabetically on top, it can be even a SHOULD, then we keep UI consistency between the clients, but its a rare edge case.
Regarding 1 and 3: It struck me that there is two ordering mechanisms that are both independent and work differently (directories/groups ordered by an ordered list and bookmarks within a group ordered by assigned weights). It seems this can be collapsed to just one ordering, where you just order all bookmarks and then may decide to assign a group title to a subset of the bookmarks that is consecutive by weight to create a group.
Yes indeed, a first design had the same mechanism that you're proposing but it was creating some confusions and difficulties in the implementation, especially regarding the ordering of groups and setting their weights. The issues were:
However the pro is that it will only be <extensions/> based so totally avoid the concern above.
The third proposal for the Council:
Drop totally the '<directories xmlns='urn:xmpp:bookmarks-hierarchy:0'>' item in the XEP and indeed have a copy/pasted <directory title="Title" weight="3.2"/> in all the bookmarks items that need to be in the same directory.
It will be fully compatible with 0402 but will be a bit more different implementation in the clients, I'm not sure if its more complex or not.
--------------------------------------
So, to sum-up, the 3 proposals for the Council to decide:
I hope I've answered and clarified all the concerns and that the proposals fits with the need or limitations raised.
Thanks for your feedback and I'll adapt the XEP (and my implementation) based on what will be decided by the Council.
Regards,
edhelas
On Mon, 26 Oct 2026 at 04:16, Nicolas Cedilnik <nicoco@nicoco.fr> wrote:2) I'm a bit $thing about putting a hierarchy as a different item in the same pubsub node. What we've done previously is used a distinct node where the node id is derived from the node that "uses" it. So in the case of bookmarks, we might use urn:xmpp:bookmarks:1:hierarchy for example.I was definitely expecting this feedback. With my gateway dev hat on, this does not change much for me. edhelas will likely chime in to defend this better than me, but I think it makes it more annoying for clients to make sure bookmarks and their categories stay consistent with a different node, and more IQs and pubsub#events to handle in general.Edhelas sent me one or two messages last night, indeed. Anyway, this is true, but I don't think existing clients expect to have heterogenous nodes - that is, a node where the items have different syntaxes. They'll likely treat it as an error, and it feels possible they'd simply remove the erroneous item. It's all, of course, a trade-off. You could also inject the hierarchy directly into the bookmark extension data, giving its path, and letting clients figure out the hierarchy from there. (Again, I wonder if a full bushy tree is the right option, as opposed to, say, tagging/groups). Dave. _______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org