Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENG-1140: new-trashed-rewardables-flow #1177

Merged
merged 4 commits into from
Apr 12, 2024

Conversation

stormcloud266
Copy link
Contributor

@stormcloud266 stormcloud266 commented Mar 27, 2024

Ensures users can't get to rewardables that are trashed, but allows the creator to edit them.

  • filter trashed puzzles in services
  • show list of trashed puzzles that link to edit page

@stormcloud266 stormcloud266 changed the base branch from main to rewardable-delete-service March 27, 2024 01:27
@stormcloud266 stormcloud266 requested a review from illepic March 27, 2024 01:28
@stormcloud266 stormcloud266 changed the title filter trashed rewardables ENG-1140: new-trashed-rewardables-flow Mar 27, 2024
Copy link

linear bot commented Mar 27, 2024

ENG-1140 New trashed rewardables flow

Rewardables should not be accessible via slug if they are trashed.

They should not show in grids if they are trashed.

They should still be accessible through the edit form so they can be restored.

Have a 'trashed' section in the user's puzzle grid

@stormcloud266 stormcloud266 merged commit af3cba9 into rewardable-delete-service Apr 12, 2024
@stormcloud266 stormcloud266 deleted the trashed-rewardable branch April 12, 2024 13:36
stormcloud266 added a commit that referenced this pull request May 20, 2024
* add service, types, migration and functionality

* move title and trash logic out of puzzleform

* user can delete but modal is default

* restored puzzle appears on /play pathway

* logic implemented sans styling

* restructured import statements

* misc. notes w/Tawnee

* ENG-1140: new-trashed-rewardables-flow (#1177)

* filter trashed puzzles in services

* show list of trashed puzzles that link to edit page

* ENG-1139: set-up-restore-flow-ui (#1178)

add restore component and loading states

* trash works sans <RestorePuzzle /> rendering

* user directed to profile after trash puzzle

* trash puzzle button styled and scoped properly

---------

Co-authored-by: richardburd <[email protected]>
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.

2 participants