Skip to content

Conversation

@frederickobrien
Copy link
Contributor

@frederickobrien frederickobrien commented Aug 18, 2023

Sister PR: https://github.com/guardian/flexible-content/pull/4400

Co-Authored-By: @twrichards

It's common to see notes used in body copy of Composer for important messages between editorial colleagues that aren't supposed to be published, but with un-noting being a single click they sometimes are.

An ambition of Pinboard has long been to centralise discussions around single pieces of content, not least because of this potentially problematic use of notes.

What does this change?

This adds a new isStarred column to the item table with corresponding GraphQL schema change, updated queries, and a mutation for toggling the new flag on a given item (which triggers the existing onMutateItem subscription).

Introduced a new star icon toggle button beneath the user's avatar to indicate the starred status of messages and on toggle present a confirmation modal (similar to the delete item modal).

Takes over the rendering of the placeholders added in https://github.com/guardian/flexible-content/pull/4400 and lists all starred messages (with timestamp and author) alongside an explainer of the feature.

The result looks a bit like this:

Kapture 2023-12-08 at 15 48 24

How to test

Deploy this and https://github.com/guardian/flexible-content/pull/4400 to their respective CODE environments and create some starred message in CODE Composer (on any article tracked in Workflow CODE, otherwise you won't get starred messages).

How can we measure success?

Ultimately fewer notes published accidentally, and starred messages can connect to larger ongoing conversations around pieces of content.

Have we considered potential risks?

Decoupling editorial notes from body copy does create an opportunity to see one but not the other. If Pinboard were to stop working as expected these important messages may stop being visible to those who most need to see them.

However in the vast majority of cases the sticky positioning and starred background of starred messages makes it more likely that they'll be seen than notes that slip out of the viewport.

Accessibility

frederickobrien and others added 10 commits November 10, 2023 15:28
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
…lay at the top of Composer articles)

Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
Co-Authored-By: Tom Richards <19289579+twrichards@users.noreply.github.com>
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