You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7f73108
Browse filesBrowse the repository at this point in the historyBrowse files
fix(plugin-detail): a `record:activity` whose `types` leaves out `comment` no longer offers a comment composer whose posts it then hides
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
`types` is the list of feed item kinds the block shows, and `comment` is one of them. A block authored with a list that leaves it out, such as `types: ['task']`, filters every comment out of its feed, including a comment posted on that same block. It still drew the "Leave a comment" composer and the "Comments only" filter, so a member's comment was saved and then never appeared.
11
+
12
+
Such a block now draws no composer and no "Comments only" option. In development it logs one warning per block that names the block, its `types` and the two fixes:
13
+
14
+
- to take comments on the block, add `'comment'` to `types`;
15
+
- to keep the block activity-only, set `showCommentInput: false`.
16
+
17
+
A block with no `types`, or with a `types` that includes `'comment'`, is unchanged.
fix(console): the public form prints a form entry's own label as served, not the app bundle's object-field translation
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
A form entry that declares its own `label` is the form's visitor-facing copy, and the form endpoint already serves it localized (from `_sections.SECTION.fields.FIELD.label` in the app's translations). The public form page then looked the field up in the app bundle as `fields.OBJECT.FIELD` first and printed that whenever the browser held the bundle, which translates the object field's label, the one agents see. So a visitor who was signed in to the same console, or any visit with the bundle loaded, read the agent-side label (for example "Submitter name" where the form says "Your name"), while a cold anonymous visit read the form's own label.
11
+
12
+
Each row now records where its label came from. A row whose entry declared a `label` prints it as served; only a row whose label came from the object field takes the bundle translation, as before. The required-field and `visibleWhen` refusal messages name each field by the same rule, so they use the label the visitor sees.
0 commit comments