Migrate to PageStacks #428

Manually merged
jarolrod merged 4 commits from pagestack-migration into main 2024-11-24 08:48:25 +00:00 AGit
jarolrod commented 2024-10-25 06:33:28 +00:00 (Migrated from github.com)

After fixing our sins in https://github.com/bitcoin-core/gui-qml/pull/427, migrating to A StackView based GUI is quite simple.

Here we use a custom StackView control, PageStack, that has a property vertical used to declare if we want vertical or horizontal animations, and additionally implements the custom animation we want.

Closes https://github.com/bitcoin-core/gui-qml/issues/422
Closes https://github.com/bitcoin-core/gui-qml/issues/219

Build Artifacts

After fixing our sins in https://github.com/bitcoin-core/gui-qml/pull/427, migrating to A StackView based GUI is quite simple. Here we use a custom StackView control, PageStack, that has a property `vertical` used to declare if we want vertical or horizontal animations, and additionally implements the [custom animation](https://github.com/bitcoin-core/gui-qml/issues/422) we want. Closes https://github.com/bitcoin-core/gui-qml/issues/422 Closes https://github.com/bitcoin-core/gui-qml/issues/219 [![Build Artifacts](https://img.shields.io/badge/Build%20Artifacts-green )]()
jarolrod commented 2024-10-26 23:40:05 +00:00 (Migrated from github.com)

Updated from 0d7c1ab to 3788060, compare

changes: rebased over changes in https://github.com/bitcoin-core/gui-qml/pull/427, and fixed lint errors

Updated from 0d7c1ab to 3788060, [compare](https://github.com/bitcoin-core/gui-qml/compare/0d7c1ab71bed7f9b4958e1b551ee1b17ab6b7a8f..378806087d9b3170bb76872e771ff51d8892e847) changes: rebased over changes in https://github.com/bitcoin-core/gui-qml/pull/427, and fixed lint errors
pablomartin4btc (Migrated from github.com) approved these changes 2024-11-07 18:55:14 +00:00
pablomartin4btc (Migrated from github.com) left a comment

tACK 378806087d9b3170bb76872e771ff51d8892e847

Nice job! Removing dependencies with ids outside a page was almost mandatory, this avoids unexpected crashes when things change outside the page and can't be noticed. We need to add a hook or a test that evaluates the existence of views we are moving to onNext: and warns if there are components that are not/ (or left un-) referenced.

tACK 378806087d9b3170bb76872e771ff51d8892e847 Nice job! Removing dependencies with ids outside a page was almost mandatory, this avoids unexpected crashes when things change outside the page and can't be noticed. We need to add a hook or a test that evaluates the existence of views we are moving to `onNext:` and warns if there are components that are not/ (or left un-) referenced.
pablomartin4btc (Migrated from github.com) commented 2024-11-07 18:40:42 +00:00

nit: as in other places in the same file...

            onBack: nodeSettingsView.pop()
nit: as in other places in the same file... ```suggestion onBack: nodeSettingsView.pop() ```
pablomartin4btc (Migrated from github.com) commented 2024-11-07 18:41:17 +00:00

same as above.

same as above.
jarolrod commented 2024-11-11 21:01:07 +00:00 (Migrated from github.com)

Updated from 3788060 to c52566d

Changes: rebased over main

Updated from 3788060 to c52566d Changes: rebased over main
jarolrod (Migrated from github.com) reviewed 2024-11-11 21:36:53 +00:00
jarolrod (Migrated from github.com) commented 2024-11-11 21:36:53 +00:00

a note for the style guide

a note for the style guide
pablomartin4btc (Migrated from github.com) approved these changes 2024-11-11 23:09:30 +00:00
pablomartin4btc (Migrated from github.com) left a comment

re-ACK c52566d485

re-ACK c52566d485494967c982ea740146ca75d3e17b54
MarnixCroes (Migrated from github.com) approved these changes 2024-11-12 08:15:31 +00:00
MarnixCroes (Migrated from github.com) left a comment

tACK c52566d485
on Ubuntu 24.04.1 LTS

tACK c52566d485494967c982ea740146ca75d3e17b54 on Ubuntu 24.04.1 LTS
D33r-Gee (Migrated from github.com) reviewed 2024-11-12 18:31:08 +00:00
D33r-Gee (Migrated from github.com) commented 2024-11-12 18:31:06 +00:00

nit: there are extra blank lines

nit: there are extra blank lines
D33r-Gee (Migrated from github.com) reviewed 2024-11-12 18:31:53 +00:00
D33r-Gee (Migrated from github.com) left a comment

tACK c52566d Works as expected on WSL Ubuntu 22.04

tACK [c52566d](https://github.com/bitcoin-core/gui-qml/commit/c52566d485494967c982ea740146ca75d3e17b54) Works as expected on WSL Ubuntu 22.04
johnny9 (Migrated from github.com) approved these changes 2024-11-12 18:59:04 +00:00
johnny9 (Migrated from github.com) left a comment
ACK c52566d485494967c982ea740146ca75d3e17b54
Sign in to join this conversation.
No description provided.