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_threads tag to templatetags #35

Closed mattlindesay closed 6 years ago

mattlindesay commented 7 years ago

Additional template tag to show if there are new messages for the user so that you can highlight this on a navbar.

mattlindesay commented 7 years ago

Oops. Closed by mistake.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.3%) to 93.385% when pulling 7715286fa1958131835444750557372c8e6d5e89 on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

mattlindesay commented 7 years ago

OK no idea why this is not compiling on django master. I don't think it's the code I added. If someone can explain why it's failing I'm happy to spend some time on this.

grahamu commented 7 years ago

@mattlindesay recently I have begun removing "master" from our tox.ini and .travis.yml files, replacing them with "1.10". The reason is two-fold. Django dev master no longer allows "from django.core.urlresolvers import reverse", requiring "from django.urls import ..." instead. Secondly, Pinax is tested against "master" mainly to stay on top of the latest changes, but doesn't officially support latest dev. So my suggestion is to remove "master" from the test matrix configurations in both tox.ini and .travis.yml and try again.

grahamu commented 7 years ago

See pinax-blog tox.ini for an example of this "master" removal and "1.10" insertion.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.3%) to 93.385% when pulling 5e09aed8b087e56b1d61b661d6900522389c8d34 on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.3%) to 93.385% when pulling 2986ffbf75447d6e3deef4e9e5da24233a184964 on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling 8e17d85ad79f26b8f0dbbcbe6223ea6dee36728d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

grahamu commented 7 years ago

Hi again @mattlindesay. Looks like removing "master" and adding "1.10" fixed the build, and adding a test fixed coveralls. Nice work.

Just three small issues remain for this to get merged in:

Thanks for contributing Matt!

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling ddc1ed0ae770c5e68c75b6b4187eff5c31e2129d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling ddc1ed0ae770c5e68c75b6b4187eff5c31e2129d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling ddc1ed0ae770c5e68c75b6b4187eff5c31e2129d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling ddc1ed0ae770c5e68c75b6b4187eff5c31e2129d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling ddc1ed0ae770c5e68c75b6b4187eff5c31e2129d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling ddc1ed0ae770c5e68c75b6b4187eff5c31e2129d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling ddc1ed0ae770c5e68c75b6b4187eff5c31e2129d on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.07%) to 93.774% when pulling 7a9c24e1afd4fb816b91c6f89fa04f8652186e9b on mattlindesay:master into ca9dbbf024b6bc653d9355c0602f9d402b3433ac on pinax:master.

grahamu commented 7 years ago

BTW @mattlindesay you (and anyone else) are welcome to join Pinax discussions in the various channels of https://pinax.slack.com.

grahamu commented 6 years ago

Thanks for your contribution @mattlindesay. I've incorporated this improvement into pinax-messages via https://github.com/pinax/pinax-messages/pull/42, so closing this pull request.