Skip to content

Conversation

@moshmage
Copy link

Story

BEPRO-2177 Use user handle on profile page too

BEPRO-2178 Treat decimals on profile

BEPRO-2179 Add bio to profile and profile settings

BEPRO-2180 Add admin screen for action points on admin route

BEPRO-2182 Points system - connect email

BEPRO-2183 Points System - Menu link and empty page

BEPRO-2184 Points system - History

BEPRO-2185 Points system - Collected points

moshmage and others added 10 commits May 15, 2024 15:30
* tests, api and migrations for about field

* fix migration
introduce GET .../about
introduce about component to dashboard

* add about section to the profile page

* make better stylings on the profile

* conditionally show socials

* use react query instead o mutation

* remove reactQuery request because it fires too fast when there's no address.

* show only 4 decimals on wallet balance

* make the length 512 for about on migrations

* use isLoading indicator from button

* mock the correct function

* correct point-removal
* add new color

* update user interface to have points column

* add hook to get user points

* show user points on menu

* add points to menu

* add points page on dashboard page

* add total points card

* use css instead of bootstrap
* remove default value, because not found is not found

* using both handle and address to find user

* use handle if exists

* use handle to redirect
* use actual values

* move points utils to its own folder

* handle points on email change

* fix model name

* add logs

* call addPointEntry first, to ensure that pointsBase rule works

* rollback changes

* use new migration to update default values

* create different migration for connect_email because its not created yet

* add missing value
* remove old things and redirect on BE if user is not admin

* add points base api methods

* add points base api hooks

* create table component

* bulk update scaling factor done

* fix condition and add action name on error

* handle row change

* handle update changed columns

* create view component

* add translations

* add success toasts

* add translation

* remove unused code

* remove prefetch

* add tests for bulk update method

* add data-testid

* move to useffect to improve update

* use usedebounced package instead

* add points system controller tests

* review changes

* move points system to setup and remove administration page

* ordering list by action name
* history of points exists

* remove pckg updates

* add pointsbadge to history

* remove console-log on pageData
* show user points on menu

* add points to menu

* add points page on dashboard page

* add total points card

* create collected points component

* add new assets

* change middleware because we need to change body even if method is allowed

* add points base and events api

* add semibold font

* add new colors

* add exception

* create URL type

* add base and events request to hook

* add collected points page

* handle scaling factor on points per action

* handle action click

* improvate action logic

* fix onclick not being called

* adjust reponsivity

* create view component
* fix label

* adjust card size

* fix path
@moshmage moshmage merged commit 6aa88a9 into master May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants