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

Issue 39, midway #60

Closed
wants to merge 8 commits into from
Closed

Issue 39, midway #60

wants to merge 8 commits into from

Conversation

Procos12
Copy link

@Procos12 Procos12 commented Oct 1, 2024

Added a UI component for the best response
Edited the modal that appears right after clicking on mark as best response
Currently functionality of the best response button, is to delete
Only a few steps to solve #39
Created files:
src/views/modals/best-response.tpl
public/src/client/topic/best-response.js

Edited file:
node_modules/nodebb-theme-harmony/templates/partials/topic/topic-menu-list.tpl

…eration. Currently the best response button is linked to the delete posts functionality.
Limited the ability when selecting the best response to only one post(UI only, not backend)
I.E. a user will be able to mark multiple posts as the best response through the interface
…ponse.tpl

Added comments for next steps in public/src/client/topic/best-response.js
converted indentation from spaces to tabs in best-response.js
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11126791483

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.005%) to 82.638%

Files with Coverage Reduction New Missed Lines %
src/meta/errors.js 1 76.74%
Totals Coverage Status
Change from base Build 11121575958: -0.005%
Covered Lines: 22332
Relevant Lines: 25598

💛 - Coveralls

@Procos12 Procos12 changed the title Issue 39 Issue 39, midway Oct 1, 2024
@Procos12
Copy link
Author

Procos12 commented Oct 1, 2024

Please ask any questions here or whatsapp

@Procos12
Copy link
Author

Procos12 commented Oct 1, 2024

Resolves #17
Due to it being in the thread tools, only admins can access

Copy link

@hibaabdullahhamad hibaabdullahhamad left a comment

Choose a reason for hiding this comment

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

Since the functionality isn't fully implemented, create a PR once it is. Will close the PR for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants