10 Commits

Author SHA1 Message Date
vesp
1582e9479b Move environment selector to URL bar, remove label, add tooltip 2025-12-30 16:20:06 +01:00
vesp
80fe2a33f0 Show all variables as undefined when no environment is selected 2025-12-30 16:12:12 +01:00
vesp
3a903f28ec Show environment selector when loading project request into empty tab 2025-12-30 15:59:51 +01:00
vesp
1192038080 Save substituted values to history instead of variable templates 2025-12-30 14:38:25 +01:00
vesp
1cccded694 Add debug output for header indicators 2025-12-30 14:12:52 +01:00
vesp
277a8dc13e Fix visual indicators: add tooltips to headers, colored background to body 2025-12-30 14:07:13 +01:00
vesp
50f5661843 Add visual indicators for undefined variables 2025-12-30 13:10:26 +01:00
vesp
2ba3ced14e Implement environment variable substitution in requests 2025-12-30 12:54:26 +01:00
vesp
d50622700e 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
vesp
6f32a61799 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