42 Commits

Author SHA1 Message Date
50e3725686 Fix narrow mode: sync stack visible child to button state on re-entry 2026-05-21 21:10:51 +02:00
e25e5db846 Add responsive layout: narrow mode and adaptive request tab switcher 2026-05-21 20:57:43 +02:00
1af59b3539 Fix narrow-window layout: response panel stays, request shrinks, send button always visible 2026-05-20 23:35:34 +02:00
bc0ee493e7 Move request tabs back to top, keep response tabs+status merged at bottom 2026-05-20 00:56:39 +02:00
38242f5c95 Move request/response tab switchers to bottom of panels 2026-05-20 00:40:01 +02:00
56e294debb Fix variable indicators not updating when active environment is deleted 2026-05-12 01:17:12 +02:00
9e7fbcca1f Auto-switch to response body tab after request completes 2026-02-10 23:52:14 +01:00
daf03123a6 Support syntax highlighting for all XML/JSON-based content types via +xml/+json suffix 2026-02-10 23:47:30 +01:00
f685ec5c92 Use XDG Secrets Portal instead of direct D-Bus access 2026-01-19 22:06:10 +01:00
fe5747cb42 Add sensitive variable support with GNOME Keyring integration 2026-01-12 23:28:55 +01:00
291f8e4ae2 Add version constant and default User-Agent header for requests 2026-01-12 22:35:18 +01:00
d71bd4043d Display response size in the status line 2026-01-12 11:02:21 +01:00
79bd29776a Add application icons and update branding metadata, update licensing documentation 2026-01-11 01:22:34 +01:00
e22829e82a Fix blank script results panel separator on request load
Hide the results_paned container when both script output panels are empty.
This prevents the separator and blank space from appearing when opening
requests without script output, maximizing response panel space.
2026-01-07 12:16:25 +01:00
bedb17149a Hide script result panels when there's no output 2026-01-07 11:33:25 +01:00
1d12ae4eb3 Fix variable indicators and add project caching 2026-01-06 01:45:36 +01:00
5ef4d739a4 Replace magic numbers with named constants 2026-01-05 11:56:23 +01:00
03b753e688 Replace print statements with proper logging 2026-01-05 11:46:15 +01:00
ee0613224a Add type annotations to request_tab_widget.py 2026-01-05 11:33:12 +01:00
93c61917a4 Fix status icons in preprocessing and script output panels 2026-01-04 01:18:40 +01:00
0287c20bd8 Adjust panel proportions: sidebar 15%, request/response 42.5% 2026-01-04 00:53:20 +01:00
973230976a Make result and history panels resizable with minimum size 2026-01-03 09:17:20 +01:00
85f0feeac5 Fix history panel collapse when expanding script results 2026-01-02 01:31:07 +01:00
9d0ff68851 Implement preprocessing scripts with request modification and variable access 2026-01-02 01:04:24 +01:00
d463b83420 Add roster API for scripts to set environment variables 2026-01-01 02:27:22 +01:00
6a22734c80 Track script changes and show modified flag when scripts are edited 2025-12-31 01:59:49 +01:00
462dc8a284 Fix GTK4 API: Use set_from_icon_name instead of set_icon_name
Corrects AttributeError when initializing script status icon.
2025-12-31 01:34:18 +01:00
d2a065341c Add Scripts feature with JavaScript postprocessing
Implements JavaScript-based postprocessing for HTTP responses using gjs.
Adds Scripts tab with preprocessing (disabled) and postprocessing (functional) sections.
2025-12-31 01:32:14 +01:00
7db4a399ba Replace send button text with play icon 2025-12-30 23:32:41 +01:00
404b322e2a Remove duplicate Request History panels from individual tabs 2025-12-30 19:51:33 +01:00
7df6a7d49c Fix environment selector to always appear on left side 2025-12-30 16:34:30 +01:00
032eaf4d40 Align environment selector to left with visual separator 2025-12-30 16:27:36 +01:00
a7262fdc23 Move environment selector to URL bar, remove label, add tooltip 2025-12-30 16:20:06 +01:00
1e363794ef Show all variables as undefined when no environment is selected 2025-12-30 16:12:12 +01:00
c7ac15b72f Show environment selector when loading project request into empty tab 2025-12-30 15:59:51 +01:00
a1d820d2b0 Save substituted values to history instead of variable templates 2025-12-30 14:38:25 +01:00
b8c713f47a Add debug output for header indicators 2025-12-30 14:12:52 +01:00
d62d7f8c7d Fix visual indicators: add tooltips to headers, colored background to body 2025-12-30 14:07:13 +01:00
11487ba70a Add visual indicators for undefined variables 2025-12-30 13:10:26 +01:00
29bea2353e Implement environment variable substitution in requests 2025-12-30 12:54:26 +01:00
02b22ac466 Fix all reported issues from testing
1. Modified indicator (*) now shows:
   - Added GObject signal 'modified-changed' to RequestTabWidget
   - Connect to signal in window.py to update tab page indicator
   - Indicator shows dot-symbolic icon when modified

2. History panel now visible and populated:
   - Restored history panel in main-window.ui with vertical paned layout
   - Added _load_history() call back to __init__
   - History entries now display in bottom panel

3. Saving requests now works:
   - Fixed on_save_request_clicked to get request from widget.get_request()
   - Removed dependency on obsolete _build_request_from_ui method

4. Loading saved requests fixed:
   - Updated _on_load_request to properly update widget and tab page
   - Correctly sets widget.original_request and widget.modified
   - Updates tab page title when loading into empty tab
   - Properly handles copy vs. linked request logic

All issues from user testing are now resolved!
2025-12-24 02:20:55 +01:00
ee2d1bd391 Add RequestTabWidget class and simplify main UI
- Create RequestTabWidget class with complete per-tab UI
- Simplify main-window.ui to just AdwTabBar and AdwTabView
- Set autohide=False to always show tabs
- Add request_tab_widget.py to meson.build

Next step: Refactor window.py to create RequestTabWidget instances for each tab.
2025-12-24 01:51:15 +01:00