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

feat: (UI) Voting dashboard: power, info & single event #2178

Merged
merged 7 commits into from
Jan 20, 2022

Conversation

jeeanribeiro
Copy link
Contributor

Description of change

Adds the voting dashboard (voting power, info and community treasury event) with the latest updates in Figma

Links to any relevant issues

Closes #2139

Type of change

  • New (a change which implements a new feature)

How the change has been tested

Clicked on the governance icon in the sidebar, compared the UI with the Figma one and clicked in "My voting power" to open the popup info (should be closed with the X button or Done button)

Change checklist

Add an x to the boxes that are relevant to your changes, and delete any items that are not.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that my latest changes pass CI tests
  • New and existing unit tests pass locally with my changes

@jeeanribeiro jeeanribeiro self-assigned this Jan 19, 2022
@jeeanribeiro jeeanribeiro changed the base branch from develop to feat/voting January 19, 2022 23:23
@jeeanribeiro jeeanribeiro added scope:desktop type:feature Adding a new feature or functionality labels Jan 19, 2022
Copy link
Member

@begonaalvarezd begonaalvarezd left a comment

Choose a reason for hiding this comment

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

Wrote some mini comments around localization but apart from that it looks great 💪🏼 🚀
We will polish the UI (add darkmode and all that) a bit later.

@begonaalvarezd begonaalvarezd merged commit ca2da85 into feat/voting Jan 20, 2022
@begonaalvarezd begonaalvarezd deleted the feat/voting-dashboard branch January 20, 2022 19:23
jeeanribeiro added a commit that referenced this pull request Feb 4, 2022
* adds the first column of governance dashboard

* adds the second column of governance dashboard

* adds locales

* updates the UI with latest changes

* adds voting power info popup

* removes community treasury strings and puts it into component

* removes or from locales
jeeanribeiro added a commit that referenced this pull request Feb 4, 2022
* adds the first column of governance dashboard

* adds the second column of governance dashboard

* adds locales

* updates the UI with latest changes

* adds voting power info popup

* removes community treasury strings and puts it into component

* removes or from locales
jeeanribeiro added a commit that referenced this pull request Mar 28, 2022
* adds the first column of governance dashboard

* adds the second column of governance dashboard

* adds locales

* updates the UI with latest changes

* adds voting power info popup

* removes community treasury strings and puts it into component

* removes or from locales
amadeu2 pushed a commit that referenced this pull request Jun 23, 2022
* feat: make selected wallet the main view (#2179)

* chore: move selectedAccount to global state

* fix: wrong prop name

* feat: remove dead contexts

* chore: refactor selectedAccountId with selectedAccount

* fix: undefined selectedAccount in account navigation

* chore: replace locale with localize in components below Wallet.svelte

* feat: remove unnecessary code around selectedAccount

* chore: remove unnecessary files

* fix: missing import on prev commit

* chore: remove unnecessary code around wallet contexts

* fix: broken line chart

* fix: dropdown jumping border css

* fix: ledger regenerate address

* feat: add global top nav (#2427)

* chore: move viewableAccounts & liveAccounts to Dashboard.svelte to expose globally

* feat: add top navigation with switcher modal

* feat: improve css

* feat: add max height to account switcher

* fix: account switcher css

* feat: rename AccountNavigation component to TopNavigation

* feat: add missing top nav border

* fix: restore DeveloperProfileIndicator

* fix: css typo

* fix: remove commented code

* fix: remove unused locale

* fix: dashboard flex height

* fix: typing

* feat: add tooltips to sidebar tabs (#2430)

* chore: move viewableAccounts & liveAccounts to Dashboard.svelte to expose globally

* feat: add top navigation with switcher modal

* feat: improve css

* feat: add max height to account switcher

* fix: account switcher css

* feat: rename AccountNavigation component to TopNavigation

* feat: add missing top nav border

* fix: restore DeveloperProfileIndicator

* fix: css typo

* feat: add sidebar tab component with tooltips

* fix: remove commented code

* fix: remove unused locale

* fix: dashboard flex height

* fix: typing

* fix: typing

* feat: move stronghold status and action to profile modal (#2507)

* feat: adds stronghold status and action to profile modal

* fix: polishes layout

* fix: adds isSoftwareProfile condition to stronghold status and actions

* fix: wrong import after merge

* feat: move ledger HW state & refresh to profile modal (#2515)

* feat: move ledger state to profile modal

* feat: adds ledger icon next to profile name

* fix: fixes from code review

* fix: missing store isLedgerProfile subscription

* feat: add all ledger states to profile modal

* chore: remove old dashboard security file

* chore: remove old locales

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* feat: move backup to profile modal (#2520)

* feat: adds extra small button class

* feat: moves backup to profile modal

* fix: changes reactive variables lines

* feat: show backup in profile modal only when unsafe & improve locales

Co-authored-by: Begoña Alvarez <[email protected]>

* feat: move update to profile modal (#2521)

* feat: adds backup to profile modal

* feat: display updater only when there is an update available

* feat: polish css

Co-authored-by: Begoña Alvarez <[email protected]>

* Feat: single wallet dashboard (#2514)

* feat: adapt wallet balance ui

* fix: select account wrong reactivity

* fix: cleanup imports

* feat: show send/receive views on click

* feat: update tokens icons

* feat: add my assets

* feat: cleanup AccountTile

* feat: remove comment

* fix: account actions modal remount

* fix: delete account success leads to undefined selected account view

* Feat: fix wrong merge & polish CSS (#2529)

* fix: wrong profile modal logic for backup and ledger

* feat: polish css & fix wrong locale

* feat: add token graph to the wallet graph (#2565)

* feat: single wallet staking (#2564)

* chore: move initialiseListeners to standalone file to avoid circular deps

* chore: rename listeners file to walletApiListeners

* chore: wip staking single account view

* fix: import

* chore: adapt staking overview to single wallet

* chore: localize popup

* feat: cleanup code

* fix: const destruction error

* feat: cleanup code

* feat: commit changes to not lose them

* fix: linter problems

* chore: simplified typing

* fix: type error

* chore: only return strings from getIotasUntilMinimumAirdropReward

* fix: use single account in staking manager

* fix: update iota-wallet backend

* fix: update with correct live staking events

* chore: remove dead code

* chore: adhere to code conventions

* fix: no notification if other participation is found

* feat: move to single account

* fix: use the newest version of wallet.rs

* fix: remove non-existing props on staking manager

* fix: reference store value

* chore: move to named functions

* fix: update wallet-rs and event ID's

* chore: adhere to coding conventions

* fix: remove accountToParticipate and use localize

* feat: update event ids + wallet-rs rev

* fix: remove space at end of event ID

Co-authored-by: Begoña Alvarez <[email protected]>

* fix: remove account pills from staking panels (#2624)

* fix: remove wallet pills from staking panes

* chore: replaced duplicate logic by selectedParticipationOverview

* chore: added typings and minor cleanup

* fix: isStakedForAirdrop more error proof

* feat: rewards per account and staking warnings (#2603)

* feat: adds staking rewards per account

* feat: adds per account rewards in StakingAirdrop

* fix: adds sum of rewards below minimum

* feat: adds staking asset tile

* fix: code review

* fix: got rid of circular dependency

* fix: minor fixes

* fix: wrong key name access

* feat: improve ui

Co-authored-by: Tuditi <[email protected]>
Co-authored-by: Begoña Alvarez <[email protected]>

* feat: update electron menu to single wallet (#2622)

* fix: create wallet UI (#2627)

* fix: spacing

* fix: balanceEquiv display

* fix: staking tooltips showing each letter as a standalone paragraph (#2633)

* chore: point to latest wallet-rs and add mainnet staking events (#2632)

* chore: point to same wallet-rs revision as develop

* chore: add mainnet staking events

* feat: add governance to sidebar (#2164)

* feat: (UI) Voting dashboard: power, info & single event (#2178)

* adds the first column of governance dashboard

* adds the second column of governance dashboard

* adds locales

* updates the UI with latest changes

* adds voting power info popup

* removes community treasury strings and puts it into component

* removes or from locales

* feat: validate technical side for basic fetching events and voting (#2282)

* feat: add governance to sidebar (#2164)

* adds new component and route, and componentizes existing page

* adds UI

* displays information of fetched event

* adds submitting of event participation

* fix: wallet pill props

Co-authored-by: Begoña Alvarez <[email protected]>

* chore: tmp point wallet.rs to feat/voting

* feat: add voting flow (#2311)

* chore: added voting answer and question type

* feat: adding cast votes popup

* chore: remove duplicate icon

* chore: removed unused import

* fix: correct popup property

* feat: added success popup

* feat: open confirmation popup on cast vote

* chore: removed unused prop

* feat: added voting and unvoting notifications

* chore: removed hardcoded staking action, unnecessary comments and duplicate type annotations

* chore: renamed hasPendingParticipation to isParticipationPending

* feat: added change/merge/stop voting functionality

* fix: added missing text

* chore: extracted logic to parent view

* feat: adaptive showing of icon based on event status

* feat: hardcode staking event id (#2349)

* chore: update voting wallet.rs

* chore: update voting wallet.rs

* fix: disabled popup if event is ended or inactive (#2372)

* fix: disabled popup if event is ended or inactive

* chore: ran prettier on newly added svelte files

* fix: simplified canParticipate lib function

* chore: use lib function and button

* fix: replace selectedAccountId with selectedAccount

* feat: add account reactivity to event details view

* feat: voting event detail (#2387)

* feat: adds account balance value

* feat: adds governance info illustration

* feat: adds treasury illustration

* fix: changes info icon

* fix: changes event status locale strings

* feat: adds milestoneToDate function

* feat: adds timestamp to voting open and count

* fix: rounds minutes and seconds in milestoneToDate function

* feat: adds info icon to event details status

* feat: adds duration string function

* [WIP] feat: adds event info details

* feat: adds chart ui

* fix: progress and length calculation

* feat: adds real data to vote counting

* fix: adds optional chaining operator were possible

* fix: lint

* fix: code review comments

* fix: some fixes after rebasing

* fix: button closing

* fix: fixes after test and review

* fix: reset governance router upon logout (#2426)

* feat: add loading spinner (#2412)

* feat: add spinner

* feat: add  message to spinner

* chore: minor changes

* fix: added syncing with pending participations

* feat: send unvoting disclaimer (#2432)

* feat: adds transaction voting and staking+voting disclaimers

* fix: refactor and expected behavior

* fix: clean code

* fix: only show merge buttons if necessary (#2448)

* fix: only show merge buttons if necessary

* fix: make code crash-proof

* fix: Transaction.svelte crash (#2458)

* fix: fixes transaction crash

* fix: changes ternary to nullish coalescing operator

* feat: adds voting ledger UI components (#2455)

* fix: adds handleTransactionEventData to wallet.ts

* feat: adds prompt to connect ledger

* fix: remove unused imports in Staking component

* feat: adds ledger confirm tx popup

* fix: improves comment about function

* fix: code review fixes

* fix: merge votes button not working (#2466)

* fix: removed non-existing wallet.rs function

* chore: remove unused function

* fix: adds optional chaining to accountOverview (#2478)

* feat: add missing governance locale tab

* chore: polish voting (#2563)

* wip

* fix: removes wallet pill

* fix: dark theme and responsiveness

* fix: adds iotatreasury.org to url whitelist

* fix: bigger texts adapting to layout

* feat: adds not found event state

* fix: governance info link light theme

* fix: governance events button dark theme

* fix: option states fixes

* feat: add winner state to voting buttons

* fix: adds missing function

* fix: circular dependency (#2675)

* fix: circular depedency

* chore: reordered imports

* fix: remove unused arguments

* fix: format pipeline

Co-authored-by: Tuditi <[email protected]>

* fix: wrong sidebar.svelte rebase & add governance (#2673)

* feat: CSS & staking reactivity fixes (#2634)

* fix: css assets alignment

* fix: staking manager colors and reactivity

* fix: staking animation reactivity

* Merge branch `feat/single-account` into branch `feat/css-fixes`

* fix: remove alpha instance name

Co-authored-by: Matthew Maxwell <[email protected]>

* feat: increase popup css z-index (#2682)

* fix: ledger staking (#2680)

* fix: staking erros not displaying

* fix: participation wrong reactivity lead to infinite ledger spinner

Co-authored-by: Matthew Maxwell <[email protected]>

* fix: delayed asset warning tooltip (#2676)

* fix: function arguments

* fix: show asset warning only where there is tooltip text

Co-authored-by: Matthew Maxwell <[email protected]>

* feat: remove type from imports and clean imports

* fix: wrong imports after merge

* fix: circular dependency

* fix: adds optional chaining to participationOverview (#2840)

* fix: adds optional chaining operator to trackedParticipations

* feat: add top bar back button to voting detail route (#2873)

* Feat: UI polish voting welcome view  (#2886)

* feat: remove voting heading

* feat: unify css paddings

* feat: polish css voting power

* feat: polish css voting info

* feat: polish css voting dashboard treasury event

* feat: allow iotatreasury how to endpoint

* fix: adds empty object fallback to fix errors

* feat: adds voting tx locale/icon (#2620)

* [wip] feat: adds voting tx locale/icon

* feat: adds unvoted and unstaked actions

* fix: refactoring

* fix: code review

* fix: persist participationHistory

Co-authored-by: Begoña Alvarez <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>

* feat: adds voting info tooltips (#2890)

* fix: refactors GovernanceEventDetails to code guidelines

* feat: adds GovernanceInfoTooltip component

* feat: implements tooltip in event details

Co-authored-by: Begoña Alvarez <[email protected]>

* fix: duplicate constant imports

* fix: reset governance router on logout (#3005)

Co-authored-by: Charlie Varley <[email protected]>

* feat: polish event detail tooltips (#2999)

* feat: polish event detail tooltips

* feat: improve spacings

* fix: crash when event ended

* feat: add voting app notifications (#3015)

* feat: add voting app notifications

* enhancement: adjust stop start vote strings

Co-authored-by: Charlie Varley <[email protected]>

* Feat: update voting flows (#3016)

* feat: update voting flows to be more similar to staking

* feat: minor voting css polish

* fix: wrong voting stop success text

* feat: remove voting confirmation popup from flow & fix ledger

* feat: add missing import

Co-authored-by: Charlie Varley <[email protected]>

* fix: handle undefined name in account switcher (#3033)

* fix: use dash placeholder for when the name is undefined

* chore: use last selected account as backup

* enhancement: add backup for retrieving previous airdrop rewards (#3017)

* enhancement: add backup for retrieving previous airdrop rewards

* fix: await on json response so it fails if json is not readable

* enhancement: improve wallet switcher by showing balance (#3013)

* fix: remove padding from plus icon svg

* enhancement: add balance to wallet switcher

* refactor: update plus icon everywhere so its the same size as before in the UI

* fix: change locale string

* feat: unify wallet balance & staking summary panes (#3041)

* feat: unify wallet balance & staking summary CSS

* feat: add precise staked amount toggle to staked summary

* feat: modify h1 to use lower weight

* feat: adjust voting info (#3044)

* fix: voting event time presentation

* enhancement: voting weight text

Co-authored-by: Charlie Varley <[email protected]>

* enhancement: move voting weight popup tooltip (#3046)

* fix: voting event time presentation

* enhancement: voting weight text

* enhancement: move voting power popup to tooltip

Co-authored-by: Charlie Varley <[email protected]>

* fix: refine participation polling (#3071)

* fix: voting event time presentation

* enhancement: voting weight text

* enhancement: move voting power popup to tooltip

* fix: adjust partipation polling logic to ensure views are updated promptly

Co-authored-by: Charlie Varley <[email protected]>

* feat: update voting strings (#3079)

* fix: voting event time presentation

* enhancement: voting weight text

* enhancement: move voting power popup to tooltip

* enhancement: finalise voting strings

* fix: voting additional info

* enhancement: remove announcement from timeline

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>

* enhancement: fixes voting rate and polishes event details pane (#3083)

* enhancement: clean up voting event details and fix voting rate

* fix: extra bracket

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Begoña Alvarez <[email protected]>

* enhancement: polishes voting end state (#3091)

* enhancement: clean up voting event details and fix voting rate

* fix: extra bracket

* fix: no votes chart percentage

* enhancement: change voting timeline to past tense once passed

* fix: number and text formatting

* fix: maximum votes

* fix: duration string for 0 value

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Begoña Alvarez <[email protected]>

* feat: add merge votes && fix pending participations (#3080)

* feat: add partially voted warning and tooltip to answer

* feat: update governance manager options & add merge votes extra info

* fix: pending participations and current participation action

* fix: staking summary loading locales

* fix: tooltip position wrong merge

* enhancement: adjust partial vote strings

* chore: fix variable name

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>

* refactor: change syncing to per account (#3082)

* refactor: add account metadata type

* refactor: rename some code

* refactor: cleanup logic for updating accounts

* refactor: cleanup code for loading in wallet dashboard

* refactor: implement syncing queue when loading accounts

* enhancement: implement priority when switching accounts

* fix: use dedicate store for current syncing account to smoothen UX

* refactor: cleanup code around syncing API wrappers

* fix: make balance finder account for syncing on open

* chore: rename function

Co-authored-by: Charlie Varley <[email protected]>

* fix: pending participation subscription (#3119)

* feat: move participation subscription from popup manager to dashboard and properly unsubscribe

* chore: fix variable name

* feat: remove participation subscription from staking manager

* feat: rename function

Co-authored-by: Charlie Varley <[email protected]>

* fix: vote totals calculation and display and other bug fixes (#3142)

* fix: dashboard reset participation

* fix: maximum vote calculation and display

* fix: voting rate tooltip formatting

* enhancement: update wallet-rs revision

* fix: partial merge store logic

* enhancement: update wallet-rs revision

* fix: refactors getColor (#3086)

* fix: refactors getColor

* fix: adds fallback to not found color

* fix: changes AccountColors to AccountColor

* fix: adds last selected account back

* fix: moves AccountColor to a new file "color.ts"

* chore: update variable name

* fix: account switcher modal colours

Co-authored-by: Charlie Varley <[email protected]>

* fix: account color declaration

* fix: receive qr responsiveness

* fix: voting polish and performance (#3154)

* fix: close popup on participation success

* fix: reset governance router on tab click

* fix: unnecessary import

* fix: set accounts loaded store after completing processing

* chore: rename voting power route

* fix: limit calls to get participation info to poll cycle only

* enhancement: adjust participation poll logic

* enhancement: add loading states to voting and staking

* fix: handle different decimal separators for deep links (#3163)

* fix: add formatting for specific decimal separators

* chore: remove dev tools access from packaged builds

* fix: use specific decimal separator in asset tiles (#3165)

* fix: add formatting for specific decimal separators

* chore: remove dev tools access from packaged builds

* fix: use appropriate number formatting for asset fiat prices

* Feat: add partial vote sidebar notification (#3156)

* feat: replicate sidebar notification for governance (missing reactive fix)

* fix: derived stores reactivity

* feat: fix sidebar notifications

Co-authored-by: Charlie Varley <[email protected]>

* fix: account load processing (#3178)

* fix: account load processing

* fix: remove unnecessary accounts loaded call

* feat: adjust qr size

* enhancement: improve transaction confirmation detection speed (#3182)

* enhancement: update wallet-rs version

* chore: update cargo.lock

* fix: make sidebar tab tooltips reactive for locale changes

* fix: locale reactivity in back button (#3189)

* fix: make back button text reactive to locale

* chore: cleanup import statement

* Feat: some polish voting UI (#3161)

* feat: polish CSS voting dashboard view

* feat: update treasury event asset

* fix: event detail tooltips not destroying

* feat: polish event detail texts and button css

* feat: remove style

* chore: update events

Co-authored-by: Charlie Varley <[email protected]>

* fix: increase QR size slightly

* fix: add reactivity for cached staking rewards (#3032)

* fix: add reactive declaration for cached `profile.stakingRewards`

* chore: cleanup import statement

Co-authored-by: Charlie Varley <[email protected]>

* chore: update version

* fix: pending participation reset

* fix: localisation

* feat: split governance event details code into multiple files (#3255)

Co-authored-by: Begoña Alvarez <[email protected]>

* Feat: polish governance init UI (#3224)

* feat: split governance event details code into multiple files

* feat: update voting icon

* fix: pane bottom shadow cut off

* fix: treasury bg image cutting off buttons on wide screens

Co-authored-by: Charlie Varley <[email protected]>

* fix: block voting when balance is zero (#3256)

* feat: improve voting info pane (questions) (#3250)

* feat: split governance event details code into multiple files

* feat: update voting icon

* fix: pane bottom shadow cut off

* fix: treasury bg image cutting off buttons on wide screens

* feat: improve voting info pane (questions)

* feat: update governance manager flows (#3254)

* feat: split governance event details code into multiple files

* feat: update voting icon

* fix: pane bottom shadow cut off

* fix: treasury bg image cutting off buttons on wide screens

* feat: improve voting info pane (questions)

* feat: update governance manager flows

* feat: skip unvote app notification when changing votes

* feat: add governance success popup

* feat: remove answer button CTA when unnecessary

* feat: improve event questions spacings

* feat: adjust event info text & css

* fix: staking & voting panes going out of vertical available space

* enhancement: update voting strings

Co-authored-by: Charlie Varley <[email protected]>

* fix: voting text fixes (#3307)

* fix: voting weight string

* fix: minimum stake when voting string

* fix: update proposal not found string

* enhancement: add time to voting phase timelines

* Feat: add participation loaders (#3297)

* feat: add participation loaders

* feat: add more reactivity

* feat: add syncing reactivity

* feat: imrpove css

* feat: update get spinner message logic

* feat: add missing reset governance view

* feat: add voting loaders to staking

* feat: set same syncing string in voting as staking

* fix: isChangingParticipation being reset before real timing

* feat: remove unnecessary line

* Fix: `isAccountVoting` included staking participations (#3310)

* fix: wrong calculation of variable isAccountVoting was including staking

* fix: typings

* feat: move voting results to tooltip & update CSS (#3301)

* feat: move voting results to tooltip & update CSS

* fix: adjust voting chart tooltip text

* fix: adjust chart text layout

Co-authored-by: Charlie Varley <[email protected]>

* feat: disable add new wallet while participating (#3303)

* feat: disable add new wallet while participating

* fix: close account switcher modal on all actions

Co-authored-by: Charlie Varley <[email protected]>

* feat: add participation action literal string search (#3305)

Co-authored-by: Charlie Varley <[email protected]>

* feat: improve conent fit in staking info pane (#3311)

* Feat: polishing staking man (#3315)

* feat: improve conent fit in staking info pane

* fix: adjust staking man css

Co-authored-by: Begoña Alvarez <[email protected]>

* fix: voting flows for ledger device (#3314)

* fix: voting flow for ledger

* feat: reset variables on error catch & improve loader

* feat: open participation managers only if the right tab

* fix: wrong participation action in prev commit

Co-authored-by: Charlie Varley <[email protected]>

* fix: ensure no crash on change vote tabswitch (#3316)

* fix: voting CSS winner selected (#3321)

* fix: wallet duplication on first login (after profile creation) (#3328)

* fix: wallet duplication on first login due to pre-propulation of wallets

* fix: comment typo

* feat: prevent back button text from breaking words into multiple lines (#3330)

* feat: remove governance router reset on tab selection (#3331)

* feat: remove governance router reset on tab selection

* feat: reset gov router only if you are already in gov, like a home button

* feat: prevent wallet creation/switch while changing participation (#3332)

* chore: update to mainnet event

* fix: add LAST_MILESTONE_BEFORE_TREASURY_EVENT

* chore: update to correct assembly event

* Fix: old participations tx history tagging (#3338)

* fix: add missing event reactivity for right tx history categorization

* fix: update getMessageParticipationAction logic to be based on vote & message dates

* feat: remove unnecssary declaration

* chore: update wallet.rs

* enhancement: add warnings for merging vote/stake (#3366)

* feat: improve voting timeline in darkmode (#3351)

* chore: update version

* fix: your counted votes & your maximum votes (#3384)

* chore: bump desktop version to 1.6.2

Co-authored-by: Tuditi <[email protected]>
Co-authored-by: Jean Ribeiro <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Tuditi <[email protected]>
Co-authored-by: Matthew Maxwell <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Matthew Maxwell <[email protected]>
Co-authored-by: Nicole O'Brien <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Rajiv Shah <[email protected]>
begonaalvarezd added a commit that referenced this pull request Aug 11, 2022
* feat: make selected wallet the main view (#2179)

* chore: move selectedAccount to global state

* fix: wrong prop name

* feat: remove dead contexts

* chore: refactor selectedAccountId with selectedAccount

* fix: undefined selectedAccount in account navigation

* chore: replace locale with localize in components below Wallet.svelte

* feat: remove unnecessary code around selectedAccount

* chore: remove unnecessary files

* fix: missing import on prev commit

* chore: remove unnecessary code around wallet contexts

* fix: broken line chart

* fix: dropdown jumping border css

* fix: ledger regenerate address

* feat: add global top nav (#2427)

* chore: move viewableAccounts & liveAccounts to Dashboard.svelte to expose globally

* feat: add top navigation with switcher modal

* feat: improve css

* feat: add max height to account switcher

* fix: account switcher css

* feat: rename AccountNavigation component to TopNavigation

* feat: add missing top nav border

* fix: restore DeveloperProfileIndicator

* fix: css typo

* fix: remove commented code

* fix: remove unused locale

* fix: dashboard flex height

* fix: typing

* feat: add tooltips to sidebar tabs (#2430)

* chore: move viewableAccounts & liveAccounts to Dashboard.svelte to expose globally

* feat: add top navigation with switcher modal

* feat: improve css

* feat: add max height to account switcher

* fix: account switcher css

* feat: rename AccountNavigation component to TopNavigation

* feat: add missing top nav border

* fix: restore DeveloperProfileIndicator

* fix: css typo

* feat: add sidebar tab component with tooltips

* fix: remove commented code

* fix: remove unused locale

* fix: dashboard flex height

* fix: typing

* fix: typing

* feat: move stronghold status and action to profile modal (#2507)

* feat: adds stronghold status and action to profile modal

* fix: polishes layout

* fix: adds isSoftwareProfile condition to stronghold status and actions

* fix: wrong import after merge

* feat: move ledger HW state & refresh to profile modal (#2515)

* feat: move ledger state to profile modal

* feat: adds ledger icon next to profile name

* fix: fixes from code review

* fix: missing store isLedgerProfile subscription

* feat: add all ledger states to profile modal

* chore: remove old dashboard security file

* chore: remove old locales

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* feat: move backup to profile modal (#2520)

* feat: adds extra small button class

* feat: moves backup to profile modal

* fix: changes reactive variables lines

* feat: show backup in profile modal only when unsafe & improve locales

Co-authored-by: Begoña Alvarez <[email protected]>

* feat: move update to profile modal (#2521)

* feat: adds backup to profile modal

* feat: display updater only when there is an update available

* feat: polish css

Co-authored-by: Begoña Alvarez <[email protected]>

* Feat: single wallet dashboard (#2514)

* feat: adapt wallet balance ui

* fix: select account wrong reactivity

* fix: cleanup imports

* feat: show send/receive views on click

* feat: update tokens icons

* feat: add my assets

* feat: cleanup AccountTile

* feat: remove comment

* fix: account actions modal remount

* fix: delete account success leads to undefined selected account view

* Feat: fix wrong merge & polish CSS (#2529)

* fix: wrong profile modal logic for backup and ledger

* feat: polish css & fix wrong locale

* feat: add token graph to the wallet graph (#2565)

* feat: single wallet staking (#2564)

* chore: move initialiseListeners to standalone file to avoid circular deps

* chore: rename listeners file to walletApiListeners

* chore: wip staking single account view

* fix: import

* chore: adapt staking overview to single wallet

* chore: localize popup

* feat: cleanup code

* fix: const destruction error

* feat: cleanup code

* feat: commit changes to not lose them

* fix: linter problems

* chore: simplified typing

* fix: type error

* chore: only return strings from getIotasUntilMinimumAirdropReward

* fix: use single account in staking manager

* fix: update iota-wallet backend

* fix: update with correct live staking events

* chore: remove dead code

* chore: adhere to code conventions

* fix: no notification if other participation is found

* feat: move to single account

* fix: use the newest version of wallet.rs

* fix: remove non-existing props on staking manager

* fix: reference store value

* chore: move to named functions

* fix: update wallet-rs and event ID's

* chore: adhere to coding conventions

* fix: remove accountToParticipate and use localize

* feat: update event ids + wallet-rs rev

* fix: remove space at end of event ID

Co-authored-by: Begoña Alvarez <[email protected]>

* fix: remove account pills from staking panels (#2624)

* fix: remove wallet pills from staking panes

* chore: replaced duplicate logic by selectedParticipationOverview

* chore: added typings and minor cleanup

* fix: isStakedForAirdrop more error proof

* feat: rewards per account and staking warnings (#2603)

* feat: adds staking rewards per account

* feat: adds per account rewards in StakingAirdrop

* fix: adds sum of rewards below minimum

* feat: adds staking asset tile

* fix: code review

* fix: got rid of circular dependency

* fix: minor fixes

* fix: wrong key name access

* feat: improve ui

Co-authored-by: Tuditi <[email protected]>
Co-authored-by: Begoña Alvarez <[email protected]>

* feat: update electron menu to single wallet (#2622)

* fix: create wallet UI (#2627)

* fix: spacing

* fix: balanceEquiv display

* fix: staking tooltips showing each letter as a standalone paragraph (#2633)

* chore: point to latest wallet-rs and add mainnet staking events (#2632)

* chore: point to same wallet-rs revision as develop

* chore: add mainnet staking events

* feat: add governance to sidebar (#2164)

* feat: (UI) Voting dashboard: power, info & single event (#2178)

* adds the first column of governance dashboard

* adds the second column of governance dashboard

* adds locales

* updates the UI with latest changes

* adds voting power info popup

* removes community treasury strings and puts it into component

* removes or from locales

* feat: validate technical side for basic fetching events and voting (#2282)

* feat: add governance to sidebar (#2164)

* adds new component and route, and componentizes existing page

* adds UI

* displays information of fetched event

* adds submitting of event participation

* fix: wallet pill props

Co-authored-by: Begoña Alvarez <[email protected]>

* chore: tmp point wallet.rs to feat/voting

* feat: add voting flow (#2311)

* chore: added voting answer and question type

* feat: adding cast votes popup

* chore: remove duplicate icon

* chore: removed unused import

* fix: correct popup property

* feat: added success popup

* feat: open confirmation popup on cast vote

* chore: removed unused prop

* feat: added voting and unvoting notifications

* chore: removed hardcoded staking action, unnecessary comments and duplicate type annotations

* chore: renamed hasPendingParticipation to isParticipationPending

* feat: added change/merge/stop voting functionality

* fix: added missing text

* chore: extracted logic to parent view

* feat: adaptive showing of icon based on event status

* feat: hardcode staking event id (#2349)

* chore: update voting wallet.rs

* chore: update voting wallet.rs

* fix: disabled popup if event is ended or inactive (#2372)

* fix: disabled popup if event is ended or inactive

* chore: ran prettier on newly added svelte files

* fix: simplified canParticipate lib function

* chore: use lib function and button

* fix: replace selectedAccountId with selectedAccount

* feat: add account reactivity to event details view

* feat: voting event detail (#2387)

* feat: adds account balance value

* feat: adds governance info illustration

* feat: adds treasury illustration

* fix: changes info icon

* fix: changes event status locale strings

* feat: adds milestoneToDate function

* feat: adds timestamp to voting open and count

* fix: rounds minutes and seconds in milestoneToDate function

* feat: adds info icon to event details status

* feat: adds duration string function

* [WIP] feat: adds event info details

* feat: adds chart ui

* fix: progress and length calculation

* feat: adds real data to vote counting

* fix: adds optional chaining operator were possible

* fix: lint

* fix: code review comments

* fix: some fixes after rebasing

* fix: button closing

* fix: fixes after test and review

* fix: reset governance router upon logout (#2426)

* feat: add loading spinner (#2412)

* feat: add spinner

* feat: add  message to spinner

* chore: minor changes

* fix: added syncing with pending participations

* feat: send unvoting disclaimer (#2432)

* feat: adds transaction voting and staking+voting disclaimers

* fix: refactor and expected behavior

* fix: clean code

* fix: only show merge buttons if necessary (#2448)

* fix: only show merge buttons if necessary

* fix: make code crash-proof

* fix: Transaction.svelte crash (#2458)

* fix: fixes transaction crash

* fix: changes ternary to nullish coalescing operator

* feat: adds voting ledger UI components (#2455)

* fix: adds handleTransactionEventData to wallet.ts

* feat: adds prompt to connect ledger

* fix: remove unused imports in Staking component

* feat: adds ledger confirm tx popup

* fix: improves comment about function

* fix: code review fixes

* fix: merge votes button not working (#2466)

* fix: removed non-existing wallet.rs function

* chore: remove unused function

* fix: adds optional chaining to accountOverview (#2478)

* feat: add missing governance locale tab

* chore: polish voting (#2563)

* wip

* fix: removes wallet pill

* fix: dark theme and responsiveness

* fix: adds iotatreasury.org to url whitelist

* fix: bigger texts adapting to layout

* feat: adds not found event state

* fix: governance info link light theme

* fix: governance events button dark theme

* fix: option states fixes

* feat: add winner state to voting buttons

* fix: adds missing function

* fix: circular dependency (#2675)

* fix: circular depedency

* chore: reordered imports

* fix: remove unused arguments

* fix: format pipeline

Co-authored-by: Tuditi <[email protected]>

* fix: wrong sidebar.svelte rebase & add governance (#2673)

* feat: CSS & staking reactivity fixes (#2634)

* fix: css assets alignment

* fix: staking manager colors and reactivity

* fix: staking animation reactivity

* Merge branch `feat/single-account` into branch `feat/css-fixes`

* fix: remove alpha instance name

Co-authored-by: Matthew Maxwell <[email protected]>

* feat: increase popup css z-index (#2682)

* fix: ledger staking (#2680)

* fix: staking erros not displaying

* fix: participation wrong reactivity lead to infinite ledger spinner

Co-authored-by: Matthew Maxwell <[email protected]>

* fix: delayed asset warning tooltip (#2676)

* fix: function arguments

* fix: show asset warning only where there is tooltip text

Co-authored-by: Matthew Maxwell <[email protected]>

* feat: remove type from imports and clean imports

* fix: wrong imports after merge

* fix: circular dependency

* fix: adds optional chaining to participationOverview (#2840)

* fix: adds optional chaining operator to trackedParticipations

* feat: add top bar back button to voting detail route (#2873)

* Feat: UI polish voting welcome view  (#2886)

* feat: remove voting heading

* feat: unify css paddings

* feat: polish css voting power

* feat: polish css voting info

* feat: polish css voting dashboard treasury event

* feat: allow iotatreasury how to endpoint

* fix: adds empty object fallback to fix errors

* feat: adds voting tx locale/icon (#2620)

* [wip] feat: adds voting tx locale/icon

* feat: adds unvoted and unstaked actions

* fix: refactoring

* fix: code review

* fix: persist participationHistory

Co-authored-by: Begoña Alvarez <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>

* feat: adds voting info tooltips (#2890)

* fix: refactors GovernanceEventDetails to code guidelines

* feat: adds GovernanceInfoTooltip component

* feat: implements tooltip in event details

Co-authored-by: Begoña Alvarez <[email protected]>

* fix: duplicate constant imports

* fix: reset governance router on logout (#3005)

Co-authored-by: Charlie Varley <[email protected]>

* feat: polish event detail tooltips (#2999)

* feat: polish event detail tooltips

* feat: improve spacings

* fix: crash when event ended

* feat: add voting app notifications (#3015)

* feat: add voting app notifications

* enhancement: adjust stop start vote strings

Co-authored-by: Charlie Varley <[email protected]>

* Feat: update voting flows (#3016)

* feat: update voting flows to be more similar to staking

* feat: minor voting css polish

* fix: wrong voting stop success text

* feat: remove voting confirmation popup from flow & fix ledger

* feat: add missing import

Co-authored-by: Charlie Varley <[email protected]>

* fix: handle undefined name in account switcher (#3033)

* fix: use dash placeholder for when the name is undefined

* chore: use last selected account as backup

* enhancement: add backup for retrieving previous airdrop rewards (#3017)

* enhancement: add backup for retrieving previous airdrop rewards

* fix: await on json response so it fails if json is not readable

* enhancement: improve wallet switcher by showing balance (#3013)

* fix: remove padding from plus icon svg

* enhancement: add balance to wallet switcher

* refactor: update plus icon everywhere so its the same size as before in the UI

* fix: change locale string

* feat: unify wallet balance & staking summary panes (#3041)

* feat: unify wallet balance & staking summary CSS

* feat: add precise staked amount toggle to staked summary

* feat: modify h1 to use lower weight

* feat: adjust voting info (#3044)

* fix: voting event time presentation

* enhancement: voting weight text

Co-authored-by: Charlie Varley <[email protected]>

* enhancement: move voting weight popup tooltip (#3046)

* fix: voting event time presentation

* enhancement: voting weight text

* enhancement: move voting power popup to tooltip

Co-authored-by: Charlie Varley <[email protected]>

* fix: refine participation polling (#3071)

* fix: voting event time presentation

* enhancement: voting weight text

* enhancement: move voting power popup to tooltip

* fix: adjust partipation polling logic to ensure views are updated promptly

Co-authored-by: Charlie Varley <[email protected]>

* feat: update voting strings (#3079)

* fix: voting event time presentation

* enhancement: voting weight text

* enhancement: move voting power popup to tooltip

* enhancement: finalise voting strings

* fix: voting additional info

* enhancement: remove announcement from timeline

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>

* enhancement: fixes voting rate and polishes event details pane (#3083)

* enhancement: clean up voting event details and fix voting rate

* fix: extra bracket

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Begoña Alvarez <[email protected]>

* enhancement: polishes voting end state (#3091)

* enhancement: clean up voting event details and fix voting rate

* fix: extra bracket

* fix: no votes chart percentage

* enhancement: change voting timeline to past tense once passed

* fix: number and text formatting

* fix: maximum votes

* fix: duration string for 0 value

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Begoña Alvarez <[email protected]>

* feat: add merge votes && fix pending participations (#3080)

* feat: add partially voted warning and tooltip to answer

* feat: update governance manager options & add merge votes extra info

* fix: pending participations and current participation action

* fix: staking summary loading locales

* fix: tooltip position wrong merge

* enhancement: adjust partial vote strings

* chore: fix variable name

Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>

* refactor: change syncing to per account (#3082)

* refactor: add account metadata type

* refactor: rename some code

* refactor: cleanup logic for updating accounts

* refactor: cleanup code for loading in wallet dashboard

* refactor: implement syncing queue when loading accounts

* enhancement: implement priority when switching accounts

* fix: use dedicate store for current syncing account to smoothen UX

* refactor: cleanup code around syncing API wrappers

* fix: make balance finder account for syncing on open

* chore: rename function

Co-authored-by: Charlie Varley <[email protected]>

* fix: pending participation subscription (#3119)

* feat: move participation subscription from popup manager to dashboard and properly unsubscribe

* chore: fix variable name

* feat: remove participation subscription from staking manager

* feat: rename function

Co-authored-by: Charlie Varley <[email protected]>

* fix: vote totals calculation and display and other bug fixes (#3142)

* fix: dashboard reset participation

* fix: maximum vote calculation and display

* fix: voting rate tooltip formatting

* enhancement: update wallet-rs revision

* fix: partial merge store logic

* enhancement: update wallet-rs revision

* fix: refactors getColor (#3086)

* fix: refactors getColor

* fix: adds fallback to not found color

* fix: changes AccountColors to AccountColor

* fix: adds last selected account back

* fix: moves AccountColor to a new file "color.ts"

* chore: update variable name

* fix: account switcher modal colours

Co-authored-by: Charlie Varley <[email protected]>

* fix: account color declaration

* fix: receive qr responsiveness

* fix: voting polish and performance (#3154)

* fix: close popup on participation success

* fix: reset governance router on tab click

* fix: unnecessary import

* fix: set accounts loaded store after completing processing

* chore: rename voting power route

* fix: limit calls to get participation info to poll cycle only

* enhancement: adjust participation poll logic

* enhancement: add loading states to voting and staking

* fix: handle different decimal separators for deep links (#3163)

* fix: add formatting for specific decimal separators

* chore: remove dev tools access from packaged builds

* fix: use specific decimal separator in asset tiles (#3165)

* fix: add formatting for specific decimal separators

* chore: remove dev tools access from packaged builds

* fix: use appropriate number formatting for asset fiat prices

* Feat: add partial vote sidebar notification (#3156)

* feat: replicate sidebar notification for governance (missing reactive fix)

* fix: derived stores reactivity

* feat: fix sidebar notifications

Co-authored-by: Charlie Varley <[email protected]>

* fix: account load processing (#3178)

* fix: account load processing

* fix: remove unnecessary accounts loaded call

* feat: adjust qr size

* enhancement: improve transaction confirmation detection speed (#3182)

* enhancement: update wallet-rs version

* chore: update cargo.lock

* fix: make sidebar tab tooltips reactive for locale changes

* fix: locale reactivity in back button (#3189)

* fix: make back button text reactive to locale

* chore: cleanup import statement

* Feat: some polish voting UI (#3161)

* feat: polish CSS voting dashboard view

* feat: update treasury event asset

* fix: event detail tooltips not destroying

* feat: polish event detail texts and button css

* feat: remove style

* chore: update events

Co-authored-by: Charlie Varley <[email protected]>

* fix: increase QR size slightly

* fix: add reactivity for cached staking rewards (#3032)

* fix: add reactive declaration for cached `profile.stakingRewards`

* chore: cleanup import statement

Co-authored-by: Charlie Varley <[email protected]>

* chore: update version

* fix: pending participation reset

* fix: localisation

* feat: split governance event details code into multiple files (#3255)

Co-authored-by: Begoña Alvarez <[email protected]>

* Feat: polish governance init UI (#3224)

* feat: split governance event details code into multiple files

* feat: update voting icon

* fix: pane bottom shadow cut off

* fix: treasury bg image cutting off buttons on wide screens

Co-authored-by: Charlie Varley <[email protected]>

* fix: block voting when balance is zero (#3256)

* feat: improve voting info pane (questions) (#3250)

* feat: split governance event details code into multiple files

* feat: update voting icon

* fix: pane bottom shadow cut off

* fix: treasury bg image cutting off buttons on wide screens

* feat: improve voting info pane (questions)

* feat: update governance manager flows (#3254)

* feat: split governance event details code into multiple files

* feat: update voting icon

* fix: pane bottom shadow cut off

* fix: treasury bg image cutting off buttons on wide screens

* feat: improve voting info pane (questions)

* feat: update governance manager flows

* feat: skip unvote app notification when changing votes

* feat: add governance success popup

* feat: remove answer button CTA when unnecessary

* feat: improve event questions spacings

* feat: adjust event info text & css

* fix: staking & voting panes going out of vertical available space

* enhancement: update voting strings

Co-authored-by: Charlie Varley <[email protected]>

* fix: voting text fixes (#3307)

* fix: voting weight string

* fix: minimum stake when voting string

* fix: update proposal not found string

* enhancement: add time to voting phase timelines

* Feat: add participation loaders (#3297)

* feat: add participation loaders

* feat: add more reactivity

* feat: add syncing reactivity

* feat: imrpove css

* feat: update get spinner message logic

* feat: add missing reset governance view

* feat: add voting loaders to staking

* feat: set same syncing string in voting as staking

* fix: isChangingParticipation being reset before real timing

* feat: remove unnecessary line

* Fix: `isAccountVoting` included staking participations (#3310)

* fix: wrong calculation of variable isAccountVoting was including staking

* fix: typings

* feat: move voting results to tooltip & update CSS (#3301)

* feat: move voting results to tooltip & update CSS

* fix: adjust voting chart tooltip text

* fix: adjust chart text layout

Co-authored-by: Charlie Varley <[email protected]>

* feat: disable add new wallet while participating (#3303)

* feat: disable add new wallet while participating

* fix: close account switcher modal on all actions

Co-authored-by: Charlie Varley <[email protected]>

* feat: add participation action literal string search (#3305)

Co-authored-by: Charlie Varley <[email protected]>

* feat: improve conent fit in staking info pane (#3311)

* Feat: polishing staking man (#3315)

* feat: improve conent fit in staking info pane

* fix: adjust staking man css

Co-authored-by: Begoña Alvarez <[email protected]>

* fix: voting flows for ledger device (#3314)

* fix: voting flow for ledger

* feat: reset variables on error catch & improve loader

* feat: open participation managers only if the right tab

* fix: wrong participation action in prev commit

Co-authored-by: Charlie Varley <[email protected]>

* fix: ensure no crash on change vote tabswitch (#3316)

* fix: voting CSS winner selected (#3321)

* fix: wallet duplication on first login (after profile creation) (#3328)

* fix: wallet duplication on first login due to pre-propulation of wallets

* fix: comment typo

* feat: prevent back button text from breaking words into multiple lines (#3330)

* feat: remove governance router reset on tab selection (#3331)

* feat: remove governance router reset on tab selection

* feat: reset gov router only if you are already in gov, like a home button

* feat: prevent wallet creation/switch while changing participation (#3332)

* chore: update to mainnet event

* fix: add LAST_MILESTONE_BEFORE_TREASURY_EVENT

* chore: update to correct assembly event

* Fix: old participations tx history tagging (#3338)

* fix: add missing event reactivity for right tx history categorization

* fix: update getMessageParticipationAction logic to be based on vote & message dates

* feat: remove unnecssary declaration

* chore: update wallet.rs

* enhancement: add warnings for merging vote/stake (#3366)

* feat: improve voting timeline in darkmode (#3351)

* chore: update version

* fix: your counted votes & your maximum votes (#3384)

* chore: bump desktop version to 1.6.2

* feat: replace voting asset (#3829)

* Feat: adapt governance to new texts (#3831)

* feat: parse links in event info

* feat: remove event info from voting dashboard

* feat: rename function

* feat: update links from plain text to work with platform

* chore: whitelist govern.iota.org

* chore: fix typo in comment

Co-authored-by: Matthew Maxwell <[email protected]>

* chore: bump desktop version to 1.6.3 (#3832)

* chore: use test event in holding phase

* chore: replace voting event ID for Shimmer EF vote

* test: add debug logging to Sentry step in CI

* chore: remove Sentry upload step

* chore: update variables for new staking event

* chore: update event ID

* fix: SMR token amount formatting (#3988)

* fix: adjust formatting logic for SMR tokens

* fix: add basic support for glow units

* chore: use test event

* chore: update to official event ID

* chore: cleanup comments and change logic for glow formatting

* chore: update blog post URL

* fix: change logic for when to update reward caches

* chore: update event start date

* enhancement: add tooltip for glow units (#4027)

* enhancement: add tooltip to Shimmer asset tiles

* enhancement: add tooltip to staking airdrop dashboard tiles

* fix: tooltip position for large reward numbers

* chore: improve wording

Co-authored-by: Begoña Alvarez <[email protected]>

* refactor: staking result JSON file storage (#4050)

* refactor: use local result files

* chore: fix gitignore

* fix: add delete files back

* test: fix these

* fix: adjust formatting

* fix: reward discovery and ledger wallet discovery (#4064)

* refactor: use local result files

* chore: fix gitignore

* fix: add delete files back

* fix: staking reward display

* fix: account load and initial sync logic

Co-authored-by: Matthew Maxwell <[email protected]>

* chore: fix gitignore

* fix: tooltip

* enhancement: adjust stylings of tooltip

* chore: update build CI

* fix: adjust build CI MacOS version

* chore: use macos 11 for CI

* Update wallet.rs rev (#4077)

* chore: fix tooltip bug

* fix: gap limits and syncing logic (#4078)

* fix: pass correct gap limit for bg syncing

* improvement: update positioning of syncing message

* fix: reset syncing queue on logout

* fix: account sync gap limit

* fix: manual sync gap limit

* fix: null account syncing queue store

* fix: syncing issues (#4092)

* fix: account update on balance change

* fix: rerender assets on staking cache completion

* fix: reset staking cache store on logout

* chore: update version

* refactor: move haveStakingResultsCached to avoid circular dependency

* feat: add loadJsonFile to capacitor

* revert: desktop ci to original in develop

Co-authored-by: Tuditi <[email protected]>
Co-authored-by: Jean Ribeiro <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Tuditi <[email protected]>
Co-authored-by: Matthew Maxwell <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Matthew Maxwell <[email protected]>
Co-authored-by: Nicole O'Brien <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Charlie Varley <[email protected]>
Co-authored-by: Rajiv Shah <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
@rajivshah3 rajivshah3 mentioned this pull request May 17, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context:governance type:feature Adding a new feature or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: (UI) Voting dashboard: power, info & single event
2 participants