IntersectMBO / IntersectMBO/govtool

💡 Add Option to Edit and Remove Comments in Budget Proposal and Proposal Discussion Forum Sections

Open
#3,449 0 comments 0 reactions 0 assignees View on GitHub
🎨 Design Needed 💡 Feature idea Other area
Dominant language
HTML
Stars
21
Forks
29
Avg merge
2d 22h
Merged PRs (30d)
7

Description

### Area

Other

### Is there new design needed?

Yes

### What?

Introduce the ability for users to **edit** or **remove** their own comments in both the **Budget Proposals** and **Proposal Discussion Forum** sections. This functionality should include a **time window** during which editing or removal is allowed (e.g., within 1 hour of posting).

### Why?

- Allows users to correct mistakes, typos, or improve clarity after posting.
- Prevents long-standing comments from being changed in ways that might disrupt context.
- Encourages better engagement while maintaining integrity of discussions.

### How?

- Add **edit** and **delete** icons next to comments posted by the currently logged-in user.
- Enable editing or removal **only within a predefined time window** (e.g., 1 hour).
- Display a small notice on edited comments (e.g., "edited").
- After the time window, editing and deletion should no longer be available.
- Apply the same logic across both **Budget Proposals** and **Proposal Discussion Forum** sections.

### (Optional) User Story with acceptance criteria

## User Story
> As a **community member**,
> I want to be able to **edit or remove my comments** within a short time after posting,
> so that I can correct mistakes without affecting long-term discussion integrity.

## Acceptance Criteria
- [ ] Users can **edit** or **remove** their own comments within a **defined time window** (e.g., 1 hour).
- [ ] **Edit** and **delete** options are only visible for the user’s own comments.
- [ ] Edited comments are labeled with an **"edited"** tag.
- [ ] After the time window expires, comments become **read-only**.
- [ ] Functionality is available in both **Budget Proposals** and **Proposal Discussion Forum** sections.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.