Skip to content

Conversation

Oaphi
Copy link
Member

@Oaphi Oaphi commented Dec 1, 2024

closes #1459

Ability to discard a post's draft manually is needed in contexts where the "cancel" button is not available (f.e., when editing user profiles).

2025-08-13_20-23

Note: as per discussion, the implementation includes:

  • a new "cancel" button on the user profile tab that, if clicked, redirects the user back to their profile;
  • a markdown tools button for discarding the draft and staying on the page;
  • an indicator (analogous to the "draft saved" one) for when a draft is successfully discarded;

@Oaphi Oaphi added area: backend Changes to server-side code area: frontend Changes to front-end code labels Dec 1, 2024
@Oaphi Oaphi self-assigned this Dec 1, 2024
Copy link

codecov bot commented Mar 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.25%. Comparing base (a9400ee) to head (79ee877).
⚠️ Report is 22 commits behind head on develop.

Additional details and impacted files
Components Coverage Δ
controllers 70.87% <ø> (ø)
helpers 81.96% <ø> (ø)
jobs 60.00% <ø> (ø)
models 88.36% <ø> (ø)
tasks 61.11% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Oaphi Oaphi requested review from a team, cellio and ArtOfCode- August 13, 2025 19:01
@Oaphi Oaphi marked this pull request as ready for review August 13, 2025 19:02
Copy link
Member

@cellio cellio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one small tweak to a tooltip.

@Oaphi

This comment was marked as resolved.

@Oaphi Oaphi added this to the v0.12.4 milestone Aug 25, 2025
@Oaphi Oaphi added the status: blocked This is being worked on but is blocked by something else label Sep 1, 2025
@Oaphi

This comment was marked as resolved.

@Oaphi Oaphi removed the status: blocked This is being worked on but is blocked by something else label Sep 1, 2025
@ArtOfCode- ArtOfCode- merged commit 16d0278 into develop Sep 2, 2025
13 checks passed
@ArtOfCode- ArtOfCode- deleted the 0valt/1459/draft-discard branch September 2, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Changes to server-side code area: frontend Changes to front-end code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a way to discard user profile drafts
3 participants