Commit 36d239d
Rafael Teodoro
Improve TUI authentication screen for easier JSON path input
Makes it much easier to upload credentials.json:
Improvements:
- 📂 Shows current working directory
- 💡 Displays path examples (backend/credentials.json, ~/Documents/creds.json)
- 🔘 'Use Default Path' button auto-fills backend/credentials.json
- 🏠 Expands ~ to home directory automatically
- ❌ Better error messages showing full path attempted
Usage:
1. Click 'Use Default Path' button (auto-fills backend/credentials.json)
2. Or type any path (relative, absolute, or with ~)
3. Click 'Upload JSON'
Examples that now work:
- backend/credentials.json (relative)
- ~/Documents/credentials.json (home dir)
- /full/path/to/credentials.json (absolute)1 parent a09cd8a commit 36d239d
1 file changed
+22
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
202 | 205 | | |
203 | 206 | | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
| 211 | + | |
207 | 212 | | |
208 | 213 | | |
209 | 214 | | |
210 | 215 | | |
211 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
212 | 219 | | |
213 | 220 | | |
214 | 221 | | |
| |||
221 | 228 | | |
222 | 229 | | |
223 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
224 | 238 | | |
225 | 239 | | |
226 | 240 | | |
| 241 | + | |
227 | 242 | | |
228 | 243 | | |
229 | 244 | | |
230 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
231 | 248 | | |
232 | 249 | | |
233 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
234 | 253 | | |
235 | 254 | | |
236 | 255 | | |
| |||
0 commit comments