pinax / pinax-messages

a Django app for allowing users of your site to send messages to each other
MIT License
202 stars 58 forks source link

Add `unread_thread_count` filter #42

Closed grahamu closed 6 years ago

grahamu commented 6 years ago

Based on @mattlindesay work in https://github.com/pinax/pinax-messages/pull/35.

Filter is renamed to unread_thread_count to avoid name conflict with existing context variable unread_threads populated by the pinax-messages context processor. Otherwise unchanged. Thanks @mattlindesay!

codecov[bot] commented 6 years ago

Codecov Report

Merging #42 into master will increase coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   93.04%   93.11%   +0.07%     
==========================================
  Files          14       14              
  Lines         273      276       +3     
  Branches       15       15              
==========================================
+ Hits          254      257       +3     
  Misses         13       13              
  Partials        6        6
Flag Coverage Δ
#py27dj110 93.11% <100%> (+0.07%) :arrow_up:
#py27dj111 93.11% <100%> (+0.07%) :arrow_up:
#py34dj110 93.11% <100%> (+0.07%) :arrow_up:
#py34dj111 93.11% <100%> (+0.07%) :arrow_up:
#py34dj18 93.11% <100%> (+0.07%) :arrow_up:
#py34dj20 93.11% <100%> (+0.07%) :arrow_up:
#py35dj110 93.11% <100%> (+0.07%) :arrow_up:
#py35dj111 ?
#py35dj18 93.11% <100%> (+0.07%) :arrow_up:
#py35dj20 93.11% <100%> (+0.07%) :arrow_up:
#py36dj111 93.11% <100%> (+0.07%) :arrow_up:
#py36dj20 93.11% <100%> (+0.07%) :arrow_up:
Impacted Files Coverage Δ
pinax/messages/templatetags/pinax_messages_tags.py 100% <100%> (ø) :arrow_up:

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 4eb17b3...be4e8c9. Read the comment docs.