Skip to content

Commit 51bebf0

Browse files
Merge branch 'develop' into fix/ddw-911-remove-warning-when-recommended-decimal-is-zero
2 parents 0df5cec + 3e28234 commit 51bebf0

File tree

9 files changed

+28
-6
lines changed

9 files changed

+28
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Features
66

7+
- Improved RTS flags splash screen message ([PR 2901](https://github.com/input-output-hk/daedalus/pull/2901))
78
- 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))
89

910
### Chores
@@ -29,6 +30,7 @@
2930

3031
- Fixed main container zIndex ([PR 2863](https://github.com/input-output-hk/daedalus/pull/2863))
3132
- Fixed ui overlap issues ([PR 2881](https://github.com/input-output-hk/daedalus/pull/2881))
33+
- Fixed the gap between Stake Pool View options ([PR 2899](https://github.com/input-output-hk/daedalus/pull/2899))
3234

3335
### Chores
3436

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "daedalus",
33
"productName": "Daedalus",
4-
"version": "4.9.0-FC1",
4+
"version": "4.9.0",
55
"description": "Cryptocurrency Wallet",
66
"main": "./dist/main/index.js",
77
"scripts": {

source/renderer/app/components/knownIssues/RTSFlagsRecommendationOverlay/RTSFlagsRecommendationOverlay.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@
9696
background-color: rgba(45, 45, 45, 0.5);
9797
}
9898
}
99+
100+
& p {
101+
margin-bottom: 11px;
102+
103+
&:last-child {
104+
margin-bottom: 0;
105+
}
106+
}
99107
}
100108

101109
.title {

source/renderer/app/components/knownIssues/RTSFlagsRecommendationOverlay/RTSFlagsRecommendationOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const messages = defineMessages({
2222
content: {
2323
id: 'knownIssues.rtsRecommendationOverlay.content',
2424
defaultMessage:
25-
'!!!Your system specifications do not meet Daedalus’ recommended hardware requirements.<br />You can enable RAM management (RTS Flags), an experimental setting that can reduce memory usage on computers with less than 16GB of RAM.',
25+
'!!!<p>Your system specifications do not meet Daedalus’ recommended hardware requirements.</p><p>You can enable RAM management (RTS Flags), an experimental setting that can reduce memory usage on computers with less than 16GB of RAM.</p><p>You can enable it now by clicking the ‘Enable and quit’ button. Note that you will have to restart Daedalus for this change to take effect. To enable or disable it at any time, go to the Help menu.</p>',
2626
description: 'Content of the RTS flags recommendation overlay',
2727
},
2828
enableAndQuitButtonLabel: {

source/renderer/app/components/staking/stake-pools/StakePoolsSearch.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,15 @@
9797
line-height: 48px;
9898
margin-left: 10px;
9999
padding: 0 20px;
100-
width: 118px;
100+
width: auto;
101101

102102
& > span {
103103
display: flex;
104+
margin-right: 15px;
105+
106+
&:last-child {
107+
margin-right: 0;
108+
}
104109
}
105110

106111
button {

source/renderer/app/i18n/locales/defaultMessages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@
16201620
}
16211621
},
16221622
{
1623-
"defaultMessage": "!!!Your system specifications do not meet Daedalus’ recommended hardware requirements.<br />You can enable RAM management (RTS Flags), an experimental setting that can reduce memory usage on computers with less than 16GB of RAM.",
1623+
"defaultMessage": "!!!<p>Your system specifications do not meet Daedalus’ recommended hardware requirements.</p><p>You can enable RAM management (RTS Flags), an experimental setting that can reduce memory usage on computers with less than 16GB of RAM.</p><p>You can enable it now by clicking the ‘Enable and quit’ button. Note that you will have to restart Daedalus for this change to take effect. To enable or disable it at any time, go to the Help menu.</p>",
16241624
"description": "Content of the RTS flags recommendation overlay",
16251625
"end": {
16261626
"column": 3,

source/renderer/app/i18n/locales/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"knownIssues.dialog.enableRtsFlagsMode.explanation": "When enabled, the Cardano node will attempt to reduce its RAM usage. You will need to restart Daedalus for this change to take effect.",
220220
"knownIssues.dialog.enableRtsFlagsMode.title": "Enable RAM management (RTS Flags)",
221221
"knownIssues.dialog.toggleRtsFlagsMode.manualRelaunchConfirmationCheckboxLabel": "I understand that I will need to manually launch Daedalus",
222-
"knownIssues.rtsRecommendationOverlay.content": "Your system specifications do not meet Daedalus’ recommended hardware requirements. <br /><br />You can enable RAM management (RTS Flags), an experimental setting that can reduce memory usage on computers with less than 16GB of RAM.",
222+
"knownIssues.rtsRecommendationOverlay.content": "<p>Your system specifications do not meet Daedalus’ recommended hardware requirements.</p><p>You can enable RAM management (RTS Flags), an experimental setting that can reduce memory usage on computers with less than 16GB of RAM.</p><p>You can enable it now by clicking the ‘Enable and quit’ button. Note that you will have to restart Daedalus for this change to take effect. To enable or disable it at any time, go to the Help menu.</p>",
223223
"knownIssues.rtsRecommendationOverlay.decideLaterButtonLabel": "Decide later",
224224
"knownIssues.rtsRecommendationOverlay.enableAndQuitButtonLabel": "Enable and quit",
225225
"knownIssues.rtsRecommendationOverlay.title": "Recommended hardware requirements status",

source/renderer/app/i18n/locales/ja-JP.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"knownIssues.dialog.enableRtsFlagsMode.explanation": "有効にすると、CardanoノードはRAM使用量の削減を試みます。変更を有効にするために、Daedalusを再起動する必要があります。",
220220
"knownIssues.dialog.enableRtsFlagsMode.title": "RAM管理(RTSフラグ)を有効にする",
221221
"knownIssues.dialog.toggleRtsFlagsMode.manualRelaunchConfirmationCheckboxLabel": "Daedalusを手動で再起動する必要があることを理解しました。",
222-
"knownIssues.rtsRecommendationOverlay.content": "システム仕様がDaedalusの推奨ハードウェア要件を満たしていません。<br /><br />RAMが16GB未満のコンピューターでメモリー使用量を削減できる試験的設定であるRAM管理(RTSフラグ)を有効にすることができます。",
222+
"knownIssues.rtsRecommendationOverlay.content": "<p>システム仕様がDaedalusの推奨ハードウェア要件を満たしていません。</p><p>RAMが16GB未満のコンピューターでメモリー使用量を削減できる試験的設定であるRAM管理(RTSフラグ)を有効にすることができます。</p><p>[有効にして終了する] ボタンをクリックすると有効化できます。変更を有効にするためには、Daedalusを再起動する必要があります。有効化または無効化は、いつでもヘルプメニューから実行できます。</p>",
223223
"knownIssues.rtsRecommendationOverlay.decideLaterButtonLabel": "あとで決める",
224224
"knownIssues.rtsRecommendationOverlay.enableAndQuitButtonLabel": "有効にして終了する",
225225
"knownIssues.rtsRecommendationOverlay.title": "推奨ハードウェア要件ステータス",

storybook/stories/news/AlertsOverlay.stories.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
DATE_JAPANESE_OPTIONS,
1313
} from '../../../source/renderer/app/config/profileConfig';
1414
import AlertsOverlay from '../../../source/renderer/app/components/news/AlertsOverlay';
15+
import RTSFlagsRecommendationOverlay from '../../../source/renderer/app/components/knownIssues/RTSFlagsRecommendationOverlay/RTSFlagsRecommendationOverlay';
1516

1617
const { intl: enIntl } = new IntlProvider({
1718
locale: 'en-US',
@@ -108,4 +109,10 @@ storiesOf('News|Overlays', module)
108109
dateOptionsIntl[props.locale][0].value
109110
)}
110111
/>
112+
))
113+
.add('RTS Recommendation', () => (
114+
<RTSFlagsRecommendationOverlay
115+
onConfirm={action('onConfirm')}
116+
onClose={action('onClose')}
117+
/>
111118
));

0 commit comments

Comments
 (0)