summaryrefslogtreecommitdiff
path: root/kodereviewer/qml/PullRequestPage.qml
diff options
context:
space:
mode:
authorMatias Linares <matias@deprecated.org>2024-10-09 16:01:29 -0300
committerMatias Linares <matias@deprecated.org>2024-10-09 16:01:29 -0300
commitbc2d786dfdf4d7a0b3f57ca7e66f0daa78c56a87 (patch)
tree4f74352eec1f7eaf73d7758172b07cd7ecc19d23 /kodereviewer/qml/PullRequestPage.qml
parent1c2c47945b7b811f065bba9d70359f1b725f43a8 (diff)
downloadkodereviewer-bc2d786dfdf4d7a0b3f57ca7e66f0daa78c56a87.tar.gz
Separate pull request description
Diffstat (limited to 'kodereviewer/qml/PullRequestPage.qml')
-rw-r--r--kodereviewer/qml/PullRequestPage.qml18
1 files changed, 11 insertions, 7 deletions
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