@odigos/ui-kit 0.0.62 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/containers.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.63](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.62...ui-kit-v0.0.63) (2025-07-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* temporary remove `CustomInstrumentation` rule option ([#259](https://github.com/odigos-io/ui-kit/issues/259)) ([0fda043](https://github.com/odigos-io/ui-kit/commit/0fda043bed655b20aefd5da43e80c46114fafb5f))
|
|
9
|
+
|
|
3
10
|
## [0.0.62](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.61...ui-kit-v0.0.62) (2025-07-20)
|
|
4
11
|
|
|
5
12
|
|
package/lib/containers.js
CHANGED
|
@@ -3394,6 +3394,8 @@ const GapAndMargin = styled(FlexColumn) `
|
|
|
3394
3394
|
margin-top: 24px;
|
|
3395
3395
|
gap: 12px;
|
|
3396
3396
|
`;
|
|
3397
|
+
// temporary until we support 'custom instrumentation' again
|
|
3398
|
+
const filteredOptions = INSTRUMENTATION_RULE_OPTIONS.filter(({ type }) => type !== InstrumentationRuleType.CustomInstrumentation);
|
|
3397
3399
|
const InstrumentationRuleModal = ({ isEnterprise, createInstrumentationRule }) => {
|
|
3398
3400
|
const { currentModal, setCurrentModal } = useModalStore();
|
|
3399
3401
|
const isOpen = currentModal === EntityTypes.InstrumentationRule;
|
|
@@ -3429,7 +3431,7 @@ const InstrumentationRuleModal = ({ isEnterprise, createInstrumentationRule }) =
|
|
|
3429
3431
|
React.createElement(SectionTitle, { title: 'Select Instrumentation Rule', description: 'Define how telemetry is recorded from your application. Choose a rule type and configure the details.' }),
|
|
3430
3432
|
React.createElement(GapAndMargin, null,
|
|
3431
3433
|
!isEnterprise ? (React.createElement(NotificationNote, { type: StatusType.Default, message: FORM_ALERTS.ENTERPRISE_ONLY(DISPLAY_TITLES.INSTRUMENTATION_RULES) })) : (React.createElement(NotificationNote, { type: StatusType.Warning, message: FORM_ALERTS.DEFINED_FOR_ALL_STREAMS(DISPLAY_TITLES.INSTRUMENTATION_RULES) })),
|
|
3432
|
-
React.createElement(AutocompleteInput, { options:
|
|
3434
|
+
React.createElement(AutocompleteInput, { options: filteredOptions, selectedOption: selectedItem, onOptionSelect: (opt) => handleSelect(opt), autoFocus: !selectedItem?.type })),
|
|
3433
3435
|
!!selectedItem?.type ? (React.createElement("div", null,
|
|
3434
3436
|
React.createElement(Divider, { margin: '16px 0' }),
|
|
3435
3437
|
React.createElement(InstrumentationRuleForm, { rule: selectedItem, formData: formData, formErrors: formErrors, handleFormChange: handleFormChange }))) : null)));
|