hackforla / hackforla/tdm-calculator

Bug: FAQ page shows duplicate items

Open
#3,318 5 comments 0 reactions 0 assignees View on GitHub
bug deck: staging level: hard p-feature: FAQ priority: SHOULD HAVE ready for product role: database role: front-end size: 2pt
Dominant language
JavaScript
Stars
68
Forks
47
Avg merge
3d 9h
Merged PRs (30d)
25

Description

#### Description
FAQs are showing up as duplicated.

Image

When logged in as admin:
- Clicking expand on an item automatically expands its duplicate.
- Reordering items produce inconsistent behavior.
- Adding a new category or new FAQ item does not automatically create a duplicate.
- Deleting an item does not automatically delete its duplicate.

Takeaway: Duplicate behavior reflects only for existing items, not for newly saved items.

#### Steps to Reproduce
1. Go to the FAQ page.
2. Log in as an admin and click on "Edit FAQ Page" to reproduce the above described behavior.

#### Action Items
- [ ] Fix bug.
- [ ] Review with development lead.
- [ ] Review with product, development, and research teams. Update if needed based on feedback.
- [ ] Once finalized, add a slide to the staging deck (see resources)
- [ ] Get Stakeholder sign-off via the stakeholder meeting slide deck.

### Resources/Instructions

#### Staging and Release decks
- [Staging Deck](https://docs.google.com/presentation/d/1crZ3IxqA4hAu3qzD7ns93Ieuqjwh6wyEtuX_46cP-fg/)
- [Staging slide, 3318](https://docs.google.com/presentation/d/1crZ3IxqA4hAu3qzD7ns93Ieuqjwh6wyEtuX_46cP-fg/edit?slide=id.g3f2afe8206d_0_129#slide=id.g3f2afe8206d_0_129)
- Release Deck
- [2025-MM-DD Release deck, slide ISSUE NUMBER]

Contributor guide

Open the contributing guide

Research direction

Start by opening the FAQ page, signing in as an admin, and using “Edit FAQ Page” to reproduce the duplicate behavior. Compare expanding, reordering, adding, and deleting existing FAQ items with newly saved items. Done means existing items no longer behave as duplicates and each operation affects only the intended item.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.