8000 feat(social): skip, post now and copy on one huddl by mwoods79 · Pull Request #664 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content

feat(social): skip, post now and copy on one huddl - #664

Open
mwoods79 wants to merge 5 commits into
mainfrom
micah/social-steer-623
Open

mwoods79 wants to merge 5 commits into
mainfrom
micah/social-steer-623

Conversation

@mwoods79
Copy link
Copy Markdown
Contributor

Closes #623.

Adds a page for one huddl in the organize workspace, /organize/:group/huddlz/:huddl, and puts the Social posts panel on it. The row titles on the Huddlz list and the post rows on the Social tab both open it. Micah chose this placement from three options on the exploration canvas "Huddl social posts placement". The main design canvas (Version 72) has the boards as built.

What organizers can do on it:

  • Skip / unskip. Each connection has a switch. Turning it off drops the huddl's remaining posts there, follow-ups included. Nothing more is planned there until the switch goes back on, including when the schedule is edited or the connection resumes. Turning it back on replans from the schedule, skipping moments that have already passed.
  • Post now. Sends straight away, on top of the schedule. The post says "Today" only when the huddl is actually today. A passing failure leaves the post planned for the scheduler to retry, and the flash says so.
  • Copy post. Copies the same words without an opening line. With no connections, it is all the panel shows.

Where it applies: the panel shows only for published public huddlz in public groups. The switches and Post now go away once the huddl starts.

Also in this PR:

  • Skips, unskips and sends from Post now are recorded in the group's activity.
  • The API has the same three actions on the huddl: skipHuddlOnSocialConnection, unskipHuddlOnSocialConnection and postHuddlNow. JSON:API has matching PATCH /huddlz/:id/... routes. huddlSocialPosts and huddlSocialSkips read one huddl's posts and skips.
  • The copy buttons now go back to their own label after "Copied!" instead of always "Copy link".

Behaviour change: a row title on Organize › Huddlz used to open the public huddl page. It now opens the organizer page, which links to the public page with View huddl page.

Organizers can steer one huddl's social posts on one connection:

- Skip leaves the huddl off the connection. Its remaining posts there are
  dropped, follow-ups included, and nothing more is planned there.
- Unskip plans its timed posts afresh, skipping moments that have passed.
- Post now sends a "now" post straight away, on top of the schedule. It
  says "Today" only when the huddl is today.

These are update actions on the huddl, reachable over GraphQL and
JSON:API with an actor. A skip is its own SocialSkip row. Organizers read
the skips and posts for one huddl with huddlSocialSkips and
huddlSocialPosts. Each change is recorded in the group's activity.
A huddl now has its own page in the organize workspace:
/organize/:group/huddlz/:huddl. The Huddlz list and the Social tab's post
rows link to it. It shows the huddl's time, place and RSVPs, with View
huddl page, Copy and Edit.

For a published public huddl, the Social posts panel lists each
connection with:

- a switch to post the huddl there or skip it
- the huddl's posts there with their times, sent ones marked
- Post now

A paused, broken or skipped connection says so. The panel ends with a
Copy post line for places huddlz can't reach, and with no connections
that line is all it shows. The switches and Post now go away once the
huddl starts.

The clipboard button now restores its own label after "Copied!" rather
than always "Copy link".
@mwoods79
Copy link
Copy Markdown
Contributor Author

Organizer huddl page with the Social posts panel. The first connection has a Post now that went out, the second is paused, and the third is skipped for this huddl.

Desktop

With no connections, only the copy line:

No connections

Phone:

Phone

Keep Post now attempts scheduled after temporary webhook failures and retain
organizer attribution for successful retries. Show sent history alongside
connection status, stream the growing post lists, and exercise Copy post
through the browser clipboard.
…ah/social-steer-623

* origin/micah/social-steer-623:
  fix(social): preserve retryable posts and their history
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.

Social posts: skip, post now and copy on one huddl

1 participant

0