You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.1.23] - 2025-12-18
9
+
10
+
### Changed
11
+
-**OAuth Flow Refactoring**: Consolidated auth URL sending into `perform_oauth_flow` function for cleaner code architecture
12
+
-**Browser Failure Handling**: OAuth flow now detects when browser fails to open and sends notification to TUI
13
+
-**Auth Popup UI**: Removed emojis from authentication popup for cleaner display, changed text alignment to left for better URL readability
14
+
-**Demo Screenshot**: Updated README to use new static demo.png instead of animated GIF
15
+
16
+
### Added
17
+
-**Browser Failure Notifications**: New `__GMAIL_BROWSER_FAILED__` and `__DRIVE_BROWSER_FAILED__` message handlers in TUI to inform users when automatic browser opening fails
18
+
-**Enhanced Drive Logging**: Added detailed logging for folder search and creation operations in drive/folder.rs
19
+
20
+
### Fixed
21
+
-**Auth URL Display**: URLs now display with left alignment and no trimming for easier copying
22
+
-**OAuth URL Timing**: Auth URLs are now sent to TUI immediately from the OAuth flow rather than after authorization completes
23
+
24
+
### Technical Improvements
25
+
-**Code Cleanup**: Refactored `authorize_gmail` and `authorize_drive` to accept optional channel parameter for URL sending
26
+
-**Unified OAuth Handling**: Both Gmail and Drive auth now use consistent pattern with service-specific prefixes (GMAIL_, DRIVE_)
format!("🔄 Preparing {} authorization URL...\n\nPlease wait while we set up the OAuth flow.", service_name)
768
+
format!("Preparing {} authorization URL...\n\nPlease wait while we set up the OAuth flow.", service_name)
769
769
};
770
770
771
771
let content_display = Paragraph::new(content_text)
772
772
.style(Style::default().fg(Color::White))
773
-
.alignment(Alignment::Center)
774
-
.wrap(Wrap{trim:true});
773
+
.alignment(Alignment::Left)
774
+
.wrap(Wrap{trim:false})
775
+
.scroll((0,0));
775
776
frame.render_widget(content_display, chunks[1]);
776
777
777
778
// Instructions
778
779
let instructions = if app.auth_popup_success{
779
-
format!("📋 Your {} authentication is active.\nYou can now close this popup or clear tokens if needed.", service_name)
780
+
format!("Your {} authentication is active.\nYou can now close this popup or clear tokens if needed.", service_name)
780
781
}else{
781
-
format!("📋 INSTRUCTIONS:\n• Copy the URL above\n• Open it in your web browser\n• Complete the Google OAuth flow for {}\n• Return here when done\n• The app will detect completion automatically", service_name)
782
+
format!("INSTRUCTIONS:\n- Copy the URL above\n- Open it in your web browser\n- Complete the Google OAuth flow for {}\n- Return here when done\n- The app will detect completion automatically", service_name)
782
783
};
783
784
784
785
let instructions_widget = Paragraph::new(instructions)
0 commit comments