Automattic / Automattic/google-docs-add-on

Error/Feature option: Deleting WP post and trying to re-import to WP

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
169
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Reproduce error

1. Write a post in Google Docs
2. Open the extension and import post to WP
3. Open your U/I on WP.com and permanently delete the post
4. Go back to Docs, open the extension. Click "update"
5. See the error in the bottom banner that reads "unknown post"

Feature option -> add a "create new post" button instead of just having an "update" button. You can't update a post that is deleted, and unfortunately, that is the only option the extension gives the user after the importing the post once.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Google Docs extension workflow by importing a post to WordPress.com, permanently deleting it, and clicking "update". Trace the update action and the bottom-banner "unknown post" error, then define the new-post option's behavior for a deleted post. Done means the extension offers a way to create a new WordPress post instead of only updating the missing one.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wordpress
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.