Skip to content

Commit 49fd654

Browse files
Lucasdanielmain
andauthored
[DDW-921] Remove Discreet mode notification (#2852)
Co-authored-by: Daniel Main <[email protected]>
1 parent cbd2206 commit 49fd654

File tree

19 files changed

+35
-307
lines changed

19 files changed

+35
-307
lines changed

CHANGELOG.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Changelog
22

3-
## 4.8.0
3+
## vNext
44

55
### Features
66

7+
- Removed Discreet mode notification ([PR 2852](https://github.com/input-output-hk/daedalus/pull/2852))
78
- Unified CPU info in diagnostics dialog ([PR 2818](https://github.com/input-output-hk/daedalus/pull/2818))
89
- Implemented wallet sorting on sidebar menu ([PR 2775](https://github.com/input-output-hk/daedalus/pull/2775))
910
- Implemented new token picker ([PR 2787](https://github.com/input-output-hk/daedalus/pull/2787))
@@ -14,12 +15,29 @@
1415
- Fixed behaviour of wallet settings option of the app menu ([PR 2838](https://github.com/input-output-hk/daedalus/pull/2838))
1516
- Fixed styling of ITN rewards feature ([PR 2861](https://github.com/input-output-hk/daedalus/pull/2861))
1617
- Fixed available disk space takes a long time to show ([PR 2849](https://github.com/input-output-hk/daedalus/pull/2849))
17-
18+
1819
### Chores
1920

2021
- Migrated codebase from javascript to typescript ([PR 2843](https://github.com/input-output-hk/daedalus/pull/2843))
2122
- Updated the list of team members ([PR 2805](https://github.com/input-output-hk/daedalus/pull/2805))
2223

24+
## 4.8.0
25+
26+
### Features
27+
28+
- Added dynamic RTS flags setting ([PR 2758](https://github.com/input-output-hk/daedalus/pull/2758/files))
29+
- Improved UI/UX of RTS flags settings ([PR 2842](https://github.com/input-output-hk/daedalus/pull/2842), [PR 2846](https://github.com/input-output-hk/daedalus/pull/2846))
30+
- Updated messages about Cardano node sync on the initial screen ([PR 2827](https://github.com/input-output-hk/daedalus/pull/2827), [PR 2831](https://github.com/input-output-hk/daedalus/pull/2831))
31+
32+
### Chores
33+
34+
- Updated check-disk-space version ([PR 2845](https://github.com/input-output-hk/daedalus/pull/2845))
35+
- Updated CWB and Cardano Node ([PR 2822](https://github.com/input-output-hk/daedalus/pull/2822))
36+
37+
### Fixes
38+
39+
- Fixed blockchain verification progress text ([PR 2840](https://github.com/input-output-hk/daedalus/pull/2840))
40+
2341
## 4.8.0-FC1
2442

2543
### Features

source/common/config/electron-store.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export const STORAGE_KEYS: Record<string, StorageKey> = {
1414
CURRENCY_SELECTED: 'CURRENCY-SELECTED',
1515
DATA_LAYER_MIGRATION_ACCEPTANCE: 'DATA-LAYER-MIGRATION-ACCEPTANCE',
1616
DISCREET_MODE_ENABLED: 'DISCREET-MODE-ENABLED',
17-
DISCREET_MODE_SETTINGS_TOOLTIP: 'DISCREET-MODE-SETTINGS-TOOLTIP',
18-
DISCREET_MODE_NOTIFICATION: 'DISCREET-MODE-NOTIFICATION',
1917
DOWNLOAD_MANAGER: 'DOWNLOAD-MANAGER',
2018
HARDWARE_WALLETS: 'HARDWARE-WALLETS',
2119
HARDWARE_WALLET_DEVICES: 'HARDWARE-WALLET-DEVICES',

source/common/types/electron-store.types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export type StorageKey =
99
| 'CURRENCY-SELECTED'
1010
| 'DATA-LAYER-MIGRATION-ACCEPTANCE'
1111
| 'DISCREET-MODE-ENABLED'
12-
| 'DISCREET-MODE-SETTINGS-TOOLTIP'
13-
| 'DISCREET-MODE-NOTIFICATION'
1412
| 'DOWNLOAD-MANAGER'
1513
| 'HARDWARE-WALLET-DEVICES'
1614
| 'HARDWARE-WALLETS'

source/main/ipc/electronStoreConversation.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ const reset = async () => {
3131
await unset(keys.CURRENCY_SELECTED);
3232
await unset(keys.DATA_LAYER_MIGRATION_ACCEPTANCE);
3333
await unset(keys.DISCREET_MODE_ENABLED);
34-
await unset(keys.DISCREET_MODE_SETTINGS_TOOLTIP);
35-
await unset(keys.DISCREET_MODE_NOTIFICATION);
3634
await unset(keys.DOWNLOAD_MANAGER);
3735
await unset(keys.HARDWARE_WALLET_DEVICES);
3836
await unset(keys.HARDWARE_WALLETS);

source/renderer/app/components/settings/menu/SecurityMenuItem.tsx

Lines changed: 0 additions & 54 deletions
This file was deleted.

source/renderer/app/components/settings/menu/SettingsMenu.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,4 @@
77
margin: 20px 0;
88
padding: 16px 0;
99
width: 240px;
10-
11-
.dot {
12-
right: 140px;
13-
top: 22px;
14-
15-
&.active {
16-
right: 134px;
17-
}
18-
19-
&:lang(ja-JP) {
20-
right: 108px;
21-
}
22-
}
2310
}

source/renderer/app/components/settings/menu/SettingsMenu.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import styles from './SettingsMenu.scss';
77
import { ROUTES } from '../../../routes-config';
88
import messages from './SettingsMenu.messages';
99
import type { Intl } from '../../../types/i18nTypes';
10-
import SecurityMenuItem from './SecurityMenuItem';
1110

1211
type Props = {
1312
intl: Intl;
@@ -26,7 +25,12 @@ const SettingsMenu = ({ intl, onItemClick, isActiveItem, isFlight }: Props) => {
2625
active={isActiveItem(ROUTES.SETTINGS.GENERAL)}
2726
className="general"
2827
/>
29-
<SecurityMenuItem isActiveItem={isActiveItem} onClick={onItemClick} />
28+
<SettingsMenuItem
29+
active={isActiveItem(ROUTES.SETTINGS.SECURITY)}
30+
label={intl.formatMessage(messages.security)}
31+
onClick={() => onItemClick(ROUTES.SETTINGS.SECURITY)}
32+
className="security"
33+
/>
3034
<SettingsMenuItem
3135
label={intl.formatMessage(messages.wallets)}
3236
onClick={() => onItemClick(ROUTES.SETTINGS.WALLETS)}

source/renderer/app/components/sidebar/Sidebar.tsx

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import classNames from 'classnames';
55
import styles from './Sidebar.scss';
66
import { shouldShowWalletSubMenu } from './helpers';
77
import SidebarCategory from './SidebarCategory';
8-
import SidebarCategoryWrapper from './SidebarCategoryWrapper';
98
import SidebarCategoryNetworkInfo from './SidebarCategoryNetworkInfo';
109
import SidebarWalletsMenu from './wallets/SidebarWalletsMenu';
1110
import { CATEGORIES_BY_NAME } from '../../config/sidebarConfig';
@@ -59,17 +58,13 @@ const Sidebar = ({
5958
const content = getCategoryContent(category.name, network);
6059
const isActive = activeSidebarCategory === category.route;
6160
return (
62-
<SidebarCategoryWrapper
61+
<SidebarCategory
6362
key={category.name}
64-
categoryName={category.name}
65-
>
66-
<SidebarCategory
67-
category={category}
68-
isActive={isActive}
69-
onClick={onActivateCategory}
70-
content={content}
71-
/>
72-
</SidebarCategoryWrapper>
63+
category={category}
64+
isActive={isActive}
65+
onClick={onActivateCategory}
66+
content={content}
67+
/>
7368
);
7469
})}
7570
</div>

source/renderer/app/components/sidebar/SidebarCategoryWrapper.messages.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

source/renderer/app/components/sidebar/SidebarCategoryWrapper.scss

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)