This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Commit ef97714
authored
Prevent possible regressions of EventTile structurally (#8647)
* '.mx_EventTile_e2eIcon_warning' and '.mx_EventTile_e2eIcon_normal'
- Include '.mx_EventTile_e2eIcon_warning' and '.mx_EventTile_e2eIcon_normal'
- Merge '.mx_EventTile_e2eIcon_warning' and '.mx_EventTile_e2eIcon_normal'
Signed-off-by: Suguru Hirahara <[email protected]>
* mx_EventTile_spoiler
- Group 'mx_EventTile_spoiler'
- mx_EventTile_spoiler.visible
Signed-off-by: Suguru Hirahara <[email protected]>
* Group 'mx_EventTile_button'
Signed-off-by: Suguru Hirahara <[email protected]>
* Group '.mx_EventTile_collapseButton' and '.mx_EventTile_expandButton'
Signed-off-by: Suguru Hirahara <[email protected]>
* Group '.mx_EventTile_body .mx_EventTile_pre_container'
Signed-off-by: Suguru Hirahara <[email protected]>
* Group '.mx_EventTile_copyButton'
Signed-off-by: Suguru Hirahara <[email protected]>
* Group '.mx_EventTile_collapseButton'
Signed-off-by: Suguru Hirahara <[email protected]>
* Group '.mx_EventTile_expandButton'
Signed-off-by: Suguru Hirahara <[email protected]>
* Group '.mx_EventTile_copyButton' and '.mx_EventTile_collapseButton'
Signed-off-by: Suguru Hirahara <[email protected]>
* Group '.mx_EventTile_collapseButton'
Signed-off-by: Suguru Hirahara <[email protected]>
* Include '.mx_EventTile_collapsedCodeBlock' in '.mx_EventTile_pre_container'
Collapsed code block is displayed only in mx_EventTile_pre_container
Signed-off-by: Suguru Hirahara <[email protected]>
* .mx_EventTile_keyRequestInfo
- Include '.mx_EventTile_keyRequestInfo_text' in '.mx_EventTile_keyRequestInfo'
- Include '.mx_AccessibleButton' in '.mx_EventTile_keyRequestInfo_text'
- Include '.mx_EventTile_keyRequestInfo_tooltip_contents p:first-child' and 'p:last-child' in '.mx_EventTile_keyRequestInfo_tooltip_contents p'
Signed-off-by: Suguru Hirahara <[email protected]>
* Separate properties of mx_EventTile_button
The properties which should only be applied to buttons inside mx_EventTile_pre_container should not be applied to the top level.
Signed-off-by: Suguru Hirahara <[email protected]>
* Apply mask-size of collapse button and expand button to ones in mx_EventTile_pre_container only
Signed-off-by: Suguru Hirahara <[email protected]>
* Move declarations of buttons from mx_EventTile_button to mx_EventTile_pre_container
Signed-off-by: Suguru Hirahara <[email protected]>
* Move buttons declarations below mx_EventTile_button
Signed-off-by: Suguru Hirahara <[email protected]>
* Include '.mx_EventTile_pre_container' in '.mx_EventTile_body .mx_EventTile_pre_container'
Signed-off-by: Suguru Hirahara <[email protected]>
* yarn run lint:style --fix
Signed-off-by: Suguru Hirahara <[email protected]>
* Specify width and height to only buttons in mx_EventTile_pre_container
Signed-off-by: Suguru Hirahara <[email protected]>
* Dedupe 'mx_EventTile_e2eIcon' ::before
Signed-off-by: Suguru Hirahara <[email protected]>
* Hide buttons in mx_EventTile_pre_container and show them on hover by default
Setting "visibility: hidden" to mx_EventTile_button can easily cause a regression. The declaration should be exclusively applied to buttons inside mx_EventTile_pre_container, and "visibility: visible" should be set to those buttons only.
Signed-off-by: Suguru Hirahara <[email protected]>
* Remove redundant nestings for E2E icons
Signed-off-by: Suguru Hirahara <[email protected]>1 parent 5b51efd commit ef97714
1 file changed
+72
-71
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | 418 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
424 | 423 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
429 | 428 | | |
430 | | - | |
431 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
510 | | - | |
511 | 509 | | |
512 | 510 | | |
513 | | - | |
514 | 511 | | |
515 | | - | |
516 | | - | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
520 | 521 | | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
| 522 | + | |
526 | 523 | | |
527 | 524 | | |
528 | 525 | | |
529 | | - | |
530 | | - | |
531 | 526 | | |
532 | 527 | | |
533 | 528 | | |
| |||
570 | 565 | | |
571 | 566 | | |
572 | 567 | | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | 568 | | |
578 | 569 | | |
579 | 570 | | |
580 | 571 | | |
581 | 572 | | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | 573 | | |
589 | | - | |
590 | 574 | | |
591 | | - | |
592 | 575 | | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | 576 | | |
603 | 577 | | |
604 | 578 | | |
605 | 579 | | |
606 | 580 | | |
607 | 581 | | |
608 | | - | |
609 | | - | |
| 582 | + | |
| 583 | + | |
610 | 584 | | |
611 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
612 | 589 | | |
613 | 590 | | |
614 | 591 | | |
615 | 592 | | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | 593 | | |
620 | 594 | | |
621 | 595 | | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
632 | 633 | | |
633 | 634 | | |
634 | 635 | | |
635 | | - | |
636 | 636 | | |
637 | | - | |
638 | | - | |
639 | | - | |
| 637 | + | |
| 638 | + | |
640 | 639 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
649 | 650 | | |
650 | 651 | | |
651 | 652 | | |
652 | | - | |
653 | 653 | | |
654 | | - | |
655 | | - | |
656 | | - | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
657 | 657 | | |
658 | | - | |
659 | | - | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
660 | 661 | | |
661 | 662 | | |
662 | 663 | | |
| |||
0 commit comments