-
Notifications
You must be signed in to change notification settings - Fork 239
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
Badges #704
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # frontend/html/comments/types/battle.html # frontend/html/comments/types/bold.html # frontend/html/comments/types/normal.html # frontend/html/comments/types/reply.html
glader
pushed a commit
to glader/4aff.club
that referenced
this pull request
Nov 1, 2021
* Badges draft * Badges CSS for comments, posts, profiles * Almost done, needs data and icons * CSS fixes + frontend bugs * More logical fixes * Fixing bugs, rename things * Add icons and initial data
vas3k
added a commit
that referenced
this pull request
Nov 7, 2021
* cleanup: remove "pain" post type (#742) * Убран тип поста Боль * Фикс миграции Co-authored-by: Mikhail Polykovskij <mikhail.polykovskiy@x5.ru> * Increase "ban_reason" length * Disable comments auto-subscription * feat: Badges (#704) * Badges draft * Badges CSS for comments, posts, profiles * Almost done, needs data and icons * CSS fixes + frontend bugs * More logical fixes * Fixing bugs, rename things * Add icons and initial data * fix: badge notifications + typos * feat: show subscription duration in profile (#733) * Add friends page #723 * Adds subscription status to profile * send 403 if user tries to look someones friends #723 * bring back old name for add to friends button #723 * Fixes typo, covers PR suggestions * Visual improvements Co-authored-by: ollkostin <ollkostin@gmail.com> Co-authored-by: kedMertens <kedmail@pm.me> Co-authored-by: vas3k <me@vas3k.ru> * feat: Remove sending limits for friend's comments * Threads now public * Fix #753. Add badges to /stats/ page * fix: Increase latest_badges on stats to 20 * Add "align-items: center;" to stats/badges * feat: exclude replies from friends notifications * fix: bad gradient of badges block (#760) Signed-off-by: Vitalii Dmitriev <dmitvitalii@gmail.com> * Add highlight to badged comments, improve CSS * Cooking achievements (#755) * Draft for cooking achievements * Fixing bg color and using proper URLs * Fixing pictures order * Fixing pastry_cook_2 * feat: add socialism and anarchism to list of tags (#637) А то сейчас доступны три правые системы взглядов и ни одной левой 🤔 * feat: remove "libertarianism" and "anarchism" tags * fix: mobile CSS bugs * feat: remove expertise from profile, move achievements * fix #764: "show all posts" link in profile is wrong * feat: remove NLTK dependency + add test docker build step * fix #714: add login button to public pages (#763) * add login button * fix css * fix url * fix css justify * Refactor daily and weekly digest renderers * Remove old supervisor config * fix: use sum of prices for top badges page * Add data archives cleanup to crontab * fix #765: css padding for upvote button * Upstream * Makefile * Docker deploy * Фикс CI * Сборка из указанного тега * Права на крон * Prepare for test deployment Co-authored-by: Mikhail Polykovskij <mikhail.polykovskiy@x5.ru> Co-authored-by: vas3k <me@vas3k.ru> Co-authored-by: kedMertens <39831696+kedMertens@users.noreply.github.com> Co-authored-by: ollkostin <ollkostin@gmail.com> Co-authored-by: kedMertens <kedmail@pm.me> Co-authored-by: Vitalii Dmitriev <dmitvitalii@gmail.com> Co-authored-by: Dmitry Kochkin <cooch@mail.ru> Co-authored-by: Ivan Mir <ivmirx@users.noreply.github.com> Co-authored-by: Kamil <babaevkamil@gmail.com> Co-authored-by: Vasily Zubarev <vasily@parity.io>
vas3k
added a commit
that referenced
this pull request
Dec 29, 2021
* cleanup: remove "pain" post type (#742) * Убран тип поста Боль * Фикс миграции Co-authored-by: Mikhail Polykovskij <mikhail.polykovskiy@x5.ru> * Increase "ban_reason" length * Disable comments auto-subscription * feat: Badges (#704) * Badges draft * Badges CSS for comments, posts, profiles * Almost done, needs data and icons * CSS fixes + frontend bugs * More logical fixes * Fixing bugs, rename things * Add icons and initial data * fix: badge notifications + typos * feat: show subscription duration in profile (#733) * Add friends page #723 * Adds subscription status to profile * send 403 if user tries to look someones friends #723 * bring back old name for add to friends button #723 * Fixes typo, covers PR suggestions * Visual improvements Co-authored-by: ollkostin <ollkostin@gmail.com> Co-authored-by: kedMertens <kedmail@pm.me> Co-authored-by: vas3k <me@vas3k.ru> * feat: Remove sending limits for friend's comments * Threads now public * Fix #753. Add badges to /stats/ page * fix: Increase latest_badges on stats to 20 * Add "align-items: center;" to stats/badges * feat: exclude replies from friends notifications * fix: bad gradient of badges block (#760) Signed-off-by: Vitalii Dmitriev <dmitvitalii@gmail.com> * Add highlight to badged comments, improve CSS * Cooking achievements (#755) * Draft for cooking achievements * Fixing bg color and using proper URLs * Fixing pictures order * Fixing pastry_cook_2 * feat: add socialism and anarchism to list of tags (#637) А то сейчас доступны три правые системы взглядов и ни одной левой 🤔 * feat: remove "libertarianism" and "anarchism" tags * fix: mobile CSS bugs * feat: remove expertise from profile, move achievements * fix #764: "show all posts" link in profile is wrong * feat: remove NLTK dependency + add test docker build step * fix #714: add login button to public pages (#763) * add login button * fix css * fix url * fix css justify * Refactor daily and weekly digest renderers * Remove old supervisor config * fix: use sum of prices for top badges page * Add data archives cleanup to crontab * fix #765: css padding for upvote button * Upstream * Обновление интро подтвержденного юзера Co-authored-by: Mikhail Polykovskij <mikhail.polykovskiy@x5.ru> Co-authored-by: vas3k <me@vas3k.ru> Co-authored-by: kedMertens <39831696+kedMertens@users.noreply.github.com> Co-authored-by: ollkostin <ollkostin@gmail.com> Co-authored-by: kedMertens <kedmail@pm.me> Co-authored-by: Vitalii Dmitriev <dmitvitalii@gmail.com> Co-authored-by: Dmitry Kochkin <cooch@mail.ru> Co-authored-by: Ivan Mir <ivmirx@users.noreply.github.com> Co-authored-by: Kamil <babaevkamil@gmail.com>
vas3k
added a commit
that referenced
this pull request
Feb 11, 2022
* cleanup: remove "pain" post type (#742) * Убран тип поста Боль * Фикс миграции Co-authored-by: Mikhail Polykovskij <mikhail.polykovskiy@x5.ru> * Increase "ban_reason" length * Disable comments auto-subscription * feat: Badges (#704) * Badges draft * Badges CSS for comments, posts, profiles * Almost done, needs data and icons * CSS fixes + frontend bugs * More logical fixes * Fixing bugs, rename things * Add icons and initial data * fix: badge notifications + typos * feat: show subscription duration in profile (#733) * Add friends page #723 * Adds subscription status to profile * send 403 if user tries to look someones friends #723 * bring back old name for add to friends button #723 * Fixes typo, covers PR suggestions * Visual improvements Co-authored-by: ollkostin <ollkostin@gmail.com> Co-authored-by: kedMertens <kedmail@pm.me> Co-authored-by: vas3k <me@vas3k.ru> * feat: Remove sending limits for friend's comments * Threads now public * Fix #753. Add badges to /stats/ page * fix: Increase latest_badges on stats to 20 * Add "align-items: center;" to stats/badges * feat: exclude replies from friends notifications * fix: bad gradient of badges block (#760) Signed-off-by: Vitalii Dmitriev <dmitvitalii@gmail.com> * Add highlight to badged comments, improve CSS * Cooking achievements (#755) * Draft for cooking achievements * Fixing bg color and using proper URLs * Fixing pictures order * Fixing pastry_cook_2 * feat: add socialism and anarchism to list of tags (#637) А то сейчас доступны три правые системы взглядов и ни одной левой 🤔 * feat: remove "libertarianism" and "anarchism" tags * fix: mobile CSS bugs * feat: remove expertise from profile, move achievements * fix #764: "show all posts" link in profile is wrong * feat: remove NLTK dependency + add test docker build step * fix #714: add login button to public pages (#763) * add login button * fix css * fix url * fix css justify * Refactor daily and weekly digest renderers * Remove old supervisor config * fix: use sum of prices for top badges page * Add data archives cleanup to crontab * fix #765: css padding for upvote button * Upstream * Логин под именем указанного пользователя Co-authored-by: Mikhail Polykovskij <mikhail.polykovskiy@x5.ru> Co-authored-by: vas3k <me@vas3k.ru> Co-authored-by: kedMertens <39831696+kedMertens@users.noreply.github.com> Co-authored-by: ollkostin <ollkostin@gmail.com> Co-authored-by: kedMertens <kedmail@pm.me> Co-authored-by: Vitalii Dmitriev <dmitvitalii@gmail.com> Co-authored-by: Dmitry Kochkin <cooch@mail.ru> Co-authored-by: Ivan Mir <ivmirx@users.noreply.github.com> Co-authored-by: Kamil <babaevkamil@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Новая фича: бейджи. Аналог Reddit Awards.
Зачем?
На уровне коммьюнити награды служает главной цели: выделять особый контент, даже если он не собрал должной популярности. Сейчас если чей-то коммент или пост изменил твою жизнь, всё что ты можешь — поставить ему плюсик. Можешь написать пару слов в реплаи или в личку (но так почти никто не делает, мы ведь в интернете, тут принято ненавидеть других). С наградами же я могу выделить чей-то особый коммент или пост даже если у него всего два-три плюсика, и другие это увидят.
В отличии от ачивок, которые выдают только парламентарии, награды может выдавать каждый. Это открывает больше возможности для коммьюнити выражать своё мнение (чаще всего неправильное ххехехе шучу :D)
Для авторов же это дополнительная дофаминка чтобы писать больше и лучше, для дарителей возможность почувствовать себя альтруистом (как вкладывать в фонд — деньги хз куда ушли, но ощущения приятные), а для Клуба дополнительные источники дохода.
Как работает?
Награждать можно посты и комментарии. Только чужие, естественно. Выданная награда навсегда повисает рядом с контентом и отмечает его как особенным. Также она отображается в профиле автора и каждый может видеть, что он молодец.
Каждая награда имеет цену, иначе каждый дура сможет их выдавать и они потеряют всякий смысл. Сейчас их стоимость взята от балды, руководствуясь ценностью в рублях. 30 дней членства = "1 долор" = 70-100 рублей. Большинство наград будет укладываться в 1-2-3 долора, что кажется логичным, примерно как купить автору пива в баре.
Однако, у нас достаточно много про-юзеров с аккаунтами до 2075 года, для которых месяц членства обходится в смешные 10-20 центов, потому для них должны быть и дорогие награды (сейчас там есть "пост года", который стоит 365 дней). Это поможет им а) тещить своё чсв б) тратить (инвестировать) богатсва, а не чахнуть над ними. Топ станет веселее.
Люди с Патреона выдавать награды не могут, для этого надо иметь минимум 35 дней в запасе, а у них аккаунт на месяц. Это сделано намерено, чтобы стимулировать их переходить на нормальные методы попопления Клуба.
Планы на будущее
Скриншоты