Save substituted values to history instead of variable templates
This commit is contained in:
parent
1cccded694
commit
1192038080
@ -735,7 +735,6 @@ class RequestTabWidget(Gtk.Box):
|
||||
"""Update visual indicators for undefined variables."""
|
||||
# Detect undefined variables
|
||||
self.undefined_variables = self._detect_undefined_variables()
|
||||
print(f"Updating indicators, undefined vars: {self.undefined_variables}")
|
||||
|
||||
# Update URL entry
|
||||
self._update_url_indicator()
|
||||
@ -770,9 +769,6 @@ class RequestTabWidget(Gtk.Box):
|
||||
# Iterate through all header rows
|
||||
child = self.headers_listbox.get_first_child()
|
||||
while child:
|
||||
# Debug: print child type
|
||||
print(f"Header child type: {type(child).__name__}")
|
||||
|
||||
# HeaderRow might be a child of the ListBox row
|
||||
header_row = None
|
||||
if isinstance(child, HeaderRow):
|
||||
|
||||
@ -447,10 +447,10 @@ class RosterWindow(Adw.ApplicationWindow):
|
||||
if tab:
|
||||
tab.response = response
|
||||
|
||||
# Create history entry
|
||||
# Create history entry (save the substituted request with actual values)
|
||||
entry = HistoryEntry(
|
||||
timestamp=datetime.now().isoformat(),
|
||||
request=request,
|
||||
request=substituted_request,
|
||||
response=response,
|
||||
error=error
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user