From b88fa2d20925bb11821eddbdb090702a974cfe97 Mon Sep 17 00:00:00 2001 From: ktx-vaidehi <134508096+ktx-vaidehi@users.noreply.github.com> Date: Wed, 13 May 2026 21:22:18 +0530 Subject: [PATCH] fix: UX revamp buttons (#11792) Co-authored-by: ktx-mihir --- .../common/O2AIContextAddBtn.spec.js | 2 +- .../components/common/O2AIContextAddBtn.vue | 33 ++++++++-- .../iam/groups/GroupServiceAccounts.vue | 35 +++++------ web/src/components/iam/groups/GroupUsers.vue | 35 +++++------ web/src/components/iam/roles/EditRole.vue | 60 +++++++------------ .../NodeForm/CreateDestinationForm.vue | 10 ++-- web/src/plugins/logs/Index.vue | 1 + 7 files changed, 85 insertions(+), 91 deletions(-) diff --git a/web/src/components/common/O2AIContextAddBtn.spec.js b/web/src/components/common/O2AIContextAddBtn.spec.js index 16511cdbd3..cccd0e4bd9 100644 --- a/web/src/components/common/O2AIContextAddBtn.spec.js +++ b/web/src/components/common/O2AIContextAddBtn.spec.js @@ -116,6 +116,6 @@ describe('O2AIContextAddBtn', () => { it('has correct button attributes', () => { const button = wrapper.find('[data-test="o2-ai-context-add-btn"]'); expect(button.attributes('flat')).toBe(undefined); - expect(button.attributes('style')).toContain('border-radius: 100%'); + expect(button.classes()).toContain('o2-ai-context-btn'); }); }); diff --git a/web/src/components/common/O2AIContextAddBtn.vue b/web/src/components/common/O2AIContextAddBtn.vue index d0f00ce97a..0fab57b8d3 100644 --- a/web/src/components/common/O2AIContextAddBtn.vue +++ b/web/src/components/common/O2AIContextAddBtn.vue @@ -3,17 +3,14 @@
- +
@@ -71,4 +68,28 @@ const sendToAiChat = () => { \ No newline at end of file diff --git a/web/src/components/iam/groups/GroupServiceAccounts.vue b/web/src/components/iam/groups/GroupServiceAccounts.vue index 231590336a..7d4e06176b 100644 --- a/web/src/components/iam/groups/GroupServiceAccounts.vue +++ b/web/src/components/iam/groups/GroupServiceAccounts.vue @@ -29,27 +29,21 @@ along with this program. If not, see . > Show -
- -
+ + {{ visual.label }} + +
.