Skip to content

connected endorse button to upvote function#65

Merged
bhuelsman merged 74 commits intomainfrom
58-connect-the-endorse-button
Apr 9, 2026
Merged

connected endorse button to upvote function#65
bhuelsman merged 74 commits intomainfrom
58-connect-the-endorse-button

Conversation

@ErinKelley17
Copy link
Copy Markdown
Collaborator

@ErinKelley17 ErinKelley17 commented Mar 23, 2026

files edited:

  • backend/src/repositories/upvote.repository.ts
  • backend/src/services/upvote.service.ts
  • mobile/src/screens/IssueDetailScreen.tsx
  • backend/src/services/__tests__/unit/issue.service.test.ts
  • backend/src/services/__tests__/unit/upvote.service.test.ts

Connected upvote functionality to endorse button on issue detail screen.
Updated upvote service to return hasUpvoted boolean.

To test:

  • login
  • run mobile and click endorse button on an issue
  • verify change in prisma database

@ErinKelley17 ErinKelley17 linked an issue Mar 23, 2026 that may be closed by this pull request
LeahBragg and others added 29 commits March 30, 2026 21:19
Removed commented-out API URLs and resolved merge conflicts.
Bumps the npm_and_yarn group with 2 updates in the /backend directory: [form-data](https://github.com/form-data/form-data) and [lodash](https://github.com/lodash/lodash).
Bumps the npm_and_yarn group with 2 updates in the /mobile directory: [lodash](https://github.com/lodash/lodash) and [@xmldom/xmldom](https://github.com/xmldom/xmldom).


Updates `form-data` from 2.3.3 to 4.0.5
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/commits/v4.0.5)

Updates `lodash` from 4.17.23 to 4.18.1
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.23...4.18.1)

Updates `lodash` from 4.17.23 to 4.18.1
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.23...4.18.1)

Updates `@xmldom/xmldom` from 0.8.11 to 0.8.12
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](xmldom/xmldom@0.8.11...0.8.12)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@xmldom/xmldom"
  dependency-version: 0.8.12
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
removed uses of var and replaced with const or let
…pm_and_yarn-cb12c583ff

Bump the npm_and_yarn group across 2 directories with 3 updates
@bhuelsman bhuelsman merged commit 05a812d into main Apr 9, 2026
4 checks passed
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.

Connect the Endorse button

3 participants