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

Optional fields say what they are, without "if you like"

Merged chadtmiller.com asked to merge into main from chadtmiller.com/group-host:console/plain-labels
docs/guides/shots/moderating-label-dialog-dark.png+0−0
A binary file, not shown.
docs/guides/shots/moderating-label-dialog.png+0−0
A binary file, not shown.
docs/guides/shots/moderating-label-dialog.txt+2−2
@@ -15,8 +15,8 @@
- paragraph: Asks apps that follow the group's labels to hide everything this account posted. They stay in the group.
- button "Take down"
- heading "Decision" [level=3]
- text: A note, if you like
- textbox "A note, if you like"
- text: Note
- textbox "Note"
- button "Cancel"
- button "Escalate"
- button "Resolve"
docs/guides/shots/moderating-resolve-dialog-dark.png+0−0
A binary file, not shown.
docs/guides/shots/moderating-resolve-dialog.png+0−0
A binary file, not shown.
docs/guides/shots/moderating-resolve-dialog.txt+2−2
@@ -1,6 +1,6 @@
- heading "Decision" [level=3]
- text: A note, if you like
- textbox "A note, if you like": Taken down and removed from the group.
- text: Note
- textbox "Note": Taken down and removed from the group.
- button "Cancel"
- button "Escalate"
- button "Resolve"
docs/guides/shots/starting-bob-dark.png+0−0
A binary file, not shown.
docs/guides/shots/starting-bob.png+0−0
A binary file, not shown.
docs/guides/shots/starting-bob.txt+2−2
@@ -11,7 +11,7 @@
- paragraph: Joining is by request.
- heading "Ask to join" [level=2]
- paragraph: Someone in Book club reviews each request.
- text: A note to them, if you like
- textbox "A note to them, if you like"
- text: Note
- textbox "Note"
- button "Send request"
- contentinfo: console.group-host.internal runs opensocial
docs/guides/moderating.md+2−2
@@ -69,7 +69,7 @@ When a report is not yours to decide, escalate it.
1. Press **Review** on the post's row. The dialog **Review** opens, with
everything you can do about the post and its history.
2. Under **Decision**, in **A note, if you like**, type why, such as
2. Under **Decision**, in **Note**, type why, such as
"Third time this month; over to the admins."
3. Press **Escalate**. The dialog closes, and the subject leaves the
**Open** tab.
@@ -195,7 +195,7 @@ they can ask to join again.
## How do I resolve a report?
1. On the Moderation page, press **Review** on the account's row.
2. Under **Decision**, in **A note, if you like**, type what was done,
2. Under **Decision**, in **Note**, type what was done,
such as "Taken down and removed from the group."
<!-- look /g/gardens.groups.test/moderation --as dan --click 'li.subject:has(> .row-main .who:text-is("maximilianaquinces.test")) > .row-actions button' --type ':popover-open [name=note]=Taken down and removed from the group.' --element ':popover-open .review-part:has([name=note])' -->
docs/guides/rules-and-roles.md+1−1
@@ -31,7 +31,7 @@ here is yours to change".
1. Press **Add a rule**.
2. In **Rule**, type the rule in a few words, such as "Ride with lights
after dark". It can be 64 characters long.
3. In **What it means**, say more if you like, such as "Front and back
3. In **What it means**, say more, such as "Front and back
lights on from sunset, every ride." You can leave it empty.
<!-- look /g/riders.groups.test/settings/rules --as alice --click 'button[popovertarget=add-rule]' --type '[name=title]=Ride with lights after dark' --type '[name=text]=Front and back lights on from sunset, every ride.' --element ':popover-open' -->
docs/guides/starting-a-group.md+7−6
@@ -108,11 +108,12 @@ app, so it can act for you in the group with what your roles let you do.
its first card is **About it**.
2. Type into **What it is for**, such as "We read one book a month and
meet to talk it over."
3. Fill in where it meets if you like: **Town or city it meets in** with
its **Country**, or **It meets online**.
3. Fill in where it meets: **Town or city it meets in** with its
**Country**, or **It meets online**.
4. Type into **Topics**, with commas between them, such as "novels,
reading". It takes up to ten.
5. Fill in **Languages it uses** and **Its own site** if you like.
5. Fill in **Languages it uses** and **Its own site**. Leave empty any
field here that doesn't apply.
6. Press **Save**, at the foot of **About it**. **Saved** shows beside
it once your changes are kept.
@@ -145,7 +146,7 @@ it. Removing takes a picture off at once, without asking.
1. On the card **Links**, press **Add a link**.
2. In the dialog, type the link into **Its address**, starting with
`https://`. This is the web address the link goes to.
3. Type a title for it if you like, such as "Our chat". Without one, the
3. Type a title for it, such as "Our chat". Without one, the
link shows as its address.
4. Press **Add**. The dialog closes, and the link is on the card.
@@ -165,8 +166,8 @@ up to five, shown on its card in the order they were added.
Someone signed in who is not a member sees the same card, without your
standing, **Moderation** or **Settings**. Under it is the way to join
you chose. With people asking to join, they can write in **A note to
them, if you like** and press **Send request**, and the request shows in
you chose. With people asking to join, they can write in **Note** and
press **Send request**, and the request shows in
**Asking to join** for you to approve.
<!-- look /g/bookclub.groups.test --as bob -->
harness/e2e/flows.spec.mjs+4−4
@@ -178,7 +178,7 @@ test('asking to join with a note, and being approved', async () => {
await expect(bob.getByRole('heading', { name: 'Hikers', exact: true })).toBeVisible();
await expect(bob.getByText('Joining is by request.')).toBeVisible();
await expect(bob.getByRole('heading', { name: 'Ask to join' })).toBeVisible();
const note = bob.getByRole('textbox', { name: 'A note to them, if you like' });
const note = bob.getByRole('textbox', { name: 'Note' });
await note.fill('I walk most Sundays.');
await bob.getByRole('button', { name: 'Send request' }).click();
await expect(bob.getByRole('heading', { name: 'Your request is waiting' })).toBeVisible();
@@ -219,7 +219,7 @@ async function send() {
await dialog.getByRole('option', { name: 'Bob @bob.test' }).click();
await expect(handle).toHaveValue('bob.test');
await expect(dialog.getByRole('listbox')).toBeHidden();
await dialog.getByRole('textbox', { name: 'A note, if you like' }).fill('Come walk with us.');
await dialog.getByRole('textbox', { name: 'Note' }).fill('Come walk with us.');
await dialog.getByRole('button', { name: 'Send invite' }).click();
await expect(page.locator('.invites', { hasText: 'bob.test' })).toBeVisible();
}
@@ -451,7 +451,7 @@ test("changing a group's profile", async () => {
await page.getByRole('button', { name: 'Add a link' }).click();
const dialog = page.getByRole('dialog', { name: 'Add a link' });
await dialog.getByRole('textbox', { name: 'Its address' }).fill(address);
if (title) await dialog.getByRole('textbox', { name: 'Title, if you like' }).fill(title);
if (title) await dialog.getByRole('textbox', { name: 'Title' }).fill(title);
await dialog.getByRole('button', { name: 'Add', exact: true }).click();
await expect(page.locator('.link-list', { hasText: address })).toBeVisible();
};
@@ -975,7 +975,7 @@ test('moderating: a label, and the queue', async () => {
.click();
await expect(review.locator('.labels')).toContainText('!takedown');
// Escalated with a note, it leaves the open queue for the escalated.
await review.getByRole('textbox', { name: 'A note, if you like' }).fill('Asked him to stop');
await review.getByRole('textbox', { name: 'Note' }).fill('Asked him to stop');
await review.getByRole('button', { name: 'Escalate' }).click();
await expect(row(who.bob.handle)).toHaveCount(0);
await page
harness/look/seeds/full.mjs+1−1
@@ -66,7 +66,7 @@ export default async ({ world, opensocial, ask, page, picture, who, exists }) =>
await p.getByRole('button', { name: 'Add a link' }).click();
const dialog = p.getByRole('dialog', { name: 'Add a link' });
await dialog.getByRole('textbox', { name: 'Its address' }).fill(address);
if (title) await dialog.getByRole('textbox', { name: 'Title, if you like' }).fill(title);
if (title) await dialog.getByRole('textbox', { name: 'Title' }).fill(title);
await dialog.getByRole('button', { name: 'Add', exact: true }).click();
await p.locator('.link-list li', { hasText: address }).waitFor();
}
web/src/lib/organisms/InviteDialog.svelte+1−3
@@ -9,7 +9,5 @@
{#snippet intro()}They'll see it the next time they sign in, here or in any app that shows
invites.{/snippet}
<HandleInput id="{id}-handle" label="Their handle" placeholder="someone.bsky.social" />
<label class="field"
>A note, if you like <textarea name="message" rows="3" maxlength="2000"></textarea></label
>
<label class="field">Note <textarea name="message" rows="3" maxlength="2000"></textarea></label>
</FormDialog>
web/src/lib/organisms/JoinPanel.svelte+1−2
@@ -60,8 +60,7 @@
<p class="mute">Someone in {name} reviews each request.</p>
<form class="stack" method="post" action="?/join" use:enhance={inPlace}>
<label class="field"
>A note to them, if you like <textarea name="message" rows="3" maxlength="2000"
></textarea></label
>Note <textarea name="message" rows="3" maxlength="2000"></textarea></label
>
<button type="submit">Send request</button>
</form>
web/src/lib/organisms/LinksEditor.svelte+1−3
web/src/lib/organisms/ReviewDialog.svelte+1−1