Commit d4a2724
authored
fix(prevent): Use disabled tag for toggle instead of tooltip (#100331)
Use the "disabled" tag that looks like the one on the Codecov toggle
instead of current tooltip only behavior.
Tooltip when self-hosted:
<img width="616" height="201" alt="Screenshot 2025-09-25 at 12 04 25 PM"
src="https://github.com/user-attachments/assets/dcaf5b66-50be-4353-b205-73a0baa0af12"
/>
Tooltip when non-US region:
<img width="743" height="282" alt="Screenshot 2025-09-25 at 12 02 46 PM"
src="https://github.com/user-attachments/assets/379d29e1-24af-43f0-9614-5da98cde25c2"
/>
Example of the one on the Codecov toggle (not touched, just here as
comparison):
<img width="728" height="630" alt="Screenshot 2025-09-25 at 12 02 42 PM"
src="https://github.com/user-attachments/assets/fcb79cc3-05c2-4885-b798-5b149f506b7b"
/>
Note I had the beta one change from position: right to position: top
when there are both tags so the 2 behave same when side-by-side
<img width="721" height="257" alt="Screenshot 2025-09-25 at 12 02 52 PM"
src="https://github.com/user-attachments/assets/4b46b6f3-f483-4c9f-bc0a-37b609fffe82"
/>
Old version being replaced:
<img width="679" height="141" alt="Screenshot 2025-09-25 at 1 41 24 PM"
src="https://github.com/user-attachments/assets/8b7d622b-8b7f-4958-b047-8bbcff840b1a"
/>1 parent 606ac4b commit d4a2724
File tree
2 files changed
+79
-9
lines changed- static/app/views/settings/organizationGeneralSettings
2 files changed
+79
-9
lines changedLines changed: 46 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| 361 | + | |
360 | 362 | | |
361 | 363 | | |
362 | | - | |
| 364 | + | |
363 | 365 | | |
364 | 366 | | |
365 | 367 | | |
| |||
379 | 381 | | |
380 | 382 | | |
381 | 383 | | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
382 | 392 | | |
383 | 393 | | |
384 | 394 | | |
| |||
409 | 419 | | |
410 | 420 | | |
411 | 421 | | |
| 422 | + | |
412 | 423 | | |
413 | 424 | | |
414 | 425 | | |
| |||
438 | 449 | | |
439 | 450 | | |
440 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
441 | 486 | | |
442 | 487 | | |
443 | 488 | | |
Lines changed: 33 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
| 5 | + | |
3 | 6 | | |
| 7 | + | |
4 | 8 | | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
14 | 25 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
18 | 46 | | |
19 | 47 | | |
20 | 48 | | |
| |||
28 | 56 | | |
29 | 57 | | |
30 | 58 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 59 | + | |
35 | 60 | | |
36 | 61 | | |
0 commit comments