Skip to content
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

Release Gnoswap Interface 'v0.3.0' #573

Closed
wants to merge 203 commits into from
Closed

Release Gnoswap Interface 'v0.3.0' #573

wants to merge 203 commits into from

Conversation

jinoosss
Copy link
Member

@jinoosss jinoosss commented Nov 20, 2024

What's Changed

New Contributors

Full Changelog: v0.2.3...test5_v0.3.0

AkydA and others added 30 commits August 26, 2024 13:45
* refactor: remove meaningless state

* feat: add param for PoolAdd view option

* feat: add hook for parsing serach param

* feat: introduce AdditionalInfo component

* fix: search param routing

* feat: show graph when pool exist

* fix: QA issues

* fix: fix rerender chart in add position (#511)

* fix: exchange rate tooltip width

---------

Co-authored-by: jinoosss <112360739+jinoosss@users.noreply.github.com>
* feat: enable claim all with unwrap gnot in fee

* feat: enable add incentive token

* refactor: some token-detail components

* feat: remove wrapping gnot on noti

* refactor: move dashboard components

* refactor: simplify type

* feat: dont wrap gnot to wgnot in dashboard

* refactor: move pool-incentive components

* feat: add incentive creation deposit guide

* feat: remove replaceToken in notification

* feat: remove replacing token symbol in position history

* refactor: update import path
* refactor: move components

* remove: unused component

* remove: unused components

* refactor: clean import path
* fix: handle locale string

* fix: error candidate
* feat: add translation

* fix: style overwrite

* refactor: loading to isLoading

* feat: update governance summary

* fix: build issue

* fix: summary style

* fix: test mock data
* feat: update my delegation ui

* chore: update mock data

* feat: update my delegation tooltip

* feat: apply proposals mock
* feat: update data based on user actions

* feat: update data based on user actions

* fix: build errors

* fix: apply broadcast sync response

* fix: snackbar options

* fix: remove codes

* fix: refetch position update

* feat: add common callback functions on event emitted

* feat: apply sync info on api

* fix: Improve regex and error handling in parseABCIValue function

* fix: Improve regex and error handling in parseABCIValue function

* feat: separate callback functions for chain update and api update

* fix: update positions by fetch data

* chore: update i18n data

* feat: update ui after emit event

* fix: parse transaction response

* fix: snackbar features

* fix: refetch positions by stake

* fix: refetch positions by stake

* chore: update i18n data

* fix: refetch by position add and change snackbar timeout

* fix: change closed options in select position
* fix: remove magic string

* feat: update proposal header

* refactor: separate progressbar

* feat: update status badge

* feat: proposal detail modal

* feat: update create modal

* feat: update proposal detail content by type

* feat: use address
* feat: update governance menu in header

* feat: update mobile earn issue

* fix: pool mobile issues

* fix: total claimable loading skeleton

* fix: remove some msg from pool initialization

* fix: dashboard table width

* fix: mobile dashboard token size

* fix: shorten incentivize period text

* fix: center swap icon

* fix: update wallet modal

* fix: display "0" as "<$0.01"

* fix: compare token with path

* GSW-1493 Fix Swap button status (#519)

* fix: condition check sequence

* chore: syntax warning

* GSW-1437 Fix tooltip (#520)

* fix: hide tooltip

* fix: mobile token size

* feat: hide tooltip on scroll

* fix: tooltip position

* GSW-1534 UI QA (#521)

* fix: redundant reward token icons

* fix: compare path in swap

* fix: dashboard gnot icon size

* fix: light mode send modal text color

* fix: staking instruction

* chore: udpate translate

* fix: apply lp icon

* fix: tooltip cutting issue

* fix: faster tooltip show up

* fix: mobile staking hashcode

* fix: wrapping

* fix: graph tooltip align

* faet: update tooltip translation

* feat: update tooltip

* fix: apply same condition for x-scroll
* feat: add delegatee model

* feat: update translation

* feat: update delegation modal

* feat: update my-delegation type

* feat: update undelegation modal

* chore: update earn translation
* fix: decrease amount

* fix: increase amount
* refactor: move setting-menu-modal to common

* refactor: move components

* refactor: compact module

* refactor: dependency

* refactor: move token components
* feat: apply hover effect

* chore: add shortcut index file

* feat: add governance repository impl using mock

* feat: add vote, cancel, execute

* feat: add contract related repositories

* feat: translation

* chore: style

* feat: make address by package path
* feat: apply infinity scroll

* refactor: introduce local modal hoc

* refactor: introduce intersection hoc

* fix: button disabled condition

* feat: optimize rerender

* fix: governance provider

* feat: add example for delegate tx

* feat: add undelegate example

* feat: add create proposal example

* feat: add vote tx example

* feat: add execute proposal example

* feat: add claim tx examples
* feat: update interface

* feat: add cancel button

* feat: add XGNS token info

* feat: update minimum xGNS amount

* feat: update color tokens

* feat: update tooltip text

* feat: description new line

* fix: icon color

* feat: update proposal time info

* feat: apply refetch interval

* fix: typo
* feat: add markdown package

* feat: markdown mockup

* test: mocking for jest
* feat: connect proposals API

* feat: GSW-1557 connect summary API

* feat: GSW-1558 connect my delegation API

* feat: connect delegatees API

* feat: use address when name is empty

* fix: calculate voting power ratio

* fix: undelegation balance info

* chore: fix mock data

* feat: close modal when trigger tx

* feat: refetch after tx success

* feat: disable vote button click when not active

* feat: show execute button for COMMUNITY_POOL_SPEND proposal

* feat: visible emit snackbar

* feat: no data box

* feat: implement apr info

* fix: undelegation modal error

* fix: undelegation token info

* fix: create proposal inputs

* fix: parameter spliter

* fix: hide vote button, vote weight when proposal ends

* feat: vote button behavior

* refactor: optimize translation token

* feat: check creation threshold

* fix: divide by 0

* feat: add expired badge

* refactor: optimize translation : wallet login

* fix: divide by 0

* fix: governance summary QA

* fix: my delegation QA

* fix: undelegation modal QA

* feat: update tooltip text

* fix: proposal card QA

* fix create proposal QA

* feat: add a function to make a query of the proposal variables

* test: update testfiles

* fix: param issue

* feat: governance activity & noti

* feat: wallet login on delegate modal

* feat: categorize governance activity

* fix: dashboard create proposal font weight

* feat: apply the proposal creation modal UI

* fix: dummy address

* feat: update function view

* feat: create proposal description

* feat: change select dropdown to portal

* chore: update annotation

* feat: use delegation info when loged in only

* fix: governance summary font weight

* fix: my delegation QA

* feat: add parameter errors

* chore: i18n texts

* fix: icon color

* fix: error text on validate parameter

* fix: variable dropdown position

* fix: add option item hover color in light mode

* fix: proposal card time QA

* fix: validate condition

* feat: change placeholder by parameter count

* fix: create proposal QA

* fix: activate submit button conditions

* feat: apply scroll

* fix: change the width of the tooltip flexibly

* fix: check available delegation button

* refactor: rename address validation function

* fix: change a select delegatee modal

* feat: activate buttons based on availability and expiry time when a proposal passes

* fix: change UI on transaction modal

* chore: update language

* feat: integrate Governance Overview data

* fix: adjust refetch loading

* fix: notification delegate token icon

* fix: change proposal list loading condition

* fix: update the button activation status when it is an actionable proposal

* fix: disable hover voting weight when voting weight is zero

* fix: disable hover styles

* feat: mobile learn more btn

* feat: mobile proposal toggle

* feat: mobile proposal card layout

* feat: my delegation mobile buttons

* fix: compare date to utc time

* fix: my delegation button disabled condition

* fix: fix a data

* feat: update mobile modal size

* feat: warning card multi line title style

* feat: del/undel modal mobile font size

* feat: undelegate select scroll

* chore: update i18n

* feat: apply claim response on snackbar

* fix: undelegate claim response

* feat: mobile minimum holding xGNS symbol

* feat: mobile poroposal detail status info

* fix: update snackbar

* fix: visible undelegate button conditions

* fix: updating snackbar status

---------

Co-authored-by: jinoosss <jwchoi@onbloc.xyz>
* refactor: dashboard component name

* feat: enable claimable toke tooltip

* refactor: move tooltip to common component

* feat: set room for claimed rewards info

* feat: enable staked position tooltip

* fix: tooltip width for mobile

* fix: test error

* feat: apply hover effect

---------

Co-authored-by: Dongwon <74406335+dongwon8247@users.noreply.github.com>
* chore: update i18n data

* chore: separate github actions workflow

* chore: update i18n data
…for Current price section (#533)

* fix : Update "No data found" text to "No proposal found" in Governance page

- Todo: Update corresponding text in other supported languages
- Changed the text displayed when no data is available in the Governance Proposals component

* fix : Implement responsive text sizing for Current price section

- Apply the same responsive text sizing logic used in Price Range to Current Price numbers
- Adjust text size based on the maximum length of the applied area in Price Range
- Maintain current spacing, only modifying text size for consistency
- Improve readability and visual consistency across price display sections
- Add layout structure for Launchpad main section
- Improve consistency in button styling and behavior across the application
- Enhance maintainability by centralizing button logic in a single component
* feat: [GSW-1645] define data models

* feat: [GSW-1646] implements launchpad repository for access data source

* feat: [GSW-1647] implements a data handler hooks

* feat: add gnoswap event for broadcasting and notification

* chore: add launchpad contract path

* fix: build errors
tfrg and others added 26 commits October 29, 2024 10:53
* fix(launchpad): [GSW-1725] Responsive Design for Main Page

* fix(launchpad): [GSW-1725] Launchpad Main Page Responsive Design
* fix(launchpad): [GSW-1739] After the transaction executes, the modal close

* fix(launchpad): ClaimAll not working
* fix(launchpad): [GSW-1725] Detail Page Responsive Layout

* fix(launchpad): [GSW-1725] Detail Page Responsive Design

* fix(launchpad): [GSW-1743] Changing the Claim Reward amount notation

* feat(launchpad): [GSW-1745] Nodata Active Project UI

* fix(launchpad): UI Modal

* fix(launchpad): UI Detail Page

* fix(launchpad): Fix UI PoolListCard

* fix(launchpad): UI Skeleton for project list

* fix(launchpad): Update Skeleton Height

* fix(launchpad): [GSW-1725] Detail Page Responsive Layout

* fix(launchpad): [GSW-1725] Detail Page Responsive Design

* fix(launchpad): [GSW-1743] Changing the Claim Reward amount notation

* feat(launchpad): [GSW-1745] Nodata Active Project UI

* fix(launchpad): UI Modal

* fix(launchpad): UI Detail Page

* fix(launchpad): Fix UI PoolListCard

* fix(launchpad): UI Skeleton for project list

* fix(launchpad): Update Skeleton Height

* fix(launchpad): [GSW-1747] Add blank project cards to maintain 4-column grid layout
* feat(launchpad): i18n (Main, Detail)

* feat(launchpad): i18n (Common)

* feat(launchpad): i18n (Common, Tooltip)

* feat(launchpad): i18n (Button)

* feat(launchpad): i18n (Button)

* feat(launchpad): i18n (Button)

* feat(launchpad): i18n (My-participation)

* feat(launchpad): i18n (Projects-list no data)

* fix(launchpad): Applied where i18n was not applied

* fix(launchpad): Fix Minor UI Issue

* fix(launchpad): Fix Minor UI Issue & i18n

* fix(launchpad): Minor UI

* fix(launchpad): Unsorting the project list

* fix(launchpad): Minor UI

* fix(launchpad): Active card ui

* refactor(launchpad): improve based on PR review feedback

- Removed direct dependency on i18n instance.
- Made formatTime a pure function by passing the formatting function as an argument.
- Updated getStatusText to follow the same pattern.

* fix(launchpad): Build error

* refactor(launchpad): improve based on PR review feedback
* fix(earn): Tooltip UI

* fix(earn): EarnDescription button layout

* fix(earn): [GSW-1759] Align sort (PoolAddModal)

* fix(main): [GSW-1760] Tokens Table UI

* fix(earn): [GSW-1762] Manage Dropdown Width for Earn>Pool page

* fix(earn): [GSW-1763] Remove/Add position Width at Mobile

* fix(earn): [GSW-1764] Distribution Period string

* fix(launchpad): [GSW-1765] Position Card overflow-x

* fix(earn): [GSW-1766] Unstaked/Staked history NFT image

* feat(governance): [GSW-1767] Delegate

* fix(governance): [GSW-1768] Undelegate Modal

* fix(governance): createProposal modal scrollBar

* fix(earn): Tooltip UI

* fix(earn): EarnDescription button layout

* fix(earn): [GSW-1759] Align sort (PoolAddModal)

* fix(main): [GSW-1760] Tokens Table UI

* fix(earn): [GSW-1762] Manage Dropdown Width for Earn>Pool page

* fix(earn): [GSW-1763] Remove/Add position Width at Mobile

* fix(earn): [GSW-1764] Distribution Period string

* fix(launchpad): [GSW-1765] Position Card overflow-x

* fix(earn): [GSW-1766] Unstaked/Staked history NFT image

* feat(governance): [GSW-1767] Delegate

* fix(governance): [GSW-1768] Undelegate Modal

* fix(governance): createProposal modal scrollBar

* fix: i18n keyword update

* fix(governance): [GSW-1769] Proposal Modal UI

* fix(governance): [GSW-1770] Snack Bar, Notification Text for Governance

* fix(governance): [GSW-1767] Create Proposal Modal UI

* fix(governance): [GSW-1775] Proposal Card UI

* fix(governance): [GSW-1775] Proposal Card UI

* chore: Update i18n file

* feat(governance): [GSW-1775] Proposal Card Time UI

* fix(governance): [GSW-1769] ViewProposal Modal UI

* chore: Update i18n string

* fix(governance): [GSW-1780] Governance CreateProposal placeholder i18n

* fix(launchpad): [GSW-1781] Text

* fix(launchpad): [GSW-1781] Text for Conditions Tooltip & i18n

* fix(launchpad): toUpperCase for Conditions tooltip

* fix(launchpad): My-Participation Column title

* fix(launchpad): Color Token for Pool List Card

* refactor(launchpad): [GSW-1785] i18n, notation

* refactor(launchpad): [GSW-1785] i18n, notation (Month)

* fix(laucnhpad): UpperCase for Tier Duration Chip

* fix(governance): [GSW-1775] Time String (Mobile)

* fix(launchpad): [GSW-1795] Claimable Time i18n, exception case(Minutes)

* fix(governance): [GSW-1796] Wallet Login TextSize

* fix(governance): [GSW-1797] Update Governance Data column

* fix(governance): [GSW-1775] Time String (Mobile)

* fix(wallet): [GSW-1801] Unified Swap/Send/Incentivize Pool Input Logic

* fix(wallet): [GSW-1801] Unified Swap/Send/Incentivize Pool Input Logic

* fix(dashboard): [GSW-1802] Governance Overview (Proposal Link Button)

* fix(dashboard): [GSW-1803] Governance Overview Data mapping

* fix(dashboard): [GSW-1803] Governance Overview Data mapping

* fix(app): [GSW-1810] Return to top button

* fix(wallet): [GSW-1811] Claimable Rewards Tooltip data sorting

* fix(governance): [GSW-1812] Undelegation Tooltip Data sorting

* fix(governance): [GSW-1812] Delegation Tooltip Data sorting

* fix: [GSW-1813] target: _blank (Header Link Menu)

* fix: [GSW-1815] Enter Amount Ellipsis

* fix: [GSW-1815] Enter Amount Ellipsis

* fix: [GSW-1815] Enter Amount Ellipsis

* fix: [GSW-1819] Table List Skeleton size (Mobile)

* fix: [GSW-1820] Return to top Button BoundingClientRect.top

* fix(earn): [GSW-1822] GNOT Toggle

* fix(launchpad): [GSW-1823] Save Scroll

* fix(launchpad): [GSW-1826, GSW-1827] Scroll Index, Active Project Collapse

* fix(governance): [GSW-1828] Delegate/Undelegate Modal UI flickering

* fix: Button Loading

* fix: [GSW-1826] Scroll index for Wallet Positions

* fix: Button Loading

* test: Font-size(makeClassNameWith small-font for proposal)

* fix: Working on improve Review feedback
* feat(earn): [GSW-1830] My Incentivization History UI

* feat(earn): [GSW-1830] i18n

* feat(earn): [GSW-1830] My Incentivize History API

* �fix: Add getPoolStakingListByAddress to pool repository mock

* feat(earn): [GSW-1830] My Incentivize History Data refetch

* fix(earn): [GSW-1830] My Incentivize History UI

* fix(earn): [GSW-1830] My Incentivize History UI

* fix(earn): [GSW-1830] My Incentivize History Unvested Amount Field

* fix(earn): [GSW-1830] My Incentivize History Unvested Amount Field(visible)

* Refactor: formatAmount function for better null handling and consistency
* feat: [GSW-1825] Declare and organize transaction messages

* fix: lint

* chore: update prettier print width

* refactor: rename message file

* fix: lint

* feat: [GSW-1825] Declare and organize transaction messages

* fix: [GSW-1825] Add position approve message

* feat: remove duplicated approve message

* feat: throw parse errors in make approve messages

* feat: make approve messages by comparing the number of tokens approved per package
* fix: [GSW-1853] SnackBar Layout for Mobile

* fix: [GSW-1853] SnackBar Layout for Mobile

* fix(wallet): [GSW-1811] Claimable Rewards Tooltip data sorting

* fix(launchpad): Update i18n

* fix(wallet): [GSW-1811] Claimable Rewards Tooltip data sorting

* fix: [GSW-1813] target: _blank (Header Link SubMenu)

* feat: [GSW-1858] Privacy/Terms Page

* feat: [GSW-1858] Privacy/Terms Page link

* feat: Update i18n

* fix: launchpad main ui

* feat(governance): [GSW-1860] Claimable Rewards Tooltip

* fix: Update decimals for USD Price

* feat(governance): [GSW-1861] TotalDelegated Tooltip UI

* feat: [GSW-1858] Footer Link (Disclaimer, Risk)

* refactor: Manage External URL as constants

* feat(governance): [GSW-1862] Community Pool Tooltip UI

* feat(wallet): [GSW-1863] Wallet Claimed Reward Data Tooltip UI

* fix: Add conditions for the divider to appear

* feat(governance): [GSW-1856] Proposal quorum

* fix(governance): [GSW-1856] Proposal quorum

* fix(launchpad): Mobile breadcrumbs

* fix(launchpad): BlankCard UI

* feat(governance): [GSW-1767] Delegate

* feat(governance): [GSW-1874] Add undelegated amount to collectUndelegated function

* feat(earn): [GSW-1875] My Positions Card List UI

* refactor(earn): [GSW-1875] My Positions Card List UI

* fix(governance): [GSW-1767] Delegate

* fix(wallet): [GSW-1863] Claimed Reward Tooltip

* fix(governance): [GSW-1861] TotalDelegated Tooltip Data

* fix(governance): [GSW-1861] build error

* fix(governance): [GSW-1861] TotalDelegated Tooltip UI

* feat(governance): [GSW-1878] Implement auto-scaling text in VariableSelectBox

* fix(governance): [GSW-1878] Remove Transition

* fix(governance): [GSW-1878] Remove Transition

* fix(governance): [GSW-1878] Revert

* feat: [GSW-1880] ClaimAll Reward Pending Transaction Modal

* fix(governance): [GSW-1865] Proposal

* fix(governance): [GSW-1865] Proposal

* docs: Update i18n

* fix(governance): [GSW-1889] Delegate

* fix(governance): [GSW-1889] Change an formula for delegated

* feat: [GSW-1893] Modal responsive height for Mobile

* fix(governance): [GSW-1894] Voting Progress Fontsize

* fix(earn): [GSW-1895] Earn APR Tooltip

* fix(earn): [GSW-1895] Earn APR Tooltip

* fix: Svg Propoerty PascalCase

* fix(earn): [GSW-1895] Earn APR Tooltip

* fix: [GSW-1898] Enter Amount for Incentivize Pool

* feat: [GSW-1900] Footer

* feat: [GSW-1900] build error

* fix: [GSW-1901] Incentivize Pool Tooltip UI

* feat: [GSW-1900] Footer

* fix: [GSW-1903] Update sorting for Reward Data Tooltip

* fix: Update UI (Proposal Modal) two lines

* feat: [GSW-1904] Pool Detail Mobile

* feat: [GSW-1905] ClaimAll Button

* feat: [GSW-1905] build error

* fix: test error

* fix: [GSW-1908] Update Position Data Field

* fix: [GSW-1911] Create Proposal Modal Validate Error message

* fix: Update GNOT Logo size for AssetReceiveModal

* feat: update i18n
* fix: fix current price area in graph tooltip

* fix: font size
* feat(earn): [GSW-1915] sendClaim for Single Position

* fix: Terms, Privacy text color

* fix: Delegate Modal, VotingPower MaxValue = 100

* feat(earn): Incentivization Claim
Co-authored-by: Dongwon <74406335+dongwon8247@users.noreply.github.com>
* fix: [GSW-1953] Recent Token List Filter Implementation

* fix: [GSW-1953] Recent Token List Filter Implementation (Setting)

* fix: [GSW-1953] Recent Token List Filter Implementation (Setting)

* fix: [GSW-1953] Recent Token List Filter Implementation (Header)
* fix: [GSW-1972] reward claim default GNOT token

* fix: Update Comment

* fix: Update Comment
* feat: [GSW-1952] Earn > Pool position ID scroll

* fix: [GSW-1952] Earn > Pool position ID scroll

* fix: [GSW-1952] Add DOM existence check for scroll elements
Copy link

vercel bot commented Nov 20, 2024

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

Name Status Preview Comments Updated (UTC)
gnoswap-interface ✅ Ready (Inspect) Visit Preview 💬 51 unresolved
✅ 1754 resolved
Nov 20, 2024 0:00am

* temp: disable unwrap

* fix: change to disable parameters that are incorrect for the beta (#536)

---------

Co-authored-by: Aeron Park <21303012+AkydA@users.noreply.github.com>
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.

3 participants