~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

The proposal's November changes take in main's console messages

Merged
Merged chadtmiller.com asked to merge into feature/proposal-nov from chadtmiller.com/group-host:proposal-nov/main-merge

What changes

Main's console messages and recovery-key help, on the feature branch. This merges main (ff46d45, 18c6d47) into feature/proposal-nov. The console's words come from web/messages/en.json as main has them, and what the feature changed reads through them: the role editor's "Any role, even ones made later", the takedown wording that says the group's spaces stop showing what's taken down, and activity lines for a space made, changed or deleted.

Conflicts. activity.ts keeps main's line() and adds the feature's space lines as messages; the lines for fyi.opensocial.permissions and fyi.opensocial.access, which the feature removed, are gone. reasons.ts names the feature's short reason types (spam, nsfw, …) with main's messages. The group page and roles settings keep the feature's * (any role) and main's messages. settings.ts takes main's imports, without Write, which the feature no longer uses. package.json takes the feature's spaces-alpha versions and main's paraglide packages, and the lock is made again. docs/reference/api.md keeps the feature's moderation method names, plus main's lang sentence on putLabelDefinition. The publish-a-site flow keeps the feature's wait for getActorInvites.

Why

The feature branch needs main's changes before it can land.

How it was checked

npm run check (lex, i18n, svelte-check --fail-on-warnings, the shell's tsc), node harness/strings.mjs and node harness/dialogs.mjs were clean. just look was run on the pages both sides changed. The rest is left to CI.

Shortcomings

Main's recovery-key and new-group work called no method or record the feature removed, so there was nothing to port there.

Approved

This merges main's console messages and recovery-key help into the feature branch. I read the conflict-prone files and found nothing wrong:

  • activity.ts: main's line() and doer are kept, and the space created, changed and deleted lines are now messages. All three activity_space_* keys exist in en.json. The only importer, GroupActivity.svelte, uses bare, byApp, doer, line, so dropping did breaks nothing.
  • reasons.ts, permissions.ts, settings.ts, package.json and api.md: these are consistent with the described resolution. Write is dropped from settings.ts, and lang is passed to putLabelDefinition.
  • The group page and the roles settings page: both read through messages.

I did not read the other ~125 changed files: the generated messages, the lockfile, screenshots, and mostly mechanical per-component message swaps. The npm run check, strings and dialogs harnesses you ran and CI should cover them.

Merged as 38bcb53