Skip to content

Skin Feature 2#44

Closed
jonomnom wants to merge 34 commits into
OmakaseaNFT:reskin-featurefrom
jqmwa:skin-merge
Closed

Skin Feature 2#44
jonomnom wants to merge 34 commits into
OmakaseaNFT:reskin-featurefrom
jqmwa:skin-merge

Conversation

@jonomnom

@jonomnom jonomnom commented Sep 14, 2023

Copy link
Copy Markdown
Contributor

Add Vaporware arcade skin. Continuation of #26

@GooeyTuxedo

jonomnom and others added 30 commits July 8, 2023 16:19
* Integrate hearbreaker backend prod (OmakaseaNFT#7)

* add animation

* fix some parts on Farm UI

* fix error build

* fix error on Vercel deployment

* start backend integration

* update betting flow

* fix stop

* fix single STAKING: move "get" in new line, on Stake/Unstake tab

* fix alignment of Ratio on STAKING tab

* fix margin left for icon on STAKING tab

* add game result

* fix for bet greater than balance

* add history to table

* update background

* add leaderboard table

* add withdraw and deposit

* fix socket issue

* add new heartbreaker test contract

* update abi for heartbreaker

* add build

* add BE url in heartbreaker game engine

* add build

* fix animation

* add reset size

* add preset checkbox and change label names

* fix change position

* add update for handle stop

* fix build error

* fix logic animation

* add interval to animation

* fix pixel animation heart

* fix btn logic add new prcnt val fix mult styles

* fix heartbreaker features border styles

* fix animation heart

* update heartbreak timer

* add new build

* update the heart animation

* add build

* add build

* add build

* add build

* add notifications

* update all names to heartbreak

* update withdraw and deposit text size

* update stop button to exit button

* update remove wallet information on top

* fix heartbreak on mobile

* update add 6 decimal place

* update love available to heartbrake balance

* update the name

* fix disable withdraw and deposit btns if balance is zero

* add allow 6 dec places

* update build

* add reduce balance when play fix negative balance

* add log for contract address

* fix heartbreaker contract address

* add sig and msg to withdraw call

* update wait on deposit to 1

* fix can bet when amount is 0

* add fixed with for decimal values

* fix hardcoded play box

* fix blank address on leaderboard

* add build

* fix sound not stopping when close game

* fix text in history table

* add reset bet functionality

* fix for multiple exits in round

* add error when balance less than withdrawal

---------

Co-authored-by: “morebug95” <“ibkresnasudiatmika@gmail.com”>
Co-authored-by: nawiomakasea <nawiomakasea@gmail.com>
Co-authored-by: nawiomakasea <122777650+nawiomakasea@users.noreply.github.com>
Co-authored-by: EtDu <etienne.dusseault@gmail.com>
Co-authored-by: “morebug95” <ibkresnasudiatmika@gmail.com>

* update features and remove leader board (OmakaseaNFT#9)

* add temp disable preset mult

* update preset so it is locked if game is live (OmakaseaNFT#10)

* fix for undefined address for bet (OmakaseaNFT#11)

* add bet and withdraw lock (OmakaseaNFT#12)

* update withdraw disabled conditions for bets (OmakaseaNFT#13)

* add sig request for bets (OmakaseaNFT#14)

* add sig request for bets

* update and remove log

* add address for bet data

* add temp fix for pool length (OmakaseaNFT#17)

* Add new pools (OmakaseaNFT#16)

* add pepe and wbtc pools

* fix type error because of mock data

* update price api to handle error

* fix headers error

* fix remove extra res json

* add correct addy for pepe and wbtc pools

* update to get poolInfo dynamically

* update and remove price api

* add logs

* fix for using wrong reserves in calculations

* update uniswap links

* fix no position found button

* update remove comment

* fix pool length (OmakaseaNFT#18)

* add pepe price fetch and db cache

* add query param check to handler

* update remove logs

* update remove multiplier

* fix etherscan links

* update remove env from version control

* update env example

---------

Co-authored-by: “morebug95” <“ibkresnasudiatmika@gmail.com”>
Co-authored-by: nawiomakasea <nawiomakasea@gmail.com>
Co-authored-by: nawiomakasea <122777650+nawiomakasea@users.noreply.github.com>
Co-authored-by: EtDu <etienne.dusseault@gmail.com>
Co-authored-by: “morebug95” <ibkresnasudiatmika@gmail.com>
Co-authored-by: mrmillipede <114581316+mrmillipede@users.noreply.github.com>
* fix width on stake/unstake button so hat it consistent

* fix width of stake/unstake button on Farm

* fix love price width
* Integrate hearbreaker backend prod (OmakaseaNFT#7)

* add animation

* fix some parts on Farm UI

* fix error build

* fix error on Vercel deployment

* start backend integration

* update betting flow

* fix stop

* fix single STAKING: move "get" in new line, on Stake/Unstake tab

* fix alignment of Ratio on STAKING tab

* fix margin left for icon on STAKING tab

* add game result

* fix for bet greater than balance

* add history to table

* update background

* add leaderboard table

* add withdraw and deposit

* fix socket issue

* add new heartbreaker test contract

* update abi for heartbreaker

* add build

* add BE url in heartbreaker game engine

* add build

* fix animation

* add reset size

* add preset checkbox and change label names

* fix change position

* add update for handle stop

* fix build error

* fix logic animation

* add interval to animation

* fix pixel animation heart

* fix btn logic add new prcnt val fix mult styles

* fix heartbreaker features border styles

* fix animation heart

* update heartbreak timer

* add new build

* update the heart animation

* add build

* add build

* add build

* add build

* add notifications

* update all names to heartbreak

* update withdraw and deposit text size

* update stop button to exit button

* update remove wallet information on top

* fix heartbreak on mobile

* update add 6 decimal place

* update love available to heartbrake balance

* update the name

* fix disable withdraw and deposit btns if balance is zero

* add allow 6 dec places

* update build

* add reduce balance when play fix negative balance

* add log for contract address

* fix heartbreaker contract address

* add sig and msg to withdraw call

* update wait on deposit to 1

* fix can bet when amount is 0

* add fixed with for decimal values

* fix hardcoded play box

* fix blank address on leaderboard

* add build

* fix sound not stopping when close game

* fix text in history table

* add reset bet functionality

* fix for multiple exits in round

* add error when balance less than withdrawal

---------

Co-authored-by: “morebug95” <“ibkresnasudiatmika@gmail.com”>
Co-authored-by: nawiomakasea <nawiomakasea@gmail.com>
Co-authored-by: nawiomakasea <122777650+nawiomakasea@users.noreply.github.com>
Co-authored-by: EtDu <etienne.dusseault@gmail.com>
Co-authored-by: “morebug95” <ibkresnasudiatmika@gmail.com>

* update features and remove leader board (OmakaseaNFT#9)

* add temp disable preset mult

* update preset so it is locked if game is live (OmakaseaNFT#10)

* fix for undefined address for bet (OmakaseaNFT#11)

* add bet and withdraw lock (OmakaseaNFT#12)

* update withdraw disabled conditions for bets (OmakaseaNFT#13)

* add sig request for bets (OmakaseaNFT#14)

* add sig request for bets

* update and remove log

* add address for bet data

* add temp fix for pool length (OmakaseaNFT#17)

* Add new pools (OmakaseaNFT#16)

* add pepe and wbtc pools

* fix type error because of mock data

* update price api to handle error

* fix headers error

* fix remove extra res json

* add correct addy for pepe and wbtc pools

* update to get poolInfo dynamically

* update and remove price api

* add logs

* fix for using wrong reserves in calculations

* update uniswap links

* fix no position found button

* update remove comment

* fix pool length (OmakaseaNFT#18)

* add pepe price fetch and db cache

* add query param check to handler

* update remove logs

* update remove multiplier

* fix etherscan links

* add max profit message

* add context updates

* fix commented code

* fix unused import

* update direction and text color

* update remove env

---------

Co-authored-by: “morebug95” <“ibkresnasudiatmika@gmail.com”>
Co-authored-by: nawiomakasea <nawiomakasea@gmail.com>
Co-authored-by: nawiomakasea <122777650+nawiomakasea@users.noreply.github.com>
Co-authored-by: EtDu <etienne.dusseault@gmail.com>
Co-authored-by: “morebug95” <ibkresnasudiatmika@gmail.com>
Co-authored-by: mrmillipede <114581316+mrmillipede@users.noreply.github.com>
* Integrate hearbreaker backend prod (OmakaseaNFT#7)

* add animation

* fix some parts on Farm UI

* fix error build

* fix error on Vercel deployment

* start backend integration

* update betting flow

* fix stop

* fix single STAKING: move "get" in new line, on Stake/Unstake tab

* fix alignment of Ratio on STAKING tab

* fix margin left for icon on STAKING tab

* add game result

* fix for bet greater than balance

* add history to table

* update background

* add leaderboard table

* add withdraw and deposit

* fix socket issue

* add new heartbreaker test contract

* update abi for heartbreaker

* add build

* add BE url in heartbreaker game engine

* add build

* fix animation

* add reset size

* add preset checkbox and change label names

* fix change position

* add update for handle stop

* fix build error

* fix logic animation

* add interval to animation

* fix pixel animation heart

* fix btn logic add new prcnt val fix mult styles

* fix heartbreaker features border styles

* fix animation heart

* update heartbreak timer

* add new build

* update the heart animation

* add build

* add build

* add build

* add build

* add notifications

* update all names to heartbreak

* update withdraw and deposit text size

* update stop button to exit button

* update remove wallet information on top

* fix heartbreak on mobile

* update add 6 decimal place

* update love available to heartbrake balance

* update the name

* fix disable withdraw and deposit btns if balance is zero

* add allow 6 dec places

* update build

* add reduce balance when play fix negative balance

* add log for contract address

* fix heartbreaker contract address

* add sig and msg to withdraw call

* update wait on deposit to 1

* fix can bet when amount is 0

* add fixed with for decimal values

* fix hardcoded play box

* fix blank address on leaderboard

* add build

* fix sound not stopping when close game

* fix text in history table

* add reset bet functionality

* fix for multiple exits in round

* add error when balance less than withdrawal

---------

Co-authored-by: “morebug95” <“ibkresnasudiatmika@gmail.com”>
Co-authored-by: nawiomakasea <nawiomakasea@gmail.com>
Co-authored-by: nawiomakasea <122777650+nawiomakasea@users.noreply.github.com>
Co-authored-by: EtDu <etienne.dusseault@gmail.com>
Co-authored-by: “morebug95” <ibkresnasudiatmika@gmail.com>

* update features and remove leader board (OmakaseaNFT#9)

* add temp disable preset mult

* update preset so it is locked if game is live (OmakaseaNFT#10)

* fix for undefined address for bet (OmakaseaNFT#11)

* add bet and withdraw lock (OmakaseaNFT#12)

* update withdraw disabled conditions for bets (OmakaseaNFT#13)

* add sig request for bets (OmakaseaNFT#14)

* add sig request for bets

* update and remove log

* add address for bet data

* add temp fix for pool length (OmakaseaNFT#17)

* Add new pools (OmakaseaNFT#16)

* add pepe and wbtc pools

* fix type error because of mock data

* update price api to handle error

* fix headers error

* fix remove extra res json

* add correct addy for pepe and wbtc pools

* update to get poolInfo dynamically

* update and remove price api

* add logs

* fix for using wrong reserves in calculations

* update uniswap links

* fix no position found button

* update remove comment

* fix pool length (OmakaseaNFT#18)

* add pepe price fetch and db cache

* add query param check to handler

* update remove logs

* update remove multiplier

* fix etherscan links

* Delete .env

---------

Co-authored-by: “morebug95” <“ibkresnasudiatmika@gmail.com”>
Co-authored-by: nawiomakasea <nawiomakasea@gmail.com>
Co-authored-by: nawiomakasea <122777650+nawiomakasea@users.noreply.github.com>
Co-authored-by: EtDu <etienne.dusseault@gmail.com>
Co-authored-by: “morebug95” <ibkresnasudiatmika@gmail.com>
Co-authored-by: mrmillipede <114581316+mrmillipede@users.noreply.github.com>
* fix user balance resetting the play amount

* add comment
* update for claim complete

* cut scrolling warbanner

* add swap link for war token

* fix typo in link
@vercel

vercel Bot commented Sep 14, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
love-game ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 15, 2023 1:48am

@jonomnom jonomnom changed the title Skin merge Skin Feature 2 Sep 14, 2023

@GooeyTuxedo GooeyTuxedo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is some good work!
once we get it building properly, we'll see how it looks on a preview branch

Comment thread components/randomdialog.tsx Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're not using this component anymore so this file can be removed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment thread components/filetheme.tsx
<div className="px-6">
{showPayment && (
<div className="z-20">
<Dialog

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like id is an expected property on this component

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@vercel

vercel Bot commented Sep 15, 2023

Copy link
Copy Markdown

@jonomnom is attempting to deploy a commit to the Omakasea Team on Vercel.

A member of the Team first needs to authorize it.

@jonomnom

jonomnom commented Sep 15, 2023

Copy link
Copy Markdown
Contributor Author

this is some good work! once we get it building properly, we'll see how it looks on a preview branch

I am able to build production locally. Could you show the failing build logs?

@vercel vercel Bot temporarily deployed to Preview – love-game September 15, 2023 01:48 Inactive
@GooeyTuxedo

Copy link
Copy Markdown
Collaborator

Your last commit took care of the build failure. 👍
We've got a branch preview up now. In the morning I'll point a testnet heartbreaker instance at the preview so we can verify the game still runs well.

Give the team a day or two to get some eyes on it and we'll drop any more feedback in here 🖖

@GooeyTuxedo

Copy link
Copy Markdown
Collaborator

@jonomnom @jhinnbay

Hey guys,
we recently added a discord icon to the main screen
did you want to add a themed one to the vaporwave theme?

whenever I get this merged into main, we're going to set the vaporwave theme as the default theme so users can see your work featured right away

@GooeyTuxedo

GooeyTuxedo commented Sep 20, 2023

Copy link
Copy Markdown
Collaborator

@jonomnom
Can you verify that the theme saves properly to localstorage?
on the previously built branch preview it seems to forget the selected theme on refresh.

edit: ahh, now I see. reading from storage is just commented out. no problem

@jonomnom jonomnom mentioned this pull request Sep 22, 2023
@jonomnom

Copy link
Copy Markdown
Contributor Author

Resolved in #49

@jonomnom jonomnom closed this Sep 22, 2023
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.

4 participants