summaryrefslogtreecommitdiff
path: root/kodereviewer/qml/PullRequestPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'kodereviewer/qml/PullRequestPage.qml')
-rw-r--r--kodereviewer/qml/PullRequestPage.qml64
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
- }
- }
- ]
- }
}