From bc2d786dfdf4d7a0b3f57ca7e66f0daa78c56a87 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Wed, 9 Oct 2024 16:01:29 -0300 Subject: Separate pull request description --- kodereviewer/qml/PullRequestPage.qml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'kodereviewer/qml/PullRequestPage.qml') diff --git a/kodereviewer/qml/PullRequestPage.qml b/kodereviewer/qml/PullRequestPage.qml index 4747203..58e044d 100644 --- a/kodereviewer/qml/PullRequestPage.qml +++ b/kodereviewer/qml/PullRequestPage.qml @@ -40,6 +40,7 @@ Kirigami.ScrollablePage { clearForm() } } + Loader { id: commentModelLoader active: !!root.pullRequest @@ -72,16 +73,19 @@ Kirigami.ScrollablePage { PullRequestDescription { visible: !!root.pullRequest && root.currentView == "info" pullRequest: root.pullRequest + anchors.centerIn: parent } - - ColumnLayout { +/* + Kirigami.CardsListView { visible: !!root.pullRequest && root.currentView == "comments" - Repeater { - model: commentModelLoader.item - delegate: CommentDelegate {} - } + anchors.fill: parent + // Layout.fillWidth: true + // Layout.fillHeight: true + model: commentModelLoader.item + delegate: CommentDelegate {} + footerPositioning: ListView.OverlayFooter } - +*/ FilesView { visible: !!root.pullRequest && root.currentView == "files" fileModel: fileModelLoader.item -- cgit v1.2.3-70-g09d2