Edit, Duplicate, and Delete
The Actions column (or similar) has one button per action.
Edit
What it does: Navigates to the WordPress (Gutenberg) editor for that post, e.g. #/wp/post.php?post=<id>&action=edit. You edit in the block editor; saving there updates the post. When you come back to the list, a refresh (or cache invalidation) shows the latest data.
Benefit: Full editing power when inline editing is not enough.
Duplicate
What it does: Calls the duplicate API with the post ID and current post type. The server creates a new post with the same content, excerpt, meta, and taxonomies. The response includes the new post (or its ID). The client adds the new row to the grid (often at the top) and can scroll the grid to show it. No full page reload.
Benefit: Clone a post or page in one click and adjust the copy instead of re-entering everything.
Delete
What it does: Moves the post to Trash (or permanently deletes, depending on implementation). Often implemented with a press-and-hold or confirmation to avoid accidental clicks. After success, the row is removed from the grid and the posts cache is updated (remove from cache). Stats and dashboard may be invalidated.
Benefit: Clean up content from the list with a clear, reversible (trash) or permanent action.
Quick duplicate in detail
Quick duplicate is the same as the Duplicate row action; "quick" means one click from the grid.
Server behavior
Endpoint: POST /wp-json/fleekdash/v1/posts/duplicate with body { source_id, post_type }.
The server copies the post: title, content, excerpt, status (often "draft"), meta (e.g. page builder data, template), and taxonomies. The new post gets a new ID and date.
Client behavior
After a successful response, the new post is added to the grid (and to the posts cache). The grid may scroll to the top so the new row is visible. A success toast confirms the duplicate.
If the API returns the full new post object, the client uses it; otherwise it may fetch the new post or build a minimal row so the user sees the new item immediately.
Benefit: Duplicate posts or pages (including custom types and meta) without opening the editor or copying by hand.