diff --git a/app/src/components/widgets/singleLevelWidgets/charts/investigatedTrendChart/config/launchModeConfig.js b/app/src/components/widgets/singleLevelWidgets/charts/investigatedTrendChart/config/launchModeConfig.js index 054240087d..0525eb05ab 100644 --- a/app/src/components/widgets/singleLevelWidgets/charts/investigatedTrendChart/config/launchModeConfig.js +++ b/app/src/components/widgets/singleLevelWidgets/charts/investigatedTrendChart/config/launchModeConfig.js @@ -33,9 +33,6 @@ export const getLaunchModeConfig = ({ }) => { const colors = {}; const columns = []; - // EPMRPP-96393 (GitHub #2381): Changed sorting from -item.number to startTime-based sorting - // for consistency across all chart widgets. This ensures chronological ordering - // based on actual launch times rather than launch names/numbers. const sortedResult = content.sort((a, b) => { const startTimeA = new Date(a.startTime); const startTimeB = new Date(b.startTime); diff --git a/app/src/controllers/log/sagas.js b/app/src/controllers/log/sagas.js index fa197e7bbe..efa0ab6656 100644 --- a/app/src/controllers/log/sagas.js +++ b/app/src/controllers/log/sagas.js @@ -44,7 +44,7 @@ import { } from 'controllers/log/nestedSteps/actionCreators'; import { createNamespacedQuery } from 'common/utils/routingUtils'; import { FAILED } from 'common/constants/testStatuses'; -import { ERROR, FATAL } from 'common/constants/logLevels'; +import { ERROR } from 'common/constants/logLevels'; import { fetchErrorLogs, clearLogPageStackTrace, @@ -130,9 +130,6 @@ function* fetchAllErrorLogs({ excludeLogContent = true, level, }) { - const logMessages = yield select(logItemsSelector); - const requiresErrorLogLocation = logMessages.some((log) => [ERROR, FATAL].includes(log.level)); - const { id } = logItem; const { activeProject, query, filterLevel } = yield call(collectLogPayload); let retryId = null; @@ -142,7 +139,7 @@ function* fetchAllErrorLogs({ } let cancelRequest = () => {}; try { - if (logViewMode === DETAILED_LOG_VIEW && requiresErrorLogLocation) { + if (logViewMode === DETAILED_LOG_VIEW) { yield put( fetchDataAction(namespace)( URLS.errorLogs(activeProject, retryId || id, level || filterLevel), diff --git a/app/src/pages/inside/projectSettingsPageContainer/content/notifications/modals/addEditNotificationModal/addEditNotificationModal.jsx b/app/src/pages/inside/projectSettingsPageContainer/content/notifications/modals/addEditNotificationModal/addEditNotificationModal.jsx index 5b5a0055ee..d5986f67e6 100644 --- a/app/src/pages/inside/projectSettingsPageContainer/content/notifications/modals/addEditNotificationModal/addEditNotificationModal.jsx +++ b/app/src/pages/inside/projectSettingsPageContainer/content/notifications/modals/addEditNotificationModal/addEditNotificationModal.jsx @@ -36,6 +36,8 @@ import { RadioGroup } from 'componentLibrary/radioGroup'; import { EMAIL } from 'common/constants/pluginNames'; import { FieldTextFlex } from 'componentLibrary/fieldTextFlex'; import { ruleField } from 'pages/inside/projectSettingsPageContainer/content/notifications/propTypes'; +import { fetchProjectAction } from 'controllers/project/actionCreators'; +import { projectIdSelector } from 'controllers/pages'; import { capitalizeWord } from '../util'; import { RecipientsContainer } from './recipientsContainer'; import { LaunchNamesContainer } from './launchNamesContainer'; @@ -213,12 +215,14 @@ const AddEditNotificationModal = ({ }) => { const { formatMessage } = useIntl(); const dispatch = useDispatch(); + const projectId = useSelector(projectIdSelector); const [isEditorShown, setShowEditor] = React.useState(data.notification.attributes.length > 0); const attributesValue = useSelector((state) => attributesValueSelector(state, ATTRIBUTES_FIELD_KEY)) ?? []; useEffect(() => { initialize(data.notification); + dispatch(fetchProjectAction(projectId, false)); }, []); const caseOptions = [