Commit 1690d3c
fix(uber-direct): aligne les labels FR du formulaire sur le dashboard Uber officiel
Alex screenshotait son dashboard Uber Direct : la nomenclature officielle
FR est « Identifiant du client » (= customer_id, UUID dans l'URL),
« Identifiant client » (= client_id de l'OAuth, alphanum) et
« Secret client » (= client_secret). Notre form affichait les noms
techniques bruts (client_id, client_secret, customer_id) — friction quand
le restaurateur copie-colle depuis Uber et cherche « client_id » qu'il
ne voit nulle part.
Changements :
- Labels passent à la nomenclature FR Uber (Identifiant du client /
Identifiant client / Secret client / Clé de signature webhook),
avec le nom technique entre parenthèses pour lever l'ambiguïté.
- Réordonné customer_id en PREMIER (cohérent avec l'ordre dashboard
Uber : application > customer_id > client_id > secret).
- Placeholders réalistes (UUID pour customer_id, alphanum pour client_id).
- Helper text « UUID visible dans api.uber.com/v1/customers/<ici>/... »
pour qu'Alex/le gérant sache où regarder côté Uber.
- Bloc résultat probe aligné aussi (« Authentification OAuth »,
« Identifiant du client reconnu », « Clé de signature webhook »).
Tests : 1 case ajustée pour les nouveaux labels probe. 18/18 green.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 9f168eb commit 1690d3c
2 files changed
Lines changed: 53 additions & 25 deletions
File tree
- apps/admin/src/app/(app)/t/[tenantId]/parametres/uber-direct
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
Lines changed: 50 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
221 | 226 | | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
233 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
234 | 264 | | |
235 | 265 | | |
236 | 266 | | |
237 | 267 | | |
238 | 268 | | |
239 | 269 | | |
| 270 | + | |
240 | 271 | | |
241 | 272 | | |
242 | 273 | | |
243 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
244 | 280 | | |
245 | 281 | | |
246 | 282 | | |
| |||
250 | 286 | | |
251 | 287 | | |
252 | 288 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | 289 | | |
264 | 290 | | |
265 | | - | |
266 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
267 | 295 | | |
268 | 296 | | |
269 | 297 | | |
| |||
342 | 370 | | |
343 | 371 | | |
344 | 372 | | |
345 | | - | |
| 373 | + | |
346 | 374 | | |
347 | 375 | | |
348 | 376 | | |
349 | | - | |
| 377 | + | |
350 | 378 | | |
351 | 379 | | |
352 | 380 | | |
353 | 381 | | |
354 | | - | |
| 382 | + | |
355 | 383 | | |
356 | 384 | | |
357 | 385 | | |
| |||
0 commit comments