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

[DDW-283]: Quick fix on stake pools ranking panel #2063

Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
39b04f8
[DDW-283]: Implement slider component for Stake Pools screen
topseniors Jun 26, 2020
6591aef
[DDW-283]: Update stake pools ranking by using slider value
topseniors Jun 26, 2020
ec8754e
[DDW-283]: Fix flow test errors
topseniors Jun 30, 2020
178e7cb
[DDW-283]: Run translations manager
topseniors Jun 30, 2020
b68b4a1
[DDW-283]: Merge develop
topseniors Jun 30, 2020
db7a148
[DDW-283]: Update changelog
topseniors Jun 30, 2020
20597f1
Merge branch 'develop' into feature/ddw-283-stake-pool-ranking-based-…
nikolaglumac Jul 1, 2020
288c69e
[DDW-283] Fix CHANGELOG
nikolaglumac Jul 1, 2020
dff5dac
[DDW-283] Fix yarn.lock
nikolaglumac Jul 1, 2020
7e0a016
[DDW-283]: Update slider behavior on stake pool ranking panel
topseniors Jul 1, 2020
1f1f3de
Merge branch 'feature/ddw-283-stake-pool-ranking-based-on-delegated-a…
topseniors Jul 1, 2020
b9e85d0
[DDW-283] Fix stake pool loading
nikolaglumac Jul 1, 2020
dc1c337
[DDW-283] Send stake in lovelace
nikolaglumac Jul 1, 2020
b1c6bf7
[DDW-283]: Update stake pools ranking tooltips, slider and more
topseniors Jul 1, 2020
b4993ec
Merge branch 'feature/ddw-283-stake-pool-ranking-based-on-delegated-a…
topseniors Jul 1, 2020
2452e43
[DDW-283]: Remove opacity of link button color on dark blue theme
topseniors Jul 2, 2020
0c5d602
[DDW-283]: Adjust styles of stake pool ranking panel
topseniors Jul 2, 2020
79d59b1
[DDW-283]: Fix input element style of wallet selector on state rankin…
topseniors Jul 2, 2020
a3a5564
[DDW-283]: Fix slider handle style
topseniors Jul 2, 2020
f4c727b
[DDW-283] Animate stake pools list
nikolaglumac Jul 2, 2020
575466c
[DDW-283] Animate stake pools list
nikolaglumac Jul 2, 2020
da6336b
[DDW-283]: Fix wallet selection dropdown style on stake pools ranking…
topseniors Jul 2, 2020
7140627
Merge branch 'feature/ddw-283-stake-pool-ranking-based-on-delegated-a…
topseniors Jul 2, 2020
f6f50e0
[DDW-283]: Fix wallet selector and slider styles on stake pools ranki…
topseniors Jul 2, 2020
e01dc74
[DDW-283]: Update locale handling on stake pools ranking panel
topseniors Jul 2, 2020
fefe72e
[DDW-283]: Fix missing theme variables
topseniors Jul 2, 2020
1578276
[DDW-283]: Update create theme
topseniors Jul 2, 2020
06b0cac
[DDW-283]: Run translations manager
topseniors Jul 2, 2020
45fae98
[DDW-283]: Merge develop
topseniors Jul 2, 2020
4f8a043
[DDW-283]: Fix feedback issues on PR
topseniors Jul 3, 2020
6ec41ef
Merge branch 'develop' into feature/ddw-283-stake-pool-ranking-based-…
topseniors Jul 3, 2020
61fa548
[DDW-283]: Update wallet selector dropdown on stake pools ranking panel
topseniors Jul 7, 2020
fd24918
[DDW-283]: Hide byron and small amount wallets on stake pools ranking…
topseniors Jul 7, 2020
ce44c59
[DDW-283]: Run translations manager
topseniors Jul 7, 2020
45b5e55
[DDW-283]: Adjust ranking timeout
topseniors Jul 7, 2020
e075bba
[DDW-283]: Merge develop
topseniors Jul 7, 2020
2478437
[DDW-283]: Adjust wallet dropdown style on stake pools ranking panel
topseniors Jul 7, 2020
650e09d
[DDW-283]: Initiate stake pools ranking based on slider value when lo…
topseniors Jul 8, 2020
647f85a
[DDW-283]: Block input while ranking stake pools
topseniors Jul 8, 2020
0f930a3
[DDW-283]: Make ranking loader as a overlay
topseniors Jul 8, 2020
38125cf
[DDW-283]: Update ranking, polling and delegation wallet selection ha…
topseniors Jul 9, 2020
c205946
[DDW-283] Improve stake pools spinner overlay
nikolaglumac Jul 9, 2020
2c82f23
[DDW-283]: Update stake pool ranking overlay style
topseniors Jul 9, 2020
a32b4bf
[DDW-283]: Fix merge conflict
topseniors Jul 9, 2020
0da190d
[DDW-283]: Fix wallet selector style on stake pool ranking panel
topseniors Jul 9, 2020
ed3d323
[DDW-283]: Fix wallet dropdown style
topseniors Jul 10, 2020
71a8ff2
[DDW-283]: Adjust spacing on stake pools ranking panel
topseniors Jul 10, 2020
ff352c0
[DDW-283]: Add missing japanese translations
topseniors Jul 13, 2020
a6ec59d
[DDW-283]: Update english translations
topseniors Jul 13, 2020
b1f9f9c
[DDW-283]: Update wallet selector style on stake pools ranking panel
topseniors Jul 13, 2020
5895830
[DDW-283]: Update wallet selector of stake pools ranking panel
topseniors Jul 13, 2020
1691c8a
[DDW-283]: Show wallet selector only when there are items to select o…
topseniors Jul 14, 2020
243516d
[DDW-283]: Merge develop
topseniors Jul 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export default class StakePoolsRanking extends Component<Props, State> {
onOpenExternalLink,
isLoading,
isRanking,
wallets,
numberOfStakePools,
getStakePoolById,
} = this.props;
Expand All @@ -271,37 +272,44 @@ export default class StakePoolsRanking extends Component<Props, State> {
<div className={styles.row}>
<div className={styles.col}>{rankingDescription}</div>
</div>
<div className={styles.row}>
<div className={styles.col}>{walletSelectionStart}</div>
<div className={styles.col}>
<WalletsDropdown
className={walletSelectorClasses}
placeholder={intl.formatMessage(messages.rankingSelectWallet)}
wallets={walletSelectorWallets}
onChange={this.onSelectedWalletChange}
disabled={isLoading || isRanking}
value={selectedWalletId}
selectionRenderer={option => (
<button
className="customValue"
onClick={() => {
const selectionInput = document.querySelector(
'.StakePoolsRanking_walletSelector .SimpleInput_input'
);
if (selectionInput) {
selectionInput.click();
}
}}
>
{option.label}
</button>
)}
numberOfStakePools={numberOfStakePools}
getStakePoolById={getStakePoolById}
/>
{wallets.filter(
(w: Wallet) =>
w.amount.greaterThanOrEqualTo(MIN_AMOUNT) && !w.isLegacy
).length > 0 ? (
<div className={styles.row}>
<div className={styles.col}>{walletSelectionStart}</div>
<div className={styles.col}>
<WalletsDropdown
className={walletSelectorClasses}
placeholder={intl.formatMessage(
messages.rankingSelectWallet
)}
wallets={walletSelectorWallets}
onChange={this.onSelectedWalletChange}
disabled={isLoading || isRanking}
value={selectedWalletId}
selectionRenderer={option => (
<button
className="customValue"
onClick={() => {
const selectionInput = document.querySelector(
'.StakePoolsRanking_walletSelector .SimpleInput_input'
);
if (selectionInput) {
selectionInput.click();
}
}}
>
{option.label}
</button>
)}
numberOfStakePools={numberOfStakePools}
getStakePoolById={getStakePoolById}
/>
</div>
<div className={styles.col}>{walletSelectionEnd}</div>
</div>
<div className={styles.col}>{walletSelectionEnd}</div>
</div>
) : null}
</div>
<ButtonLink
className={learnMoreButtonClasses}
Expand Down