PHS-TSA / nexus

The application for movers, shakers, and makers
0 stars 0 forks source link

Refactor `addPosts` again #12

Closed lishaduck closed 2 weeks ago

lishaduck commented 1 month ago

Description

This PR simplifies some code to follow best practices and reduce boilerplate.


Type of Change

Checklist

### Checklist
- [x] Read the Contributing Guidelines.
- [x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
- [x] Fill out this template.
- [ ] Log your hours.
- [x] Check that commits follow the Angular commit convention, more or less.
- [ ] Ideally, include relevant tests that fail without this PR but pass with it (if applicable).

Tested on

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 46.75%. Comparing base (213bfdf) to head (94e083a). Report is 2 commits behind head on main.

Files with missing lines Coverage Δ
...ib/src/features/home/application/feed_service.dart 100.00% <100.00%> (ø)