-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
π₯β¨ Marketplace
: Removing DeliveryAreas
#2014
Comments
zspencer
changed the title
Dec 10, 2023
Distributor
archives DeliveryArea
Marketplace
: Archiving DeliveryAreas
zspencer
changed the title
β¨ Dec 10, 2023
Marketplace
: Archiving DeliveryAreas
Marketplace
: Archiving DeliveryAreas
zspencer
changed the title
β¨
β¨ Dec 10, 2023
Marketplace
: Archiving DeliveryAreas
Marketplace
: Removing DeliveryAreas
FWIW, I'veΒ not hated using this gem for "archiving" or other soft-deleting: https://github.com/jhawthorn/discard |
zspencer
changed the title
β¨
π₯β¨ Dec 12, 2023
Marketplace
: Removing DeliveryAreas
Marketplace
: Removing DeliveryAreas
zspencer
added a commit
that referenced
this issue
Dec 12, 2023
- #2014 This adds the `discard` gem so that we can archive objects. It also updates the workflow for removing DeliveryArea to have an `Archive` step first. Once a `DeliveryArea` is archived, it can not yet be restored; but it can be removed if there are no `Orders` associated with the `DeliveryArea`
zspencer
added a commit
that referenced
this issue
Dec 13, 2023
- #2014 This adds the `discard` gem so that we can archive objects. It also updates the workflow for removing DeliveryArea to have an `Archive` step first. Once a `DeliveryArea` is archived, it can not yet be restored; but it can be removed if there are no `Orders` associated with the `DeliveryArea`
zspencer
added a commit
that referenced
this issue
Dec 13, 2023
* π₯β¨ `Marketplace`: `DeliveryAreas` may be `Archived` - #2014 This adds the `discard` gem so that we can archive objects. It also updates the workflow for removing DeliveryArea to have an `Archive` step first. Once a `DeliveryArea` is archived, it can not yet be restored; but it can be removed if there are no `Orders` associated with the `DeliveryArea` * π§Ή `Marketplace`: `DeliveryArea` Strip TurboStreams (#2026) Now that we have a better idea how to use TurboFrames, the Streams seem pretty unnecessary. This also makes it so following links within the `Marketplace::ManagementComponent` update the browser URL. * β¨ `Marketplace`: Put Archived `DeliveryAreas` behind the `Archive` link (#2027) * π§Ή `Marketplace`: `DeliveryArea` Strip TurboStreams Now that we have a better idea how to use TurboFrames, the Streams seem pretty unnecessary. This also makes it so following links within the `Marketplace::ManagementComponent` update the browser URL. * β¨ `Marketplace`: Put Archived DeliveryAreas behind the `Archive` link * One-line disable Co-authored-by: Ana Ulin <[email protected]> * whitespace is hard Co-authored-by: Ana Ulin <[email protected]> * don't not Co-authored-by: Ana Ulin <[email protected]> * Better words * Pull discardability/destroyability up to the Model * Fix system test --------- Co-authored-by: Ana Ulin <[email protected]>
zspencer
added a commit
that referenced
this issue
Jan 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Marketplace
:DeliveryArea
Β #1136DeliveryArea
withoutOrders
may be RemovedDeliveryArea
with `Orders may not be RemovedDeliveryArea
withoutOrders
and withCarts
disassociates theCart
from theDeliveryArea
DeliveryArea
may be#archived
, even if they haveOrders
DeliveryAreas
dissaociatesCarts
from theDeliveryArea
:archived
DeliveryAreas
may be#restored
Bugs
The text was updated successfully, but these errors were encountered: