You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AlertCircleIcon uses a hard-coded SVG clipPath id. Rendering multiple instances on the same page can cause DOM id collisions and inconsistent clipping behavior, especially in SSR/hydration scenarios.
The entire guide panel is now a vertically centered flex container. This can unintentionally change the positioning of existing panel states and content, so the non-alert/default views should be checked for visual regressions.
&__guide-panel {
background: $white-200; /* #fcfcfc */border-radius: $border-radius; /* 5px */padding: $spacer-125$spacer-1000.875rem; /* 14px *//* 20px 16px 14px */min-height: 18.25rem; /* 292px */// to add some space for the guide paneldisplay: flex;
justify-content: center;
flex-direction: column;
}
The static clipPath id will collide when multiple AlertCircleIcon instances are rendered on the same page, which can cause broken or incorrect SVG clipping. Since this clip just matches the full icon bounds, remove the clipPath entirely and render the paths directly.
Why: The suggestion is accurate because the hardcoded clipPath id alertCircleClip can collide across multiple inline AlertCircleIcon instances. Since the clip only covers the full 16x16 bounds and adds no real value, removing it is a solid correctness and maintainability improvement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
📝 Pull Request Summary
Description:
UI for usage quota alert
Related Jira Ticket:
https://aottech.atlassian.net/browse/FWF-6252
Type of Change:
🧩 Microfrontends Affected
Please select all microfrontends or modules that are part of this change:
Details (if Others selected):
🧠 Summary of Changes
🧪 Testing Details
Testing Performed:
Screenshots (if applicable):


✅ Checklist
👥 Reviewer Notes
PR Type
Enhancement
Description
Add
AlertCircleIconreusable warning SVG componentStyle textarea quota circle overlay
Add limit alert and reached states
Center guide panel content vertically
Diagram Walkthrough
File Walkthrough
index.tsx
Add reusable alert circle SVG iconforms-flow-components/src/components/SvgIcons/index.tsx
AlertCircleIconSVG componentcolor,className, and props_aiFormBuilder.scss
Style quota indicator and limit alertsforms-flow-theme/scss/v8-scss/_aiFormBuilder.scss
$font-weight-mediumtheme variable usage__guide-panelcontent with flex layout__textarea-wrapand textarea right padding