@oneuptime/common 14.0.12 → 14.0.13
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/Models/DatabaseModels/AlertGroupingRule.ts +4 -3
- package/Models/DatabaseModels/AlertMeasurement.ts +16 -9
- package/Models/DatabaseModels/AlertReminderRule.ts +4 -3
- package/Models/DatabaseModels/AlertSeverity.ts +5 -2
- package/Models/DatabaseModels/AlertState.ts +5 -2
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.ts +17 -0
- package/Models/DatabaseModels/{IncidentForm.ts → Form.ts} +97 -205
- package/Models/DatabaseModels/{IncidentFormSubmission.ts → FormSubmission.ts} +158 -76
- package/Models/DatabaseModels/Incident.ts +1 -1
- package/Models/DatabaseModels/IncidentCustomField.ts +7 -3
- package/Models/DatabaseModels/IncidentGroupingRule.ts +4 -3
- package/Models/DatabaseModels/IncidentMeasurement.ts +15 -8
- package/Models/DatabaseModels/IncidentReminderRule.ts +4 -3
- package/Models/DatabaseModels/IncidentSeverity.ts +5 -2
- package/Models/DatabaseModels/IncidentSlaRule.ts +4 -3
- package/Models/DatabaseModels/IncidentState.ts +5 -2
- package/Models/DatabaseModels/IncidentTemplate.ts +1 -1
- package/Models/DatabaseModels/IncomingCallPolicyEscalationRule.ts +5 -1
- package/Models/DatabaseModels/Index.ts +4 -4
- package/Models/DatabaseModels/LogDropFilter.ts +4 -3
- package/Models/DatabaseModels/LogPipeline.ts +4 -3
- package/Models/DatabaseModels/LogPipelineProcessor.ts +4 -3
- package/Models/DatabaseModels/LogScrubRule.ts +3 -2
- package/Models/DatabaseModels/MetricPipelineRule.ts +3 -2
- package/Models/DatabaseModels/MetricRecordingRule.ts +7 -2
- package/Models/DatabaseModels/MonitorStatus.ts +4 -1
- package/Models/DatabaseModels/NetworkDeviceRole.ts +3 -1
- package/Models/DatabaseModels/NetworkSiteAssignmentRule.ts +9 -3
- package/Models/DatabaseModels/Project.ts +18 -11
- package/Models/DatabaseModels/RunbookRule.ts +343 -0
- package/Models/DatabaseModels/ScheduledMaintenance.ts +3 -1
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.ts +15 -8
- package/Models/DatabaseModels/ScheduledMaintenanceReminderRule.ts +4 -3
- package/Models/DatabaseModels/ScheduledMaintenanceState.ts +5 -2
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.ts +1 -2
- package/Models/DatabaseModels/StatusPageFooterLink.ts +5 -1
- package/Models/DatabaseModels/StatusPageHeaderLink.ts +5 -1
- package/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.ts +5 -1
- package/Models/DatabaseModels/TraceDropFilter.ts +4 -3
- package/Models/DatabaseModels/TracePipeline.ts +4 -3
- package/Models/DatabaseModels/TracePipelineProcessor.ts +4 -3
- package/Models/DatabaseModels/TraceRecordingRule.ts +7 -2
- package/Models/DatabaseModels/TraceScrubRule.ts +3 -2
- package/Models/DatabaseModels/UserNotificationEmailRollupItem.ts +49 -1
- package/Server/API/BaseAnalyticsAPI.ts +17 -0
- package/Server/API/{IncidentFormAPI.ts → FormAPI.ts} +77 -83
- package/Server/Infrastructure/Postgres/SchemaMigrations/1797300000000-TurnOnLinkedAlertSwitchesByDefault.ts +40 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1797400000000-MigrateIncidentFormsToForms.ts +348 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1797500000000-AddRunbookRuleMatchCriteria.ts +178 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1797600000000-AddSeverityAndStateColorsToNotificationEmailRollup.ts +26 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +8 -0
- package/Server/Middleware/{IncidentFormRateLimit.ts → FormRateLimit.ts} +186 -194
- package/Server/Services/AlertEpisodeService.ts +5 -3
- package/Server/Services/AlertMeasurementService.ts +120 -23
- package/Server/Services/AlertReminderRuleService.ts +0 -31
- package/Server/Services/AlertService.ts +5 -3
- package/Server/Services/AlertSeverityService.ts +15 -109
- package/Server/Services/AlertStateService.ts +28 -119
- package/Server/Services/AnalyticsDatabaseService.ts +102 -9
- package/Server/Services/DatabaseService.ts +302 -0
- package/Server/Services/FormService.ts +1161 -0
- package/Server/Services/FormSubmissionService.ts +22 -0
- package/Server/Services/IncidentAlertService.ts +57 -24
- package/Server/Services/IncidentCustomFieldService.ts +4 -113
- package/Server/Services/IncidentEpisodeService.ts +5 -3
- package/Server/Services/IncidentMeasurementService.ts +123 -23
- package/Server/Services/IncidentReminderRuleService.ts +0 -31
- package/Server/Services/IncidentService.ts +5 -3
- package/Server/Services/IncidentSeverityService.ts +15 -114
- package/Server/Services/IncidentSlaRuleService.ts +0 -32
- package/Server/Services/IncidentStateService.ts +28 -119
- package/Server/Services/IncidentStateTimelineService.ts +2 -2
- package/Server/Services/IncomingCallPolicyEscalationRuleService.ts +22 -190
- package/Server/Services/Index.ts +4 -4
- package/Server/Services/LogService.ts +13 -0
- package/Server/Services/MetricRecordingRuleService.ts +106 -0
- package/Server/Services/MonitorStatusService.ts +27 -131
- package/Server/Services/OnCallDutyPolicyEscalationRuleService.ts +41 -0
- package/Server/Services/OnCallDutyPolicyService.ts +343 -0
- package/Server/Services/ProjectService.ts +62 -73
- package/Server/Services/RunbookRuleEngineService.ts +413 -41
- package/Server/Services/RunbookRuleService.ts +97 -0
- package/Server/Services/ScheduledMaintenanceMeasurementService.ts +126 -23
- package/Server/Services/ScheduledMaintenanceReminderRuleService.ts +0 -31
- package/Server/Services/ScheduledMaintenanceService.ts +5 -3
- package/Server/Services/ScheduledMaintenanceStateService.ts +28 -129
- package/Server/Services/SpanService.ts +21 -2
- package/Server/Services/StatusPageFooterLinkService.ts +9 -198
- package/Server/Services/StatusPageHeaderLinkService.ts +8 -197
- package/Server/Services/StatusPageHistoryChartBarColorRuleService.ts +9 -198
- package/Server/Services/StatusPageSubscriberNotificationTemplateService.ts +17 -5
- package/Server/Services/StatusPageSubscriberNotificationTemplateStatusPageService.ts +7 -6
- package/Server/Services/TraceRecordingRuleService.ts +15 -2
- package/Server/Services/UserNotificationRuleService.ts +41 -0
- package/Server/Types/AnalyticsDatabase/CountBy.ts +14 -0
- package/Server/Utils/Database/ListOrderMaintainer.ts +465 -0
- package/Server/Utils/Database/StateOrderGuard.ts +390 -0
- package/Server/Utils/EmailRollup/EmailRollupFlushRunner.ts +2 -0
- package/Server/Utils/EmailRollup/EmailRollupRenderer.ts +86 -3
- package/Server/Utils/EmailRollup/EmailRollupWriter.ts +41 -0
- package/Server/Utils/Form/FormRecordOptions.ts +147 -0
- package/Server/Utils/Form/FormSubmissionNote.ts +215 -0
- package/Server/Utils/Form/FormTargetHandler.ts +410 -0
- package/Server/Utils/Form/FormTargets.ts +28 -0
- package/Server/Utils/Form/IncidentFormTarget.ts +580 -0
- package/Server/Utils/Form/ScheduledMaintenanceFormTarget.ts +401 -0
- package/Server/Utils/Measurement/MeasurementDefinitionChange.ts +81 -0
- package/Server/Utils/Measurement/MeasurementDefinitionValidator.ts +9 -4
- package/Server/Utils/Measurement/MeasurementKeyAssigner.ts +50 -0
- package/Server/Utils/Measurement/MeasurementMetricWriter.ts +22 -2
- package/Server/Utils/Measurement/MeasurementStateReference.ts +95 -0
- package/Server/Utils/Slo/SloOwnerReferenceValidator.ts +1 -1
- package/Server/Utils/StatusPage/IncidentSubscriberAudienceBuilder.ts +8 -7
- package/Server/Utils/StatusPage/IncidentTemplateVariableBuilder.ts +24 -16
- package/Server/Utils/StatusPage/SubscriberIncidentEmailBuilder.ts +9 -1
- package/Server/Utils/StatusPage/SubscriberNotificationPreviewBuilder.ts +4 -0
- package/Server/Utils/StatusPage/SubscriberTemplateIncidentRecordAccess.ts +7 -5
- package/Tests/App/Accounts/FormPage.test.tsx +761 -0
- package/Tests/App/Accounts/FormServerMessages.test.ts +115 -0
- package/Tests/App/Accounts/FormUtils.test.ts +557 -0
- package/Tests/App/AdminDashboard/AdminMenusFolded.test.tsx +299 -0
- package/Tests/App/AdminDashboard/AdminProductsMenuUnfolded.test.tsx +133 -0
- package/Tests/App/ArchivedEntriesInAdvancedSection.test.tsx +662 -0
- package/Tests/App/Dashboard/AIInsightsKubernetesClusterPage.test.tsx +5 -4
- package/Tests/App/Dashboard/AdminUserNotificationMethodsPage.test.tsx +58 -0
- package/Tests/App/Dashboard/AlertEpisodeViewFields.test.tsx +25 -3
- package/Tests/App/Dashboard/AlertsSideMenu.test.tsx +108 -4
- package/Tests/App/Dashboard/ApiKeyCreateForm.test.ts +652 -0
- package/Tests/App/Dashboard/ApiKeyViewPermissions.test.tsx +756 -0
- package/Tests/App/Dashboard/ApiKeysCreateAccess.test.tsx +797 -0
- package/Tests/App/Dashboard/ArchivedResourceNavigation.test.tsx +50 -2
- package/Tests/App/Dashboard/BulkChangeStateModalColors.test.tsx +136 -0
- package/Tests/App/Dashboard/ClusterAccessNotice.test.tsx +7 -2
- package/Tests/App/Dashboard/ConnectedWorkspaces.test.tsx +771 -0
- package/Tests/App/Dashboard/CoreListEmptyStates.test.tsx +77 -20
- package/Tests/App/Dashboard/CreateOAuthWorkflowVariableFormSteps.test.tsx +6 -4
- package/Tests/App/Dashboard/CreateReviewStepRoleSummary.test.tsx +2 -2
- package/Tests/App/Dashboard/CreateReviewStepSelectionSummary.test.tsx +4 -4
- package/Tests/App/Dashboard/CreateWorkflowModal.test.tsx +549 -123
- package/Tests/App/Dashboard/CriteriaFilterDefaults.test.ts +64 -1
- package/Tests/App/Dashboard/CriteriaFilterMonitorTypeChange.test.ts +127 -0
- package/Tests/App/Dashboard/CriteriaName.test.ts +831 -0
- package/Tests/App/Dashboard/CustomFieldDefinitionTableRender.test.tsx +485 -0
- package/Tests/App/Dashboard/CustomFieldSimpleCreate.test.tsx +1070 -0
- package/Tests/App/Dashboard/CustomFieldSimpleCreateRender.test.tsx +747 -0
- package/Tests/App/Dashboard/CustomFieldTablesTwoColumns.test.tsx +523 -0
- package/Tests/App/Dashboard/CustomFieldsSettingsIncidentOptions.test.tsx +92 -59
- package/Tests/App/Dashboard/DashboardComponentsAToLHelpersTranslation.test.ts +256 -0
- package/Tests/App/Dashboard/DashboardComponentsAToLTranslation.test.tsx +482 -0
- package/Tests/App/Dashboard/DashboardComponentsMRTranslation.test.tsx +805 -0
- package/Tests/App/Dashboard/DashboardFrenchLocale.test.tsx +335 -0
- package/Tests/App/Dashboard/DashboardGermanLocale.test.tsx +250 -0
- package/Tests/App/Dashboard/DashboardJapaneseLocale.test.tsx +435 -0
- package/Tests/App/Dashboard/DashboardPagesTranslation.test.tsx +449 -0
- package/Tests/App/Dashboard/DashboardPagesUtilsTranslation.test.ts +487 -0
- package/Tests/App/Dashboard/DashboardPhoneProductsMenu.test.tsx +262 -0
- package/Tests/App/Dashboard/DashboardRuntimeLocales.test.tsx +635 -0
- package/Tests/App/Dashboard/DashboardSpanishLocale.test.tsx +405 -0
- package/Tests/App/Dashboard/DeclareFormsAdvancedRender.test.tsx +550 -0
- package/Tests/App/Dashboard/DefaultInviteTeam.test.ts +600 -0
- package/Tests/App/Dashboard/DeveloperDocsGuides.test.ts +569 -127
- package/Tests/App/Dashboard/DeveloperDocsPage.test.tsx +337 -51
- package/Tests/App/Dashboard/DiscoveryScanStatusMessage.test.tsx +10 -1
- package/Tests/App/Dashboard/EntityFilterDropdownColors.test.tsx +269 -0
- package/Tests/App/Dashboard/EntityFilterDropdownUnlistedSelection.test.tsx +23 -12
- package/Tests/App/Dashboard/EscalationRuleForm.test.ts +426 -0
- package/Tests/App/Dashboard/EscalationRuleFormGuard.test.ts +239 -0
- package/Tests/App/Dashboard/EscalationRuleOneStep.test.tsx +997 -0
- package/Tests/App/Dashboard/EscalationRuleRowActions.test.tsx +38 -10
- package/Tests/App/Dashboard/EventNotes.test.tsx +2 -2
- package/Tests/App/Dashboard/EventNotesUtil.test.ts +2 -2
- package/Tests/App/Dashboard/EventStatusPanel.test.tsx +87 -0
- package/Tests/App/Dashboard/FeedFilterSortIntegration.test.tsx +349 -145
- package/Tests/App/Dashboard/FeedOptionsLocales.test.ts +50 -18
- package/Tests/App/Dashboard/FeedOrdering.test.ts +116 -24
- package/Tests/App/Dashboard/FlameGraphLosesItsSpans.test.tsx +102 -0
- package/Tests/App/Dashboard/FormBuilderData.test.ts +280 -0
- package/Tests/App/Dashboard/FormBuilderParts.test.tsx +794 -0
- package/Tests/App/Dashboard/FormBuilderState.test.ts +630 -0
- package/Tests/App/Dashboard/FormBuilderUi.test.tsx +850 -0
- package/Tests/App/Dashboard/FormMappingCard.test.tsx +492 -0
- package/Tests/App/Dashboard/FormOnSubmit.test.ts +693 -0
- package/Tests/App/Dashboard/{IncidentFormPlan.test.ts → FormPlan.test.ts} +15 -15
- package/Tests/App/Dashboard/{IncidentFormShareLinkCard.test.tsx → FormShareLinkCard.test.tsx} +53 -73
- package/Tests/App/Dashboard/FormStatusCard.test.tsx +354 -0
- package/Tests/App/Dashboard/FormTargetCard.test.tsx +315 -0
- package/Tests/App/Dashboard/FormsMovedPagesAndSubmissions.test.tsx +270 -0
- package/Tests/App/Dashboard/FormsPages.test.tsx +574 -0
- package/Tests/App/Dashboard/GeneratedKeyForms.test.tsx +500 -0
- package/Tests/App/Dashboard/GroupingRuleComponents.test.tsx +792 -0
- package/Tests/App/Dashboard/GroupingRuleFormFlow.test.tsx +1109 -0
- package/Tests/App/Dashboard/GroupingRulePages.test.tsx +672 -0
- package/Tests/App/Dashboard/GroupingRuleTranslationRender.test.tsx +244 -0
- package/Tests/App/Dashboard/IncidentCreateAcknowledgeAlerts.test.tsx +7 -4
- package/Tests/App/Dashboard/IncidentCreateFromAlerts.test.tsx +33 -15
- package/Tests/App/Dashboard/IncidentCreateStatusPageScope.test.tsx +640 -23
- package/Tests/App/Dashboard/IncidentCreateTemplateCustomFieldSettings.test.tsx +2 -0
- package/Tests/App/Dashboard/IncidentCustomFieldCreateSettingsForm.test.ts +37 -345
- package/Tests/App/Dashboard/IncidentCustomFieldSettingsCard.test.tsx +6 -541
- package/Tests/App/Dashboard/IncidentCustomFieldTemplateVariables.test.tsx +188 -28
- package/Tests/App/Dashboard/IncidentEpisodeViewFields.test.tsx +25 -3
- package/Tests/App/Dashboard/IncidentLinkedAlertsSettingsPage.test.tsx +583 -0
- package/Tests/App/Dashboard/IncidentNoteTemplatePlaceholders.test.tsx +350 -52
- package/Tests/App/Dashboard/IncidentNoteTemplateVariablesLoader.test.ts +7 -2
- package/Tests/App/Dashboard/IncidentRoleFormField.test.tsx +405 -0
- package/Tests/App/Dashboard/IncidentRolesSettingsPage.test.tsx +659 -0
- package/Tests/App/Dashboard/IncidentRuleConditions.test.tsx +405 -0
- package/Tests/App/Dashboard/IncidentSettingsStatusPageScope.test.tsx +236 -21
- package/Tests/App/Dashboard/IncidentStatesPageTable.test.tsx +440 -0
- package/Tests/App/Dashboard/IncidentTemplateCustomFieldSettings.test.tsx +24 -4
- package/Tests/App/Dashboard/IncidentTemplateStatusPageScopeCard.test.tsx +135 -3
- package/Tests/App/Dashboard/IncidentsSideMenu.test.tsx +201 -14
- package/Tests/App/Dashboard/InventoryTypeAndStatusFacets.test.tsx +12 -5
- package/Tests/App/Dashboard/InvestigationConversationData.test.ts +36 -12
- package/Tests/App/Dashboard/InvestigationDrawer.test.tsx +56 -0
- package/Tests/App/Dashboard/InviteUserDefaultTeam.test.tsx +586 -0
- package/Tests/App/Dashboard/KubernetesClusterOverviewZoom.test.tsx +6 -3
- package/Tests/App/Dashboard/LabelsFormField.test.tsx +554 -0
- package/Tests/App/Dashboard/LogsResultTotal.test.tsx +827 -0
- package/Tests/App/Dashboard/MarkdownTemplateDialogsWide.test.tsx +306 -0
- package/Tests/App/Dashboard/MeasurementForms.test.tsx +927 -0
- package/Tests/App/Dashboard/MeasurementListAndChart.test.tsx +290 -0
- package/Tests/App/Dashboard/MeasurementPagesI18n.test.ts +148 -0
- package/Tests/App/Dashboard/MeasurementSetup.test.ts +618 -0
- package/Tests/App/Dashboard/MenuSpecificFoldedSections.test.tsx +494 -0
- package/Tests/App/Dashboard/MessageQueueOverviewPresentation.test.ts +4 -4
- package/Tests/App/Dashboard/MessageQueueRulePages.test.tsx +40 -17
- package/Tests/App/Dashboard/MessageQueueSideMenus.test.tsx +35 -10
- package/Tests/App/Dashboard/MessageQueueViewPages.test.tsx +3 -1
- package/Tests/App/Dashboard/MetricDescriptionsCatalog.test.ts +11 -2
- package/Tests/App/Dashboard/MonitorCriteriaActionToggles.test.tsx +0 -1
- package/Tests/App/Dashboard/MonitorCriteriaAdvancedOptions.test.tsx +0 -2
- package/Tests/App/Dashboard/MonitorCriteriaNameAndDescription.test.tsx +534 -0
- package/Tests/App/Dashboard/MonitorCriteriaOwners.test.tsx +281 -0
- package/Tests/App/Dashboard/MonitorCriteriaTemplateVariables.test.tsx +191 -0
- package/Tests/App/Dashboard/MonitorRecommendationSeverityColors.test.ts +73 -0
- package/Tests/App/Dashboard/MonitorStatusChangesCard.test.tsx +70 -6
- package/Tests/App/Dashboard/MonitorStepsCriteriaAlignmentWiring.test.tsx +168 -4
- package/Tests/App/Dashboard/MonitorStepsDefaultStatusAdvanced.test.tsx +448 -0
- package/Tests/App/Dashboard/NavigationSearchKeywords.test.tsx +54 -0
- package/Tests/App/Dashboard/NetworkMetricTooltips.test.ts +9 -4
- package/Tests/App/Dashboard/NetworkSideMenu.test.tsx +80 -7
- package/Tests/App/Dashboard/NotificationMethodTabsWorkspaces.test.tsx +280 -0
- package/Tests/App/Dashboard/NumberPrefixPageRedirects.test.tsx +365 -0
- package/Tests/App/Dashboard/NumberPrefixSettingsPages.test.tsx +1048 -0
- package/Tests/App/Dashboard/OnCallCalendarFeedSideMenus.test.tsx +11 -2
- package/Tests/App/Dashboard/OnCallPolicyCreateFormGuard.test.ts +328 -0
- package/Tests/App/Dashboard/OnCallPolicyFirstResponders.test.tsx +639 -0
- package/Tests/App/Dashboard/OnCallPolicySummaryNobodyPaged.test.tsx +293 -0
- package/Tests/App/Dashboard/OnCallPreventionGuards.test.tsx +36 -18
- package/Tests/App/Dashboard/OnCallReadinessSurfaces.test.tsx +7 -1
- package/Tests/App/Dashboard/OnCallRulesDeleteGuard.test.tsx +1 -1
- package/Tests/App/Dashboard/OwnersCard.test.tsx +422 -0
- package/Tests/App/Dashboard/ProductOrientation.test.tsx +147 -9
- package/Tests/App/Dashboard/ProductSettingsSectionCollapsed.test.tsx +28 -14
- package/Tests/App/Dashboard/ResourceAiInsightsPage.test.tsx +3 -2
- package/Tests/App/Dashboard/ResourceFeed.test.tsx +162 -130
- package/Tests/App/Dashboard/ResourceFeedPageWiring.test.ts +1 -1
- package/Tests/App/Dashboard/ResourceFeedPagesFilterSort.test.tsx +115 -81
- package/Tests/App/Dashboard/RoleCardSelectOptions.test.ts +204 -0
- package/Tests/App/Dashboard/RunbookRuleConditions.test.tsx +773 -0
- package/Tests/App/Dashboard/RunnerKubernetesAgentForm.test.tsx +12 -1
- package/Tests/App/Dashboard/RunnerNavigation.test.tsx +32 -11
- package/Tests/App/Dashboard/ScheduledMaintenanceCreateForm.test.tsx +798 -0
- package/Tests/App/Dashboard/ScheduledMaintenanceFormsStructure.test.ts +517 -0
- package/Tests/App/Dashboard/ScheduledMaintenanceOverviewPage.test.tsx +183 -0
- package/Tests/App/Dashboard/ScheduledMaintenanceSideMenu.test.tsx +103 -4
- package/Tests/App/Dashboard/ScheduledMaintenanceTemplateForm.test.tsx +602 -0
- package/Tests/App/Dashboard/SearchEngineIndexingCard.test.tsx +436 -0
- package/Tests/App/Dashboard/SecurityEventsViewer.test.tsx +104 -0
- package/Tests/App/Dashboard/SetupGuideStepVariants.test.tsx +135 -0
- package/Tests/App/Dashboard/SideMenuHarness.tsx +20 -0
- package/Tests/App/Dashboard/SloFeed.test.tsx +33 -48
- package/Tests/App/Dashboard/SloListSideMenu.test.tsx +36 -1
- package/Tests/App/Dashboard/SloMonitorRuleCriteria.test.tsx +66 -7
- package/Tests/App/Dashboard/SloViewSideMenu.test.tsx +15 -4
- package/Tests/App/Dashboard/StateSettingsPages.test.tsx +581 -0
- package/Tests/App/Dashboard/StateTimelinePagesLiveState.test.tsx +373 -0
- package/Tests/App/Dashboard/StatusPageAdvancedOptionsRedirect.test.tsx +321 -0
- package/Tests/App/Dashboard/StatusPageAdvancedSettingsPage.test.tsx +271 -0
- package/Tests/App/Dashboard/StatusPageBrandingMenu.test.tsx +176 -0
- package/Tests/App/Dashboard/StatusPageBrandingPage.test.tsx +694 -0
- package/Tests/App/Dashboard/StatusPageBrandingRedirects.test.tsx +400 -0
- package/Tests/App/Dashboard/StatusPageDisplaySettingsCard.test.tsx +1439 -0
- package/Tests/App/Dashboard/StatusPageSubscriberSettingsPages.test.tsx +888 -0
- package/Tests/App/Dashboard/SubscriberAudienceSummary.test.tsx +382 -17
- package/Tests/App/Dashboard/SubscriberChannelOffPanel.test.tsx +393 -0
- package/Tests/App/Dashboard/SubscriberChannelsCard.test.tsx +832 -0
- package/Tests/App/Dashboard/SubscriberNotificationWarnings.test.tsx +215 -0
- package/Tests/App/Dashboard/SubscriberTemplateVariables.test.tsx +314 -0
- package/Tests/App/Dashboard/TemplateFormsNoInternalDataWarning.test.tsx +698 -0
- package/Tests/App/Dashboard/TracesResultTotal.test.tsx +543 -0
- package/Tests/App/Dashboard/TracesStatusChartAndFacet.test.tsx +2 -1
- package/Tests/App/Dashboard/TriggerRuleCriteriaNames.test.tsx +142 -0
- package/Tests/App/Dashboard/UserSettingsEmailPreferences.test.tsx +11 -3
- package/Tests/App/Dashboard/UserSettingsNotificationSettings.test.tsx +172 -1
- package/Tests/App/Dashboard/VMwareMetricTooltips.test.ts +12 -6
- package/Tests/App/Dashboard/WorkflowRunsLogsMenus.test.tsx +44 -7
- package/Tests/App/Dashboard/WorkflowRunsPages.test.tsx +5 -1
- package/Tests/App/Dashboard/WorkflowTemplatePicker.test.tsx +780 -755
- package/Tests/App/Dashboard/WorkflowVariableCreateFormSteps.test.tsx +37 -0
- package/Tests/App/Dashboard/WorkflowVariableListsGuard.test.ts +308 -0
- package/Tests/App/Dashboard/WorkflowVariablesTable.test.tsx +89 -55
- package/Tests/App/Dashboard/WorkflowVariablesTableRender.test.tsx +621 -0
- package/Tests/App/Dashboard/WorkspaceConnectionPages.test.tsx +628 -0
- package/Tests/App/Dashboard/WorkspaceConnectionsGuards.test.ts +398 -0
- package/Tests/App/Dashboard/WorkspaceConnectionsWiring.test.ts +213 -0
- package/Tests/App/Dashboard/WorkspaceDisconnectRefresh.test.tsx +318 -0
- package/Tests/App/Dashboard/WorkspaceMenusConnected.test.tsx +581 -0
- package/Tests/App/Dashboard/WorkspaceSideMenuSection.test.ts +433 -0
- package/Tests/App/PublicDashboard/AutoRefreshPickerTick.test.tsx +209 -0
- package/Tests/App/RarelyUsedMenuSectionsCollapsed.test.tsx +771 -0
- package/Tests/App/StatusPage/BulkAddStatusPageMonitorsModal.test.tsx +74 -5
- package/Tests/App/StatusPage/StatusPageSubscribeFromFirstStep.test.tsx +382 -0
- package/Tests/Helpers/FormStepsScan.ts +770 -55
- package/Tests/Helpers/HookOrderScan.ts +307 -0
- package/Tests/Helpers/ToggleUsageScan.ts +4 -2
- package/Tests/Models/DatabaseModels/{IncidentFormModel.test.ts → FormModel.test.ts} +433 -495
- package/Tests/Models/DatabaseModels/IncidentAlertModel.test.ts +76 -5
- package/Tests/Models/DatabaseModels/RunbookRuleCriteriaColumns.test.ts +117 -0
- package/Tests/Models/GeneratedKeyColumns.test.ts +145 -0
- package/Tests/Models/IncidentCustomFieldApiSchemaContract.test.ts +10 -1
- package/Tests/Models/ListOrderColumnModels.test.ts +332 -0
- package/Tests/Models/RelationColumnModelTypes.test.ts +135 -0
- package/Tests/ResponsiveSpacing.test.ts +627 -0
- package/Tests/ResponsiveSpacing.ts +508 -0
- package/Tests/ResponsiveVisibility.test.ts +65 -0
- package/Tests/ResponsiveVisibility.ts +34 -0
- package/Tests/Server/API/BaseAnalyticsAPICountExact.test.ts +185 -0
- package/Tests/Server/API/{IncidentFormAPI.test.ts → FormAPI.test.ts} +92 -93
- package/Tests/Server/API/{IncidentFormPublicRoutes.test.ts → FormPublicRoutes.test.ts} +182 -126
- package/Tests/Server/API/IncidentSubscriberAudienceAPI.test.ts +70 -3
- package/Tests/Server/Infrastructure/Postgres/AddIncidentFormsMigration.test.ts +48 -52
- package/Tests/Server/Infrastructure/Postgres/AddRunbookRuleMatchCriteriaMigration.test.ts +316 -0
- package/Tests/Server/Infrastructure/Postgres/MigrateIncidentFormsToFormsMigration.test.ts +688 -0
- package/Tests/Server/Infrastructure/Postgres/TurnOnLinkedAlertSwitchesByDefaultMigration.test.ts +229 -0
- package/Tests/Server/Infrastructure/Postgres/UserNotificationEmailRollupColorMigration.test.ts +116 -0
- package/Tests/Server/Infrastructure/Postgres/UserNotificationEmailRollupTableMigration.test.ts +109 -22
- package/Tests/Server/Middleware/{IncidentFormRateLimit.test.ts → FormRateLimit.test.ts} +214 -227
- package/Tests/Server/Services/AlertMeasurementService.test.ts +62 -33
- package/Tests/Server/Services/AnalyticsDatabaseServiceExactCount.test.ts +397 -0
- package/Tests/Server/Services/DatabaseServiceListOrder.test.ts +713 -0
- package/Tests/Server/Services/{IncidentFormOwnersCreatedNotification.test.ts → FormOwnersCreatedNotification.test.ts} +44 -30
- package/Tests/Server/Services/FormPublicForm.test.ts +990 -0
- package/Tests/Server/Services/FormPublicSubmission.test.ts +1468 -0
- package/Tests/Server/Services/{IncidentFormRegistration.test.ts → FormRegistration.test.ts} +37 -45
- package/Tests/Server/Services/FormService.test.ts +709 -0
- package/Tests/Server/Services/{IncidentFormSubmissionTemplateBranch.test.ts → FormSubmissionTemplateBranch.test.ts} +100 -157
- package/Tests/Server/Services/GroupingRuleSimpleSetupEngine.test.ts +627 -0
- package/Tests/Server/Services/IncidentAlertPostgres.test.ts +26 -3
- package/Tests/Server/Services/IncidentAlertStateCascade.test.ts +169 -8
- package/Tests/Server/Services/IncidentFormPostgres.test.ts +250 -494
- package/Tests/Server/Services/IncidentMeasurementService.test.ts +37 -17
- package/Tests/Server/Services/IncidentSeverityDeletePausesComplianceRules.test.ts +19 -33
- package/Tests/Server/Services/IncomingCallPolicyEscalationRuleTarget.test.ts +14 -36
- package/Tests/Server/Services/MeasurementDashboardEdits.test.ts +390 -0
- package/Tests/Server/Services/MeasurementKeyGeneration.test.ts +484 -0
- package/Tests/Server/Services/MonitorStatusServiceValidation.test.ts +302 -105
- package/Tests/Server/Services/OnCallDutyPolicyEscalationRuleDefaultName.test.ts +339 -0
- package/Tests/Server/Services/OnCallDutyPolicyFirstResponders.test.ts +815 -0
- package/Tests/Server/Services/OnCallDutyPolicyFirstRespondersFreePlan.test.ts +270 -0
- package/Tests/Server/Services/ProjectServiceDefaultIncidentRoles.test.ts +392 -0
- package/Tests/Server/Services/ProjectServiceLinkedAlertDefaults.test.ts +188 -0
- package/Tests/Server/Services/ProjectServiceNumberPrefix.test.ts +327 -0
- package/Tests/Server/Services/RecordingRuleOutputMetricNameGeneration.test.ts +367 -0
- package/Tests/Server/Services/RunbookRuleEngineService.test.ts +1543 -0
- package/Tests/Server/Services/RunbookRuleService.test.ts +478 -0
- package/Tests/Server/Services/ScheduledMaintenanceMeasurementService.test.ts +73 -38
- package/Tests/Server/Services/SeverityCreationRuleBackfill.test.ts +52 -20
- package/Tests/Server/Services/StateListServicesOrder.test.ts +441 -0
- package/Tests/Server/Services/StatusPageSubscriberNotificationTemplateIncidentRecordAccess.test.ts +191 -27
- package/Tests/Server/Services/TeamComplianceSettingPostgres.test.ts +11 -3
- package/Tests/Server/Services/TelemetryExactCount.test.ts +410 -0
- package/Tests/Server/Types/Database/FeedEventTypeFilterQuery.test.ts +5 -4
- package/Tests/Server/Types/Database/Permissions/FormSubmissionRelationSelect.test.ts +201 -0
- package/Tests/Server/Utils/Database/ListOrderMaintainer.test.ts +157 -0
- package/Tests/Server/Utils/Database/StateOrderGuard.test.ts +720 -0
- package/Tests/Server/Utils/EmailRollup/EmailRollupMetadataIntegration.test.ts +92 -0
- package/Tests/Server/Utils/EmailRollup/EmailRollupRenderer.test.ts +373 -0
- package/Tests/Server/Utils/EmailRollup/EmailRollupTestHarness.ts +7 -0
- package/Tests/Server/Utils/EmailRollup/EmailRollupWriter.test.ts +252 -0
- package/Tests/Server/Utils/Form/FormSubmissionNote.test.ts +402 -0
- package/Tests/Server/Utils/Measurement/MeasurementDefinitionChange.test.ts +130 -0
- package/Tests/Server/Utils/Measurement/MeasurementMetricWriter.test.ts +86 -0
- package/Tests/Server/Utils/Measurement/MeasurementStateReference.test.ts +129 -0
- package/Tests/Server/Utils/Monitor/DefaultMonitorCriteriaOutcomes.test.ts +577 -0
- package/Tests/Server/Utils/StatusPage/IncidentTemplateVariableBuilder.test.ts +223 -46
- package/Tests/Server/Utils/StatusPage/SubscriberIncidentEmailBuilder.test.ts +58 -45
- package/Tests/Server/Utils/StatusPage/SubscriberNotificationPreviewBuilder.test.ts +76 -1
- package/Tests/Types/CustomField/CustomFieldCreateSettings.test.ts +5 -173
- package/Tests/Types/CustomField/CustomFieldVariableKey.test.ts +160 -17
- package/Tests/Types/Form/FormField.test.ts +1552 -0
- package/Tests/Types/{Incident/IncidentFormIpAllowlist.test.ts → Form/FormIpAllowlist.test.ts} +21 -23
- package/Tests/Types/Form/FormPublic.test.ts +1295 -0
- package/Tests/Types/Form/FormSubmissionAnswer.test.ts +206 -0
- package/Tests/Types/Form/FormTargetCatalog.test.ts +389 -0
- package/Tests/Types/Form/FormTargetSettings.test.ts +459 -0
- package/Tests/Types/Form/LegacyIncidentFormConversion.test.ts +341 -0
- package/Tests/Types/Measurement/MeasurementKey.test.ts +195 -0
- package/Tests/Types/Measurement/MeasurementUnit.test.ts +139 -0
- package/Tests/Types/Metrics/RecordingRuleOutputMetricName.test.ts +93 -0
- package/Tests/Types/Monitor/MonitorCriteria.test.ts +150 -0
- package/Tests/Types/Monitor/MonitorCriteriaActionValidation.test.ts +10 -4
- package/Tests/Types/Monitor/MonitorCriteriaInstance.test.ts +436 -7
- package/Tests/Types/OnCallDutyPolicy/EscalationRuleDefaults.test.ts +230 -0
- package/Tests/Types/OnCallDutyPolicy/FirstResponders.test.ts +218 -0
- package/Tests/Types/Rules/RuleCriteriaFieldRegistry.test.ts +82 -2
- package/Tests/Types/Rum/SessionReplayCustomEvents.test.ts +75 -1
- package/Tests/Types/Runbook/RunbookRuleCriteria.test.ts +343 -0
- package/Tests/Types/ScheduledMaintenance/MaintenanceWindow.test.ts +313 -0
- package/Tests/Types/StatusPage/SubscriberNotificationTemplateCompiler.test.ts +9 -5
- package/Tests/Types/StatusPage/SubscriberNotificationTemplatePreview.test.ts +42 -1
- package/Tests/Types/StatusPage/SubscriberNotificationTemplateVariables.test.ts +135 -23
- package/Tests/Types/Template/TemplateVariable.test.ts +385 -0
- package/Tests/Types/Workflow/ComponentDocumentation.test.ts +2 -2
- package/Tests/Types/Workspace/NotificationRules/NotificationRuleConditionColors.test.ts +216 -0
- package/Tests/UI/Components/ActionButton/RowActions.test.tsx +214 -14
- package/Tests/UI/Components/ActionButton/RowActionsAccessibility.test.tsx +9 -0
- package/Tests/UI/Components/ActionButton/RowActionsTrigger.test.tsx +3 -0
- package/Tests/UI/Components/ActionButton/SplitActionButtons.test.ts +2 -0
- package/Tests/UI/Components/AdvancedPageSection.test.tsx +211 -0
- package/Tests/UI/Components/AppliedFilters.test.tsx +187 -0
- package/Tests/UI/Components/BasicFormModalSteps.test.tsx +220 -4
- package/Tests/UI/Components/BulkOwnerActions.test.tsx +366 -174
- package/Tests/UI/Components/BulkUpdateForm.test.tsx +2 -0
- package/Tests/UI/Components/BulkUpdateFormConfirmDetails.test.tsx +4 -0
- package/Tests/UI/Components/CardModelDetailEditModalTitle.test.tsx +195 -0
- package/Tests/UI/Components/CardSelect.test.tsx +45 -0
- package/Tests/UI/Components/CollapsibleSection.test.tsx +85 -0
- package/Tests/UI/Components/CustomFields/MapFromCustomFieldInput.test.tsx +192 -1
- package/Tests/UI/Components/Detail/BooleanValue.test.tsx +97 -0
- package/Tests/UI/Components/Detail/DetailIdLine.test.tsx +464 -0
- package/Tests/UI/Components/Detail/DetailIdLineDarkMode.test.ts +230 -0
- package/Tests/UI/Components/Detail/DetailIdLineInLocale.test.tsx +212 -0
- package/Tests/UI/Components/Detail/DetailRecordId.test.ts +142 -0
- package/Tests/UI/Components/Detail/DetailRecordIdLine.test.tsx +647 -0
- package/Tests/UI/Components/Detail/PlaceholderText.test.tsx +249 -0
- package/Tests/UI/Components/EditionLabelLicenseStatus.test.tsx +14 -0
- package/Tests/UI/Components/FacetSidebarControls.test.tsx +3 -2
- package/Tests/UI/Components/FeedActionsMenu.test.tsx +192 -0
- package/Tests/UI/Components/FeedCard.test.tsx +467 -0
- package/Tests/UI/Components/FeedEventTypeChecklist.test.tsx +779 -0
- package/Tests/UI/Components/FeedFilterModal.test.tsx +232 -0
- package/Tests/UI/Components/FeedFilterSummary.test.tsx +335 -0
- package/Tests/UI/Components/FeedMoreMenu.test.tsx +488 -0
- package/Tests/UI/Components/FeedOptions.test.ts +79 -195
- package/Tests/UI/Components/Filters/FilterRowsChangeFilter.test.tsx +300 -0
- package/Tests/UI/Components/Forms/AdvancedStepsGuard.test.ts +231 -0
- package/Tests/UI/Components/Forms/BasicFormCollapsibleSections.test.tsx +332 -0
- package/Tests/UI/Components/Forms/BasicFormFinishFromAnyStep.test.tsx +729 -0
- package/Tests/UI/Components/Forms/BasicFormPeoplePicker.test.tsx +345 -0
- package/Tests/UI/Components/Forms/CreateFormDefaultsGuard.test.ts +818 -0
- package/Tests/UI/Components/Forms/DeclareAndCreateFormsGuard.test.ts +589 -0
- package/Tests/UI/Components/Forms/FinishFromAnyStep.test.ts +571 -0
- package/Tests/UI/Components/Forms/FinishFromAnyStepGuard.test.ts +566 -0
- package/Tests/UI/Components/Forms/FormFieldMarkdown.test.tsx +11 -5
- package/Tests/UI/Components/Forms/FormFieldPasswordManagers.test.tsx +301 -0
- package/Tests/UI/Components/Forms/FormFieldTemplateVariables.test.tsx +349 -0
- package/Tests/UI/Components/Forms/FormFieldToggleRow.test.tsx +76 -0
- package/Tests/UI/Components/Forms/FormModalWidth.test.tsx +424 -0
- package/Tests/UI/Components/Forms/FormSummary.test.tsx +428 -1
- package/Tests/UI/Components/Forms/GeneratedKeyField.test.tsx +527 -0
- package/Tests/UI/Components/Forms/GeneratedKeyFieldDarkMode.test.ts +157 -0
- package/Tests/UI/Components/Forms/GeneratedKeyFieldI18n.test.ts +182 -0
- package/Tests/UI/Components/Forms/GeneratedKeyGuard.test.ts +386 -0
- package/Tests/UI/Components/Forms/LabelsFormFieldGuard.test.ts +1237 -0
- package/Tests/UI/Components/Forms/LongFormStepsGuard.test.ts +307 -4
- package/Tests/UI/Components/Forms/MarkdownFormsAreWide.test.ts +458 -0
- package/Tests/UI/Components/Forms/ModelFormCreateDefaults.test.tsx +584 -0
- package/Tests/UI/Components/Forms/ModelFormDropdownOptionsRefused.test.tsx +3 -2
- package/Tests/UI/Components/Forms/ModelFormModalFormRef.test.tsx +188 -0
- package/Tests/UI/Components/Forms/ModelFormOnBeforeUpdate.test.tsx +332 -0
- package/Tests/UI/Components/Forms/ModelFormPeoplePicker.test.tsx +452 -0
- package/Tests/UI/Components/Forms/ModelFormRuleCriteria.test.tsx +205 -2
- package/Tests/UI/Components/Forms/ModelFormStateDropdownColors.test.tsx +558 -0
- package/Tests/UI/Components/Forms/OverloadedFormStepsGuard.test.ts +88 -32
- package/Tests/UI/Components/Forms/SteppedFormFooterTiming.test.tsx +193 -0
- package/Tests/UI/Components/Forms/Utils/AdvancedFormSection.test.ts +401 -0
- package/Tests/UI/Components/Forms/Utils/CreateFormDefaults.test.ts +246 -0
- package/Tests/UI/Components/Forms/Utils/FormFieldSchemaTypeUtil.test.ts +10 -1
- package/Tests/UI/Components/Icon.test.tsx +51 -3
- package/Tests/UI/Components/InputPasswordManagers.test.tsx +189 -0
- package/Tests/UI/Components/List.test.tsx +136 -3
- package/Tests/UI/Components/ListDragAndDrop.test.tsx +203 -0
- package/Tests/UI/Components/LogsViewerResultTotal.test.tsx +532 -0
- package/Tests/UI/Components/MarkdownEditor.test.tsx +3 -3
- package/Tests/UI/Components/MarkdownEditorToolbar.test.tsx +693 -0
- package/Tests/UI/Components/MarkdownEditorToolbarDarkMode.test.ts +287 -0
- package/Tests/UI/Components/MarkdownToolbarLayout.test.ts +366 -0
- package/Tests/UI/Components/MarkdownViewerCopy.test.tsx +40 -1
- package/Tests/UI/Components/MasterPageExtensionEvents.test.tsx +236 -0
- package/Tests/UI/Components/MenuItemIcons.tsx +152 -0
- package/Tests/UI/Components/ModelListEmptyState.test.tsx +107 -14
- package/Tests/UI/Components/ModelTable/BaseModelTableBulkDelete.test.tsx +3 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableBulkSelectAll.test.tsx +2 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableColumnCustomization.test.tsx +2 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableCreateButtonTitle.test.tsx +78 -6
- package/Tests/UI/Components/ModelTable/BaseModelTableDeleteAndEmptyStates.test.tsx +5 -4
- package/Tests/UI/Components/ModelTable/BaseModelTableDeleteLock.test.tsx +425 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableDeleteNames.test.tsx +2 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableDragReorder.test.tsx +661 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableEmptyStateAction.test.tsx +432 -92
- package/Tests/UI/Components/ModelTable/BaseModelTableFilterModalRows.test.tsx +286 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableMenuIcons.test.tsx +682 -0
- package/Tests/UI/Components/ModelTable/BaseModelTablePermissionGating.test.tsx +2 -0
- package/Tests/UI/Components/ModelTable/BaseModelTableRowActions.test.tsx +4 -0
- package/Tests/UI/Components/ModelTable/ColumnCustomizationModal.test.tsx +2 -1
- package/Tests/UI/Components/ModelTable/FeedMoreMenuMatchesTable.test.tsx +321 -0
- package/Tests/UI/Components/ModelTable/ModelTableEmptyState.test.ts +741 -0
- package/Tests/UI/Components/ModelTable/ModelTableWrapContent.test.tsx +2 -0
- package/Tests/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.test.ts +70 -0
- package/Tests/UI/Components/MoreMenuCheckedItems.test.tsx +307 -0
- package/Tests/UI/Components/MoreMenuItemColor.test.tsx +187 -0
- package/Tests/UI/Components/MoreMenuPortal.test.tsx +3 -0
- package/Tests/UI/Components/NavBar.test.tsx +108 -1
- package/Tests/UI/Components/NavBarCategoryToggleDarkMode.test.ts +176 -0
- package/Tests/UI/Components/NavBarMenuCatalog.test.tsx +486 -0
- package/Tests/UI/Components/NavBarMenuFolding.test.tsx +757 -0
- package/Tests/UI/Components/NavBarMenuSearch.test.tsx +290 -213
- package/Tests/UI/Components/ObjectID/ObjectIDView.test.tsx +191 -0
- package/Tests/UI/Components/Pagination.test.tsx +1038 -1
- package/Tests/UI/Components/PaginationIntegration.test.tsx +120 -3
- package/Tests/UI/Components/PaginationSummary.test.ts +300 -0
- package/Tests/UI/Components/PaginationTranslation.test.tsx +310 -0
- package/Tests/UI/Components/PeoplePicker/OwnersFieldGuard.test.ts +420 -0
- package/Tests/UI/Components/PeoplePicker/OwnersFormField.test.ts +167 -0
- package/Tests/UI/Components/PeoplePicker/PeopleListAndAvatar.test.tsx +306 -0
- package/Tests/UI/Components/PeoplePicker/PeoplePicker.test.tsx +702 -0
- package/Tests/UI/Components/PeoplePicker/PeoplePickerKinds.test.ts +453 -0
- package/Tests/UI/Components/PeoplePicker/PeoplePickerOnCallScheduleKind.test.ts +371 -0
- package/Tests/UI/Components/PeoplePicker/PeoplePickerTypes.test.ts +251 -0
- package/Tests/UI/Components/Pill.test.tsx +128 -0
- package/Tests/UI/Components/PublicFormFields.test.ts +321 -0
- package/Tests/UI/Components/ResetObjectID.test.tsx +6 -6
- package/Tests/UI/Components/RowActionsLockedForRow.test.tsx +316 -0
- package/Tests/UI/Components/RuleCriteria/RuleCriteriaBuilder.test.tsx +900 -270
- package/Tests/UI/Components/RuleCriteria/RuleCriteriaBuilderDarkMode.test.ts +220 -0
- package/Tests/UI/Components/RuleCriteria/RuleCriteriaBuilderI18n.test.ts +259 -0
- package/Tests/UI/Components/RuleCriteria/RuleCriteriaBuilderTranslation.test.tsx +182 -0
- package/Tests/UI/Components/RuleCriteria/RuleCriteriaFields.test.ts +906 -0
- package/Tests/UI/Components/RuleCriteria/RuleCriteriaModelTable.test.tsx +181 -7
- package/Tests/UI/Components/RuleCriteria/RuleCriteriaNamesGuard.test.ts +391 -0
- package/Tests/UI/Components/RuleRun/RuleDetailFields.test.tsx +113 -31
- package/Tests/UI/Components/RuleRun/RuleEnabledField.test.ts +100 -0
- package/Tests/UI/Components/RuleRun/RuleTable.test.tsx +29 -0
- package/Tests/UI/Components/RuleRun/RuleTableCreateForm.test.tsx +308 -0
- package/Tests/UI/Components/SharedComponentsInLocale.test.tsx +286 -0
- package/Tests/UI/Components/SharedComponentsOwnWordsInLocale.test.tsx +487 -0
- package/Tests/UI/Components/SideMenuSection.test.tsx +75 -3
- package/Tests/UI/Components/SideMenuSectionState.test.tsx +99 -5
- package/Tests/UI/Components/SideOverSpacing.test.tsx +219 -0
- package/Tests/UI/Components/SrOnlyForeignRule.test.tsx +5 -23
- package/Tests/UI/Components/StateTimeline/CurrentlyActiveIndicator.test.tsx +227 -0
- package/Tests/UI/Components/StateTimeline/StateTimelineColumns.test.tsx +535 -0
- package/Tests/UI/Components/StateTimeline/StateTimelineDuration.test.tsx +236 -0
- package/Tests/UI/Components/StateTimeline/StateTimelineEndsAt.test.tsx +133 -0
- package/Tests/UI/Components/SteppedEditFormSave.test.tsx +100 -5
- package/Tests/UI/Components/Table/EmptyTableMessage.test.ts +422 -0
- package/Tests/UI/Components/Table/TableDragAndDrop.test.tsx +575 -0
- package/Tests/UI/Components/Table/TableEmptyState.test.tsx +300 -62
- package/Tests/UI/Components/Table/TableEmptyStateBuilders.test.ts +239 -0
- package/Tests/UI/Components/Table/TableEmptyStateComponent.test.tsx +492 -0
- package/Tests/UI/Components/Table/TableEmptyStateDarkMode.test.ts +239 -0
- package/Tests/UI/Components/TableBulkCsvExport.test.tsx +2 -0
- package/Tests/UI/Components/TableColumnList.test.tsx +108 -0
- package/Tests/UI/Components/TableLoadingStates.test.tsx +2 -0
- package/Tests/UI/Components/TableRowActions.test.tsx +6 -42
- package/Tests/UI/Components/TableRowSelectability.test.tsx +2 -0
- package/Tests/UI/Components/TelemetryViewer/TelemetryViewerResultTotal.test.tsx +371 -0
- package/Tests/UI/Components/TemplateVariables/InsertTemplateVariableButton.test.tsx +353 -0
- package/Tests/UI/Components/TemplateVariables/MarkdownConvertersTemplateVariables.test.ts +121 -0
- package/Tests/UI/Components/TemplateVariables/MarkdownEditorTemplateVariables.test.tsx +634 -0
- package/Tests/UI/Components/TemplateVariables/TemplateVariableMenu.test.tsx +371 -0
- package/Tests/UI/Components/TemplateVariables/TemplateVariableTextControl.test.tsx +438 -0
- package/Tests/UI/Components/TemplateVariables/TemplateVariablesList.test.tsx +352 -0
- package/Tests/UI/Components/TemplateVariables/TextControlUtil.test.tsx +206 -0
- package/Tests/UI/Components/Toggle.test.tsx +185 -30
- package/Tests/UI/Components/ToggleMatchesProduct.test.tsx +251 -0
- package/Tests/UI/Components/ToggleUsageGuard.test.ts +1 -1
- package/Tests/UI/Components/Workflow/ComponentPicker/ComponentPickerBottomSpacing.test.tsx +293 -0
- package/Tests/UI/Components/Workflow/RunModalSpacing.test.tsx +171 -0
- package/Tests/UI/Components/Workflow/WorkflowBuilderInLocale.test.tsx +719 -0
- package/Tests/UI/Components/Workflow/WorkflowSentencesInLocale.test.ts +444 -0
- package/Tests/UI/Components/useFeedOptions.test.tsx +1 -1
- package/Tests/UI/DeleteConfirmationNamesGuard.test.ts +64 -3
- package/Tests/UI/EsbuildConfig.test.ts +39 -0
- package/Tests/UI/EsbuildLocales.test.ts +1430 -0
- package/Tests/UI/ForeignHiddenRuleGuard.test.ts +5 -5
- package/Tests/UI/HookOrderGuard.test.ts +375 -0
- package/Tests/UI/Monitor/MonitorStepRetrySettings.test.tsx +0 -1
- package/Tests/UI/Monitor/MonitorSummaryResponseGoesMissing.test.tsx +147 -0
- package/Tests/UI/Rum/ChunkLoader.test.ts +441 -0
- package/Tests/UI/Rum/InactivityMap.test.ts +582 -1
- package/Tests/UI/Rum/ReplayEngine.test.ts +433 -0
- package/Tests/UI/Rum/ReplayPlaybackIntent.test.ts +27 -0
- package/Tests/UI/Rum/ReplayRail.test.tsx +106 -0
- package/Tests/UI/Rum/ReplayRailDetail.test.tsx +85 -0
- package/Tests/UI/Rum/ReplaySignals.test.ts +115 -0
- package/Tests/UI/Rum/ReplayStageOverlays.test.tsx +151 -0
- package/Tests/UI/Rum/ReplayTimeline.test.tsx +129 -0
- package/Tests/UI/Rum/ReplayUi.test.tsx +150 -1
- package/Tests/UI/Rum/SessionReplayUsersTable.test.tsx +7 -4
- package/Tests/UI/Styles/PaginationDarkTheme.test.tsx +274 -0
- package/Tests/UI/Styles/PillDarkTheme.test.tsx +22 -0
- package/Tests/UI/Styles/ToggleTheme.test.ts +425 -191
- package/Tests/UI/Styles/TopLayerBackdrop.test.ts +734 -0
- package/Tests/UI/Styles/TopLayerBackdropGuard.ts +789 -0
- package/Tests/UI/Utils/AnalyticsModelAPICountExact.test.ts +139 -0
- package/Tests/UI/Utils/Breadcrumb/fixtures/RealBreadcrumbTrails.ts +1 -37
- package/Tests/UI/Utils/Breadcrumb/fixtures/RealRoutePatterns.ts +3 -9
- package/Tests/UI/Utils/DropdownOptionColors.test.ts +398 -0
- package/Tests/UI/Utils/ForeignDomMutationGuard.test.tsx +711 -0
- package/Tests/UI/Utils/GlobalTranslation.test.ts +222 -0
- package/Tests/UI/Utils/GrantablePermission.test.ts +610 -0
- package/Tests/UI/Utils/Telemetry/ResultTotal.test.ts +234 -0
- package/Tests/UI/Utils/Telemetry/UseResultTotal.test.tsx +616 -0
- package/Tests/UI/Utils/Translator.test.ts +502 -0
- package/Tests/UI/Utils/UseClockTick.test.tsx +137 -2
- package/Tests/UI/Utils/UseLiveDuration.test.tsx +625 -0
- package/Tests/Utils/ColorContrast.test.ts +108 -0
- package/Tests/Utils/DeveloperDocs/AiAssistantExamples.test.ts +14 -0
- package/Tests/Utils/DeveloperDocs/ApiExamples.test.ts +10 -117
- package/Tests/Utils/DeveloperDocs/DeveloperDocsLiveFixture.ts +114 -0
- package/Tests/Utils/DeveloperDocs/ExampleBuilder.test.ts +851 -0
- package/Tests/Utils/DeveloperDocs/ExampleValues.test.ts +101 -0
- package/Tests/Utils/DeveloperDocs/Hcl.test.ts +204 -0
- package/Tests/Utils/DeveloperDocs/LiveData.test.ts +273 -0
- package/Tests/Utils/DeveloperDocs/PageLookups.test.ts +297 -0
- package/Tests/Utils/DeveloperDocs/ResourceProfiles.test.ts +582 -0
- package/Tests/Utils/DeveloperDocs/TerraformConfig.test.ts +216 -22
- package/Tests/Utils/DeveloperDocs/TerraformSchema.test.ts +94 -0
- package/Tests/Utils/Email/EmailColorUtil.test.ts +356 -0
- package/Tests/Utils/Episode/EpisodeTemplateVariables.test.ts +106 -0
- package/Tests/Utils/Incident/IncidentNoteTemplateVariables.test.ts +143 -21
- package/Tests/Utils/KeyFromName.test.ts +442 -0
- package/Tests/Utils/ListOrder.test.ts +889 -0
- package/Tests/Utils/Markdown/UntrustedMarkdown.test.ts +4 -6
- package/Tests/Utils/Measurement/MeasurementMoments.test.ts +531 -0
- package/Tests/Utils/Project/NumberPrefix.test.ts +452 -0
- package/Tests/Utils/StateOrder.test.ts +850 -0
- package/Types/CustomField/CustomFieldCreateSettings.ts +15 -123
- package/Types/CustomField/CustomFieldValueFormat.ts +3 -2
- package/Types/CustomField/CustomFieldVariableKey.ts +140 -111
- package/Types/Database/ListOrderColumn.ts +61 -0
- package/Types/Form/FormField.ts +1193 -0
- package/Types/{Incident/IncidentFormIpAllowlist.ts → Form/FormIpAllowlist.ts} +50 -50
- package/Types/Form/FormPublic.ts +1321 -0
- package/Types/Form/FormSubmissionAnswer.ts +159 -0
- package/Types/Form/FormTargetCatalog.ts +299 -0
- package/Types/Form/FormTargetSettings.ts +450 -0
- package/Types/Form/FormTargetType.ts +86 -0
- package/Types/Form/LegacyIncidentFormConversion.ts +249 -0
- package/Types/Measurement/MeasurementKey.ts +107 -0
- package/Types/Measurement/MeasurementUnit.ts +97 -0
- package/Types/Metrics/RecordingRuleOutputMetricName.ts +73 -0
- package/Types/Monitor/MonitorCriteria.ts +27 -0
- package/Types/Monitor/MonitorCriteriaInstance.ts +213 -28
- package/Types/Monitor/MonitorStep.ts +2 -0
- package/Types/Monitor/MonitorSteps.ts +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationSeverityMapper.ts +6 -3
- package/Types/OnCallDutyPolicy/EscalationRuleDefaults.ts +147 -0
- package/Types/OnCallDutyPolicy/FirstResponders.ts +161 -0
- package/Types/Permission.ts +41 -35
- package/Types/Rules/RuleCriteriaFieldRegistry.ts +46 -1
- package/Types/Rum/SessionReplay.ts +25 -0
- package/Types/Rum/SessionReplayCustomEvents.ts +60 -0
- package/Types/Runbook/RunbookRuleCriteria.ts +206 -0
- package/Types/ScheduledMaintenance/MaintenanceWindow.ts +167 -0
- package/Types/StatusPage/IncidentSubscriberAudience.ts +4 -3
- package/Types/StatusPage/SubscriberNotificationTemplatePreview.ts +8 -2
- package/Types/StatusPage/SubscriberNotificationTemplateVariables.ts +68 -27
- package/Types/Template/TemplateVariable.ts +297 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.ts +27 -56
- package/UI/Components/404.tsx +8 -2
- package/UI/Components/AI/GenerateFromAIModal.tsx +11 -6
- package/UI/Components/AIAgent/AIAgent.tsx +8 -2
- package/UI/Components/ActionButton/ActionButtonSchema.ts +17 -1
- package/UI/Components/ActionButton/RowActions.tsx +34 -19
- package/UI/Components/ActionButton/SplitActionButtons.ts +36 -3
- package/UI/Components/ActionCard/ActionCard.tsx +14 -2
- package/UI/Components/AdvancedPageSection/AdvancedPageSection.tsx +82 -0
- package/UI/Components/AttachmentList/EventAttachmentList.tsx +8 -4
- package/UI/Components/AttributesJSON/AttributesJSONPreferences.ts +5 -4
- package/UI/Components/AttributesJSON/AttributesJSONView.tsx +18 -4
- package/UI/Components/AttributesJSON/AttributesViewToggle.tsx +12 -3
- package/UI/Components/AttributesJSON/CopyAttributesAsJSONButton.tsx +76 -23
- package/UI/Components/AutocompleteTextInput/AutocompleteTextInput.tsx +7 -2
- package/UI/Components/Breadcrumbs/Breadcrumbs.tsx +1 -1
- package/UI/Components/BulkUpdate/BulkOwnerActions.tsx +55 -150
- package/UI/Components/BulkUpdate/BulkUpdateForm.tsx +94 -30
- package/UI/Components/Button/Button.tsx +1 -1
- package/UI/Components/Button/DropdownButton.tsx +1 -1
- package/UI/Components/CSVFileUpload/CSVFileUpload.tsx +88 -20
- package/UI/Components/Captcha/Captcha.tsx +4 -1
- package/UI/Components/Card/CardMoreMenu.tsx +30 -0
- package/UI/Components/CardSelect/CardSelect.tsx +51 -17
- package/UI/Components/Charts/ChartGroup/ChartGroup.tsx +13 -8
- package/UI/Components/Charts/ChartGroup/NoDataMessage.tsx +5 -1
- package/UI/Components/Charts/ChartLibrary/Annotations/AnnotationHoverCard.tsx +9 -1
- package/UI/Components/Charts/ChartLibrary/Annotations/ChartAnnotationLayer.tsx +26 -5
- package/UI/Components/Charts/ChartLibrary/AreaChart/AreaChart.tsx +11 -1
- package/UI/Components/Charts/ChartLibrary/BarChart/BarChart.tsx +11 -1
- package/UI/Components/Charts/ChartLibrary/LineChart/LineChart.tsx +11 -1
- package/UI/Components/Charts/TimeRangeZoom/ResetTimeRangeZoomButton.tsx +12 -4
- package/UI/Components/Checkbox/Checkbox.tsx +6 -4
- package/UI/Components/CodeBlock/CodeBlock.tsx +9 -2
- package/UI/Components/CodeEditor/CodeEditor.tsx +82 -29
- package/UI/Components/CollapsibleSection/CollapsibleSection.tsx +38 -4
- package/UI/Components/ColorViewer/ColorViewer.tsx +13 -2
- package/UI/Components/CopyTextButton/CopyTextButton.tsx +7 -3
- package/UI/Components/CopyableButton/CopyableButton.tsx +7 -4
- package/UI/Components/CustomFields/CustomFieldsDetail.tsx +10 -1
- package/UI/Components/CustomFields/DropdownOptionsInput.tsx +22 -3
- package/UI/Components/CustomFields/MapFromCustomFieldInput.tsx +137 -25
- package/UI/Components/Dashboard/DashboardVariableControl.tsx +27 -6
- package/UI/Components/Date/CustomTimeRangeModal.tsx +17 -13
- package/UI/Components/Date/RangeStartAndEndDateEdit.tsx +36 -16
- package/UI/Components/Date/RangeStartAndEndDateView.tsx +9 -1
- package/UI/Components/Date/StartAndEndDate.tsx +9 -2
- package/UI/Components/Date/TimeRangePickerDropdown.tsx +21 -9
- package/UI/Components/DeleteConfirmation/DeleteConfirmationMessage.tsx +50 -9
- package/UI/Components/Detail/BooleanValue.tsx +45 -0
- package/UI/Components/Detail/Detail.tsx +122 -55
- package/UI/Components/Detail/DetailIdLine.tsx +229 -0
- package/UI/Components/Detail/DetailRecordId.ts +96 -0
- package/UI/Components/Detail/Field.ts +10 -0
- package/UI/Components/Detail/PlaceholderText.tsx +22 -1
- package/UI/Components/Dictionary/Dictionary.tsx +11 -1
- package/UI/Components/Dictionary/DictionaryOfStingsViewer.tsx +9 -2
- package/UI/Components/Dropdown/Dropdown.tsx +6 -3
- package/UI/Components/DuplicateModel/DuplicateModel.tsx +31 -6
- package/UI/Components/EditionLabel/EditionLabel.tsx +333 -191
- package/UI/Components/EntityDropdown/EntityDropdown.tsx +65 -32
- package/UI/Components/ErrorBoundary.tsx +40 -21
- package/UI/Components/ErrorMessage/ErrorMessage.tsx +1 -1
- package/UI/Components/EventItem/EventItem.tsx +14 -4
- package/UI/Components/Events/RecurringViewElement.tsx +24 -3
- package/UI/Components/ExpandableText/ExpandableText.tsx +6 -1
- package/UI/Components/Feed/FeedActionsMenu.tsx +49 -0
- package/UI/Components/Feed/FeedCard.tsx +156 -0
- package/UI/Components/Feed/FeedEventTypeChecklist.tsx +239 -0
- package/UI/Components/Feed/FeedFilterModal.tsx +54 -0
- package/UI/Components/Feed/FeedFilterSummary.tsx +114 -0
- package/UI/Components/Feed/FeedItem.tsx +5 -1
- package/UI/Components/Feed/FeedMoreMenu.tsx +100 -0
- package/UI/Components/Feed/FeedOptions.ts +44 -114
- package/UI/Components/FilePicker/FilePicker.tsx +60 -44
- package/UI/Components/FilterButtons/FilterButtons.tsx +6 -2
- package/UI/Components/Filters/AppliedFilters.tsx +90 -0
- package/UI/Components/Filters/BooleanFilter.tsx +5 -1
- package/UI/Components/Filters/DateFilter.tsx +33 -6
- package/UI/Components/Filters/DropdownFilter.tsx +5 -1
- package/UI/Components/Filters/EntityFilter.tsx +55 -18
- package/UI/Components/Filters/FilterPlaceholder.ts +21 -0
- package/UI/Components/Filters/FilterViewer.tsx +205 -143
- package/UI/Components/Filters/FiltersForm.tsx +19 -4
- package/UI/Components/Filters/NumberFilter.tsx +34 -11
- package/UI/Components/Filters/TextFilter.tsx +29 -10
- package/UI/Components/FormModal/BasicFormModal.tsx +69 -6
- package/UI/Components/Forms/BasicForm.tsx +206 -20
- package/UI/Components/Forms/BasicModelForm.tsx +2 -0
- package/UI/Components/Forms/CollapsibleFormSection.tsx +32 -3
- package/UI/Components/Forms/Fields/ColorPicker.tsx +6 -3
- package/UI/Components/Forms/Fields/FormField.tsx +282 -136
- package/UI/Components/Forms/Fields/GeneratedKeyField.tsx +336 -0
- package/UI/Components/Forms/Fields/IconPicker.tsx +7 -4
- package/UI/Components/Forms/Fields/PermissionPicker.tsx +11 -4
- package/UI/Components/Forms/FormSummary.tsx +161 -15
- package/UI/Components/Forms/ModelForm.tsx +186 -14
- package/UI/Components/Forms/Steps/Steps.tsx +4 -1
- package/UI/Components/Forms/Types/Field.ts +110 -1
- package/UI/Components/Forms/Types/FormFieldSchemaType.ts +5 -0
- package/UI/Components/Forms/Utils/AdvancedFormSection.ts +262 -0
- package/UI/Components/Forms/Utils/CreateFormDefaults.ts +192 -0
- package/UI/Components/Forms/Utils/FinishFromAnyStep.ts +284 -0
- package/UI/Components/Forms/Utils/FormFieldSchemaTypeUtil.ts +2 -0
- package/UI/Components/Forms/Utils/FormModalWidth.ts +63 -0
- package/UI/Components/Forms/Validation.ts +84 -46
- package/UI/Components/FullPageModal/FullPageModal.tsx +4 -1
- package/UI/Components/Graphs/UptimeBarTooltip.tsx +10 -2
- package/UI/Components/Header/Notifications/Notifications.tsx +7 -4
- package/UI/Components/Header/ProjectPicker/CreateNewProjectButton.tsx +5 -1
- package/UI/Components/Header/ProjectPicker/ProjectPickerFilterBox.tsx +7 -1
- package/UI/Components/Header/SearchBox.tsx +5 -1
- package/UI/Components/HeaderAlert/HeaderModelAlert.tsx +6 -1
- package/UI/Components/HeaderAlert/NotificationBell/NotificationBell.tsx +6 -1
- package/UI/Components/HeaderAlert/NotificationBell/NotificationBellDropdown.tsx +5 -2
- package/UI/Components/HeaderAlert/NotificationBell/NotificationBellSection.tsx +4 -1
- package/UI/Components/HiddenText/HiddenText.tsx +4 -1
- package/UI/Components/Icon/Icon.tsx +7 -4
- package/UI/Components/ImportExport/ExportModelCard.tsx +21 -3
- package/UI/Components/ImportExport/ImportModelsModal.tsx +61 -13
- package/UI/Components/Input/Input.tsx +40 -2
- package/UI/Components/IpAddressList/IpAddressList.tsx +12 -4
- package/UI/Components/JSONTable/JSONTable.tsx +19 -5
- package/UI/Components/LabelRule/ImportLabelRulesModal.tsx +90 -28
- package/UI/Components/Link/Link.tsx +6 -3
- package/UI/Components/List/List.tsx +152 -19
- package/UI/Components/List/ListBody.tsx +15 -1
- package/UI/Components/List/ListRow.tsx +32 -19
- package/UI/Components/List/ListSkeleton.tsx +4 -1
- package/UI/Components/Loader/Loader.tsx +12 -4
- package/UI/Components/LogsViewer/LogsViewer.tsx +60 -3
- package/UI/Components/LogsViewer/components/ActiveFilterChips.tsx +16 -4
- package/UI/Components/LogsViewer/components/ColumnSelector.tsx +32 -17
- package/UI/Components/LogsViewer/components/FacetValueRow.tsx +13 -7
- package/UI/Components/LogsViewer/components/HistogramTooltip.tsx +6 -1
- package/UI/Components/LogsViewer/components/KeyboardShortcutsHelp.tsx +18 -7
- package/UI/Components/LogsViewer/components/LiveLogsToggle.tsx +4 -1
- package/UI/Components/LogsViewer/components/LogDetailsPanel.tsx +43 -23
- package/UI/Components/LogsViewer/components/LogSearchBar.tsx +11 -3
- package/UI/Components/LogsViewer/components/LogSearchHelp.tsx +24 -14
- package/UI/Components/LogsViewer/components/LogSearchSuggestions.tsx +10 -2
- package/UI/Components/LogsViewer/components/LogsAnalyticsView.tsx +19 -5
- package/UI/Components/LogsViewer/components/LogsFacetSidebar.tsx +4 -1
- package/UI/Components/LogsViewer/components/LogsHistogram.tsx +13 -6
- package/UI/Components/LogsViewer/components/LogsPagination.tsx +10 -0
- package/UI/Components/LogsViewer/components/LogsTable.tsx +44 -16
- package/UI/Components/LogsViewer/components/LogsViewerToolbar.tsx +65 -20
- package/UI/Components/LogsViewer/components/SavedViewsDropdown.tsx +18 -11
- package/UI/Components/Markdown.tsx/LazyMarkdownViewer.tsx +7 -1
- package/UI/Components/Markdown.tsx/MarkdownConverters.ts +18 -0
- package/UI/Components/Markdown.tsx/MarkdownEditor.tsx +1072 -249
- package/UI/Components/Markdown.tsx/MarkdownToolbarLayout.ts +260 -0
- package/UI/Components/Markdown.tsx/MarkdownViewer.tsx +37 -8
- package/UI/Components/MasterPage/MasterPage.tsx +4 -1
- package/UI/Components/MemberRoleAssignment/MemberRoleAssignment.tsx +56 -23
- package/UI/Components/ModelDelete/ModelDelete.tsx +22 -4
- package/UI/Components/ModelDetail/CardModelDetail.tsx +26 -3
- package/UI/Components/ModelDetail/ModelDetail.tsx +17 -6
- package/UI/Components/ModelFormModal/ModelFormModal.tsx +51 -14
- package/UI/Components/ModelList/ModelList.tsx +93 -11
- package/UI/Components/ModelList/StaticModelList.tsx +24 -10
- package/UI/Components/ModelTable/BaseModelTable.tsx +715 -338
- package/UI/Components/ModelTable/ColumnCustomizationModal.tsx +73 -29
- package/UI/Components/ModelTable/CustomFieldColumns.tsx +2 -1
- package/UI/Components/ModelTable/EmptyStateOptions.ts +47 -0
- package/UI/Components/ModelTable/ModelTable.tsx +40 -10
- package/UI/Components/ModelTable/ModelTableEmptyState.ts +337 -0
- package/UI/Components/ModelTable/TableView.tsx +13 -6
- package/UI/Components/Monitor/SeriesLabelsViewer.tsx +4 -1
- package/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.ts +39 -1
- package/UI/Components/MonitorTemplateVariables/TemplateVariablesModal.tsx +63 -20
- package/UI/Components/MoreMenu/MoreMenu.tsx +27 -11
- package/UI/Components/MoreMenu/MoreMenuItem.tsx +63 -5
- package/UI/Components/Navbar/NavBar.tsx +25 -29
- package/UI/Components/Navbar/NavBarCategoryToggle.tsx +120 -0
- package/UI/Components/Navbar/NavBarMenuCatalog.ts +250 -0
- package/UI/Components/Navbar/NavBarMenuModal.tsx +391 -162
- package/UI/Components/Navbar/NavBarMobileMenu.tsx +140 -0
- package/UI/Components/ObjectID/ObjectIDView.tsx +54 -4
- package/UI/Components/OsVersionDisplay/OsVersionDisplay.tsx +8 -1
- package/UI/Components/Page/ModelPage.tsx +11 -5
- package/UI/Components/Page/Page.tsx +1 -1
- package/UI/Components/Pagination/Pagination.tsx +257 -112
- package/UI/Components/Pagination/PaginationCopy.ts +71 -0
- package/UI/Components/Pagination/PaginationSummary.ts +113 -0
- package/UI/Components/Pagination/Screenshots/README.md +11 -9
- package/UI/Components/Pagination/Screenshots/pagination-before-after.png +0 -0
- package/UI/Components/Pagination/Screenshots/pagination-dark.png +0 -0
- package/UI/Components/Pagination/Screenshots/pagination-go-to-page-modal.png +0 -0
- package/UI/Components/Pagination/Screenshots/pagination-long-list.png +0 -0
- package/UI/Components/Pagination/Screenshots/pagination-mobile.png +0 -0
- package/UI/Components/Pagination/Screenshots/pagination-telemetry.png +0 -0
- package/UI/Components/PeoplePicker/OwnersFormField.ts +95 -0
- package/UI/Components/PeoplePicker/OwnersPicker.tsx +74 -0
- package/UI/Components/PeoplePicker/PeopleAvatar.tsx +213 -0
- package/UI/Components/PeoplePicker/PeopleList.tsx +198 -0
- package/UI/Components/PeoplePicker/PeoplePicker.tsx +242 -0
- package/UI/Components/PeoplePicker/PeoplePickerKinds.ts +599 -0
- package/UI/Components/PeoplePicker/PeoplePickerTypes.ts +244 -0
- package/UI/Components/PeoplePicker/PeopleSearchPopup.tsx +537 -0
- package/UI/Components/PeoplePicker/usePeopleOptions.ts +264 -0
- package/UI/Components/Pill/Pill.tsx +35 -2
- package/UI/Components/Pill/PillColors.ts +22 -261
- package/UI/Components/Probe/Probe.tsx +5 -2
- package/UI/Components/ProgressBar/ProgressBar.tsx +17 -2
- package/UI/Components/ProgressButtons/ProgressButtons.tsx +8 -1
- package/UI/Components/ProjectInvitations/PendingProjectInvitations.tsx +49 -15
- package/UI/Components/PublicForm/PublicFormFields.ts +359 -0
- package/UI/Components/ResetObjectID/ResetObjectID.tsx +31 -4
- package/UI/Components/RuleCriteria/RuleCriteriaBuilder.tsx +500 -574
- package/UI/Components/RuleCriteria/RuleCriteriaFields.ts +895 -0
- package/UI/Components/RuleCriteria/RuleCriteriaModelForm.tsx +45 -7
- package/UI/Components/RuleCriteria/RuleCriteriaModelTable.tsx +105 -12
- package/UI/Components/RuleCriteria/RuleCriteriaSummary.tsx +34 -30
- package/UI/Components/RuleRun/RuleDetailFields.tsx +90 -2
- package/UI/Components/RuleRun/RuleEnabledField.ts +51 -0
- package/UI/Components/RuleRun/RuleTable.tsx +13 -1
- package/UI/Components/RuleRun/RuleView.tsx +22 -4
- package/UI/Components/RuleRun/RunRuleNowModal.tsx +11 -1
- package/UI/Components/Runbook/StepTimeoutInput.tsx +22 -11
- package/UI/Components/SavedViews/SavedViewsFacetSection.tsx +28 -10
- package/UI/Components/SavedViews/SavedViewsSearchInput.tsx +6 -2
- package/UI/Components/SavedViews/SavedViewsShowMoreButton.tsx +9 -1
- package/UI/Components/SideMenu/SideMenu.tsx +4 -6
- package/UI/Components/SideMenu/SideMenuSection.tsx +5 -3
- package/UI/Components/SideMenu/SideMenuSectionState.ts +52 -9
- package/UI/Components/SideOver/SideOver.tsx +24 -6
- package/UI/Components/SimpleLogViewer/SimpleLogViewer.tsx +4 -1
- package/UI/Components/StackedProgressBar/StackedProgressBar.tsx +4 -1
- package/UI/Components/StateTimeline/CurrentlyActiveIndicator.tsx +48 -0
- package/UI/Components/StateTimeline/StateTimelineColumns.tsx +134 -0
- package/UI/Components/StateTimeline/StateTimelineDuration.tsx +56 -0
- package/UI/Components/StateTimeline/StateTimelineEndsAt.tsx +37 -0
- package/UI/Components/StatusBadge/StatusBadge.tsx +3 -1
- package/UI/Components/StatusBubble/StatusBubble.tsx +8 -2
- package/UI/Components/StatusPage/ResourceGrid.tsx +55 -16
- package/UI/Components/StatusPage/ResourceGroupNavigator.tsx +67 -22
- package/UI/Components/StatusPage/ResourceList.tsx +46 -18
- package/UI/Components/Table/DragHandle.tsx +74 -0
- package/UI/Components/Table/EmptyTableMessage.ts +272 -34
- package/UI/Components/Table/Table.tsx +248 -68
- package/UI/Components/Table/TableBody.tsx +43 -2
- package/UI/Components/Table/TableEmptyState.tsx +250 -0
- package/UI/Components/Table/TableEmptyStateBuilders.ts +187 -0
- package/UI/Components/Table/TableRow.tsx +107 -32
- package/UI/Components/Table/TableSkeletonRows.tsx +9 -2
- package/UI/Components/TableColumnList/TableColumnListComponent.tsx +13 -3
- package/UI/Components/Tabs/Tabs.tsx +4 -1
- package/UI/Components/TelemetryViewer/FacetVisibility.ts +44 -9
- package/UI/Components/TelemetryViewer/TelemetryViewer.tsx +79 -10
- package/UI/Components/TelemetryViewer/components/FacetSearchInput.tsx +11 -4
- package/UI/Components/TelemetryViewer/components/FacetShowMoreButton.tsx +9 -1
- package/UI/Components/TelemetryViewer/components/HiddenFacetsFooter.tsx +15 -7
- package/UI/Components/TelemetryViewer/components/LockedFilterChip.tsx +99 -33
- package/UI/Components/TelemetryViewer/components/SavedViewsDropdown.tsx +18 -11
- package/UI/Components/TelemetryViewer/components/TelemetryActiveFilterChips.tsx +9 -3
- package/UI/Components/TelemetryViewer/components/TelemetryDetailPanel.tsx +6 -3
- package/UI/Components/TelemetryViewer/components/TelemetryFacetSidebar.tsx +4 -1
- package/UI/Components/TelemetryViewer/components/TelemetryFacetValueRow.tsx +13 -7
- package/UI/Components/TelemetryViewer/components/TelemetryHistogram.tsx +15 -8
- package/UI/Components/TelemetryViewer/components/TelemetryHistogramTooltip.tsx +6 -1
- package/UI/Components/TelemetryViewer/components/TelemetryItemLabel.ts +18 -0
- package/UI/Components/TelemetryViewer/components/TelemetryPagination.tsx +17 -11
- package/UI/Components/TelemetryViewer/components/TelemetryResultTotal.tsx +132 -0
- package/UI/Components/TelemetryViewer/components/TelemetrySearchBar.tsx +9 -4
- package/UI/Components/TelemetryViewer/components/TelemetrySearchHelp.tsx +30 -17
- package/UI/Components/TelemetryViewer/components/TelemetrySearchSuggestions.tsx +10 -2
- package/UI/Components/TemplateVariables/InsertTemplateVariableButton.tsx +162 -0
- package/UI/Components/TemplateVariables/TemplateVariableIcons.tsx +55 -0
- package/UI/Components/TemplateVariables/TemplateVariableMenu.tsx +351 -0
- package/UI/Components/TemplateVariables/TemplateVariablePopup.tsx +255 -0
- package/UI/Components/TemplateVariables/TemplateVariableTextControl.tsx +128 -0
- package/UI/Components/TemplateVariables/TemplateVariablesCopy.ts +38 -0
- package/UI/Components/TemplateVariables/TemplateVariablesList.tsx +277 -0
- package/UI/Components/TemplateVariables/TextControlUtil.ts +295 -0
- package/UI/Components/TemplateVariables/useTemplateVariableTyping.tsx +350 -0
- package/UI/Components/TimePicker/TimePicker.tsx +36 -20
- package/UI/Components/Toggle/Toggle.tsx +39 -45
- package/UI/Components/Tooltip/InfoTooltip.tsx +6 -1
- package/UI/Components/Tooltip/Tooltip.tsx +4 -1
- package/UI/Components/TranslatedSentence/TranslatedSentence.tsx +76 -0
- package/UI/Components/Workflow/ArgumentsForm.tsx +51 -12
- package/UI/Components/Workflow/ColumnEditor/AddColumnPicker.tsx +20 -14
- package/UI/Components/Workflow/ColumnEditor/ColumnConditionRow.tsx +19 -6
- package/UI/Components/Workflow/ColumnEditor/ColumnControl.ts +28 -14
- package/UI/Components/Workflow/ColumnEditor/ColumnFieldRow.tsx +24 -10
- package/UI/Components/Workflow/ColumnEditor/ColumnOperators.ts +17 -14
- package/UI/Components/Workflow/ColumnEditor/ColumnPickerOptions.ts +2 -1
- package/UI/Components/Workflow/ColumnEditor/ColumnRowSerialization.ts +3 -2
- package/UI/Components/Workflow/ColumnEditor/ColumnValueInput.tsx +21 -8
- package/UI/Components/Workflow/ColumnEditor/ModelQueryBuilder.tsx +11 -6
- package/UI/Components/Workflow/ColumnEditor/ModelRecordForm.tsx +29 -9
- package/UI/Components/Workflow/Component.tsx +8 -3
- package/UI/Components/Workflow/ComponentArgumentsViewer.tsx +20 -2
- package/UI/Components/Workflow/ComponentPicker/PickerItems.tsx +46 -18
- package/UI/Components/Workflow/ComponentPortViewer.tsx +6 -1
- package/UI/Components/Workflow/ComponentReturnValueViewer.tsx +10 -2
- package/UI/Components/Workflow/ComponentSettingsModal.tsx +30 -9
- package/UI/Components/Workflow/ComponentSettingsSection.tsx +7 -2
- package/UI/Components/Workflow/ComponentsModal.tsx +137 -54
- package/UI/Components/Workflow/Condition/ConditionEditor.tsx +52 -21
- package/UI/Components/Workflow/Condition/ConditionModel.ts +45 -17
- package/UI/Components/Workflow/CronScheduleField.tsx +54 -31
- package/UI/Components/Workflow/DocumentationViewer.tsx +10 -2
- package/UI/Components/Workflow/GraphLint.ts +78 -13
- package/UI/Components/Workflow/GraphLintSummary.ts +24 -11
- package/UI/Components/Workflow/ManualTriggerPanel.tsx +26 -6
- package/UI/Components/Workflow/ModelColumnEditor.tsx +95 -33
- package/UI/Components/Workflow/ModelFieldPicker.tsx +100 -34
- package/UI/Components/Workflow/RunForm.tsx +13 -3
- package/UI/Components/Workflow/RunStatusWatcher.ts +50 -8
- package/UI/Components/Workflow/StepTraceViewer.tsx +130 -42
- package/UI/Components/Workflow/UseRunWatch.ts +2 -1
- package/UI/Components/Workflow/Utils.ts +7 -1
- package/UI/Components/Workflow/ValuePicker/InsertValueButton.tsx +8 -5
- package/UI/Components/Workflow/ValuePicker/ValuePickerMenu.tsx +105 -39
- package/UI/Components/Workflow/ValuePicker/ValuePickerPopup.tsx +4 -1
- package/UI/Components/Workflow/ValuePicker/ValueSingleField.tsx +10 -5
- package/UI/Components/Workflow/ValuePicker/ValueTextField.tsx +11 -7
- package/UI/Components/Workflow/WorkflowIssuesModal.tsx +48 -16
- package/UI/Components/Workflow/WorkflowLogModal.tsx +9 -5
- package/UI/Components/Workflow/WorkflowStatusBar.tsx +26 -13
- package/UI/Styles/Theme.css +21 -26
- package/UI/Types/UseAnchoredFieldPopup.ts +8 -2
- package/UI/Utils/AnalyticsModelAPI/AnalyticsModelAPI.ts +12 -0
- package/UI/Utils/Dropdown.ts +106 -5
- package/UI/Utils/ForeignDomMutationGuard.ts +225 -0
- package/UI/Utils/GrantablePermission.ts +197 -0
- package/UI/Utils/PermissionGate.ts +50 -4
- package/UI/Utils/Rules/RuleRunClient.ts +14 -4
- package/UI/Utils/Telemetry/ResultTotal.ts +150 -0
- package/UI/Utils/Telemetry/UseResultTotal.ts +173 -0
- package/UI/Utils/TranslateTemplate.ts +617 -19
- package/UI/Utils/Translation.tsx +56 -2
- package/UI/Utils/UseClockTick.ts +43 -3
- package/UI/Utils/UseLiveDuration.ts +155 -0
- package/UI/Utils/UseTranslator.ts +22 -0
- package/UI/esbuild-config.js +3 -0
- package/UI/esbuild-locales.d.ts +60 -0
- package/UI/esbuild-locales.js +358 -0
- package/Utils/ColorContrast.ts +274 -0
- package/Utils/DeveloperDocs/AiAssistantExamples.ts +3 -2
- package/Utils/DeveloperDocs/ApiExamples.ts +5 -271
- package/Utils/DeveloperDocs/ExampleBuilder.ts +1775 -0
- package/Utils/DeveloperDocs/ExampleValues.ts +82 -0
- package/Utils/DeveloperDocs/Hcl.ts +153 -33
- package/Utils/DeveloperDocs/LiveData.ts +292 -0
- package/Utils/DeveloperDocs/PageLookups.ts +370 -0
- package/Utils/DeveloperDocs/ResourceProfiles.ts +2025 -0
- package/Utils/DeveloperDocs/TerraformConfig.ts +139 -143
- package/Utils/DeveloperDocs/TerraformMonitorSteps.ts +63 -10
- package/Utils/DeveloperDocs/TerraformSchema.ts +88 -1
- package/Utils/Email/EmailColorUtil.ts +135 -0
- package/Utils/Episode/EpisodeTemplateVariables.ts +75 -0
- package/Utils/Incident/IncidentNoteTemplateVariables.ts +37 -6
- package/Utils/Incident/IncidentSlaNoteTemplateVariables.ts +33 -0
- package/Utils/KeyFromName.ts +230 -0
- package/Utils/ListOrder.ts +417 -0
- package/Utils/Measurement/MeasurementMoments.ts +699 -0
- package/Utils/Project/NumberPrefix.ts +188 -0
- package/Utils/Slo/SloBurnRateTemplate.ts +24 -0
- package/Utils/StateOrder.ts +631 -0
- package/build/dist/Models/DatabaseModels/AlertGroupingRule.js +4 -3
- package/build/dist/Models/DatabaseModels/AlertGroupingRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertMeasurement.js +17 -10
- package/build/dist/Models/DatabaseModels/AlertMeasurement.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertReminderRule.js +4 -3
- package/build/dist/Models/DatabaseModels/AlertReminderRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertSeverity.js +4 -2
- package/build/dist/Models/DatabaseModels/AlertSeverity.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertState.js +4 -2
- package/build/dist/Models/DatabaseModels/AlertState.js.map +1 -1
- package/build/dist/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +8 -0
- package/build/dist/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js.map +1 -1
- package/build/dist/Models/DatabaseModels/{IncidentForm.js → Form.js} +113 -219
- package/build/dist/Models/DatabaseModels/Form.js.map +1 -0
- package/build/dist/Models/DatabaseModels/{IncidentFormSubmission.js → FormSubmission.js} +170 -89
- package/build/dist/Models/DatabaseModels/FormSubmission.js.map +1 -0
- package/build/dist/Models/DatabaseModels/Incident.js +1 -1
- package/build/dist/Models/DatabaseModels/IncidentCustomField.js +7 -3
- package/build/dist/Models/DatabaseModels/IncidentCustomField.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentGroupingRule.js +4 -3
- package/build/dist/Models/DatabaseModels/IncidentGroupingRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentMeasurement.js +16 -9
- package/build/dist/Models/DatabaseModels/IncidentMeasurement.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentReminderRule.js +4 -3
- package/build/dist/Models/DatabaseModels/IncidentReminderRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentSeverity.js +4 -2
- package/build/dist/Models/DatabaseModels/IncidentSeverity.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentSlaRule.js +4 -3
- package/build/dist/Models/DatabaseModels/IncidentSlaRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentState.js +4 -2
- package/build/dist/Models/DatabaseModels/IncidentState.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentTemplate.js +1 -1
- package/build/dist/Models/DatabaseModels/IncomingCallPolicyEscalationRule.js +4 -1
- package/build/dist/Models/DatabaseModels/IncomingCallPolicyEscalationRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Index.js +4 -4
- package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
- package/build/dist/Models/DatabaseModels/LogDropFilter.js +4 -3
- package/build/dist/Models/DatabaseModels/LogDropFilter.js.map +1 -1
- package/build/dist/Models/DatabaseModels/LogPipeline.js +4 -3
- package/build/dist/Models/DatabaseModels/LogPipeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/LogPipelineProcessor.js +4 -3
- package/build/dist/Models/DatabaseModels/LogPipelineProcessor.js.map +1 -1
- package/build/dist/Models/DatabaseModels/LogScrubRule.js +3 -2
- package/build/dist/Models/DatabaseModels/LogScrubRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MetricPipelineRule.js +3 -2
- package/build/dist/Models/DatabaseModels/MetricPipelineRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MetricRecordingRule.js +9 -3
- package/build/dist/Models/DatabaseModels/MetricRecordingRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorStatus.js +4 -1
- package/build/dist/Models/DatabaseModels/MonitorStatus.js.map +1 -1
- package/build/dist/Models/DatabaseModels/NetworkDeviceRole.js +3 -1
- package/build/dist/Models/DatabaseModels/NetworkDeviceRole.js.map +1 -1
- package/build/dist/Models/DatabaseModels/NetworkSiteAssignmentRule.js +9 -3
- package/build/dist/Models/DatabaseModels/NetworkSiteAssignmentRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Project.js +22 -13
- package/build/dist/Models/DatabaseModels/Project.js.map +1 -1
- package/build/dist/Models/DatabaseModels/RunbookRule.js +334 -0
- package/build/dist/Models/DatabaseModels/RunbookRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenance.js +3 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenance.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +16 -9
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js +4 -3
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceState.js +4 -2
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceState.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +1 -2
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceTemplate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageFooterLink.js +4 -1
- package/build/dist/Models/DatabaseModels/StatusPageFooterLink.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageHeaderLink.js +4 -1
- package/build/dist/Models/DatabaseModels/StatusPageHeaderLink.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.js +4 -1
- package/build/dist/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TraceDropFilter.js +4 -3
- package/build/dist/Models/DatabaseModels/TraceDropFilter.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TracePipeline.js +4 -3
- package/build/dist/Models/DatabaseModels/TracePipeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TracePipelineProcessor.js +4 -3
- package/build/dist/Models/DatabaseModels/TracePipelineProcessor.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TraceRecordingRule.js +9 -3
- package/build/dist/Models/DatabaseModels/TraceRecordingRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TraceScrubRule.js +3 -2
- package/build/dist/Models/DatabaseModels/TraceScrubRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserNotificationEmailRollupItem.js +53 -1
- package/build/dist/Models/DatabaseModels/UserNotificationEmailRollupItem.js.map +1 -1
- package/build/dist/Server/API/BaseAnalyticsAPI.js +15 -0
- package/build/dist/Server/API/BaseAnalyticsAPI.js.map +1 -1
- package/build/dist/Server/API/{IncidentFormAPI.js → FormAPI.js} +57 -57
- package/build/dist/Server/API/FormAPI.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797300000000-TurnOnLinkedAlertSwitchesByDefault.js +29 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797300000000-TurnOnLinkedAlertSwitchesByDefault.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797400000000-MigrateIncidentFormsToForms.js +173 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797400000000-MigrateIncidentFormsToForms.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797500000000-AddRunbookRuleMatchCriteria.js +77 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797500000000-AddRunbookRuleMatchCriteria.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797600000000-AddSeverityAndStateColorsToNotificationEmailRollup.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1797600000000-AddSeverityAndStateColorsToNotificationEmailRollup.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +8 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
- package/build/dist/Server/Middleware/{IncidentFormRateLimit.js → FormRateLimit.js} +159 -146
- package/build/dist/Server/Middleware/FormRateLimit.js.map +1 -0
- package/build/dist/Server/Services/AlertEpisodeService.js +2 -3
- package/build/dist/Server/Services/AlertEpisodeService.js.map +1 -1
- package/build/dist/Server/Services/AlertMeasurementService.js +111 -20
- package/build/dist/Server/Services/AlertMeasurementService.js.map +1 -1
- package/build/dist/Server/Services/AlertReminderRuleService.js +0 -30
- package/build/dist/Server/Services/AlertReminderRuleService.js.map +1 -1
- package/build/dist/Server/Services/AlertService.js +2 -3
- package/build/dist/Server/Services/AlertService.js.map +1 -1
- package/build/dist/Server/Services/AlertSeverityService.js +14 -85
- package/build/dist/Server/Services/AlertSeverityService.js.map +1 -1
- package/build/dist/Server/Services/AlertStateService.js +28 -97
- package/build/dist/Server/Services/AlertStateService.js.map +1 -1
- package/build/dist/Server/Services/AnalyticsDatabaseService.js +82 -7
- package/build/dist/Server/Services/AnalyticsDatabaseService.js.map +1 -1
- package/build/dist/Server/Services/DatabaseService.js +216 -0
- package/build/dist/Server/Services/DatabaseService.js.map +1 -1
- package/build/dist/Server/Services/FormService.js +870 -0
- package/build/dist/Server/Services/FormService.js.map +1 -0
- package/build/dist/Server/Services/FormSubmissionService.js +21 -0
- package/build/dist/Server/Services/FormSubmissionService.js.map +1 -0
- package/build/dist/Server/Services/IncidentAlertService.js +30 -12
- package/build/dist/Server/Services/IncidentAlertService.js.map +1 -1
- package/build/dist/Server/Services/IncidentCustomFieldService.js +0 -83
- package/build/dist/Server/Services/IncidentCustomFieldService.js.map +1 -1
- package/build/dist/Server/Services/IncidentEpisodeService.js +2 -3
- package/build/dist/Server/Services/IncidentEpisodeService.js.map +1 -1
- package/build/dist/Server/Services/IncidentMeasurementService.js +114 -20
- package/build/dist/Server/Services/IncidentMeasurementService.js.map +1 -1
- package/build/dist/Server/Services/IncidentReminderRuleService.js +0 -30
- package/build/dist/Server/Services/IncidentReminderRuleService.js.map +1 -1
- package/build/dist/Server/Services/IncidentService.js +2 -3
- package/build/dist/Server/Services/IncidentService.js.map +1 -1
- package/build/dist/Server/Services/IncidentSeverityService.js +14 -87
- package/build/dist/Server/Services/IncidentSeverityService.js.map +1 -1
- package/build/dist/Server/Services/IncidentSlaRuleService.js +0 -30
- package/build/dist/Server/Services/IncidentSlaRuleService.js.map +1 -1
- package/build/dist/Server/Services/IncidentStateService.js +28 -97
- package/build/dist/Server/Services/IncidentStateService.js.map +1 -1
- package/build/dist/Server/Services/IncidentStateTimelineService.js +2 -2
- package/build/dist/Server/Services/IncomingCallPolicyEscalationRuleService.js +14 -145
- package/build/dist/Server/Services/IncomingCallPolicyEscalationRuleService.js.map +1 -1
- package/build/dist/Server/Services/Index.js +4 -4
- package/build/dist/Server/Services/Index.js.map +1 -1
- package/build/dist/Server/Services/LogService.js +9 -0
- package/build/dist/Server/Services/LogService.js.map +1 -1
- package/build/dist/Server/Services/MetricRecordingRuleService.js +92 -0
- package/build/dist/Server/Services/MetricRecordingRuleService.js.map +1 -1
- package/build/dist/Server/Services/MonitorStatusService.js +25 -108
- package/build/dist/Server/Services/MonitorStatusService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleService.js +33 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyService.js +261 -0
- package/build/dist/Server/Services/OnCallDutyPolicyService.js.map +1 -1
- package/build/dist/Server/Services/ProjectService.js +49 -62
- package/build/dist/Server/Services/ProjectService.js.map +1 -1
- package/build/dist/Server/Services/RunbookRuleEngineService.js +289 -32
- package/build/dist/Server/Services/RunbookRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/RunbookRuleService.js +87 -0
- package/build/dist/Server/Services/RunbookRuleService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceMeasurementService.js +117 -20
- package/build/dist/Server/Services/ScheduledMaintenanceMeasurementService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceReminderRuleService.js +0 -30
- package/build/dist/Server/Services/ScheduledMaintenanceReminderRuleService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceService.js +2 -3
- package/build/dist/Server/Services/ScheduledMaintenanceService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceStateService.js +28 -99
- package/build/dist/Server/Services/ScheduledMaintenanceStateService.js.map +1 -1
- package/build/dist/Server/Services/SpanService.js +17 -2
- package/build/dist/Server/Services/SpanService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageFooterLinkService.js +8 -169
- package/build/dist/Server/Services/StatusPageFooterLinkService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageHeaderLinkService.js +7 -168
- package/build/dist/Server/Services/StatusPageHeaderLinkService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageHistoryChartBarColorRuleService.js +8 -169
- package/build/dist/Server/Services/StatusPageHistoryChartBarColorRuleService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageSubscriberNotificationTemplateService.js +14 -5
- package/build/dist/Server/Services/StatusPageSubscriberNotificationTemplateService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageSubscriberNotificationTemplateStatusPageService.js +7 -6
- package/build/dist/Server/Services/StatusPageSubscriberNotificationTemplateStatusPageService.js.map +1 -1
- package/build/dist/Server/Services/TraceRecordingRuleService.js +11 -2
- package/build/dist/Server/Services/TraceRecordingRuleService.js.map +1 -1
- package/build/dist/Server/Services/UserNotificationRuleService.js +25 -59
- package/build/dist/Server/Services/UserNotificationRuleService.js.map +1 -1
- package/build/dist/Server/Utils/Database/ListOrderMaintainer.js +311 -0
- package/build/dist/Server/Utils/Database/ListOrderMaintainer.js.map +1 -0
- package/build/dist/Server/Utils/Database/StateOrderGuard.js +239 -0
- package/build/dist/Server/Utils/Database/StateOrderGuard.js.map +1 -0
- package/build/dist/Server/Utils/EmailRollup/EmailRollupFlushRunner.js +2 -0
- package/build/dist/Server/Utils/EmailRollup/EmailRollupFlushRunner.js.map +1 -1
- package/build/dist/Server/Utils/EmailRollup/EmailRollupRenderer.js +44 -3
- package/build/dist/Server/Utils/EmailRollup/EmailRollupRenderer.js.map +1 -1
- package/build/dist/Server/Utils/EmailRollup/EmailRollupWriter.js +29 -1
- package/build/dist/Server/Utils/EmailRollup/EmailRollupWriter.js.map +1 -1
- package/build/dist/Server/Utils/Form/FormRecordOptions.js +111 -0
- package/build/dist/Server/Utils/Form/FormRecordOptions.js.map +1 -0
- package/build/dist/Server/Utils/Form/FormSubmissionNote.js +154 -0
- package/build/dist/Server/Utils/Form/FormSubmissionNote.js.map +1 -0
- package/build/dist/Server/Utils/Form/FormTargetHandler.js +232 -0
- package/build/dist/Server/Utils/Form/FormTargetHandler.js.map +1 -0
- package/build/dist/Server/Utils/Form/FormTargets.js +13 -0
- package/build/dist/Server/Utils/Form/FormTargets.js.map +1 -0
- package/build/dist/Server/Utils/Form/IncidentFormTarget.js +400 -0
- package/build/dist/Server/Utils/Form/IncidentFormTarget.js.map +1 -0
- package/build/dist/Server/Utils/Form/ScheduledMaintenanceFormTarget.js +245 -0
- package/build/dist/Server/Utils/Form/ScheduledMaintenanceFormTarget.js.map +1 -0
- package/build/dist/Server/Utils/Measurement/MeasurementDefinitionChange.js +43 -0
- package/build/dist/Server/Utils/Measurement/MeasurementDefinitionChange.js.map +1 -0
- package/build/dist/Server/Utils/Measurement/MeasurementDefinitionValidator.js +6 -4
- package/build/dist/Server/Utils/Measurement/MeasurementDefinitionValidator.js.map +1 -1
- package/build/dist/Server/Utils/Measurement/MeasurementKeyAssigner.js +33 -0
- package/build/dist/Server/Utils/Measurement/MeasurementKeyAssigner.js.map +1 -0
- package/build/dist/Server/Utils/Measurement/MeasurementMetricWriter.js +15 -2
- package/build/dist/Server/Utils/Measurement/MeasurementMetricWriter.js.map +1 -1
- package/build/dist/Server/Utils/Measurement/MeasurementStateReference.js +72 -0
- package/build/dist/Server/Utils/Measurement/MeasurementStateReference.js.map +1 -0
- package/build/dist/Server/Utils/Slo/SloOwnerReferenceValidator.js +1 -1
- package/build/dist/Server/Utils/StatusPage/IncidentSubscriberAudienceBuilder.js +7 -7
- package/build/dist/Server/Utils/StatusPage/IncidentSubscriberAudienceBuilder.js.map +1 -1
- package/build/dist/Server/Utils/StatusPage/IncidentTemplateVariableBuilder.js +14 -10
- package/build/dist/Server/Utils/StatusPage/IncidentTemplateVariableBuilder.js.map +1 -1
- package/build/dist/Server/Utils/StatusPage/SubscriberIncidentEmailBuilder.js +9 -15
- package/build/dist/Server/Utils/StatusPage/SubscriberIncidentEmailBuilder.js.map +1 -1
- package/build/dist/Server/Utils/StatusPage/SubscriberNotificationPreviewBuilder.js +4 -0
- package/build/dist/Server/Utils/StatusPage/SubscriberNotificationPreviewBuilder.js.map +1 -1
- package/build/dist/Server/Utils/StatusPage/SubscriberTemplateIncidentRecordAccess.js +5 -4
- package/build/dist/Server/Utils/StatusPage/SubscriberTemplateIncidentRecordAccess.js.map +1 -1
- package/build/dist/Types/CustomField/CustomFieldCreateSettings.js +15 -66
- package/build/dist/Types/CustomField/CustomFieldCreateSettings.js.map +1 -1
- package/build/dist/Types/CustomField/CustomFieldValueFormat.js +3 -2
- package/build/dist/Types/CustomField/CustomFieldValueFormat.js.map +1 -1
- package/build/dist/Types/CustomField/CustomFieldVariableKey.js +97 -88
- package/build/dist/Types/CustomField/CustomFieldVariableKey.js.map +1 -1
- package/build/dist/Types/Database/ListOrderColumn.js +12 -0
- package/build/dist/Types/Database/ListOrderColumn.js.map +1 -0
- package/build/dist/Types/Form/FormField.js +713 -0
- package/build/dist/Types/Form/FormField.js.map +1 -0
- package/build/dist/Types/{Incident/IncidentFormIpAllowlist.js → Form/FormIpAllowlist.js} +3 -3
- package/build/dist/Types/Form/FormIpAllowlist.js.map +1 -0
- package/build/dist/Types/Form/FormPublic.js +786 -0
- package/build/dist/Types/Form/FormPublic.js.map +1 -0
- package/build/dist/Types/Form/FormSubmissionAnswer.js +82 -0
- package/build/dist/Types/Form/FormSubmissionAnswer.js.map +1 -0
- package/build/dist/Types/Form/FormTargetCatalog.js +213 -0
- package/build/dist/Types/Form/FormTargetCatalog.js.map +1 -0
- package/build/dist/Types/Form/FormTargetSettings.js +276 -0
- package/build/dist/Types/Form/FormTargetSettings.js.map +1 -0
- package/build/dist/Types/Form/FormTargetType.js +56 -0
- package/build/dist/Types/Form/FormTargetType.js.map +1 -0
- package/build/dist/Types/Form/LegacyIncidentFormConversion.js +131 -0
- package/build/dist/Types/Form/LegacyIncidentFormConversion.js.map +1 -0
- package/build/dist/Types/Measurement/MeasurementKey.js +72 -0
- package/build/dist/Types/Measurement/MeasurementKey.js.map +1 -0
- package/build/dist/Types/Measurement/MeasurementUnit.js +74 -0
- package/build/dist/Types/Measurement/MeasurementUnit.js.map +1 -0
- package/build/dist/Types/Metrics/RecordingRuleOutputMetricName.js +48 -0
- package/build/dist/Types/Metrics/RecordingRuleOutputMetricName.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorCriteria.js +22 -0
- package/build/dist/Types/Monitor/MonitorCriteria.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js +191 -25
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorSteps.js.map +1 -1
- package/build/dist/Types/Monitor/Recommendation/MonitorRecommendationSeverityMapper.js +3 -3
- package/build/dist/Types/Monitor/Recommendation/MonitorRecommendationSeverityMapper.js.map +1 -1
- package/build/dist/Types/OnCallDutyPolicy/EscalationRuleDefaults.js +95 -0
- package/build/dist/Types/OnCallDutyPolicy/EscalationRuleDefaults.js.map +1 -0
- package/build/dist/Types/OnCallDutyPolicy/FirstResponders.js +87 -0
- package/build/dist/Types/OnCallDutyPolicy/FirstResponders.js.map +1 -0
- package/build/dist/Types/Permission.js +41 -34
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/Types/Rules/RuleCriteriaFieldRegistry.js +38 -1
- package/build/dist/Types/Rules/RuleCriteriaFieldRegistry.js.map +1 -1
- package/build/dist/Types/Rum/SessionReplay.js +24 -0
- package/build/dist/Types/Rum/SessionReplay.js.map +1 -1
- package/build/dist/Types/Rum/SessionReplayCustomEvents.js +17 -0
- package/build/dist/Types/Rum/SessionReplayCustomEvents.js.map +1 -1
- package/build/dist/Types/Runbook/RunbookRuleCriteria.js +151 -0
- package/build/dist/Types/Runbook/RunbookRuleCriteria.js.map +1 -0
- package/build/dist/Types/ScheduledMaintenance/MaintenanceWindow.js +105 -0
- package/build/dist/Types/ScheduledMaintenance/MaintenanceWindow.js.map +1 -0
- package/build/dist/Types/StatusPage/IncidentSubscriberAudience.js.map +1 -1
- package/build/dist/Types/StatusPage/SubscriberNotificationTemplatePreview.js +3 -2
- package/build/dist/Types/StatusPage/SubscriberNotificationTemplatePreview.js.map +1 -1
- package/build/dist/Types/StatusPage/SubscriberNotificationTemplateVariables.js +47 -22
- package/build/dist/Types/StatusPage/SubscriberNotificationTemplateVariables.js.map +1 -1
- package/build/dist/Types/Template/TemplateVariable.js +157 -0
- package/build/dist/Types/Template/TemplateVariable.js.map +1 -0
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleCondition.js +21 -54
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleCondition.js.map +1 -1
- package/build/dist/UI/Components/404.js +4 -2
- package/build/dist/UI/Components/404.js.map +1 -1
- package/build/dist/UI/Components/AI/GenerateFromAIModal.js +6 -4
- package/build/dist/UI/Components/AI/GenerateFromAIModal.js.map +1 -1
- package/build/dist/UI/Components/AIAgent/AIAgent.js +5 -2
- package/build/dist/UI/Components/AIAgent/AIAgent.js.map +1 -1
- package/build/dist/UI/Components/ActionButton/RowActions.js +23 -10
- package/build/dist/UI/Components/ActionButton/RowActions.js.map +1 -1
- package/build/dist/UI/Components/ActionButton/SplitActionButtons.js +19 -1
- package/build/dist/UI/Components/ActionButton/SplitActionButtons.js.map +1 -1
- package/build/dist/UI/Components/ActionCard/ActionCard.js +10 -1
- package/build/dist/UI/Components/ActionCard/ActionCard.js.map +1 -1
- package/build/dist/UI/Components/AdvancedPageSection/AdvancedPageSection.js +15 -0
- package/build/dist/UI/Components/AdvancedPageSection/AdvancedPageSection.js.map +1 -0
- package/build/dist/UI/Components/AttachmentList/EventAttachmentList.js +8 -4
- package/build/dist/UI/Components/AttachmentList/EventAttachmentList.js.map +1 -1
- package/build/dist/UI/Components/AttributesJSON/AttributesJSONPreferences.js +5 -4
- package/build/dist/UI/Components/AttributesJSON/AttributesJSONPreferences.js.map +1 -1
- package/build/dist/UI/Components/AttributesJSON/AttributesJSONView.js +11 -4
- package/build/dist/UI/Components/AttributesJSON/AttributesJSONView.js.map +1 -1
- package/build/dist/UI/Components/AttributesJSON/AttributesViewToggle.js +8 -3
- package/build/dist/UI/Components/AttributesJSON/AttributesViewToggle.js.map +1 -1
- package/build/dist/UI/Components/AttributesJSON/CopyAttributesAsJSONButton.js +47 -23
- package/build/dist/UI/Components/AttributesJSON/CopyAttributesAsJSONButton.js.map +1 -1
- package/build/dist/UI/Components/AutocompleteTextInput/AutocompleteTextInput.js +4 -2
- package/build/dist/UI/Components/AutocompleteTextInput/AutocompleteTextInput.js.map +1 -1
- package/build/dist/UI/Components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/build/dist/UI/Components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/build/dist/UI/Components/BulkUpdate/BulkOwnerActions.js +35 -131
- package/build/dist/UI/Components/BulkUpdate/BulkOwnerActions.js.map +1 -1
- package/build/dist/UI/Components/BulkUpdate/BulkUpdateForm.js +57 -48
- package/build/dist/UI/Components/BulkUpdate/BulkUpdateForm.js.map +1 -1
- package/build/dist/UI/Components/Button/Button.js +1 -1
- package/build/dist/UI/Components/Button/Button.js.map +1 -1
- package/build/dist/UI/Components/Button/DropdownButton.js +1 -1
- package/build/dist/UI/Components/Button/DropdownButton.js.map +1 -1
- package/build/dist/UI/Components/CSVFileUpload/CSVFileUpload.js +41 -28
- package/build/dist/UI/Components/CSVFileUpload/CSVFileUpload.js.map +1 -1
- package/build/dist/UI/Components/Captcha/Captcha.js +3 -1
- package/build/dist/UI/Components/Captcha/Captcha.js.map +1 -1
- package/build/dist/UI/Components/Card/CardMoreMenu.js +19 -0
- package/build/dist/UI/Components/Card/CardMoreMenu.js.map +1 -0
- package/build/dist/UI/Components/CardSelect/CardSelect.js +26 -16
- package/build/dist/UI/Components/CardSelect/CardSelect.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartGroup/ChartGroup.js +10 -8
- package/build/dist/UI/Components/Charts/ChartGroup/ChartGroup.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartGroup/NoDataMessage.js +3 -1
- package/build/dist/UI/Components/Charts/ChartGroup/NoDataMessage.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/Annotations/AnnotationHoverCard.js +3 -3
- package/build/dist/UI/Components/Charts/ChartLibrary/Annotations/AnnotationHoverCard.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/Annotations/ChartAnnotationLayer.js +19 -5
- package/build/dist/UI/Components/Charts/ChartLibrary/Annotations/ChartAnnotationLayer.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/AreaChart/AreaChart.js +6 -4
- package/build/dist/UI/Components/Charts/ChartLibrary/AreaChart/AreaChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/BarChart/BarChart.js +6 -4
- package/build/dist/UI/Components/Charts/ChartLibrary/BarChart/BarChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/ChartLibrary/LineChart/LineChart.js +6 -4
- package/build/dist/UI/Components/Charts/ChartLibrary/LineChart/LineChart.js.map +1 -1
- package/build/dist/UI/Components/Charts/TimeRangeZoom/ResetTimeRangeZoomButton.js +9 -4
- package/build/dist/UI/Components/Charts/TimeRangeZoom/ResetTimeRangeZoomButton.js.map +1 -1
- package/build/dist/UI/Components/Checkbox/Checkbox.js +5 -3
- package/build/dist/UI/Components/Checkbox/Checkbox.js.map +1 -1
- package/build/dist/UI/Components/CodeBlock/CodeBlock.js +3 -1
- package/build/dist/UI/Components/CodeBlock/CodeBlock.js.map +1 -1
- package/build/dist/UI/Components/CodeEditor/CodeEditor.js +52 -28
- package/build/dist/UI/Components/CodeEditor/CodeEditor.js.map +1 -1
- package/build/dist/UI/Components/CollapsibleSection/CollapsibleSection.js +11 -6
- package/build/dist/UI/Components/CollapsibleSection/CollapsibleSection.js.map +1 -1
- package/build/dist/UI/Components/ColorViewer/ColorViewer.js +10 -2
- package/build/dist/UI/Components/ColorViewer/ColorViewer.js.map +1 -1
- package/build/dist/UI/Components/CopyTextButton/CopyTextButton.js +5 -2
- package/build/dist/UI/Components/CopyTextButton/CopyTextButton.js.map +1 -1
- package/build/dist/UI/Components/CopyableButton/CopyableButton.js +4 -2
- package/build/dist/UI/Components/CopyableButton/CopyableButton.js.map +1 -1
- package/build/dist/UI/Components/CustomFields/CustomFieldsDetail.js +7 -1
- package/build/dist/UI/Components/CustomFields/CustomFieldsDetail.js.map +1 -1
- package/build/dist/UI/Components/CustomFields/DropdownOptionsInput.js +16 -7
- package/build/dist/UI/Components/CustomFields/DropdownOptionsInput.js.map +1 -1
- package/build/dist/UI/Components/CustomFields/MapFromCustomFieldInput.js +63 -17
- package/build/dist/UI/Components/CustomFields/MapFromCustomFieldInput.js.map +1 -1
- package/build/dist/UI/Components/Dashboard/DashboardVariableControl.js +14 -11
- package/build/dist/UI/Components/Dashboard/DashboardVariableControl.js.map +1 -1
- package/build/dist/UI/Components/Date/CustomTimeRangeModal.js +13 -12
- package/build/dist/UI/Components/Date/CustomTimeRangeModal.js.map +1 -1
- package/build/dist/UI/Components/Date/RangeStartAndEndDateEdit.js +18 -16
- package/build/dist/UI/Components/Date/RangeStartAndEndDateEdit.js.map +1 -1
- package/build/dist/UI/Components/Date/RangeStartAndEndDateView.js +4 -1
- package/build/dist/UI/Components/Date/RangeStartAndEndDateView.js.map +1 -1
- package/build/dist/UI/Components/Date/StartAndEndDate.js +4 -2
- package/build/dist/UI/Components/Date/StartAndEndDate.js.map +1 -1
- package/build/dist/UI/Components/Date/TimeRangePickerDropdown.js +18 -8
- package/build/dist/UI/Components/Date/TimeRangePickerDropdown.js.map +1 -1
- package/build/dist/UI/Components/DeleteConfirmation/DeleteConfirmationMessage.js +30 -5
- package/build/dist/UI/Components/DeleteConfirmation/DeleteConfirmationMessage.js.map +1 -1
- package/build/dist/UI/Components/Detail/BooleanValue.js +15 -0
- package/build/dist/UI/Components/Detail/BooleanValue.js.map +1 -0
- package/build/dist/UI/Components/Detail/Detail.js +75 -40
- package/build/dist/UI/Components/Detail/Detail.js.map +1 -1
- package/build/dist/UI/Components/Detail/DetailIdLine.js +100 -0
- package/build/dist/UI/Components/Detail/DetailIdLine.js.map +1 -0
- package/build/dist/UI/Components/Detail/DetailRecordId.js +72 -0
- package/build/dist/UI/Components/Detail/DetailRecordId.js.map +1 -0
- package/build/dist/UI/Components/Detail/PlaceholderText.js +17 -1
- package/build/dist/UI/Components/Detail/PlaceholderText.js.map +1 -1
- package/build/dist/UI/Components/Dictionary/Dictionary.js +7 -1
- package/build/dist/UI/Components/Dictionary/Dictionary.js.map +1 -1
- package/build/dist/UI/Components/Dictionary/DictionaryOfStingsViewer.js +4 -2
- package/build/dist/UI/Components/Dictionary/DictionaryOfStingsViewer.js.map +1 -1
- package/build/dist/UI/Components/Dropdown/Dropdown.js +5 -4
- package/build/dist/UI/Components/Dropdown/Dropdown.js.map +1 -1
- package/build/dist/UI/Components/DuplicateModel/DuplicateModel.js +19 -5
- package/build/dist/UI/Components/DuplicateModel/DuplicateModel.js.map +1 -1
- package/build/dist/UI/Components/EditionLabel/EditionLabel.js +177 -134
- package/build/dist/UI/Components/EditionLabel/EditionLabel.js.map +1 -1
- package/build/dist/UI/Components/EntityDropdown/EntityDropdown.js +32 -26
- package/build/dist/UI/Components/EntityDropdown/EntityDropdown.js.map +1 -1
- package/build/dist/UI/Components/ErrorBoundary.js +16 -13
- package/build/dist/UI/Components/ErrorBoundary.js.map +1 -1
- package/build/dist/UI/Components/ErrorMessage/ErrorMessage.js +2 -2
- package/build/dist/UI/Components/ErrorMessage/ErrorMessage.js.map +1 -1
- package/build/dist/UI/Components/EventItem/EventItem.js +8 -4
- package/build/dist/UI/Components/EventItem/EventItem.js.map +1 -1
- package/build/dist/UI/Components/Events/RecurringViewElement.js +16 -5
- package/build/dist/UI/Components/Events/RecurringViewElement.js.map +1 -1
- package/build/dist/UI/Components/ExpandableText/ExpandableText.js +3 -1
- package/build/dist/UI/Components/ExpandableText/ExpandableText.js.map +1 -1
- package/build/dist/UI/Components/Feed/FeedActionsMenu.js +24 -0
- package/build/dist/UI/Components/Feed/FeedActionsMenu.js.map +1 -0
- package/build/dist/UI/Components/Feed/FeedCard.js +79 -0
- package/build/dist/UI/Components/Feed/FeedCard.js.map +1 -0
- package/build/dist/UI/Components/Feed/FeedEventTypeChecklist.js +122 -0
- package/build/dist/UI/Components/Feed/FeedEventTypeChecklist.js.map +1 -0
- package/build/dist/UI/Components/Feed/FeedFilterModal.js +23 -0
- package/build/dist/UI/Components/Feed/FeedFilterModal.js.map +1 -0
- package/build/dist/UI/Components/Feed/FeedFilterSummary.js +50 -0
- package/build/dist/UI/Components/Feed/FeedFilterSummary.js.map +1 -0
- package/build/dist/UI/Components/Feed/FeedItem.js +4 -1
- package/build/dist/UI/Components/Feed/FeedItem.js.map +1 -1
- package/build/dist/UI/Components/Feed/FeedMoreMenu.js +50 -0
- package/build/dist/UI/Components/Feed/FeedMoreMenu.js.map +1 -0
- package/build/dist/UI/Components/Feed/FeedOptions.js +29 -65
- package/build/dist/UI/Components/Feed/FeedOptions.js.map +1 -1
- package/build/dist/UI/Components/FilePicker/FilePicker.js +27 -27
- package/build/dist/UI/Components/FilePicker/FilePicker.js.map +1 -1
- package/build/dist/UI/Components/FilterButtons/FilterButtons.js +4 -2
- package/build/dist/UI/Components/FilterButtons/FilterButtons.js.map +1 -1
- package/build/dist/UI/Components/Filters/AppliedFilters.js +32 -0
- package/build/dist/UI/Components/Filters/AppliedFilters.js.map +1 -0
- package/build/dist/UI/Components/Filters/BooleanFilter.js +4 -1
- package/build/dist/UI/Components/Filters/BooleanFilter.js.map +1 -1
- package/build/dist/UI/Components/Filters/DateFilter.js +24 -5
- package/build/dist/UI/Components/Filters/DateFilter.js.map +1 -1
- package/build/dist/UI/Components/Filters/DropdownFilter.js +4 -1
- package/build/dist/UI/Components/Filters/DropdownFilter.js.map +1 -1
- package/build/dist/UI/Components/Filters/EntityFilter.js +28 -13
- package/build/dist/UI/Components/Filters/EntityFilter.js.map +1 -1
- package/build/dist/UI/Components/Filters/FilterPlaceholder.js +13 -0
- package/build/dist/UI/Components/Filters/FilterPlaceholder.js.map +1 -0
- package/build/dist/UI/Components/Filters/FilterViewer.js +81 -101
- package/build/dist/UI/Components/Filters/FilterViewer.js.map +1 -1
- package/build/dist/UI/Components/Filters/FiltersForm.js +15 -4
- package/build/dist/UI/Components/Filters/FiltersForm.js.map +1 -1
- package/build/dist/UI/Components/Filters/NumberFilter.js +26 -9
- package/build/dist/UI/Components/Filters/NumberFilter.js.map +1 -1
- package/build/dist/UI/Components/Filters/TextFilter.js +23 -8
- package/build/dist/UI/Components/Filters/TextFilter.js.map +1 -1
- package/build/dist/UI/Components/FormModal/BasicFormModal.js +51 -6
- package/build/dist/UI/Components/FormModal/BasicFormModal.js.map +1 -1
- package/build/dist/UI/Components/Forms/BasicForm.js +139 -23
- package/build/dist/UI/Components/Forms/BasicForm.js.map +1 -1
- package/build/dist/UI/Components/Forms/BasicModelForm.js +1 -1
- package/build/dist/UI/Components/Forms/BasicModelForm.js.map +1 -1
- package/build/dist/UI/Components/Forms/CollapsibleFormSection.js +16 -3
- package/build/dist/UI/Components/Forms/CollapsibleFormSection.js.map +1 -1
- package/build/dist/UI/Components/Forms/Fields/ColorPicker.js +4 -2
- package/build/dist/UI/Components/Forms/Fields/ColorPicker.js.map +1 -1
- package/build/dist/UI/Components/Forms/Fields/FormField.js +124 -62
- package/build/dist/UI/Components/Forms/Fields/FormField.js.map +1 -1
- package/build/dist/UI/Components/Forms/Fields/GeneratedKeyField.js +146 -0
- package/build/dist/UI/Components/Forms/Fields/GeneratedKeyField.js.map +1 -0
- package/build/dist/UI/Components/Forms/Fields/IconPicker.js +5 -3
- package/build/dist/UI/Components/Forms/Fields/IconPicker.js.map +1 -1
- package/build/dist/UI/Components/Forms/Fields/PermissionPicker.js +5 -3
- package/build/dist/UI/Components/Forms/Fields/PermissionPicker.js.map +1 -1
- package/build/dist/UI/Components/Forms/FormSummary.js +97 -15
- package/build/dist/UI/Components/Forms/FormSummary.js.map +1 -1
- package/build/dist/UI/Components/Forms/ModelForm.js +110 -10
- package/build/dist/UI/Components/Forms/ModelForm.js.map +1 -1
- package/build/dist/UI/Components/Forms/Steps/Steps.js +3 -1
- package/build/dist/UI/Components/Forms/Steps/Steps.js.map +1 -1
- package/build/dist/UI/Components/Forms/Types/Field.js.map +1 -1
- package/build/dist/UI/Components/Forms/Types/FormFieldSchemaType.js +5 -0
- package/build/dist/UI/Components/Forms/Types/FormFieldSchemaType.js.map +1 -1
- package/build/dist/UI/Components/Forms/Utils/AdvancedFormSection.js +151 -0
- package/build/dist/UI/Components/Forms/Utils/AdvancedFormSection.js.map +1 -0
- package/build/dist/UI/Components/Forms/Utils/CreateFormDefaults.js +92 -0
- package/build/dist/UI/Components/Forms/Utils/CreateFormDefaults.js.map +1 -0
- package/build/dist/UI/Components/Forms/Utils/FinishFromAnyStep.js +132 -0
- package/build/dist/UI/Components/Forms/Utils/FinishFromAnyStep.js.map +1 -0
- package/build/dist/UI/Components/Forms/Utils/FormFieldSchemaTypeUtil.js +2 -0
- package/build/dist/UI/Components/Forms/Utils/FormFieldSchemaTypeUtil.js.map +1 -1
- package/build/dist/UI/Components/Forms/Utils/FormModalWidth.js +43 -0
- package/build/dist/UI/Components/Forms/Utils/FormModalWidth.js.map +1 -0
- package/build/dist/UI/Components/Forms/Validation.js +51 -34
- package/build/dist/UI/Components/Forms/Validation.js.map +1 -1
- package/build/dist/UI/Components/FullPageModal/FullPageModal.js +3 -1
- package/build/dist/UI/Components/FullPageModal/FullPageModal.js.map +1 -1
- package/build/dist/UI/Components/Graphs/UptimeBarTooltip.js +6 -5
- package/build/dist/UI/Components/Graphs/UptimeBarTooltip.js.map +1 -1
- package/build/dist/UI/Components/Header/Notifications/Notifications.js +5 -5
- package/build/dist/UI/Components/Header/Notifications/Notifications.js.map +1 -1
- package/build/dist/UI/Components/Header/ProjectPicker/CreateNewProjectButton.js +3 -1
- package/build/dist/UI/Components/Header/ProjectPicker/CreateNewProjectButton.js.map +1 -1
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerFilterBox.js +3 -1
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerFilterBox.js.map +1 -1
- package/build/dist/UI/Components/Header/SearchBox.js +3 -1
- package/build/dist/UI/Components/Header/SearchBox.js.map +1 -1
- package/build/dist/UI/Components/HeaderAlert/HeaderModelAlert.js +3 -1
- package/build/dist/UI/Components/HeaderAlert/HeaderModelAlert.js.map +1 -1
- package/build/dist/UI/Components/HeaderAlert/NotificationBell/NotificationBell.js +3 -1
- package/build/dist/UI/Components/HeaderAlert/NotificationBell/NotificationBell.js.map +1 -1
- package/build/dist/UI/Components/HeaderAlert/NotificationBell/NotificationBellDropdown.js +4 -2
- package/build/dist/UI/Components/HeaderAlert/NotificationBell/NotificationBellDropdown.js.map +1 -1
- package/build/dist/UI/Components/HeaderAlert/NotificationBell/NotificationBellSection.js +3 -1
- package/build/dist/UI/Components/HeaderAlert/NotificationBell/NotificationBellSection.js.map +1 -1
- package/build/dist/UI/Components/HiddenText/HiddenText.js +3 -1
- package/build/dist/UI/Components/HiddenText/HiddenText.js.map +1 -1
- package/build/dist/UI/Components/Icon/Icon.js +5 -4
- package/build/dist/UI/Components/Icon/Icon.js.map +1 -1
- package/build/dist/UI/Components/ImportExport/ExportModelCard.js +13 -2
- package/build/dist/UI/Components/ImportExport/ExportModelCard.js.map +1 -1
- package/build/dist/UI/Components/ImportExport/ImportModelsModal.js +38 -7
- package/build/dist/UI/Components/ImportExport/ImportModelsModal.js.map +1 -1
- package/build/dist/UI/Components/Input/Input.js +27 -3
- package/build/dist/UI/Components/Input/Input.js.map +1 -1
- package/build/dist/UI/Components/IpAddressList/IpAddressList.js +8 -5
- package/build/dist/UI/Components/IpAddressList/IpAddressList.js.map +1 -1
- package/build/dist/UI/Components/JSONTable/JSONTable.js +10 -8
- package/build/dist/UI/Components/JSONTable/JSONTable.js.map +1 -1
- package/build/dist/UI/Components/LabelRule/ImportLabelRulesModal.js +45 -32
- package/build/dist/UI/Components/LabelRule/ImportLabelRulesModal.js.map +1 -1
- package/build/dist/UI/Components/Link/Link.js +5 -2
- package/build/dist/UI/Components/Link/Link.js.map +1 -1
- package/build/dist/UI/Components/List/List.js +78 -14
- package/build/dist/UI/Components/List/List.js.map +1 -1
- package/build/dist/UI/Components/List/ListBody.js +11 -4
- package/build/dist/UI/Components/List/ListBody.js.map +1 -1
- package/build/dist/UI/Components/List/ListRow.js +10 -12
- package/build/dist/UI/Components/List/ListRow.js.map +1 -1
- package/build/dist/UI/Components/List/ListSkeleton.js +3 -1
- package/build/dist/UI/Components/List/ListSkeleton.js.map +1 -1
- package/build/dist/UI/Components/Loader/Loader.js +6 -4
- package/build/dist/UI/Components/Loader/Loader.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/LogsViewer.js +34 -5
- package/build/dist/UI/Components/LogsViewer/LogsViewer.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/ActiveFilterChips.js +15 -7
- package/build/dist/UI/Components/LogsViewer/components/ActiveFilterChips.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/ColumnSelector.js +20 -16
- package/build/dist/UI/Components/LogsViewer/components/ColumnSelector.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/FacetValueRow.js +8 -4
- package/build/dist/UI/Components/LogsViewer/components/FacetValueRow.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/HistogramTooltip.js +3 -1
- package/build/dist/UI/Components/LogsViewer/components/HistogramTooltip.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/KeyboardShortcutsHelp.js +8 -7
- package/build/dist/UI/Components/LogsViewer/components/KeyboardShortcutsHelp.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LiveLogsToggle.js +3 -1
- package/build/dist/UI/Components/LogsViewer/components/LiveLogsToggle.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogDetailsPanel.js +24 -22
- package/build/dist/UI/Components/LogsViewer/components/LogDetailsPanel.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogSearchBar.js +7 -3
- package/build/dist/UI/Components/LogsViewer/components/LogSearchBar.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogSearchHelp.js +13 -15
- package/build/dist/UI/Components/LogsViewer/components/LogSearchHelp.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogSearchSuggestions.js +4 -5
- package/build/dist/UI/Components/LogsViewer/components/LogSearchSuggestions.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsAnalyticsView.js +13 -6
- package/build/dist/UI/Components/LogsViewer/components/LogsAnalyticsView.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js +3 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsFacetSidebar.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsHistogram.js +7 -5
- package/build/dist/UI/Components/LogsViewer/components/LogsHistogram.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsPagination.js +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsPagination.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsTable.js +32 -18
- package/build/dist/UI/Components/LogsViewer/components/LogsTable.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/LogsViewerToolbar.js +32 -22
- package/build/dist/UI/Components/LogsViewer/components/LogsViewerToolbar.js.map +1 -1
- package/build/dist/UI/Components/LogsViewer/components/SavedViewsDropdown.js +17 -11
- package/build/dist/UI/Components/LogsViewer/components/SavedViewsDropdown.js.map +1 -1
- package/build/dist/UI/Components/Markdown.tsx/LazyMarkdownViewer.js +3 -1
- package/build/dist/UI/Components/Markdown.tsx/LazyMarkdownViewer.js.map +1 -1
- package/build/dist/UI/Components/Markdown.tsx/MarkdownConverters.js +17 -0
- package/build/dist/UI/Components/Markdown.tsx/MarkdownConverters.js.map +1 -1
- package/build/dist/UI/Components/Markdown.tsx/MarkdownEditor.js +674 -112
- package/build/dist/UI/Components/Markdown.tsx/MarkdownEditor.js.map +1 -1
- package/build/dist/UI/Components/Markdown.tsx/MarkdownToolbarLayout.js +150 -0
- package/build/dist/UI/Components/Markdown.tsx/MarkdownToolbarLayout.js.map +1 -0
- package/build/dist/UI/Components/Markdown.tsx/MarkdownViewer.js +18 -7
- package/build/dist/UI/Components/Markdown.tsx/MarkdownViewer.js.map +1 -1
- package/build/dist/UI/Components/MasterPage/MasterPage.js +3 -1
- package/build/dist/UI/Components/MasterPage/MasterPage.js.map +1 -1
- package/build/dist/UI/Components/MemberRoleAssignment/MemberRoleAssignment.js +30 -28
- package/build/dist/UI/Components/MemberRoleAssignment/MemberRoleAssignment.js.map +1 -1
- package/build/dist/UI/Components/ModelDelete/ModelDelete.js +19 -4
- package/build/dist/UI/Components/ModelDelete/ModelDelete.js.map +1 -1
- package/build/dist/UI/Components/ModelDetail/CardModelDetail.js +15 -3
- package/build/dist/UI/Components/ModelDetail/CardModelDetail.js.map +1 -1
- package/build/dist/UI/Components/ModelDetail/ModelDetail.js +10 -5
- package/build/dist/UI/Components/ModelDetail/ModelDetail.js.map +1 -1
- package/build/dist/UI/Components/ModelFormModal/ModelFormModal.js +36 -12
- package/build/dist/UI/Components/ModelFormModal/ModelFormModal.js.map +1 -1
- package/build/dist/UI/Components/ModelList/ModelList.js +53 -7
- package/build/dist/UI/Components/ModelList/ModelList.js.map +1 -1
- package/build/dist/UI/Components/ModelList/StaticModelList.js +14 -7
- package/build/dist/UI/Components/ModelList/StaticModelList.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js +451 -220
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/ColumnCustomizationModal.js +46 -39
- package/build/dist/UI/Components/ModelTable/ColumnCustomizationModal.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/CustomFieldColumns.js +2 -1
- package/build/dist/UI/Components/ModelTable/CustomFieldColumns.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/EmptyStateOptions.js +2 -0
- package/build/dist/UI/Components/ModelTable/EmptyStateOptions.js.map +1 -0
- package/build/dist/UI/Components/ModelTable/ModelTable.js +29 -5
- package/build/dist/UI/Components/ModelTable/ModelTable.js.map +1 -1
- package/build/dist/UI/Components/ModelTable/ModelTableEmptyState.js +191 -0
- package/build/dist/UI/Components/ModelTable/ModelTableEmptyState.js.map +1 -0
- package/build/dist/UI/Components/ModelTable/TableView.js +9 -5
- package/build/dist/UI/Components/ModelTable/TableView.js.map +1 -1
- package/build/dist/UI/Components/Monitor/SeriesLabelsViewer.js +3 -1
- package/build/dist/UI/Components/Monitor/SeriesLabelsViewer.js.map +1 -1
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js +23 -1
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js.map +1 -1
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesModal.js +28 -22
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesModal.js.map +1 -1
- package/build/dist/UI/Components/MoreMenu/MoreMenu.js +24 -11
- package/build/dist/UI/Components/MoreMenu/MoreMenu.js.map +1 -1
- package/build/dist/UI/Components/MoreMenu/MoreMenuItem.js +16 -4
- package/build/dist/UI/Components/MoreMenu/MoreMenuItem.js.map +1 -1
- package/build/dist/UI/Components/Navbar/NavBar.js +11 -19
- package/build/dist/UI/Components/Navbar/NavBar.js.map +1 -1
- package/build/dist/UI/Components/Navbar/NavBarCategoryToggle.js +44 -0
- package/build/dist/UI/Components/Navbar/NavBarCategoryToggle.js.map +1 -0
- package/build/dist/UI/Components/Navbar/NavBarMenuCatalog.js +154 -0
- package/build/dist/UI/Components/Navbar/NavBarMenuCatalog.js.map +1 -0
- package/build/dist/UI/Components/Navbar/NavBarMenuModal.js +210 -86
- package/build/dist/UI/Components/Navbar/NavBarMenuModal.js.map +1 -1
- package/build/dist/UI/Components/Navbar/NavBarMobileMenu.js +57 -0
- package/build/dist/UI/Components/Navbar/NavBarMobileMenu.js.map +1 -0
- package/build/dist/UI/Components/ObjectID/ObjectIDView.js +31 -5
- package/build/dist/UI/Components/ObjectID/ObjectIDView.js.map +1 -1
- package/build/dist/UI/Components/OsVersionDisplay/OsVersionDisplay.js +7 -1
- package/build/dist/UI/Components/OsVersionDisplay/OsVersionDisplay.js.map +1 -1
- package/build/dist/UI/Components/Page/ModelPage.js +8 -2
- package/build/dist/UI/Components/Page/ModelPage.js.map +1 -1
- package/build/dist/UI/Components/Page/Page.js +1 -1
- package/build/dist/UI/Components/Page/Page.js.map +1 -1
- package/build/dist/UI/Components/Pagination/Pagination.js +143 -65
- package/build/dist/UI/Components/Pagination/Pagination.js.map +1 -1
- package/build/dist/UI/Components/Pagination/PaginationCopy.js +51 -0
- package/build/dist/UI/Components/Pagination/PaginationCopy.js.map +1 -0
- package/build/dist/UI/Components/Pagination/PaginationSummary.js +53 -0
- package/build/dist/UI/Components/Pagination/PaginationSummary.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/OwnersFormField.js +59 -0
- package/build/dist/UI/Components/PeoplePicker/OwnersFormField.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/OwnersPicker.js +30 -0
- package/build/dist/UI/Components/PeoplePicker/OwnersPicker.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/PeopleAvatar.js +109 -0
- package/build/dist/UI/Components/PeoplePicker/PeopleAvatar.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/PeopleList.js +72 -0
- package/build/dist/UI/Components/PeoplePicker/PeopleList.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/PeoplePicker.js +93 -0
- package/build/dist/UI/Components/PeoplePicker/PeoplePicker.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/PeoplePickerKinds.js +379 -0
- package/build/dist/UI/Components/PeoplePicker/PeoplePickerKinds.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/PeoplePickerTypes.js +129 -0
- package/build/dist/UI/Components/PeoplePicker/PeoplePickerTypes.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/PeopleSearchPopup.js +280 -0
- package/build/dist/UI/Components/PeoplePicker/PeopleSearchPopup.js.map +1 -0
- package/build/dist/UI/Components/PeoplePicker/usePeopleOptions.js +151 -0
- package/build/dist/UI/Components/PeoplePicker/usePeopleOptions.js.map +1 -0
- package/build/dist/UI/Components/Pill/Pill.js +14 -3
- package/build/dist/UI/Components/Pill/Pill.js.map +1 -1
- package/build/dist/UI/Components/Pill/PillColors.js +22 -181
- package/build/dist/UI/Components/Pill/PillColors.js.map +1 -1
- package/build/dist/UI/Components/Probe/Probe.js +4 -2
- package/build/dist/UI/Components/Probe/Probe.js.map +1 -1
- package/build/dist/UI/Components/ProgressBar/ProgressBar.js +14 -7
- package/build/dist/UI/Components/ProgressBar/ProgressBar.js.map +1 -1
- package/build/dist/UI/Components/ProgressButtons/ProgressButtons.js +3 -1
- package/build/dist/UI/Components/ProgressButtons/ProgressButtons.js.map +1 -1
- package/build/dist/UI/Components/ProjectInvitations/PendingProjectInvitations.js +27 -8
- package/build/dist/UI/Components/ProjectInvitations/PendingProjectInvitations.js.map +1 -1
- package/build/dist/UI/Components/PublicForm/PublicFormFields.js +248 -0
- package/build/dist/UI/Components/PublicForm/PublicFormFields.js.map +1 -0
- package/build/dist/UI/Components/ResetObjectID/ResetObjectID.js +15 -2
- package/build/dist/UI/Components/ResetObjectID/ResetObjectID.js.map +1 -1
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaBuilder.js +215 -335
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaBuilder.js.map +1 -1
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaFields.js +585 -0
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaFields.js.map +1 -0
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaModelForm.js +32 -6
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaModelForm.js.map +1 -1
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaModelTable.js +69 -16
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaModelTable.js.map +1 -1
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaSummary.js +18 -19
- package/build/dist/UI/Components/RuleCriteria/RuleCriteriaSummary.js.map +1 -1
- package/build/dist/UI/Components/RuleRun/RuleDetailFields.js +53 -2
- package/build/dist/UI/Components/RuleRun/RuleDetailFields.js.map +1 -1
- package/build/dist/UI/Components/RuleRun/RuleEnabledField.js +41 -0
- package/build/dist/UI/Components/RuleRun/RuleEnabledField.js.map +1 -0
- package/build/dist/UI/Components/RuleRun/RuleTable.js +9 -1
- package/build/dist/UI/Components/RuleRun/RuleTable.js.map +1 -1
- package/build/dist/UI/Components/RuleRun/RuleView.js +11 -4
- package/build/dist/UI/Components/RuleRun/RuleView.js.map +1 -1
- package/build/dist/UI/Components/RuleRun/RunRuleNowModal.js +8 -1
- package/build/dist/UI/Components/RuleRun/RunRuleNowModal.js.map +1 -1
- package/build/dist/UI/Components/Runbook/StepTimeoutInput.js +12 -13
- package/build/dist/UI/Components/Runbook/StepTimeoutInput.js.map +1 -1
- package/build/dist/UI/Components/SavedViews/SavedViewsFacetSection.js +19 -8
- package/build/dist/UI/Components/SavedViews/SavedViewsFacetSection.js.map +1 -1
- package/build/dist/UI/Components/SavedViews/SavedViewsSearchInput.js +5 -2
- package/build/dist/UI/Components/SavedViews/SavedViewsSearchInput.js.map +1 -1
- package/build/dist/UI/Components/SavedViews/SavedViewsShowMoreButton.js +5 -1
- package/build/dist/UI/Components/SavedViews/SavedViewsShowMoreButton.js.map +1 -1
- package/build/dist/UI/Components/SideMenu/SideMenu.js +4 -6
- package/build/dist/UI/Components/SideMenu/SideMenu.js.map +1 -1
- package/build/dist/UI/Components/SideMenu/SideMenuSection.js.map +1 -1
- package/build/dist/UI/Components/SideMenu/SideMenuSectionState.js +52 -9
- package/build/dist/UI/Components/SideMenu/SideMenuSectionState.js.map +1 -1
- package/build/dist/UI/Components/SideOver/SideOver.js +9 -6
- package/build/dist/UI/Components/SideOver/SideOver.js.map +1 -1
- package/build/dist/UI/Components/SimpleLogViewer/SimpleLogViewer.js +3 -1
- package/build/dist/UI/Components/SimpleLogViewer/SimpleLogViewer.js.map +1 -1
- package/build/dist/UI/Components/StackedProgressBar/StackedProgressBar.js +3 -1
- package/build/dist/UI/Components/StackedProgressBar/StackedProgressBar.js.map +1 -1
- package/build/dist/UI/Components/StateTimeline/CurrentlyActiveIndicator.js +28 -0
- package/build/dist/UI/Components/StateTimeline/CurrentlyActiveIndicator.js.map +1 -0
- package/build/dist/UI/Components/StateTimeline/StateTimelineColumns.js +55 -0
- package/build/dist/UI/Components/StateTimeline/StateTimelineColumns.js.map +1 -0
- package/build/dist/UI/Components/StateTimeline/StateTimelineDuration.js +28 -0
- package/build/dist/UI/Components/StateTimeline/StateTimelineDuration.js.map +1 -0
- package/build/dist/UI/Components/StateTimeline/StateTimelineEndsAt.js +19 -0
- package/build/dist/UI/Components/StateTimeline/StateTimelineEndsAt.js.map +1 -0
- package/build/dist/UI/Components/StatusBadge/StatusBadge.js +4 -1
- package/build/dist/UI/Components/StatusBadge/StatusBadge.js.map +1 -1
- package/build/dist/UI/Components/StatusBubble/StatusBubble.js +7 -2
- package/build/dist/UI/Components/StatusBubble/StatusBubble.js.map +1 -1
- package/build/dist/UI/Components/StatusPage/ResourceGrid.js +31 -20
- package/build/dist/UI/Components/StatusPage/ResourceGrid.js.map +1 -1
- package/build/dist/UI/Components/StatusPage/ResourceGroupNavigator.js +34 -16
- package/build/dist/UI/Components/StatusPage/ResourceGroupNavigator.js.map +1 -1
- package/build/dist/UI/Components/StatusPage/ResourceList.js +28 -11
- package/build/dist/UI/Components/StatusPage/ResourceList.js.map +1 -1
- package/build/dist/UI/Components/Table/DragHandle.js +30 -0
- package/build/dist/UI/Components/Table/DragHandle.js.map +1 -0
- package/build/dist/UI/Components/Table/EmptyTableMessage.js +159 -35
- package/build/dist/UI/Components/Table/EmptyTableMessage.js.map +1 -1
- package/build/dist/UI/Components/Table/Table.js +140 -50
- package/build/dist/UI/Components/Table/Table.js.map +1 -1
- package/build/dist/UI/Components/Table/TableBody.js +26 -2
- package/build/dist/UI/Components/Table/TableBody.js.map +1 -1
- package/build/dist/UI/Components/Table/TableEmptyState.js +118 -0
- package/build/dist/UI/Components/Table/TableEmptyState.js.map +1 -0
- package/build/dist/UI/Components/Table/TableEmptyStateBuilders.js +114 -0
- package/build/dist/UI/Components/Table/TableEmptyStateBuilders.js.map +1 -0
- package/build/dist/UI/Components/Table/TableRow.js +46 -20
- package/build/dist/UI/Components/Table/TableRow.js.map +1 -1
- package/build/dist/UI/Components/Table/TableSkeletonRows.js +4 -2
- package/build/dist/UI/Components/Table/TableSkeletonRows.js.map +1 -1
- package/build/dist/UI/Components/TableColumnList/TableColumnListComponent.js +11 -2
- package/build/dist/UI/Components/TableColumnList/TableColumnListComponent.js.map +1 -1
- package/build/dist/UI/Components/Tabs/Tabs.js +3 -1
- package/build/dist/UI/Components/Tabs/Tabs.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/FacetVisibility.js +27 -8
- package/build/dist/UI/Components/TelemetryViewer/FacetVisibility.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/TelemetryViewer.js +31 -9
- package/build/dist/UI/Components/TelemetryViewer/TelemetryViewer.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/FacetSearchInput.js +9 -2
- package/build/dist/UI/Components/TelemetryViewer/components/FacetSearchInput.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/FacetShowMoreButton.js +5 -1
- package/build/dist/UI/Components/TelemetryViewer/components/FacetShowMoreButton.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/HiddenFacetsFooter.js +8 -3
- package/build/dist/UI/Components/TelemetryViewer/components/HiddenFacetsFooter.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/LockedFilterChip.js +56 -27
- package/build/dist/UI/Components/TelemetryViewer/components/LockedFilterChip.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/SavedViewsDropdown.js +17 -11
- package/build/dist/UI/Components/TelemetryViewer/components/SavedViewsDropdown.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryActiveFilterChips.js +9 -3
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryActiveFilterChips.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryDetailPanel.js +4 -2
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryDetailPanel.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryFacetSidebar.js +3 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryFacetSidebar.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryFacetValueRow.js +8 -4
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryFacetValueRow.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryHistogram.js +9 -5
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryHistogram.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryHistogramTooltip.js +3 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryHistogramTooltip.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryItemLabel.js +11 -0
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryItemLabel.js.map +1 -0
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryPagination.js +3 -10
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryPagination.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryResultTotal.js +60 -0
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetryResultTotal.js.map +1 -0
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetrySearchBar.js +5 -3
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetrySearchBar.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetrySearchHelp.js +13 -13
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetrySearchHelp.js.map +1 -1
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetrySearchSuggestions.js +4 -5
- package/build/dist/UI/Components/TelemetryViewer/components/TelemetrySearchSuggestions.js.map +1 -1
- package/build/dist/UI/Components/TemplateVariables/InsertTemplateVariableButton.js +90 -0
- package/build/dist/UI/Components/TemplateVariables/InsertTemplateVariableButton.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariableIcons.js +15 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariableIcons.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariableMenu.js +159 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariableMenu.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariablePopup.js +160 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariablePopup.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariableTextControl.js +73 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariableTextControl.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariablesCopy.js +28 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariablesCopy.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariablesList.js +98 -0
- package/build/dist/UI/Components/TemplateVariables/TemplateVariablesList.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/TextControlUtil.js +197 -0
- package/build/dist/UI/Components/TemplateVariables/TextControlUtil.js.map +1 -0
- package/build/dist/UI/Components/TemplateVariables/useTemplateVariableTyping.js +184 -0
- package/build/dist/UI/Components/TemplateVariables/useTemplateVariableTyping.js.map +1 -0
- package/build/dist/UI/Components/TimePicker/TimePicker.js +22 -21
- package/build/dist/UI/Components/TimePicker/TimePicker.js.map +1 -1
- package/build/dist/UI/Components/Toggle/Toggle.js +39 -25
- package/build/dist/UI/Components/Toggle/Toggle.js.map +1 -1
- package/build/dist/UI/Components/Tooltip/InfoTooltip.js +6 -1
- package/build/dist/UI/Components/Tooltip/InfoTooltip.js.map +1 -1
- package/build/dist/UI/Components/Tooltip/Tooltip.js +5 -3
- package/build/dist/UI/Components/Tooltip/Tooltip.js.map +1 -1
- package/build/dist/UI/Components/TranslatedSentence/TranslatedSentence.js +22 -0
- package/build/dist/UI/Components/TranslatedSentence/TranslatedSentence.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ArgumentsForm.js +23 -9
- package/build/dist/UI/Components/Workflow/ArgumentsForm.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/AddColumnPicker.js +15 -14
- package/build/dist/UI/Components/Workflow/ColumnEditor/AddColumnPicker.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnConditionRow.js +8 -6
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnConditionRow.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnControl.js +22 -14
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnControl.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnFieldRow.js +15 -12
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnFieldRow.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnOperators.js +15 -14
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnOperators.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnPickerOptions.js +2 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnPickerOptions.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnRowSerialization.js +3 -2
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnRowSerialization.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnValueInput.js +13 -6
- package/build/dist/UI/Components/Workflow/ColumnEditor/ColumnValueInput.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ModelQueryBuilder.js +9 -6
- package/build/dist/UI/Components/Workflow/ColumnEditor/ModelQueryBuilder.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ColumnEditor/ModelRecordForm.js +20 -10
- package/build/dist/UI/Components/Workflow/ColumnEditor/ModelRecordForm.js.map +1 -1
- package/build/dist/UI/Components/Workflow/Component.js +7 -3
- package/build/dist/UI/Components/Workflow/Component.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentArgumentsViewer.js +10 -3
- package/build/dist/UI/Components/Workflow/ComponentArgumentsViewer.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentPicker/PickerItems.js +33 -15
- package/build/dist/UI/Components/Workflow/ComponentPicker/PickerItems.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentPortViewer.js +3 -1
- package/build/dist/UI/Components/Workflow/ComponentPortViewer.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentReturnValueViewer.js +7 -2
- package/build/dist/UI/Components/Workflow/ComponentReturnValueViewer.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentSettingsModal.js +15 -6
- package/build/dist/UI/Components/Workflow/ComponentSettingsModal.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentSettingsSection.js +4 -2
- package/build/dist/UI/Components/Workflow/ComponentSettingsSection.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ComponentsModal.js +67 -48
- package/build/dist/UI/Components/Workflow/ComponentsModal.js.map +1 -1
- package/build/dist/UI/Components/Workflow/Condition/ConditionEditor.js +35 -17
- package/build/dist/UI/Components/Workflow/Condition/ConditionEditor.js.map +1 -1
- package/build/dist/UI/Components/Workflow/Condition/ConditionModel.js +23 -11
- package/build/dist/UI/Components/Workflow/Condition/ConditionModel.js.map +1 -1
- package/build/dist/UI/Components/Workflow/CronScheduleField.js +25 -24
- package/build/dist/UI/Components/Workflow/CronScheduleField.js.map +1 -1
- package/build/dist/UI/Components/Workflow/DocumentationViewer.js +10 -2
- package/build/dist/UI/Components/Workflow/DocumentationViewer.js.map +1 -1
- package/build/dist/UI/Components/Workflow/GraphLint.js +40 -13
- package/build/dist/UI/Components/Workflow/GraphLint.js.map +1 -1
- package/build/dist/UI/Components/Workflow/GraphLintSummary.js +16 -7
- package/build/dist/UI/Components/Workflow/GraphLintSummary.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ManualTriggerPanel.js +11 -8
- package/build/dist/UI/Components/Workflow/ManualTriggerPanel.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ModelColumnEditor.js +47 -38
- package/build/dist/UI/Components/Workflow/ModelColumnEditor.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ModelFieldPicker.js +54 -37
- package/build/dist/UI/Components/Workflow/ModelFieldPicker.js.map +1 -1
- package/build/dist/UI/Components/Workflow/RunForm.js +13 -5
- package/build/dist/UI/Components/Workflow/RunForm.js.map +1 -1
- package/build/dist/UI/Components/Workflow/RunStatusWatcher.js +27 -6
- package/build/dist/UI/Components/Workflow/RunStatusWatcher.js.map +1 -1
- package/build/dist/UI/Components/Workflow/StepTraceViewer.js +68 -44
- package/build/dist/UI/Components/Workflow/StepTraceViewer.js.map +1 -1
- package/build/dist/UI/Components/Workflow/UseRunWatch.js +2 -2
- package/build/dist/UI/Components/Workflow/UseRunWatch.js.map +1 -1
- package/build/dist/UI/Components/Workflow/Utils.js +4 -1
- package/build/dist/UI/Components/Workflow/Utils.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ValuePicker/InsertValueButton.js +4 -2
- package/build/dist/UI/Components/Workflow/ValuePicker/InsertValueButton.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ValuePicker/ValuePickerMenu.js +60 -48
- package/build/dist/UI/Components/Workflow/ValuePicker/ValuePickerMenu.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ValuePicker/ValuePickerPopup.js +3 -1
- package/build/dist/UI/Components/Workflow/ValuePicker/ValuePickerPopup.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ValuePicker/ValueSingleField.js +6 -3
- package/build/dist/UI/Components/Workflow/ValuePicker/ValueSingleField.js.map +1 -1
- package/build/dist/UI/Components/Workflow/ValuePicker/ValueTextField.js +7 -4
- package/build/dist/UI/Components/Workflow/ValuePicker/ValueTextField.js.map +1 -1
- package/build/dist/UI/Components/Workflow/WorkflowIssuesModal.js +21 -20
- package/build/dist/UI/Components/Workflow/WorkflowIssuesModal.js.map +1 -1
- package/build/dist/UI/Components/Workflow/WorkflowLogModal.js +9 -5
- package/build/dist/UI/Components/Workflow/WorkflowLogModal.js.map +1 -1
- package/build/dist/UI/Components/Workflow/WorkflowStatusBar.js +16 -9
- package/build/dist/UI/Components/Workflow/WorkflowStatusBar.js.map +1 -1
- package/build/dist/UI/Types/UseAnchoredFieldPopup.js +2 -2
- package/build/dist/UI/Types/UseAnchoredFieldPopup.js.map +1 -1
- package/build/dist/UI/Utils/AnalyticsModelAPI/AnalyticsModelAPI.js +2 -4
- package/build/dist/UI/Utils/AnalyticsModelAPI/AnalyticsModelAPI.js.map +1 -1
- package/build/dist/UI/Utils/Dropdown.js +74 -2
- package/build/dist/UI/Utils/Dropdown.js.map +1 -1
- package/build/dist/UI/Utils/ForeignDomMutationGuard.js +111 -0
- package/build/dist/UI/Utils/ForeignDomMutationGuard.js.map +1 -0
- package/build/dist/UI/Utils/GrantablePermission.js +108 -0
- package/build/dist/UI/Utils/GrantablePermission.js.map +1 -0
- package/build/dist/UI/Utils/PermissionGate.js +30 -2
- package/build/dist/UI/Utils/PermissionGate.js.map +1 -1
- package/build/dist/UI/Utils/Rules/RuleRunClient.js +10 -2
- package/build/dist/UI/Utils/Rules/RuleRunClient.js.map +1 -1
- package/build/dist/UI/Utils/Telemetry/ResultTotal.js +102 -0
- package/build/dist/UI/Utils/Telemetry/ResultTotal.js.map +1 -0
- package/build/dist/UI/Utils/Telemetry/UseResultTotal.js +94 -0
- package/build/dist/UI/Utils/Telemetry/UseResultTotal.js.map +1 -0
- package/build/dist/UI/Utils/TranslateTemplate.js +353 -13
- package/build/dist/UI/Utils/TranslateTemplate.js.map +1 -1
- package/build/dist/UI/Utils/Translation.js +23 -2
- package/build/dist/UI/Utils/Translation.js.map +1 -1
- package/build/dist/UI/Utils/UseClockTick.js +20 -2
- package/build/dist/UI/Utils/UseClockTick.js.map +1 -1
- package/build/dist/UI/Utils/UseLiveDuration.js +66 -0
- package/build/dist/UI/Utils/UseLiveDuration.js.map +1 -0
- package/build/dist/UI/Utils/UseTranslator.js +20 -0
- package/build/dist/UI/Utils/UseTranslator.js.map +1 -0
- package/build/dist/Utils/ColorContrast.js +182 -0
- package/build/dist/Utils/ColorContrast.js.map +1 -0
- package/build/dist/Utils/DeveloperDocs/AiAssistantExamples.js +3 -3
- package/build/dist/Utils/DeveloperDocs/AiAssistantExamples.js.map +1 -1
- package/build/dist/Utils/DeveloperDocs/ApiExamples.js +1 -177
- package/build/dist/Utils/DeveloperDocs/ApiExamples.js.map +1 -1
- package/build/dist/Utils/DeveloperDocs/ExampleBuilder.js +1116 -0
- package/build/dist/Utils/DeveloperDocs/ExampleBuilder.js.map +1 -0
- package/build/dist/Utils/DeveloperDocs/ExampleValues.js +67 -0
- package/build/dist/Utils/DeveloperDocs/ExampleValues.js.map +1 -1
- package/build/dist/Utils/DeveloperDocs/Hcl.js +93 -17
- package/build/dist/Utils/DeveloperDocs/Hcl.js.map +1 -1
- package/build/dist/Utils/DeveloperDocs/LiveData.js +142 -0
- package/build/dist/Utils/DeveloperDocs/LiveData.js.map +1 -0
- package/build/dist/Utils/DeveloperDocs/PageLookups.js +224 -0
- package/build/dist/Utils/DeveloperDocs/PageLookups.js.map +1 -0
- package/build/dist/Utils/DeveloperDocs/ResourceProfiles.js +1447 -0
- package/build/dist/Utils/DeveloperDocs/ResourceProfiles.js.map +1 -0
- package/build/dist/Utils/DeveloperDocs/TerraformConfig.js +82 -79
- package/build/dist/Utils/DeveloperDocs/TerraformConfig.js.map +1 -1
- package/build/dist/Utils/DeveloperDocs/TerraformMonitorSteps.js +35 -12
- package/build/dist/Utils/DeveloperDocs/TerraformMonitorSteps.js.map +1 -1
- package/build/dist/Utils/DeveloperDocs/TerraformSchema.js +54 -0
- package/build/dist/Utils/DeveloperDocs/TerraformSchema.js.map +1 -1
- package/build/dist/Utils/Email/EmailColorUtil.js +101 -0
- package/build/dist/Utils/Email/EmailColorUtil.js.map +1 -0
- package/build/dist/Utils/Episode/EpisodeTemplateVariables.js +60 -0
- package/build/dist/Utils/Episode/EpisodeTemplateVariables.js.map +1 -0
- package/build/dist/Utils/Incident/IncidentNoteTemplateVariables.js +26 -5
- package/build/dist/Utils/Incident/IncidentNoteTemplateVariables.js.map +1 -1
- package/build/dist/Utils/Incident/IncidentSlaNoteTemplateVariables.js +26 -0
- package/build/dist/Utils/Incident/IncidentSlaNoteTemplateVariables.js.map +1 -0
- package/build/dist/Utils/KeyFromName.js +139 -0
- package/build/dist/Utils/KeyFromName.js.map +1 -0
- package/build/dist/Utils/ListOrder.js +242 -0
- package/build/dist/Utils/ListOrder.js.map +1 -0
- package/build/dist/Utils/Measurement/MeasurementMoments.js +477 -0
- package/build/dist/Utils/Measurement/MeasurementMoments.js.map +1 -0
- package/build/dist/Utils/Project/NumberPrefix.js +126 -0
- package/build/dist/Utils/Project/NumberPrefix.js.map +1 -0
- package/build/dist/Utils/Slo/SloBurnRateTemplate.js +17 -0
- package/build/dist/Utils/Slo/SloBurnRateTemplate.js.map +1 -1
- package/build/dist/Utils/StateOrder.js +384 -0
- package/build/dist/Utils/StateOrder.js.map +1 -0
- package/package.json +1 -1
- package/Server/Services/IncidentFormService.ts +0 -1566
- package/Server/Services/IncidentFormSubmissionService.ts +0 -97
- package/Tests/App/Accounts/IncidentFormPage.test.tsx +0 -2036
- package/Tests/App/Accounts/IncidentFormServerMessages.test.ts +0 -119
- package/Tests/App/Accounts/IncidentFormUtils.test.ts +0 -1157
- package/Tests/App/Dashboard/IncidentFormsPages.test.tsx +0 -1324
- package/Tests/Server/Services/IncidentCustomFieldDeleteFormQuestions.test.ts +0 -297
- package/Tests/Server/Services/IncidentFormPublicForm.test.ts +0 -1260
- package/Tests/Server/Services/IncidentFormPublicSubmission.test.ts +0 -2520
- package/Tests/Server/Services/IncidentFormService.test.ts +0 -663
- package/Tests/Server/Services/IncidentFormSubmissionService.test.ts +0 -430
- package/Tests/Types/Incident/IncidentFormPublic.test.ts +0 -1916
- package/Tests/UI/Components/FeedOptionsButton.test.tsx +0 -2610
- package/Tests/UI/Components/Item.test.tsx +0 -72
- package/Tests/UI/Components/OrderedStatesList.test.tsx +0 -148
- package/Tests/UI/Components/OrderedStatesListCreateGate.test.tsx +0 -174
- package/Types/Incident/IncidentFormPublic.ts +0 -1145
- package/UI/Components/EventHistoryList/NoEventDay.tsx +0 -27
- package/UI/Components/Feed/FeedOptionsButton.tsx +0 -692
- package/UI/Components/OrderedStatesList/Item.tsx +0 -76
- package/UI/Components/OrderedStatesList/OrderedStatesList.tsx +0 -261
- package/build/dist/Models/DatabaseModels/IncidentForm.js.map +0 -1
- package/build/dist/Models/DatabaseModels/IncidentFormSubmission.js.map +0 -1
- package/build/dist/Server/API/IncidentFormAPI.js.map +0 -1
- package/build/dist/Server/Middleware/IncidentFormRateLimit.js.map +0 -1
- package/build/dist/Server/Services/IncidentFormService.js +0 -1202
- package/build/dist/Server/Services/IncidentFormService.js.map +0 -1
- package/build/dist/Server/Services/IncidentFormSubmissionService.js +0 -91
- package/build/dist/Server/Services/IncidentFormSubmissionService.js.map +0 -1
- package/build/dist/Types/Incident/IncidentFormIpAllowlist.js.map +0 -1
- package/build/dist/Types/Incident/IncidentFormPublic.js +0 -678
- package/build/dist/Types/Incident/IncidentFormPublic.js.map +0 -1
- package/build/dist/UI/Components/EventHistoryList/NoEventDay.js +0 -16
- package/build/dist/UI/Components/EventHistoryList/NoEventDay.js.map +0 -1
- package/build/dist/UI/Components/Feed/FeedOptionsButton.js +0 -346
- package/build/dist/UI/Components/Feed/FeedOptionsButton.js.map +0 -1
- package/build/dist/UI/Components/OrderedStatesList/Item.js +0 -29
- package/build/dist/UI/Components/OrderedStatesList/Item.js.map +0 -1
- package/build/dist/UI/Components/OrderedStatesList/OrderedStatesList.js +0 -101
- package/build/dist/UI/Components/OrderedStatesList/OrderedStatesList.js.map +0 -1
|
@@ -17,7 +17,9 @@ import { useValuePicker } from "./ValuePickerContext";
|
|
|
17
17
|
import ValuePickerMenu from "./ValuePickerMenu";
|
|
18
18
|
import ValuePickerPopup, { ValuePickerCloseReason, ValuePickerPopupMode, } from "./ValuePickerPopup";
|
|
19
19
|
import React, { useId, useRef, useState, } from "react";
|
|
20
|
-
|
|
20
|
+
import { translationKey } from "../../../Utils/TranslateTemplate";
|
|
21
|
+
import useTranslator from "../../../Utils/UseTranslator";
|
|
22
|
+
export const INSERT_VALUE_LABEL = translationKey("Insert a value from an earlier step or a variable");
|
|
21
23
|
/*
|
|
22
24
|
* The { } button, the same in every field that has one. Bordered, so it reads
|
|
23
25
|
* as a button at a glance: it is how values get into a step, and a faint
|
|
@@ -27,6 +29,7 @@ export const INSERT_VALUE_BUTTON_CLASS = "shrink-0 rounded border px-1.5 py-0.5
|
|
|
27
29
|
export const INSERT_VALUE_BUTTON_IDLE_CLASS = "border-gray-200 bg-white text-gray-500 hover:bg-indigo-50 hover:text-indigo-600";
|
|
28
30
|
export const INSERT_VALUE_BUTTON_OPEN_CLASS = "border-indigo-200 bg-indigo-50 text-indigo-600";
|
|
29
31
|
const ValueTextField = (props) => {
|
|
32
|
+
const translator = useTranslator();
|
|
30
33
|
const picker = useValuePicker();
|
|
31
34
|
const id = useId();
|
|
32
35
|
const errorId = `${id}-error`;
|
|
@@ -69,7 +72,7 @@ const ValueTextField = (props) => {
|
|
|
69
72
|
React.createElement("div", { ref: boxRef, className: `relative flex w-full items-start rounded-md border bg-white shadow-sm ${props.error
|
|
70
73
|
? "border-red-300 focus-within:border-red-500 focus-within:ring-1 focus-within:ring-red-500"
|
|
71
74
|
: "border-gray-300 focus-within:border-indigo-500 focus-within:ring-1 focus-within:ring-indigo-500"} ${props.disabled ? "bg-gray-50" : ""}`, "data-testid": `${dataTestId}-box` },
|
|
72
|
-
React.createElement(TemplateTextEditor, { ref: editorRef, value: props.value, onChange: props.onChange, multiline: props.multiline, describeReference: picker.describeReference, placeholder: props.placeholder, ariaLabelledby: props.ariaLabelledby, ariaLabel: props.ariaLabel, ariaDescribedby: props.error ? errorId : undefined, ariaInvalid: Boolean(props.error), ariaControls: isInlineOpen ? inlineListboxId : undefined, ariaActiveDescendant: isInlineOpen ? activeOptionId : undefined, autoFocus: props.autoFocus, tabIndex: props.tabIndex, disabled: props.disabled, monospace: props.monospace, className: compactPadding, dataTestId: dataTestId, onTriggerChange: canPick
|
|
75
|
+
React.createElement(TemplateTextEditor, { ref: editorRef, value: props.value, onChange: props.onChange, multiline: props.multiline, describeReference: picker.describeReference, placeholder: translator.translateText(props.placeholder), ariaLabelledby: props.ariaLabelledby, ariaLabel: translator.translateText(props.ariaLabel), ariaDescribedby: props.error ? errorId : undefined, ariaInvalid: Boolean(props.error), ariaControls: isInlineOpen ? inlineListboxId : undefined, ariaActiveDescendant: isInlineOpen ? activeOptionId : undefined, autoFocus: props.autoFocus, tabIndex: props.tabIndex, disabled: props.disabled, monospace: props.monospace, className: compactPadding, dataTestId: dataTestId, onTriggerChange: canPick
|
|
73
76
|
? (next) => {
|
|
74
77
|
setTrigger(next);
|
|
75
78
|
}
|
|
@@ -129,7 +132,7 @@ const ValueTextField = (props) => {
|
|
|
129
132
|
} }),
|
|
130
133
|
canPick && (React.createElement("button", { type: "button", className: `self-start ${INSERT_VALUE_BUTTON_CLASS} ${props.isCompact ? "m-0.5" : "m-1"} ${isPopoverOpen
|
|
131
134
|
? INSERT_VALUE_BUTTON_OPEN_CLASS
|
|
132
|
-
: INSERT_VALUE_BUTTON_IDLE_CLASS}`, "aria-label": INSERT_VALUE_LABEL, title: INSERT_VALUE_LABEL, "aria-haspopup": "dialog", "aria-expanded": isPopoverOpen, "data-testid": `${dataTestId}-insert-value`, onMouseDown: () => {
|
|
135
|
+
: INSERT_VALUE_BUTTON_IDLE_CLASS}`, "aria-label": translator.translateText(INSERT_VALUE_LABEL), title: translator.translateText(INSERT_VALUE_LABEL), "aria-haspopup": "dialog", "aria-expanded": isPopoverOpen, "data-testid": `${dataTestId}-insert-value`, onMouseDown: () => {
|
|
133
136
|
var _a;
|
|
134
137
|
// Before the press takes the focus: where the caret is now.
|
|
135
138
|
savedSelectionRef.current =
|
|
@@ -147,7 +150,7 @@ const ValueTextField = (props) => {
|
|
|
147
150
|
setTrigger(null);
|
|
148
151
|
setIsPopoverOpen(true);
|
|
149
152
|
} }, "{ }"))),
|
|
150
|
-
props.error && (React.createElement("p", { id: errorId, "data-testid": "error-message", className: "mt-1 text-sm text-red-400", role: "alert" }, props.error)),
|
|
153
|
+
props.error && (React.createElement("p", { id: errorId, "data-testid": "error-message", className: "mt-1 text-sm text-red-400", role: "alert" }, translator.translateText(props.error))),
|
|
151
154
|
isPopoverOpen && (React.createElement(ValuePickerPopup, { id: popoverId, anchorRef: boxRef, mode: ValuePickerPopupMode.Popover, ariaLabel: "Insert a value", onClose: (reason) => {
|
|
152
155
|
var _a;
|
|
153
156
|
setIsPopoverOpen(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueTextField.js","sourceRoot":"","sources":["../../../../../../UI/Components/Workflow/ValuePicker/ValueTextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,kBAEN,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAA2B,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,eAA0C,MAAM,mBAAmB,CAAC;AAC3E,OAAO,gBAAgB,EAAE,EACvB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,EAGZ,KAAK,EACL,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ValueTextField.js","sourceRoot":"","sources":["../../../../../../UI/Components/Workflow/ValuePicker/ValueTextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,kBAEN,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAA2B,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,eAA0C,MAAM,mBAAmB,CAAC;AAC3E,OAAO,gBAAgB,EAAE,EACvB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,EAGZ,KAAK,EACL,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAc,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,aAAa,MAAM,8BAA8B,CAAC;AAEzD,MAAM,CAAC,MAAM,kBAAkB,GAAW,cAAc,CACtD,mDAAmD,CACpD,CAAC;AA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E,oBAAoB,CAAC,OAAO,EAClC,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,CAAC,MAA8B,EAAE,EAAE;;gBAC1C,gBAAgB,CAAC,KAAK,CAAC,CAAC;gBACxB,iBAAiB,CAAC,OAAO,GAAG,IAAI,CAAC;gBAEjC,IAAI,MAAM,KAAK,sBAAsB,CAAC,OAAO,EAAE,CAAC;oBAC9C,MAAA,SAAS,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;gBAC7B,CAAC;YACH,CAAC;YAED,oBAAC,eAAe,IAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,GAAI,CAC/C,CACpB;QAEA,YAAY,IAAI,CACf,oBAAC,gBAAgB,IACf,EAAE,EAAE,aAAa,EACjB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,oBAAoB,CAAC,MAAM,EACjC,SAAS,EAAC,gCAAgC,EAC1C,UAAU,EAAC,qBAAqB,EAChC,OAAO,EAAE,GAAG,EAAE;;gBACZ,MAAA,SAAS,CAAC,OAAO,0CAAE,cAAc,EAAE,CAAC;gBACpC,UAAU,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC;YAED,oBAAC,eAAe,IACd,GAAG,EAAE,OAAO,EACZ,YAAY,EAAE,KAAK,EACnB,KAAK,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,KAAI,EAAE,EAC3B,SAAS,EAAE,eAAe,EAC1B,oBAAoB,EAAE,iBAAiB,EACvC,MAAM,EAAE,UAAU,GAClB,CACe,CACpB,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -12,8 +12,10 @@ import Icon, { SizeProp } from "../Icon/Icon";
|
|
|
12
12
|
import Modal, { ModalWidth } from "../Modal/Modal";
|
|
13
13
|
import IconProp from "../../../Types/Icon/IconProp";
|
|
14
14
|
import { WorkflowLintSeverity, } from "./GraphLint";
|
|
15
|
-
import { getWorkflowLintSeverityLabel, groupWorkflowLintIssues, } from "./GraphLintSummary";
|
|
15
|
+
import { getWorkflowLintSeverityLabel, WORKFLOW_LINT_ERROR_COUNT, WORKFLOW_LINT_WARNING_COUNT, groupWorkflowLintIssues, } from "./GraphLintSummary";
|
|
16
16
|
import React from "react";
|
|
17
|
+
import { translatableTerm } from "../../Utils/TranslateTemplate";
|
|
18
|
+
import useTranslator from "../../Utils/UseTranslator";
|
|
17
19
|
const renderSeverityIcon = (severity) => {
|
|
18
20
|
const isError = severity === WorkflowLintSeverity.Error;
|
|
19
21
|
return (React.createElement("span", { className: `mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${isError ? "bg-red-100 text-red-600" : "bg-amber-100 text-amber-600"}`, "data-testid": isError ? "workflow-issue-error-icon" : "workflow-issue-warning-icon" },
|
|
@@ -23,13 +25,10 @@ const renderCountPill = (params) => {
|
|
|
23
25
|
if (params.count <= 0) {
|
|
24
26
|
return null;
|
|
25
27
|
}
|
|
26
|
-
return (React.createElement("span", { className: `inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium leading-4 whitespace-nowrap ${params.className}`, "data-testid": params.testId },
|
|
27
|
-
params.count,
|
|
28
|
-
" ",
|
|
29
|
-
params.singular,
|
|
30
|
-
params.count === 1 ? "" : "s"));
|
|
28
|
+
return (React.createElement("span", { className: `inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium leading-4 whitespace-nowrap ${params.className}`, "data-testid": params.testId }, params.label));
|
|
31
29
|
};
|
|
32
30
|
const WorkflowIssuesModal = (props) => {
|
|
31
|
+
const translator = useTranslator();
|
|
33
32
|
const groups = groupWorkflowLintIssues({
|
|
34
33
|
issues: props.lintResult.issues,
|
|
35
34
|
stepTitlesByNodeId: props.stepTitlesByNodeId,
|
|
@@ -37,58 +36,60 @@ const WorkflowIssuesModal = (props) => {
|
|
|
37
36
|
return (React.createElement(Modal, { title: "Problems with this workflow", description: "These are found by reading the workflow. Fixing them here saves a failed run later.", modalWidth: ModalWidth.Medium, closeButtonText: "Close", onClose: props.onClose },
|
|
38
37
|
React.createElement("div", { className: "space-y-3", "data-testid": "workflow-issues" }, groups.length === 0 ? (React.createElement("div", { className: "flex flex-col items-center gap-2 rounded-lg border border-dashed border-gray-200 px-4 py-8 text-center", "data-testid": "workflow-issues-empty" },
|
|
39
38
|
React.createElement(Icon, { icon: IconProp.CheckCircle, className: "h-6 w-6 text-emerald-500" }),
|
|
40
|
-
React.createElement("p", { className: "text-sm font-medium text-gray-900" }, "Nothing to fix here"),
|
|
41
|
-
React.createElement("p", { className: "text-sm text-gray-500" }, "The checks found nothing wrong with this workflow."))) : (React.createElement(React.Fragment, null,
|
|
39
|
+
React.createElement("p", { className: "text-sm font-medium text-gray-900" }, translator.translateText("Nothing to fix here")),
|
|
40
|
+
React.createElement("p", { className: "text-sm text-gray-500" }, translator.translateText("The checks found nothing wrong with this workflow.")))) : (React.createElement(React.Fragment, null,
|
|
42
41
|
React.createElement("div", { className: "flex flex-wrap items-center gap-2", "data-testid": "workflow-issues-summary" },
|
|
43
42
|
renderCountPill({
|
|
44
43
|
count: props.lintResult.errorCount,
|
|
45
|
-
|
|
44
|
+
label: translator.translatePlural(WORKFLOW_LINT_ERROR_COUNT, props.lintResult.errorCount),
|
|
46
45
|
className: "bg-red-50 text-red-700 ring-1 ring-inset ring-red-200",
|
|
47
46
|
testId: "workflow-issues-error-count",
|
|
48
47
|
}),
|
|
49
48
|
renderCountPill({
|
|
50
49
|
count: props.lintResult.warningCount,
|
|
51
|
-
|
|
50
|
+
label: translator.translatePlural(WORKFLOW_LINT_WARNING_COUNT, props.lintResult.warningCount),
|
|
52
51
|
className: "bg-amber-50 text-amber-800 ring-1 ring-inset ring-amber-200",
|
|
53
52
|
testId: "workflow-issues-warning-count",
|
|
54
53
|
}),
|
|
55
|
-
React.createElement("span", { className: "text-xs text-gray-500" },
|
|
56
|
-
"across",
|
|
57
|
-
" ",
|
|
58
|
-
|
|
54
|
+
React.createElement("span", { className: "text-xs text-gray-500" }, translator.translatePlural({
|
|
55
|
+
one: "across {{count}} place",
|
|
56
|
+
other: "across {{count}} places",
|
|
57
|
+
}, groups.length))),
|
|
59
58
|
groups.map((group) => {
|
|
60
59
|
const canGoToStep = Boolean(props.onGoToStep && group.nodeId);
|
|
61
60
|
return (React.createElement("section", { key: group.key, className: "overflow-hidden rounded-lg border border-gray-200", "data-testid": "workflow-issue-group" },
|
|
62
61
|
React.createElement("header", { className: "flex items-start justify-between gap-3 border-b border-gray-200 bg-gray-50 px-3 py-2" },
|
|
63
62
|
React.createElement("div", { className: "min-w-0" },
|
|
64
|
-
React.createElement("p", { className: "truncate text-sm font-semibold text-gray-900" }, group.title),
|
|
63
|
+
React.createElement("p", { className: "truncate text-sm font-semibold text-gray-900" }, translator.translateText(group.title)),
|
|
65
64
|
group.componentId &&
|
|
66
65
|
group.componentId !== group.title && (React.createElement("p", { className: "truncate font-mono text-xs text-gray-500" }, group.componentId))),
|
|
67
66
|
React.createElement("div", { className: "flex shrink-0 items-center gap-2" },
|
|
68
67
|
renderCountPill({
|
|
69
68
|
count: group.errorCount,
|
|
70
|
-
|
|
69
|
+
label: translator.translatePlural(WORKFLOW_LINT_ERROR_COUNT, group.errorCount),
|
|
71
70
|
className: "bg-red-50 text-red-700 ring-1 ring-inset ring-red-200",
|
|
72
71
|
testId: "workflow-issue-group-error-count",
|
|
73
72
|
}),
|
|
74
73
|
renderCountPill({
|
|
75
74
|
count: group.warningCount,
|
|
76
|
-
|
|
75
|
+
label: translator.translatePlural(WORKFLOW_LINT_WARNING_COUNT, group.warningCount),
|
|
77
76
|
className: "bg-amber-50 text-amber-800 ring-1 ring-inset ring-amber-200",
|
|
78
77
|
testId: "workflow-issue-group-warning-count",
|
|
79
78
|
}),
|
|
80
79
|
canGoToStep && (React.createElement("button", { type: "button", onClick: () => {
|
|
81
80
|
var _a;
|
|
82
81
|
(_a = props.onGoToStep) === null || _a === void 0 ? void 0 : _a.call(props, group.nodeId);
|
|
83
|
-
}, "aria-label":
|
|
84
|
-
|
|
82
|
+
}, "aria-label": translator.translateTemplate("Open settings for {{step}}", {
|
|
83
|
+
step: translatableTerm(group.title),
|
|
84
|
+
}), "data-testid": "workflow-issue-go-to-step", className: "inline-flex items-center gap-1 rounded-md border border-gray-300 bg-white px-2 py-1 text-xs font-medium text-gray-700 transition-colors hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-1" },
|
|
85
|
+
translator.translateText("Open step"),
|
|
85
86
|
React.createElement(Icon, { icon: IconProp.ChevronRight, size: SizeProp.ExtraSmall, className: "h-3 w-3" }))))),
|
|
86
87
|
React.createElement("ul", { className: "divide-y divide-gray-100" }, group.issues.map((issue, index) => {
|
|
87
88
|
return (React.createElement("li", { key: `${issue.rule}-${index}`, className: "flex items-start gap-2.5 px-3 py-2.5", "data-testid": "workflow-issue" },
|
|
88
89
|
renderSeverityIcon(issue.severity),
|
|
89
90
|
React.createElement("p", { className: "text-sm leading-5 text-gray-700" },
|
|
90
91
|
React.createElement("span", { className: "sr-only" },
|
|
91
|
-
getWorkflowLintSeverityLabel(issue.severity),
|
|
92
|
+
translator.translateText(getWorkflowLintSeverityLabel(issue.severity)),
|
|
92
93
|
":",
|
|
93
94
|
" "),
|
|
94
95
|
issue.message)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowIssuesModal.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/WorkflowIssuesModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AAEpD,OAAO,EAGL,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEL,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,oBAAoB,CA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ACN,KAAK,CAAC,OAAO,CACZ,CACD,CACN,CAAC;oBACJ,CAAC,CACF,CACE,CACG,CACX,CAAC;YACJ,CAAC,CAAC,CACD,CACJ,CACG,CACA,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -26,8 +26,11 @@ import { TraceAttention, getTraceAttention, getTraceSteps, } from "./StepTracePr
|
|
|
26
26
|
import WorkflowRunExportActions from "./WorkflowRunExportActions";
|
|
27
27
|
import { hasWorkflowRunContent } from "./WorkflowRunExport";
|
|
28
28
|
import React from "react";
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
import { translationKey } from "../../Utils/TranslateTemplate";
|
|
30
|
+
import useTranslator from "../../Utils/UseTranslator";
|
|
31
|
+
// Tab translates its name; these stay English so a caller can pick a tab.
|
|
32
|
+
export const STEPS_TAB_NAME = translationKey("Steps");
|
|
33
|
+
export const FULL_LOG_TAB_NAME = translationKey("Full Log");
|
|
31
34
|
/*
|
|
32
35
|
* The Steps tab's count takes the colour of the worst thing in the run, so a
|
|
33
36
|
* failed step or a warning shows before the tab is even open.
|
|
@@ -38,6 +41,7 @@ const TAB_TYPE_BY_ATTENTION = {
|
|
|
38
41
|
[TraceAttention.None]: TabType.Info,
|
|
39
42
|
};
|
|
40
43
|
const WorkflowLogModal = (props) => {
|
|
44
|
+
const translator = useTranslator();
|
|
41
45
|
const steps = getTraceSteps(props.stepTrace);
|
|
42
46
|
/*
|
|
43
47
|
* A run that has not logged a line or recorded a step yet - the builder's
|
|
@@ -57,8 +61,8 @@ const WorkflowLogModal = (props) => {
|
|
|
57
61
|
{
|
|
58
62
|
name: FULL_LOG_TAB_NAME,
|
|
59
63
|
children: props.logs ? (React.createElement(SimpleLogViewer, { title: "Workflow Execution Log", height: "400px", autoScrollToBottom: props.isRunning }, props.logs)) : (React.createElement("p", { className: "text-sm text-gray-500" }, props.isRunning
|
|
60
|
-
? "Nothing has been logged yet."
|
|
61
|
-
: "This run did not log anything.")),
|
|
64
|
+
? translator.translateText("Nothing has been logged yet.")
|
|
65
|
+
: translator.translateText("This run did not log anything."))),
|
|
62
66
|
},
|
|
63
67
|
];
|
|
64
68
|
return (React.createElement(Modal, { title: props.title || "Workflow Run", description: props.description || "Here is what happened when this workflow ran.", isLoading: false, modalWidth: ModalWidth.Large,
|
|
@@ -80,7 +84,7 @@ const WorkflowLogModal = (props) => {
|
|
|
80
84
|
props.isRunning && (React.createElement("span", { "aria-hidden": "true", className: "h-2 w-2 shrink-0 rounded-full bg-indigo-500 animate-pulse" })),
|
|
81
85
|
React.createElement("p", { className: `text-sm font-medium ${props.isStatusMessageError
|
|
82
86
|
? "text-red-600"
|
|
83
|
-
: "text-gray-600"}` }, props.statusMessage))) : (React.createElement("div", null)),
|
|
87
|
+
: "text-gray-600"}` }, translator.translateText(props.statusMessage || undefined)))) : (React.createElement("div", null)),
|
|
84
88
|
props.toolbar && (React.createElement("div", { className: "flex flex-wrap items-center gap-2", "data-testid": "workflow-run-toolbar" }, props.toolbar)))),
|
|
85
89
|
React.createElement(Tabs, { tabs: tabs, initialTabName: props.initialTabName, onTabChange: () => {
|
|
86
90
|
// Nothing to do — the modal shows both tabs from data it already has.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowLogModal.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/WorkflowLogModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,eAAe,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAO,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,aAAa,GACd,MAA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AgB,CAAC"}
|
|
@@ -16,6 +16,8 @@ import Icon, { SizeProp } from "../Icon/Icon";
|
|
|
16
16
|
import IconProp from "../../../Types/Icon/IconProp";
|
|
17
17
|
import { WorkflowLintTone, getWorkflowLintCountText, getWorkflowLintTone, } from "./GraphLintSummary";
|
|
18
18
|
import React from "react";
|
|
19
|
+
import { translationKey } from "../../Utils/TranslateTemplate";
|
|
20
|
+
import useTranslator from "../../Utils/UseTranslator";
|
|
19
21
|
/** Where the draft is between the last edit and the server having it. */
|
|
20
22
|
export var WorkflowSaveState;
|
|
21
23
|
(function (WorkflowSaveState) {
|
|
@@ -28,27 +30,27 @@ export var WorkflowSaveState;
|
|
|
28
30
|
export const getWorkflowSaveStatePresentation = (state) => {
|
|
29
31
|
if (state === WorkflowSaveState.Saved) {
|
|
30
32
|
return {
|
|
31
|
-
label: "Saved",
|
|
33
|
+
label: translationKey("Saved"),
|
|
32
34
|
dotClassName: "bg-emerald-500",
|
|
33
35
|
textClassName: "text-emerald-700",
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
if (state === WorkflowSaveState.Saving) {
|
|
37
39
|
return {
|
|
38
|
-
label: "Saving…",
|
|
40
|
+
label: translationKey("Saving…"),
|
|
39
41
|
dotClassName: "bg-indigo-500 animate-pulse",
|
|
40
42
|
textClassName: "text-indigo-700",
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
if (state === WorkflowSaveState.Error) {
|
|
44
46
|
return {
|
|
45
|
-
label: "Could not save",
|
|
47
|
+
label: translationKey("Could not save"),
|
|
46
48
|
dotClassName: "bg-red-500",
|
|
47
49
|
textClassName: "text-red-700",
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
return {
|
|
51
|
-
label: "Ready",
|
|
53
|
+
label: translationKey("Ready"),
|
|
52
54
|
dotClassName: "bg-gray-400",
|
|
53
55
|
textClassName: "text-gray-600",
|
|
54
56
|
};
|
|
@@ -68,7 +70,10 @@ const getRunPillClassName = (hasFailed, isClickable) => {
|
|
|
68
70
|
return `border-gray-200 bg-gray-50 text-gray-600${isClickable ? " hover:bg-gray-100 hover:border-gray-300" : ""}`;
|
|
69
71
|
};
|
|
70
72
|
const WorkflowStatusBar = (props) => {
|
|
73
|
+
const translator = useTranslator();
|
|
71
74
|
const savePresentation = getWorkflowSaveStatePresentation(props.saveState);
|
|
75
|
+
// RunStatusWatcher's sentence, in the reader's language.
|
|
76
|
+
const runStatusText = translator.translateText(props.runStatusMessage || undefined);
|
|
72
77
|
const lintResult = props.lintResult || null;
|
|
73
78
|
const tone = lintResult
|
|
74
79
|
? getWorkflowLintTone(lintResult)
|
|
@@ -77,14 +82,16 @@ const WorkflowStatusBar = (props) => {
|
|
|
77
82
|
return (React.createElement("div", { className: "flex flex-wrap items-center gap-2", "data-testid": "workflow-status-bar" },
|
|
78
83
|
React.createElement("span", { className: `${PILL_CLASS_NAME} border-gray-200 bg-white ${savePresentation.textClassName}`, "data-testid": "workflow-save-status" },
|
|
79
84
|
React.createElement("span", { className: `h-1.5 w-1.5 shrink-0 rounded-full ${savePresentation.dotClassName}`, "aria-hidden": "true" }),
|
|
80
|
-
savePresentation.label),
|
|
85
|
+
translator.translateText(savePresentation.label)),
|
|
81
86
|
props.runStatusMessage &&
|
|
82
|
-
(props.onShowRunLog ? (React.createElement("button", { type: "button", onClick: props.onShowRunLog, title: "See this run's log", "aria-label":
|
|
87
|
+
(props.onShowRunLog ? (React.createElement("button", { type: "button", onClick: props.onShowRunLog, title: translator.translateText("See this run's log"), "aria-label": translator.translateTemplate("{{status}} Open the run log.", {
|
|
88
|
+
status: runStatusText || "",
|
|
89
|
+
}), "data-testid": "workflow-run-status-button", className: `${PILL_CLASS_NAME} cursor-pointer transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-1 ${getRunPillClassName(Boolean(props.runStatusFailed), true)}` },
|
|
83
90
|
React.createElement(Icon, { icon: props.runStatusFailed ? IconProp.Alert : IconProp.Play, size: SizeProp.ExtraSmall, className: "h-3 w-3 shrink-0" }),
|
|
84
|
-
|
|
91
|
+
runStatusText)) : (React.createElement("span", { className: `${PILL_CLASS_NAME} ${getRunPillClassName(Boolean(props.runStatusFailed), false)}`, "data-testid": "workflow-run-status" },
|
|
85
92
|
React.createElement(Icon, { icon: props.runStatusFailed ? IconProp.Alert : IconProp.Play, size: SizeProp.ExtraSmall, className: "h-3 w-3 shrink-0" }),
|
|
86
|
-
|
|
87
|
-
lintResult && hasIssues && (React.createElement("button", { type: "button", onClick: props.onShowIssues, title: "See everything the checks found", "aria-label":
|
|
93
|
+
runStatusText))),
|
|
94
|
+
lintResult && hasIssues && (React.createElement("button", { type: "button", onClick: props.onShowIssues, title: translator.translateText("See everything the checks found"), "aria-label": translator.translateTemplate("{{counts}} found in this workflow. Open the list.", { counts: getWorkflowLintCountText(lintResult) }), "data-testid": "workflow-lint-status-button", className: `${PILL_CLASS_NAME} cursor-pointer transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-1 ${getLintPillClassName(tone)}` },
|
|
88
95
|
React.createElement(Icon, { icon: IconProp.Alert, size: SizeProp.ExtraSmall, className: "h-3 w-3 shrink-0" }),
|
|
89
96
|
getWorkflowLintCountText(lintResult)))));
|
|
90
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStatusBar.js","sourceRoot":"","sources":["../../../../../UI/Components/Workflow/WorkflowStatusBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AAEpD,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowStatusBar.js","sourceRoot":"","sources":["../../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QAAQ,CAAC,UAAU,EACzB,SAAS,EAAC,kBAAkB,GAC5B;gBACD,aAAa,CACT,CACR,CAAC;QAEH,UAAU,IAAI,SAAS,IAAI,CAC1B,gCACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,KAAK,CAAC,YAAY,EAC3B,KAAK,EAAE,UAAU,CAAC,aAAa,CAAC,iCAAiC,CAAC,gBACtD,UAAU,CAAC,iBAAiB,CACtC,mDAAmD,EACnD,EAAE,MAAM,EAAE,wBAAwB,CAAC,UAAU,CAAC,EAAE,CACjD,iBACW,6BAA6B,EACzC,SAAS,EAAE,GAAG,eAAe,uIAAuI,oBAAoB,CACtL,IAAI,CACL,EAAE;YAEH,oBAAC,IAAI,IACH,IAAI,EAAE,QAAQ,CAAC,KAAK,EACpB,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,SAAS,EAAC,kBAAkB,GAC5B;YACD,wBAAwB,CAAC,UAAU,CAAC,CAC9B,CACV,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -33,7 +33,7 @@ const getFocusableElements = (container) => {
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
const useAnchoredFieldPopup = (options) => {
|
|
36
|
-
const { popupWidth, popupMaxHeight } = options;
|
|
36
|
+
const { popupWidth, popupMaxHeight, repositionKey } = options;
|
|
37
37
|
const [isPopupOpen, setIsPopupOpen] = useState(false);
|
|
38
38
|
const [popupPosition, setPopupPosition] = useState(null);
|
|
39
39
|
const anchorRef = useRef(null);
|
|
@@ -166,7 +166,7 @@ const useAnchoredFieldPopup = (options) => {
|
|
|
166
166
|
window.cancelAnimationFrame(animationFrame);
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
|
-
}, [isPopupOpen, updatePopupPosition]);
|
|
169
|
+
}, [isPopupOpen, updatePopupPosition, repositionKey]);
|
|
170
170
|
// Outside click. Portal aware: the popup is not a DOM child of the anchor.
|
|
171
171
|
useEffect(() => {
|
|
172
172
|
if (!isPopupOpen) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UseAnchoredFieldPopup.js","sourceRoot":"","sources":["../../../../UI/Types/UseAnchoredFieldPopup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAc,EACZ,WAAW,EACX,SAAS,EACT,KAAK,EACL,eAAe,EACf,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf;;;;;;;;;GASG;AAEH,MAAM,YAAY,GAAW,CAAC,CAAC;AAC/B,MAAM,yBAAyB,GAAW,CAAC,CAAC;AAC5C,MAAM,0BAA0B,GAAW,GAAG,CAAC;AAE/C,MAAM,kBAAkB,GACtB,0EAA0E,CAAC;
|
|
1
|
+
{"version":3,"file":"UseAnchoredFieldPopup.js","sourceRoot":"","sources":["../../../../UI/Types/UseAnchoredFieldPopup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAc,EACZ,WAAW,EACX,SAAS,EACT,KAAK,EACL,eAAe,EACf,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf;;;;;;;;;GASG;AAEH,MAAM,YAAY,GAAW,CAAC,CAAC;AAC/B,MAAM,yBAAyB,GAAW,CAAC,CAAC;AAC5C,MAAM,0BAA0B,GAAW,GAAG,CAAC;AAE/C,MAAM,kBAAkB,GACtB,0EAA0E,CAAC;AAmC7E;;;;GAIG;AACH,MAAM,kBAAkB,GAAkB;IACxC,OAAO;IACP,GAAG;IACH,UAAU;IACV,WAAW;IACX,SAAS;CACV,CAAC;AAMF,MAAM,oBAAoB,GAAiC,CACzD,SAAsB,EACF,EAAE;IACtB,OAAO,KAAK,CAAC,IAAI,CACf,SAAS,CAAC,gBAAgB,CAAc,kBAAkB,CAAC,CAC5D,CAAC,MAAM,CAAC,CAAC,OAAoB,EAAE,EAAE;QAChC,OAAO,CACL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AE,aAAa,EAAE,IAAI,CAAC,CAAC;QAE1D,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;QAC/D,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC;IAE9B,OAAO;QACL,SAAS;QACT,UAAU;QACV,WAAW;QACX,gBAAgB;QAChB,OAAO;QACP,aAAa;QACb,QAAQ;QACR,YAAY,EAAE,OAAO,QAAQ,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI;QACpE,WAAW;KACZ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -171,7 +171,7 @@ export default class ModelAPI {
|
|
|
171
171
|
this.checkStatusCode(result);
|
|
172
172
|
throw result;
|
|
173
173
|
}
|
|
174
|
-
static async count(modelType, query, requestOptions) {
|
|
174
|
+
static async count(modelType, query, requestOptions, countOptions) {
|
|
175
175
|
const model = new modelType();
|
|
176
176
|
const apiPath = model.crudApiPath;
|
|
177
177
|
if (!apiPath) {
|
|
@@ -190,9 +190,7 @@ export default class ModelAPI {
|
|
|
190
190
|
const result = await this.getApiClientForRequest(requestOptions).fetch({
|
|
191
191
|
method: HTTPMethod.POST,
|
|
192
192
|
url: apiUrl,
|
|
193
|
-
data: {
|
|
194
|
-
query: JSONFunctions.serialize(query),
|
|
195
|
-
},
|
|
193
|
+
data: Object.assign({ query: JSONFunctions.serialize(query) }, ((countOptions === null || countOptions === void 0 ? void 0 : countOptions.exact) ? { exact: true } : {})),
|
|
196
194
|
headers,
|
|
197
195
|
});
|
|
198
196
|
if (result.isSuccess()) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsModelAPI.js","sourceRoot":"","sources":["../../../../../UI/Utils/AnalyticsModelAPI/AnalyticsModelAPI.ts"],"names":[],"mappings":"A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IAAI,gBAAgB,CACxB,gDAAgD,CACjD,CAAC;QACJ,CAAC;QAED,MAAM,MAAM,GAAQ,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC;aACzC,QAAQ,CAAC,OAAO,CAAC;aACjB,QAAQ,CAAC,GAAG,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEjC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,gBAAgB,CACxB,gDAAgD,CACjD,CAAC;QACJ,CAAC;QAED,MAAM,MAAM,GACV,MAAM,IAAI,CAAC,sBAAsB,CAC/B,cAAc,CACf,CAAC,KAAK,CAAsB;YAC3B,MAAM,EAAE,UAAU,CAAC,MAAM;YACzB,GAAG,EAAE,MAAM;YACX,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC;SAC/C,CAAC,CAAC;QAEL,IAAI,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAE7B,MAAM,MAAM,CAAC;IACf,CAAC;IAEO,MAAM,CAAC,eAAe,CAG5B,MAOqB;QAErB,IAAI,MAAM,CAAC,UAAU,KAAK,GAAG,EAAE,CAAC;YAC9B,MAAM,OAAO,GAAmB,WAAW,CAAC,iBAAiB,EAAE,CAAC;YAEhE,IAAI,OAAO,IAAI,OAAO,CAAC,EAAE,EAAE,CAAC;gBAC1B,UAAU,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,cAAc,OAAO,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;YAClE,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import NumberUtil from "../../Utils/Number";
|
|
2
|
+
import Color from "../../Types/Color";
|
|
2
3
|
import Text from "../../Types/Text";
|
|
3
4
|
export default class DropdownUtil {
|
|
4
5
|
static getDropdownOptionsFromEnum(obj, useKeyAsLabel = false) {
|
|
@@ -44,17 +45,25 @@ export default class DropdownUtil {
|
|
|
44
45
|
});
|
|
45
46
|
return option;
|
|
46
47
|
}
|
|
48
|
+
/*
|
|
49
|
+
* One option per row, wearing the row's colour when its model has one (a
|
|
50
|
+
* state, a severity, a monitor status, a label): the dot every dropdown
|
|
51
|
+
* draws before the name, so "Resolved" reads as green at a glance wherever
|
|
52
|
+
* it is picked. Select the colour column along with the label and value -
|
|
53
|
+
* a row fetched without it simply has no dot.
|
|
54
|
+
*/
|
|
47
55
|
static getDropdownOptionsFromEntityArray(data) {
|
|
48
56
|
return data.array.map((item) => {
|
|
57
|
+
var _a;
|
|
49
58
|
const option = {
|
|
50
|
-
label: item.getColumnValue(data.labelField),
|
|
59
|
+
label: (_a = item.getColumnValue(data.labelField)) !== null && _a !== void 0 ? _a : "",
|
|
51
60
|
value: item.getColumnValue(data.valueField),
|
|
52
61
|
};
|
|
53
62
|
const colorColumnName = typeof item.getFirstColorColumn === "function"
|
|
54
63
|
? item.getFirstColorColumn()
|
|
55
64
|
: null;
|
|
56
65
|
if (colorColumnName) {
|
|
57
|
-
const color = item.getColumnValue(colorColumnName);
|
|
66
|
+
const color = DropdownUtil.toOptionColor(item.getColumnValue(colorColumnName));
|
|
58
67
|
if (color) {
|
|
59
68
|
option.color = color;
|
|
60
69
|
}
|
|
@@ -62,6 +71,69 @@ export default class DropdownUtil {
|
|
|
62
71
|
return option;
|
|
63
72
|
});
|
|
64
73
|
}
|
|
74
|
+
/*
|
|
75
|
+
* An option's colour from whatever holds it: a Color as it is, a colour
|
|
76
|
+
* string ("#ef4444") as a Color. Nothing for an empty or unreadable value,
|
|
77
|
+
* so an option without a colour simply has no dot.
|
|
78
|
+
*/
|
|
79
|
+
static toOptionColor(value) {
|
|
80
|
+
if (value instanceof Color) {
|
|
81
|
+
return value.toString().trim() ? value : undefined;
|
|
82
|
+
}
|
|
83
|
+
if (typeof value === "string" && value.trim()) {
|
|
84
|
+
return new Color(value.trim());
|
|
85
|
+
}
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
/*
|
|
89
|
+
* The same options, each wearing the colour the form already knew for its
|
|
90
|
+
* value. A form field can list its options twice: the form fetches the
|
|
91
|
+
* dropdown's model with its colour column, and the field's own
|
|
92
|
+
* fetchDropdownOptions can fetch the list again - to sort it, or narrow it -
|
|
93
|
+
* selecting only a name and an id. The second list used to replace the
|
|
94
|
+
* first and take every colour with it: the Initial Incident State on an
|
|
95
|
+
* incident template listed plain names under a severity with a red dot.
|
|
96
|
+
*
|
|
97
|
+
* Nothing else changes: an option that has a colour of its own keeps it,
|
|
98
|
+
* order and membership are the second list's, and an option the form never
|
|
99
|
+
* knew stays as it came.
|
|
100
|
+
*/
|
|
101
|
+
static keepKnownOptionColors(options, knownOptions) {
|
|
102
|
+
const colorByValue = new Map();
|
|
103
|
+
const isGroup = (item) => {
|
|
104
|
+
return Array.isArray(item.options);
|
|
105
|
+
};
|
|
106
|
+
const remember = (option) => {
|
|
107
|
+
const color = DropdownUtil.toOptionColor(option.color);
|
|
108
|
+
if (color) {
|
|
109
|
+
colorByValue.set(String(option.value), color);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
for (const known of knownOptions || []) {
|
|
113
|
+
if (isGroup(known)) {
|
|
114
|
+
known.options.forEach(remember);
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
remember(known);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
if (colorByValue.size === 0) {
|
|
121
|
+
return options;
|
|
122
|
+
}
|
|
123
|
+
const withColor = (option) => {
|
|
124
|
+
if (DropdownUtil.toOptionColor(option.color)) {
|
|
125
|
+
return option;
|
|
126
|
+
}
|
|
127
|
+
const color = colorByValue.get(String(option.value));
|
|
128
|
+
return color ? Object.assign(Object.assign({}, option), { color: color }) : option;
|
|
129
|
+
};
|
|
130
|
+
return options.map((item) => {
|
|
131
|
+
if (isGroup(item)) {
|
|
132
|
+
return Object.assign(Object.assign({}, item), { options: item.options.map(withColor) });
|
|
133
|
+
}
|
|
134
|
+
return withColor(item);
|
|
135
|
+
});
|
|
136
|
+
}
|
|
65
137
|
static getDropdownOptionsFromArray(arr) {
|
|
66
138
|
const uniqueArr = [...new Set(arr)];
|
|
67
139
|
return uniqueArr.map((item) => {
|