antijob / neuro-parser

Other
3 stars 0 forks source link

Downvote button #270

Closed explesy closed 1 month ago

explesy commented 2 months ago

Добавлена кнопка для оповещения о том, что пришедший инцидент не соответсвует теме. Кнопка для этого, теперь отображается внизу каждого сообщения об инциденте. Если нажать эту кнопку, то знаечение downvoted у инцидента увеличится, а сама кнопка пропадет, что бы пользователя не голосвали по многу раз подряд.

github-actions[bot] commented 2 months ago
filepath function $$\textcolor{#23d18b}{\tt{passed}}$$ SUBTOTAL
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_article\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_article\_by\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_article\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_update\_article\_by\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_article\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_article\_by\_url\_not\_found}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_article\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_delete\_article\_by\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_incident\_type\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_incident\_types}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_media\_incident\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_media\_incidents}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_source\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_list\_sources}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_source\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_list\_sources\_with\_limit}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_source\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_list\_sources\_invalid\_limit}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_source\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_articles\_by\_source\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_source\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_articles\_by\_source\_url\_not\_found}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_source\_view.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_media\_incidents\_by\_source\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_views.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_sources}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_views.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_article\_by\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/apps/api/tests/test\_views.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_article\_by\_url\_not\_found}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/libs/tests/handler\_test.py}}$$ $$\textcolor{#23d18b}{\tt{test\_register\_valid\_handler\_with\_can\_handle\_method}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/libs/tests/handler\_test.py}}$$ $$\textcolor{#23d18b}{\tt{test\_register\_non\_handler\_with\_can\_handle\_method}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/libs/tests/handler\_test.py}}$$ $$\textcolor{#23d18b}{\tt{test\_choose\_correct\_handler\_with\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/libs/tests/handler\_test.py}}$$ $$\textcolor{#23d18b}{\tt{test\_choose\_no\_suitable\_handler\_with\_url}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{server/libs/tests/handler\_test.py}}$$ $$\textcolor{#23d18b}{\tt{test\_register\_and\_choose\_with\_multiple\_url\_handlers}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{TOTAL}}$$ $$\textcolor{#23d18b}{\tt{20}}$$ $$\textcolor{#23d18b}{\tt{20}}$$