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

#167224203 get highlighted text #75

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Conversation

alainburindi
Copy link
Contributor

What does this PR do?

Have the get highlighted text working

Description of Task to be completed?
  • Allow user to get highlighted text
Have the following endpoints working
  • GET /api/articles/:slug/highlight: highlight a text
How should this be manually tested?
  • Clone the repos
  • Install dependencies npm install
  • Run npm run dev
  • Get higlighted text in an article
What are the relevant pivotal tracker stories?

#167224203

@alainburindi alainburindi force-pushed the ft-get-highlight-167224203 branch 2 times, most recently from 3d5896c to 54ab1b9 Compare July 11, 2019 15:33
@alainburindi alainburindi force-pushed the ft-get-highlight-167224203 branch 2 times, most recently from f6679c8 to 7f5939c Compare July 15, 2019 16:31
@@ -63,6 +63,9 @@ articleRouter.post('/:slug/highlight',
validateInputs('highlight', highlightFields),
articleController.highlight);

articleRouter.get('/:slug/highlight', checkArticle.getArticle, articleController.getHighlight);

Copy link
Contributor

Choose a reason for hiding this comment

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

please remove these empty lines @alainburindi

@@ -49,5 +49,6 @@ export default {
parentCommentId: 'You can not reply to a reply',
notCommentOwner: 'You must be the owner of the comment in order to proceed',
noBookmark: 'You have no bookmarks',
noSlug: 'There is no article with the slug provided'
noSlug: 'There is no article with the slug provided',
noHighlight: 'No highlited text for this article',
Copy link
Contributor

Choose a reason for hiding this comment

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

@alainburindi it's highlighted not highlited

This mistake is happening across several files so please correct in other places, as well.

@MemunaHaruna MemunaHaruna merged commit 245682f into develop Jul 16, 2019
@MemunaHaruna MemunaHaruna deleted the ft-get-highlight-167224203 branch July 16, 2019 13:49
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.

None yet

4 participants