Skip to content

Commit 056f76f

Browse files
authored
Merge pull request #2459 from KomodoPlatform/dev
v0.7.2 Release Candidate
2 parents 1952847 + 1e6c540 commit 056f76f

File tree

23 files changed

+161
-38
lines changed

23 files changed

+161
-38
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Please describe what you expected to happen.
2626
**Operating Environment(s):**
2727
- OS: [e.g. Windows/OSX/Linux. If Linux, include distro. ]
2828
- OS version: [e.g. 7/10/11, 10.13/10.15, 18.04/20.04 ]
29-
- Komodo Wallet Version: [e.g. 0.7.1]
29+
- Komodo Wallet Desktop Version: [e.g. 0.7.2]
3030
- Build branch: [e.g. master/dev]
3131

3232

.github/workflows/atomicdex-desktop-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
DEX_PROJECT_NAME: "komodo-wallet"
1010
DEX_DISPLAY_NAME: "Komodo Wallet"
1111
DEX_COMPANY: "KomodoPlatform"
12-
DEX_VERSION: "0.7.1"
12+
DEX_VERSION: "0.7.2"
1313
DEX_WEBSITE: "https://atomicdex.io/"
1414

1515
jobs:
@@ -367,7 +367,7 @@ jobs:
367367

368368
windows-release:
369369
name: Win Build/Release
370-
runs-on: windows-latest
370+
runs-on: windows-2019
371371

372372
steps:
373373
- uses: actions/checkout@v2
@@ -445,7 +445,7 @@ jobs:
445445

446446
windows-debug:
447447
name: Win Build/Debug
448-
runs-on: windows-latest
448+
runs-on: windows-2019
449449

450450
steps:
451451
- uses: actions/checkout@v2

.github/workflows/atomicdex-desktop-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
DEX_PROJECT_NAME: "komodo-wallet"
1818
DEX_DISPLAY_NAME: "Komodo Wallet"
1919
DEX_COMPANY: "KomodoPlatform"
20-
DEX_VERSION: "0.7.1"
20+
DEX_VERSION: "0.7.2"
2121
DEX_WEBSITE: "https://atomicdex.io/"
2222
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/b/vcpkg_cache
2323
VCPKG_BINARY_SOURCES: clear;x-gha,readwrite
@@ -68,13 +68,13 @@ jobs:
6868
host: 'mac'
6969

7070
- name: windows-release
71-
os: windows-latest
71+
os: windows-2019
7272
qt: '5.15.2'
7373
type: 'Release'
7474
host: 'windows'
7575

7676
- name: windows-debug
77-
os: windows-latest
77+
os: windows-2019
7878
qt: '5.15.2'
7979
type: 'Debug'
8080
host: 'windows'

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include(vcpkg_prerequisites)
1111
include(qt_prerequisites)
1212
include(cfg_hash)
1313

14-
project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.7.1)
14+
project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.7.2)
1515
message(STATUS "${PROJECT_NAME} is version ${PROJECT_VERSION}")
1616

1717
include(cmake_default_options)
@@ -60,13 +60,13 @@ endif ()
6060
##! We fetch our dependencies
6161
if (APPLE)
6262
FetchContent_Declare(mm2
63-
URL https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-mac-x86-64.zip)
63+
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.0.0-beta/mm2-b0fd99e84-Darwin-Release.zip)
6464
elseif (UNIX AND NOT APPLE)
6565
FetchContent_Declare(mm2
66-
URL https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-linux-x86-64.zip)
66+
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.0.0-beta/mm2-b0fd99e84-Linux-Release.zip)
6767
else ()
6868
FetchContent_Declare(mm2
69-
URL https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-win-x86-64.zip)
69+
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.0.0-beta/mm2-b0fd99e84-Win64.zip)
7070
endif ()
7171

7272
#FetchContent_Declare(qmaterial URL https://github.com/KomodoPlatform/Qaterial/archive/last-clang-working-2.zip)

assets/config/cfg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"notification_enabled": true,
33
"spamfilter_enabled": false,
4+
"postorder_enabled": false,
45
"use_static_rpcpass": false,
56
"current_currency": "USD",
67
"current_fiat": "USD",

atomic_defi_design/Dex/Constants/General.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ QtObject {
571571
}
572572
return diffPrefix(received) +
573573
(fiat === API.app.settings_pg.current_fiat ? API.app.settings_pg.current_fiat_sign : API.app.settings_pg.current_currency_sign)
574-
+ " " + (amount < 1E5 ? formatDouble(parseFloat(amount), precision, true) : nFormatter(parseFloat(amount), 2))
574+
+ " " + (amount < 1E5 ? formatDouble(parseFloat(amount), precision, true) : nFormatter(parseFloat(amount), precision))
575575
}
576576

577577
function formatPercent(value, show_prefix=true) {

atomic_defi_design/Dex/Exchange/Trade/OrderBook/List.qml

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Item
1212
id: _control
1313

1414
property bool isAsk
15-
property bool isVertical: false
1615
width: parent.width
1716
height: parent.height
1817

@@ -29,7 +28,11 @@ Item
2928

3029
onContentHeightChanged:
3130
{
32-
if (isVertical) _tm.start();
31+
if (isAsk){
32+
// Duplication is intended. Sometimes data takes too long to load so slowscroll is a backup.
33+
slowscroll_timer.start();
34+
quickscroll_timer.start()
35+
}
3336
}
3437

3538
delegate: Item
@@ -47,12 +50,50 @@ Item
4750

4851
Timer
4952
{
50-
id: _tm
51-
interval: 2000
53+
id: slowscroll_timer
54+
interval: 1500
5255
onTriggered:
5356
{
5457
orderbook_list.positionViewAtEnd()
5558
}
5659
}
60+
Timer
61+
{
62+
id: quickscroll_timer
63+
interval: 500
64+
onTriggered:
65+
{
66+
orderbook_list.positionViewAtEnd()
67+
}
68+
}
69+
onModelChanged: {
70+
if (isAsk) quickscroll_timer.start()
71+
}
72+
}
73+
74+
Connections {
75+
target: API.app.trading_pg;
76+
77+
function onMarketModeChanged()
78+
{
79+
if (isAsk)
80+
{
81+
quickscroll_timer.start()
82+
}
83+
}
84+
function onOrderbookChanged()
85+
{
86+
if (isAsk)
87+
{
88+
quickscroll_timer.start()
89+
}
90+
}
91+
function onMarketPairsChanged()
92+
{
93+
if (isAsk)
94+
{
95+
quickscroll_timer.start()
96+
}
97+
}
5798
}
5899
}

atomic_defi_design/Dex/Exchange/Trade/OrderBook/Vertical.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Widget
2929
List
3030
{
3131
isAsk: true
32-
isVertical: true
3332
Layout.fillHeight: true
3433
Layout.fillWidth: true
3534
}

atomic_defi_design/Dex/Exchange/Trade/ProView.qml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ RowLayout
102102
General.prettifyJSON(response.result), false)
103103

104104
General.prevent_coin_disabling.restart()
105-
tradingInfo.currentIndex = 1
105+
// Show the orders tab unless settings say otherwise
106+
if (API.app.settings_pg.postorder_enabled)
107+
{
108+
tradingInfo.currentIndex = 1
109+
}
106110
}
107111
}
108112
}

atomic_defi_design/Dex/Exchange/Trade/SimpleView/Main.qml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ Item
2929
target: exchange_trade
3030
function onOrderPlaced()
3131
{
32-
currentSubPage = subPages.Orders
32+
if (API.app.settings_pg.postorder_enabled)
33+
{
34+
currentSubPage = subPages.Orders
35+
}
3336
}
3437
}
3538

0 commit comments

Comments
 (0)