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

Staff channel list #16

Merged
merged 7 commits into from Nov 24, 2020
Merged

Staff channel list #16

merged 7 commits into from Nov 24, 2020

Conversation

pconrad
Copy link
Contributor

@pconrad pconrad commented Nov 19, 2020

In this PR we add the ability to list channels.

This is a scaffold on which the F20 teams can build.

Note that this was merged with incomplete test coverage; that is technical debt that we need to pay down. That might be a combination of staff effort and stories for the F20 teams. If done by F20 teams, we will award points towards their 100 point total.

Resolves #11.

It still uses fake data, and there are no tests yet.
Next steps are to build backend routes,
the code to get data to the front end
and then tests.
@codecov
Copy link

codecov bot commented Nov 19, 2020

Codecov Report

Merging #16 (d1f0341) into main (eb4624e) will decrease coverage by 18.85%.
The diff coverage is 23.33%.

Impacted file tree graph

@@              Coverage Diff               @@
##                main      #16       +/-   ##
==============================================
- Coverage     100.00%   81.14%   -18.86%     
- Complexity       149      162       +13     
==============================================
  Files             32       38        +6     
  Lines            368      488      +120     
  Branches          14       17        +3     
==============================================
+ Hits             368      396       +28     
- Misses             0       92       +92     
Impacted Files Coverage Δ Complexity Δ
javascript/src/main/App.js 100.00% <ø> (ø) 0.00 <0.00> (ø)
...cript/src/main/components/Channels/ChannelTable.js 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../main/java/edu/ucsb/mapache/documents/Channel.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...ava/edu/ucsb/mapache/documents/ChannelPurpose.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
javascript/src/main/pages/Channels/ChannelList.js 25.00% <25.00%> (ø) 0.00 <0.00> (?)
...u/ucsb/mapache/controllers/ChannelsController.java 25.00% <25.00%> (ø) 1.00 <1.00> (?)
javascript/src/main/components/Nav/AppNavbar.js 100.00% <100.00%> (ø) 0.00 <0.00> (ø)
.../java/edu/ucsb/mapache/documents/ChannelTopic.java 100.00% <100.00%> (ø) 12.00 <12.00> (?)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb4624e...d1f0341. Read the comment docs.

* Added front end component for page and table for channels
* Added backend document, repository, and controller for channels
@pconrad pconrad marked this pull request as ready for review November 24, 2020 19:20
Replaced Objects.equals with EqualsBuilder for easier testing

Replaced getter/setter tests with JavaBeanTester for less code to maintain
Copy link
Contributor

@andrewhlu andrewhlu left a comment

Choose a reason for hiding this comment

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

LGTM

@pconrad
Copy link
Contributor Author

pconrad commented Nov 24, 2020

Merged in spite of the fact that codecov showed a failure: we are aware of the tech debt in both front and back end tests and will pay it down over the next few weeks.

@pconrad pconrad merged commit eb74930 into main Nov 24, 2020
@andrewhlu andrewhlu deleted the staff-channelList branch February 17, 2021 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a member, I can see a list of all slack channels in the archive.
3 participants