Skip to content

Commit

Permalink
Merge branch 'main' into relead-actionables-after-voting
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrasinskis authored Mar 25, 2024
2 parents 4118e1e + 414970a commit a3ebdc4
Show file tree
Hide file tree
Showing 32 changed files with 349 additions and 175 deletions.
6 changes: 1 addition & 5 deletions CHANGELOG-Nns-Dapp-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,16 @@ proposal is successful, the changes it released will be moved from this file to

#### Added

* Add feature flag `ENABLE_HIDE_ZERO_BALANCE`.

#### Changed

* Adjusted table colors in dark theme.
* Always omit the account parameter in the URL when navigating to a main account.

#### Deprecated

#### Removed

#### Fixed

* Min ckBTC withdrawal amount was unknown when withdrawing directly from My Tokens.
* Fix menu width in collapsed state.
* Make token table rows always clickable. A few edge cases were missing.

#### Security
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG-Nns-Dapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ The NNS Dapp is released through proposals in the Network Nervous System. Theref
Unreleased changes are added to `CHANGELOG-Nns-Dapp-unreleased.md` and moved
here after a successful release.

## Proposal 128768

### Application

#### Added

* Add feature flag `ENABLE_HIDE_ZERO_BALANCE`.

#### Changed

* Adjusted table colors in dark theme.

#### Fixed

* Min ckBTC withdrawal amount was unknown when withdrawing directly from My Tokens.
* Fix menu width in collapsed state.

### Operations

## Proposal 128350

### Application
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
resolver = "2"

[workspace.package]
version = "2.0.70"
version = "2.0.71"

[workspace.dependencies]
ic-cdk = "0.9.2"
Expand Down
124 changes: 62 additions & 62 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/nns-dapp",
"version": "2.0.70",
"version": "2.0.71",
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import { AppPath } from "$lib/constants/routes.constants";
import { SplitBlock } from "@dfinity/gix-components";
import { nonNullish } from "@dfinity/utils";
import { actionableProposalsSegmentStore } from "$lib/stores/actionable-proposals-segment.store";
import { actionableNnsProposalsStore } from "$lib/stores/actionable-nns-proposals.store";
const { store } = getContext<SelectedProposalContext>(
SELECTED_PROPOSAL_CONTEXT_KEY
Expand All @@ -33,7 +35,10 @@
: undefined;
let proposalIds: bigint[] | undefined;
$: proposalIds = $filteredProposals.proposals?.map(({ id }) => id as bigint);
$: proposalIds =
$actionableProposalsSegmentStore.selected === "actionable"
? $actionableNnsProposalsStore.proposals?.map(({ id }) => id as bigint)
: $filteredProposals.proposals?.map(({ id }) => id as bigint);
</script>

<TestIdWrapper testId="nns-proposal-component">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
on:click={selectNewer}
class:hidden={isNullish(newerId)}
data-tid="proposal-nav-newer"
data-test-proposal-id={newerId?.toString() ?? ""}
>
<IconLeft />
{$i18n.proposal_detail.newer_short}</button
Expand All @@ -72,6 +73,7 @@
on:click={selectOlder}
class:hidden={isNullish(olderId)}
data-tid="proposal-nav-older"
data-test-proposal-id={olderId?.toString() ?? ""}
>
{$i18n.proposal_detail.older_short}
<IconRight />
Expand Down
Loading

0 comments on commit a3ebdc4

Please sign in to comment.