CiviWiki / OpenCiviWiki

Building a Better Democracy for the Internet Age
https://civi.wiki
Other
588 stars 344 forks source link

Feature 217 view issue threads without logging in #1505

Open ashfaq1934 opened 1 year ago

ashfaq1934 commented 1 year ago

Threads app update

ashfaq1934 commented 1 year ago

The Linting in CI Workflow fails because of the Black formatting changes that might need to be applied Screenshot from 2023-06-15 22-44-59 Screenshot from 2023-06-15 13-13-11 Should I apply Black formatting to these files so that the workflow passes?

brylie commented 1 year ago

Yes, all files should be formatted with ‘black’

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit ca4ccfc5 and detected 0 issues on this pull request.

View more on Code Climate.

ashfaq1934 commented 1 year ago

Here's a demo of the changes that have been implemented. Users will be able to create and delete civis. They can view threads but if they attempt to create a civi they will be redirected to the login url, after they login, they'll be redirected back to the thread they viewed.

https://github.com/CiviWiki/OpenCiviWiki/assets/46718979/3c1a6d85-d190-4e71-a12f-2ca67168924b

I've managed to get the workflow to pass by editing accounts/views.py which satisfied the linter.

Let me know if there's anything missing, hope this helps.