Skip to content
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

Updating naming conventions for postgate-related attributes #2701

Merged
merged 5 commits into from
Aug 12, 2024

Conversation

estrattonbailey
Copy link
Member

No description provided.

@estrattonbailey estrattonbailey force-pushed the postgate-naming-tweaks branch from 4306bf3 to f2c962a Compare August 9, 2024 16:22
@@ -16,16 +16,16 @@
"format": "at-uri",
"description": "Reference (AT-URI) to the post record."
},
"detachedQuotes": {
"detachedEmbeddingUris": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're in here I wonder if we may want to sync-up the terminology on embed views. Currently there's a #viewRemoved lexicon that gets used within the posts listed on this field. For consistency perhaps that should become #viewDetached.

Copy link
Collaborator

@devinivy devinivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a final thought or two, but this is looking good! 👍

},
"quotepostRules": {
"embeddingRules": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On threadgate records the corresponding property is called allow, which contains the rules determining whether a given reply is allowed.

I am not opposed to embeddingRules, though if we want to be really consistent with threadgates it might become something like allowEmbedding. I'll leave it up to you and @brianolson whether you want to adopt that change.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few people noted that an empty list of allow rules being implicitly deny is less clear than an explicit deny rule. it's also a little weird because nil-record is different than empty-record. so I'm in favor of the explicit deny rule. I think this implicitly makes the logic that you can have deny rules and allow rules, and I'd interpret an allow rule as superseding the deny rule. {deny *, allow foo, allow bar} does allow foo and bar

@estrattonbailey estrattonbailey merged commit 7dff13f into reply-qp-moderation Aug 12, 2024
2 of 10 checks passed
@estrattonbailey estrattonbailey deleted the postgate-naming-tweaks branch August 12, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants