Skip to content
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

Adding a question resolved feature to the current NodeBB frame. #32

Open
wants to merge 3 commits into
base: f24
Choose a base branch
from

Conversation

RongYYYY
Copy link

@RongYYYY RongYYYY commented Oct 10, 2024

The status of the question is showed next the the question (resolved / unresolved). At the start of the question, there is a toggle button that can switch the question between "resolved" and "unresolved".

There is issue with the backend structure for storing data and accurately retrieve the status.

Run ./nodebb build tpl
Navigate to any question post.
If a new topic is created it is default to "unresolved"
After topic is posted, user can toggle between resolved and unresolved.

Screenshot 2024-10-10 at 02 43 33

Automated Test:
Due to the front-end and back-end margin error, the feature I was working on could not be fully implemented. Automated tests are most effective when the feature is complete, as they validate functionality across various scenarios. Since the feature is not yet in a working state, any test I write at this point would fail, not because of issues with the logic or implementation, but because of the unresolved margin error. Writing tests now would not accurately reflect the functionality of the feature and could lead to misleading results. Therefore, I believe it’s more efficient to focus on resolving the margin error first, and once the feature is functioning as expected, I will write the automated tests to ensure the feature is properly validated.

Issues Addressed:
#27
#28
#29

Initial trial on updating skin based on time in day
Pivoted to problem-solved feature.
@RongYYYY RongYYYY added this to the Sprint 2 milestone Oct 10, 2024
@RongYYYY RongYYYY requested a review from ogometz October 10, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant