-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'a' tag treatment #870
Comments
My opinion is that:
|
I'm going to stop trying to differentiate between replies and mentions. it's become neigh impossible and I think maybe that was a dumb distinction in the first place. |
I agree it is a distraction and we should stop it. Mentions are replies. |
NIP-10 markers are pure chaos. |
I don't know if this is feasible, coracle inherits all e and a tags when replying, so that if you mute a note somewhere in the hierarchy all children can be filtered out easily. |
I didn't end up doing that. But an ambiguity comes up when you reply to a thread where the root and/or the direct parent are replaceable events (such as long form). Then your reply uses 'a' tags to do the reply, but 'a' tags don't have markers so you can't mark an 'a' tag as being the root. |
I think we can put the same markers on the 'a' tags. But also I think when replying to a replaceable event we should include the 'e' tag. |
We will have to. It's just a matter of time until somebody makes a Twitter client using a replaceable kind as a base for posts. When that happens then we will have |
God forbid. |
I have definitely seen We already agreed on only using |
I don't know if we really reached consensus. You said:
This:
So if you're replying to a long-form-post which is also a reply to a long-form post (degenerate case, I know), you should have four tags:
This way, clients can choose whether to use the replaceable or snapshotted version. |
@staab thanks, my answer was incomplete so I'll clarify: The PR I opened suggested that since NIP-01 treats However that was met with resistance, especially by Will who got mad because using That is why I did not clarify which markers In this case your last example would become:
Following this discussion @fiatjaf suggested If the reply has an I reworked a lot of the internals to start showing appropriate warnings such as: (There are three different cases, can also be seen live in https://habla.news or https://zapthreads.dev ) In general, I'm curious if we're still seeing many positional tags as deprecated in NIP-10? @mikedilger All the ones I've encountered predate May '23 |
The problem with that is the way most relays handle replaceable events. If the The NIPs repo is meant to be descriptive rather than prescriptive. It seems there is demand for replies to replaceable events, so we should document what's actually out there, regardless of our own personal opinions (I think replaceables should be burned with fire, but short of that I think Semisol/Will's idea of just serving them all would work ok as a poor-man's versioned event). |
Ok I get your point. Replies to a naddr should have properly marked both Out in the wild I've seen So yes, I agree with being more explicit. The only thing I ask is let's keep |
I have a question around 'a' tag treatment.
In NIP-10 we have positional 'e' tags and marked 'e' tags. We now also have 'a' tags defined in NIP-01 to work very similarly to 'e' tags. I'm confused now about how similarly they should work.
As an example, should I count either an 'e' tag or an 'a' tag as a positional event reference, such that this sequence of tags (a, e, a) means that the first 'a' tag is a root, the second 'e' tag is a mention and the last 'a' tag is the reply? Or does positional strictly only apply to 'e' tags?
And what about marked tags, can 'a' tags be marked?
@fiatjaf
The text was updated successfully, but these errors were encountered: