feat: add scripts tab for gql requests in history request pane

This commit is contained in:
Udhay-Adithya
2025-06-24 23:38:47 +05:30
parent dad447bb0a
commit 5e33d08643

View File

@ -89,13 +89,11 @@ class HistoryRequestPane extends ConsumerWidget {
!codePaneVisible;
},
showViewCodeButton: !isCompact,
showIndicators: [
headerLength > 0,
hasQuery,
],
showIndicators: [headerLength > 0, hasQuery, scriptsLength > 0],
tabLabels: const [
kLabelHeaders,
kLabelQuery,
kLabelScripts,
],
children: [
RequestDataTable(
@ -103,6 +101,7 @@ class HistoryRequestPane extends ConsumerWidget {
keyName: kNameHeader,
),
const HisRequestBody(),
const HistoryScriptsTab(),
],
),
_ => kSizedBoxEmpty,