apostrophecms / apostrophecms/apostrophe

Trashed piece gets rescued if you click on the title in the trash.. unexpected behavior

Open
#2,155 3 comments 0 reactions 0 assignees View on GitHub
bug UI
Dominant language
JavaScript
Stars
4.6k
Forks
650
Avg merge
19h 21m
Merged PRs (30d)
23

Description

**To Reproduce**
Steps to reproduce the behavior:
1. Go to any piece in the trash.
2. Click on piece title
4. Piece automatically gets rescued with no prompt
5. Generic notification that piece has been rescued

**Expected behavior**
I would expect clicking on a piece in the trash to bring up the editor modal for that piece.

This could be bad.. _user clicks on thing in trash to check to see what a field value is_ ... _thing leaves trash and gets lost in a sea of 1000 pieces some of which might have the same title_
or.. _user clicks on user in the trash to make sure login is disabled as well as trashed_ ... _trashed user gets republished_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior from the issue steps in the trash interface and inspect the title-click entry point. Confirm that clicking a trashed piece opens its editor modal, leaves it in the trash, and does not show a rescue notification.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.