diff options
author | Matias Linares <matias.linares@comprandoengrupo.net> | 2024-10-29 18:12:20 -0300 |
---|---|---|
committer | Matias Linares <matias.linares@comprandoengrupo.net> | 2024-10-30 16:26:35 -0300 |
commit | d46b4e7470e3115df34fc96ba2f8e59974f713be (patch) | |
tree | 04de00684a353c969bbe52fb96d658d0144ccdbf /kodereviewer/qml/PullRequestPage.qml | |
parent | a88655cd202dc43a64a7107f6f533bd386079386 (diff) | |
download | kodereviewer-d46b4e7470e3115df34fc96ba2f8e59974f713be.tar.gz |
Split PullRequestPage into different ScrollablePages
Diffstat (limited to 'kodereviewer/qml/PullRequestPage.qml')
-rw-r--r-- | kodereviewer/qml/PullRequestPage.qml | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/kodereviewer/qml/PullRequestPage.qml b/kodereviewer/qml/PullRequestPage.qml index 5b52c3e..914acf5 100644 --- a/kodereviewer/qml/PullRequestPage.qml +++ b/kodereviewer/qml/PullRequestPage.qml @@ -99,31 +99,6 @@ Kirigami.ScrollablePage { ColumnLayout { id: mainLayout anchors.fill: parent - PullRequestDescription { - visible: !!root.pullRequest && root.currentView == "info" - pullRequest: root.pullRequest - - Layout.fillWidth: true - Layout.fillHeight: true - //anchors.fill: parent - } - Kirigami.CardsListView { - id: commentsListView - Layout.fillWidth: true - Layout.fillHeight: true - visible: !!root.pullRequest && root.currentView == "comments" - model: commentModelLoader.item - delegate: CommentDelegate {} - footerPositioning: ListView.OverlayFooter - } - - ReviewList { - id: reviewListView - visible: !!root.pullRequest && root.currentView == "reviews" - Layout.fillWidth: true - Layout.fillHeight: true - model: reviewLoader.item - } Editor { id: editor @@ -144,43 +119,4 @@ Kirigami.ScrollablePage { editor.text = text } } - - footer: Kirigami.NavigationTabBar { - actions: [ - Kirigami.Action { - icon.name: "info" - text: i18n("Info") - onTriggered: { - root.currentView = "info" - //root.flickable = mainLayout - } - }, - Kirigami.Action { - icon.name: "comment-symbolic" - text: i18n("Comments") - onTriggered: { - root.currentView = "comments" - //root.flickable = commentsListView - } - - }, - Kirigami.Action { - icon.name: "file-catalog-symbolic" - text: i18n("Files") - onTriggered: { - root.currentView = "files" - //root.flickable = reviewListView - } - }, - Kirigami.Action { - icon.name: "document-preview-symbolic" - text: i18n("Reviews") - onTriggered: { - root.currentView = "reviews" - - //root.flickable = mainLayout - } - } - ] - } } |