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
feat(FR-555): Improve the auto-scaling rule editor interface and list (#3202)
Resolves#3201 (FR-555)
### TL;DR
> For test, please pull this lablup/backend.ai#3757 to your test server
Redesigned the auto-scaling rule editor interface to improve usability and add separate controls for scale up/down operations.
### What changed?
- Added distinct scale up/down options instead of combining them
- Simplified metric selection with autocomplete and predefined options
- Consolidated condition inputs (metric, comparator, threshold) into a single row
- Removed redundant min/max replica fields based on scaling direction
- Added tooltips and improved validation logic
- Updated translations for all supported languages with new UI strings
### How to test?
1. Open the endpoint detail page
2. Click to add a new auto-scaling rule
3. Verify the new UI with separate scale up/down options
4. Test metric name autocomplete functionality
5. Confirm min/max replicas show correctly based on scale direction
6. Validate form submissions work for both scale up and down scenarios
### Why make this change?
The previous interface combined scale up/down operations which made it confusing for users to configure rules correctly. This redesign separates the concerns and provides a more intuitive workflow while reducing potential configuration errors through better validation and clearer UI elements.
Copy file name to clipboardExpand all lines: resources/i18n/el.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1785,7 +1785,12 @@
1785
1785
"MetricSource": "Μετρική πηγή",
1786
1786
"MIN/MAXReplicas": "Min / Max Replicas",
1787
1787
"LastTriggered": "Τελευταία ενεργοποιημένη",
1788
-
"CreatedAt": "Δημιουργήθηκε ώρα"
1788
+
"CreatedAt": "Δημιουργήθηκε ώρα",
1789
+
"ConditionTooltip": "Μπορείτε να εισαγάγετε ελεύθερα οποιαδήποτε μετρική που υποστηρίζεται από το περιβάλλον εκτέλεσης.\nΓια παράδειγμα: \"cuda_mem\", \"cuda_util\".",
Copy file name to clipboardExpand all lines: resources/i18n/id.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1785,7 +1785,12 @@
1785
1785
"MetricSource": "Sumber metrik",
1786
1786
"MIN/MAXReplicas": "Replika min / maks",
1787
1787
"LastTriggered": "Terakhir dipicu",
1788
-
"CreatedAt": "Waktu yang dibuat"
1788
+
"CreatedAt": "Waktu yang dibuat",
1789
+
"ConditionTooltip": "Anda dapat dengan bebas memasukkan metrik apa pun yang didukung oleh lingkungan runtime.\nSebagai contoh: \"cuda_mem\", \"cuda_util\"",
0 commit comments