Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
4ad3c05
[DDW-827] show helpful message
Dec 10, 2021
3e5e5c5
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Dec 10, 2021
469988a
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Jan 18, 2022
160e7c0
[DDW-827] updated error message and translations
mchappell Jan 18, 2022
56af6df
[DDW-827] fixed flow types for sendMoney
mchappell Jan 18, 2022
2b253a3
[DDW-827] updated CHANGELOG
mchappell Jan 18, 2022
825a6fe
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Jan 21, 2022
9815f89
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Jan 21, 2022
fae171e
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
danielmain Jan 21, 2022
55c079a
[DDW-827] Addressed PR comments
mchappell Jan 24, 2022
93dd0e2
[DDW-827] updated regex
mchappell Jan 24, 2022
0f84bcc
[DDW-827] updated regex and moved to testable helper method with test…
mchappell Jan 25, 2022
80a2bae
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Jan 25, 2022
c9ddad9
[DDW-827] prevent resubmission in the case of error
mchappell Jan 27, 2022
e7bad15
[DDW-827] updated unit test and type for helper
mchappell Jan 27, 2022
5ed7eb0
[DDW-827] temporarily removed husky pre-commit
mchappell Jan 31, 2022
e3d8ad1
[DDW-827] installed ts packages, and packages required for migration
mchappell Jan 31, 2022
e200b09
[DDW-827] converted all javascript files to typescript files
mchappell Jan 31, 2022
66d4797
[DDW-827] converted files returning react components to tsx extension
mchappell Jan 31, 2022
a93fb92
[DDW-827] made global replacements in all folders
mchappell Jan 31, 2022
d6b1f70
[DDW-827] converted flow style code in typescript files to typescript…
mchappell Jan 31, 2022
63594d4
[DDW-827] added ts-ignore annotations and re-formatted files accordin…
mchappell Jan 31, 2022
127d55c
[DDW-827] updated ts-ignore annotations in components
mchappell Jan 31, 2022
b0e766e
[DDW-827] re-enabled husky pre-commit step
mchappell Jan 31, 2022
aa50b82
[DDW-827] renamed file extensions
mchappell Jan 31, 2022
d29df47
[DDW-827] added ts extensions to prettierignore
mchappell Jan 31, 2022
c1f1b73
[DDW-827] Formatted files
mchappell Jan 31, 2022
fae0e3c
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Jan 31, 2022
1f00381
[DDW-827] added ts-ignore annotations and re-formatted files accordin…
mchappell Jan 31, 2022
55ac379
[DDW-827] update message translations
mchappell Jan 31, 2022
c29fd47
[DDW-827] Update test conditions and minimum ada to remain
mchappell Feb 9, 2022
81a0af9
[DDW-827] updated prettier formatting
mchappell Feb 9, 2022
9ef546a
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Feb 9, 2022
b590c6b
[DDW-827] update ts-ignore messsage location
mchappell Feb 9, 2022
00f0fb8
[DDW-827] Update message locations
mchappell Feb 9, 2022
c78c937
[DDW-827] fixed lockfile
mchappell Feb 9, 2022
3079744
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Feb 9, 2022
c12f159
[DDW-827] updated ts-ignore statement location
mchappell Feb 9, 2022
f822a03
[DDW-827] formatted files with prettier
mchappell Feb 9, 2022
71f7e75
[DDW-827] applied prettier formatting
mchappell Feb 9, 2022
2d563f0
[DDW-827] amended error handling to only block send button if specifi…
mchappell Feb 10, 2022
8203be5
[DDW-827] updated typing for localizable error
mchappell Feb 10, 2022
c0ca3ee
[DDW-827] reduced ts-ignores in test files
mchappell Feb 10, 2022
6d6efd0
[DDW-827] Removed more ts-ignores
mchappell Feb 10, 2022
7dce134
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Feb 11, 2022
8a2956a
[DDW-827] prevented submission using keyboard if error exists
mchappell Feb 11, 2022
1983413
Merge branch 'feature/ddw-827-empty-wallet-with-tokens' of https://gi…
mchappell Feb 11, 2022
7edda20
[DDW-827] prevented submission using keyboard if form error exists
mchappell Feb 11, 2022
3719798
[DDW-827] updated api thrown error
mchappell Feb 11, 2022
963db65
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
mchappell Feb 14, 2022
43a2225
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
Feb 14, 2022
c05d7f2
[DDW-827] Code review changes
renanvalentin Feb 14, 2022
71edff6
Merge branch 'develop' into feature/ddw-827-empty-wallet-with-tokens
danielmain Feb 16, 2022
125791b
[DDW-827] Updated CHANGELOG.md and run `yarn manage:translations`
danielmain Feb 16, 2022
b2965b3
[DDW-827] Remove ts-ignore
renanvalentin Feb 17, 2022
3f6a5f5
Merge remote-tracking branch 'origin/develop' into feature/ddw-827-em…
szymonmaslowski Feb 23, 2022
fee9423
[DDW-827] Update defaultMessages.json file
szymonmaslowski Feb 23, 2022
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Features

- Implemented error message when trying to leave wallet without enough ada to support tokens ([PR 2783](https://github.com/input-output-hk/daedalus/pull/2783))
- Added display of current/unspent rewards ([PR 2803](https://github.com/input-output-hk/daedalus/pull/2803))
- Improve the syncing screen by showing syncing progress split into three stages ([PR 2877](https://github.com/input-output-hk/daedalus/pull/2877))
- Improved stake pool searchbar ([PR 2847](https://github.com/input-output-hk/daedalus/pull/2847))
Expand All @@ -19,6 +20,7 @@
- Fixed Daedalus menu in Storybook used for theme and language selection ([PR 2886](https://github.com/input-output-hk/daedalus/pull/2886))

### Chores

- Removed SASS ts-lint ignore comments ([PR 2870](https://github.com/input-output-hk/daedalus/pull/2870))

## 4.9.0-FC1
Expand Down Expand Up @@ -85,10 +87,12 @@

### Fixes

- Fixed immediate language updates of application top menu bar ([PR 2813](https://github.com/input-output-hk/daedalus/pull/2813))
- Fixed receiver address validation by disallowing rewards addresses ([PR 2781](https://github.com/input-output-hk/daedalus/pull/2781))

### Chores

- Integrated Chromatic for visual regression testing ([PR 2776](https://github.com/input-output-hk/daedalus/pull/2776))
- Updated `trezor-connect` dependency to version `8.2.4` ([PR 2726](https://github.com/input-output-hk/daedalus/pull/2726))
- Updated vulnerable dependencies ([PR 2769](https://github.com/input-output-hk/daedalus/pull/2769))
- Updated CWB and Cardano Node ([PR 2799](https://github.com/input-output-hk/daedalus/pull/2799))
Expand Down
8 changes: 4 additions & 4 deletions source/common/types/logging.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import type { AdaApiStakePool } from '../../renderer/app/api/staking/types';

export type LoggingLevel = 'debug' | 'info' | 'error' | 'warn';
export type Logger = {
debug: (arg0: string, arg1: Record<string, any> | null | undefined) => void;
info: (arg0: string, arg1: Record<string, any> | null | undefined) => void;
error: (arg0: string, arg1: Record<string, any> | null | undefined) => void;
warn: (arg0: string, arg1: Record<string, any> | null | undefined) => void;
debug: (arg0: string, arg1?: Record<string, any> | null | undefined) => void;
info: (arg0: string, arg1?: Record<string, any> | null | undefined) => void;
error: (arg0: string, arg1?: Record<string, any> | null | undefined) => void;
warn: (arg0: string, arg1?: Record<string, any> | null | undefined) => void;
};
export type FormatMessageContextParams = {
appName: string;
Expand Down
5 changes: 3 additions & 2 deletions source/main/ipc/downloadManagerChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ const getDownloadLocalData = async ({

const getDownloadsLocalData = async (): Promise<
DownloadsLocalDataMainResponse
// @ts-ignore ts-migrate(2322) FIXME: Type 'unknown' is not assignable to type 'Download... Remove this comment to see the full error message
> => localStorage.getAll();
> => {
return localStorage.getAll() as Promise<DownloadsLocalDataMainResponse>;
};

const clearDownloadLocalData = async ({
fileName,
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/actions/lib/Action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class Action<Params> {
this.listeners.push(listener);
}

trigger(params: Params) {
trigger(params?: Params) {
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is optional, why not checking it its null the next line?

this.listeners.forEach((listener) => listener(params));
}

Expand Down
1 change: 1 addition & 0 deletions source/renderer/app/actions/wallets-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default class WalletsActions {
passphrase: string;
assets?: Array<AssetToken>;
assetsAmounts?: Array<string>;
hasAssetsRemainingAfterTransaction?: boolean;
}> = new Action();
chooseWalletExportType: Action<{
walletExportType: WalletExportTypeChoices;
Expand Down
Loading