DEV - Code and System Architecture FAQ
Dependency
- [x] Waiting for new questions to be added.
Overview
As developers who are trying to better understand the codebase, we need a place to post any questions about how the codebase works in FAQ format, as well as prepare these answers for future documentation (google docs, wiki).
Table of Contents
Action Items
Please complete the following action items for each question or answer.
Instructions For Submitting a Question
- [ ] Copy/Paste the FAQ Question Template text into a new comment, populate the generic fields...
- [ ] Question Title
- [ ] Context / Notes (if applicable)
- [ ] Modify this issue (#1986)
- [ ] Move the ticket to Questions: https://github.com/orgs/hackforla/projects/63/views/1?filterQuery=Status%3AQuestions
- [ ] Remove the https://github.com/hackforla/311-data/labels/Dependency label
- [ ] Add the https://github.com/hackforla/311-data/labels/ready%20for%20dev%20lead label
- [ ] Edit the Table of Contents of this ticket (#1986
- [ ] Add a new bullet point, (see New Table of Contents Bullet Point Text (Copy/Paste))
Instructions For Answering a Question
- [ ] Click the Quote Reply and provide your response
- if you need more time to sufficiently answer the question...
- [ ] Move this ticket (#1986) to In Progress: https://github.com/orgs/hackforla/projects/63/views/1?filterQuery=Status%3A%22In+progress%22
- [ ] Provide an ETA and Availability
- if you need more time to sufficiently answer the question...
- [ ] Once your answer has been submitted...
- [ ] Assign this ticket to the volunteer who submitted the question
- [ ] Modify the Question comment's Answer Status to "Discussion In Progress" (see Allowable Statuses copy/paste)
- [ ] Edit the Table of Contents of this ticket (#1986)
- [ ] Find the relevant Question comment, change the emoji-prefix from 🔴 to 🟡
Instructions For Finalizing an Answer
- [ ] Edit your Question comment with the following...
- [ ] Copy/Paste the relevant text from the Answer comment into the Selected Answer section
- [ ] Provide a link to the comment with the answer
- [ ] Update the "authored by" with the github-id of the volunteer who provided your answer
- [ ] Update the "Answered: YYYY-MM-DD" date
- [ ] Modify the Question comment's Answer Status to "Answered" (see Allowable Statuses copy/paste)
- [ ] Edit the Table of Contents of this ticket (#1986)
- [ ] Find the relevant Question comment, change the emoji-prefix from 🟡 to 🟢
- [ ] If there are no further unanswered questions, modify this ticket (#1986)...
- [ ] Clear the Assignee
- [ ] Move to the Icebox (on Hold): https://github.com/orgs/hackforla/projects/63/views/1?filterQuery=status%3A%22Icebox+%28on+hold%29%22, (see How to Change Project Board Status to Questions, but reverse it!)
- [ ] Remove the https://github.com/hackforla/311-data/labels/ready%20for%20dev%20lead and add the https://github.com/hackforla/311-data/labels/Dependency label
Resources/Instructions
Useful Screenshots
How to Quote Reply
Click on the ellipse, ..., for the question you'd like to answer or discuss and select "Quote Reply".
How to Change Project Board Status to Questions
In the Sidebar (Right), click on the Status dropdown, and find the Questions option menu. Don't accidentally click on the right-most arrow, this will reveal nothing.
New Table of Contents Bullet Point Text (Copy/Paste)
- [🔴 Q: <title-of-question>](url-of-issue-comment)
FAQ Question Template Text (Copy/Paste)
## Q: [REPLACE-WITH-QUESTION]
### Context / Notes
Add any of your notes here, if applicable.
Consider using a dropdown if you have a lot of notes, or you want to include screenshots.
<details><summary>Dropdown Example</summary>
<p>
Like so...
</p>
</details>
### Selected Answer
n/a
---
Answered: YYYY-MM-DD
- [link-to-answer-issue-comment]
- authored by [@person-who-authored-answer]
#### Answer Status
🔴 Seeking Answer
Allowable Statuses (Copy/Paste)
🔴 Seeking Answer
🟡 Discussion In-Progress
🟢 Answered
Other Live-Forever Issues
- https://github.com/hackforla/311-data/issues/1878
- https://github.com/hackforla/311-data/issues/1726
Q: How Is Service Request Data Cleared in the Map
Context / Notes
There exist functions that appear to clear data and reset the map, but don't actually remove data from the application:
- in
redux/reducers/data.js- there is a
clearPinInfofunction that is used to clear info when a user's mouse leaves a feature's info popup
- there is a
- in
components/Map/Map.jsx- there is a
resetfunction that is used to remove data from the GUI and reset map zoom, but nothing here indicates that the data itself is being removed
- there is a
Selected Answer
n/a
Asked: 2025-06-12 Answered: YYYY-MM-DD
Status
🔴 Seeking Answer
If this is still in its infancy, we might consider using GitHub's built-in discussion tab for the repo. It keeps everything organized, has labels and statuses so devs don't have to copy paste, and is already used by other teams so we have templates to follow it needed.
the react team has one to check out
React: https://github.com/reactwg/react-18/discussions/categories/q-a
Next JS https://github.com/vercel/next.js/discussions
NASA https://github.com/nasa/cFS/discussions