Commit 0e2d560
[FIX][UI]: Make "+N more" badges clickable to expand full list in server details modal (#3511)
* fix(ui): make '+N more' badges clickable to expand full list in server details modal
In the Server Details modal, the '+N more' summary badges for tools,
resources, and prompts were static text. Clicking them now expands
the compact view inline, replacing it with the full list for that
section.
Closes #3509
Signed-off-by: NAYANA.R <nayana.r7813@gmail.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
* test(ui): add differential tests for server detail badge click-to-expand
19 Vitest/JSDOM tests covering the new '+N more' badge expansion:
- Tools, resources, and prompts badges render with correct count
- cursor-pointer class present on all badges
- Clicking a badge expands to show the full inline list
- Expanded items show display names from window mappings with ID fallback
- Sections with <= maxToShow items do not render a badge
- Clicking one section badge does not affect other sections
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
* chore: update lockfiles, Rust plugin stubs, and manual test results
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
---------
Signed-off-by: NAYANA.R <nayana.r7813@gmail.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
Co-authored-by: Mihai Criveti <crivetimihai@gmail.com>1 parent 0aef187 commit 0e2d560
File tree
9 files changed
+677
-20
lines changed- mcpgateway/static
- plugins_rust
- encoded_exfil_detection/python/encoded_exfil_detection_rust
- pii_filter/python/pii_filter_rust
- secrets_detection/python/secrets_detection_rust
- tests
- js
- manual/concurrency
9 files changed
+677
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6674 | 6674 | | |
6675 | 6675 | | |
6676 | 6676 | | |
6677 | | - | |
| 6677 | + | |
6678 | 6678 | | |
6679 | 6679 | | |
6680 | 6680 | | |
| |||
6686 | 6686 | | |
6687 | 6687 | | |
6688 | 6688 | | |
| 6689 | + | |
| 6690 | + | |
| 6691 | + | |
| 6692 | + | |
| 6693 | + | |
| 6694 | + | |
| 6695 | + | |
| 6696 | + | |
| 6697 | + | |
| 6698 | + | |
| 6699 | + | |
| 6700 | + | |
| 6701 | + | |
| 6702 | + | |
| 6703 | + | |
| 6704 | + | |
| 6705 | + | |
| 6706 | + | |
| 6707 | + | |
| 6708 | + | |
| 6709 | + | |
| 6710 | + | |
| 6711 | + | |
| 6712 | + | |
| 6713 | + | |
| 6714 | + | |
6689 | 6715 | | |
6690 | 6716 | | |
6691 | 6717 | | |
| |||
6740 | 6766 | | |
6741 | 6767 | | |
6742 | 6768 | | |
6743 | | - | |
| 6769 | + | |
6744 | 6770 | | |
6745 | 6771 | | |
6746 | 6772 | | |
| |||
6753 | 6779 | | |
6754 | 6780 | | |
6755 | 6781 | | |
| 6782 | + | |
| 6783 | + | |
| 6784 | + | |
| 6785 | + | |
| 6786 | + | |
| 6787 | + | |
| 6788 | + | |
| 6789 | + | |
| 6790 | + | |
| 6791 | + | |
| 6792 | + | |
| 6793 | + | |
| 6794 | + | |
| 6795 | + | |
| 6796 | + | |
| 6797 | + | |
| 6798 | + | |
| 6799 | + | |
| 6800 | + | |
| 6801 | + | |
| 6802 | + | |
| 6803 | + | |
| 6804 | + | |
| 6805 | + | |
| 6806 | + | |
| 6807 | + | |
| 6808 | + | |
| 6809 | + | |
| 6810 | + | |
| 6811 | + | |
| 6812 | + | |
| 6813 | + | |
6756 | 6814 | | |
6757 | 6815 | | |
6758 | 6816 | | |
| |||
6806 | 6864 | | |
6807 | 6865 | | |
6808 | 6866 | | |
6809 | | - | |
| 6867 | + | |
6810 | 6868 | | |
6811 | 6869 | | |
6812 | 6870 | | |
| |||
6819 | 6877 | | |
6820 | 6878 | | |
6821 | 6879 | | |
| 6880 | + | |
| 6881 | + | |
| 6882 | + | |
| 6883 | + | |
| 6884 | + | |
| 6885 | + | |
| 6886 | + | |
| 6887 | + | |
| 6888 | + | |
| 6889 | + | |
| 6890 | + | |
| 6891 | + | |
| 6892 | + | |
| 6893 | + | |
| 6894 | + | |
| 6895 | + | |
| 6896 | + | |
| 6897 | + | |
| 6898 | + | |
| 6899 | + | |
| 6900 | + | |
| 6901 | + | |
| 6902 | + | |
| 6903 | + | |
| 6904 | + | |
| 6905 | + | |
| 6906 | + | |
6822 | 6907 | | |
6823 | 6908 | | |
6824 | 6909 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
0 commit comments