Skip to content

#1604 - Add docs for soft delete #2284

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

Merged
merged 13 commits into from
Jun 16, 2025
Merged

Conversation

mculotta120
Copy link
Contributor

@mculotta120 mculotta120 commented May 19, 2025

Closes 1604
Adds docs for soft delete pattern

Copy link

vercel bot commented May 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
design-system ❌ Failed (Inspect) Jun 16, 2025 3:59pm
gcmp-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 3:59pm
jazz-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 3:59pm
jazz-organization ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 3:59pm
jazz-paper-scissors ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 3:59pm
jazz-richtext ❌ Failed (Inspect) Jun 16, 2025 3:59pm
jazz-richtext-prosekit ❌ Failed (Inspect) Jun 16, 2025 3:59pm
20 Skipped Deployments
Name Status Preview Comments Updated (UTC)
clerk-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
file-upload-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
form-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
image-upload-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-chat ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-chat-1 ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-chat-2 ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-filestream ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-image-upload ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-inspector ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-multi-cursors ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-pets ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-richtext-tiptap ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-todo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
jazz-version-history ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
music-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
passkey-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
passphrase-auth-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
passwords-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm
reactions-demo ⬜️ Ignored (Inspect) Visit Preview Jun 16, 2025 3:59pm

@mculotta120 mculotta120 changed the title Feat/1604 add docs for soft delete #1604 - Add docs for soft delete May 19, 2025
@trishalim
Copy link
Contributor

I think this belongs to CoList (because you have the helper method there) and CoMap (because you have the deleted property on the CoMap) pages.

Can you please also make it use Zod, and use the example schema ("gardening project") from those pages so that it flows well into these new sections. 🙏

@trishalim
Copy link
Contributor

LGTM aside from the weird Array.from(list.values()).filter() in the helper method. Maybe this can be improved after Anselm does the changes for the helpers, so let's wait for that?

@bensleveritt bensleveritt merged commit 2526e88 into main Jun 16, 2025
44 of 47 checks passed
@bensleveritt bensleveritt deleted the feat/1604-Add-docs-for-soft-delete branch June 16, 2025 18:05
@github-project-automation github-project-automation bot moved this to Done in 🚢 Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Document the Soft Deletion pattern
3 participants