fix: Placeholder for Anvil Application deploy (#39914)
## Description Adds a CE version for Anvil Application deploy flow ## Automation /ok-to-test tags="@tag.Anvil" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!IMPORTANT] > 🟣 🟣 🟣 Your tests are running. > Tests running at: <https://github.com/appsmithorg/appsmith/actions/runs/14076064490> > Commit: 507843d7fdf1df605020f41b3351da65636b2184 > Workflow: `PR Automation test suite` > Tags: `@tag.Anvil` > Spec: `` > <hr>Wed, 26 Mar 2025 05:18:32 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced the application publishing process for a more reliable experience. Now, when you publish an application, the system manages the process with improved error handling to ensure smoother and more resilient operations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
3e7b933382
commit
93fdfc967d
|
|
@ -54,6 +54,7 @@ import {
|
||||||
updateCurrentApplicationForkingEnabled,
|
updateCurrentApplicationForkingEnabled,
|
||||||
updateApplicationThemeSettingAction,
|
updateApplicationThemeSettingAction,
|
||||||
fetchAllApplicationsOfWorkspace,
|
fetchAllApplicationsOfWorkspace,
|
||||||
|
publishApplication,
|
||||||
} from "ee/actions/applicationActions";
|
} from "ee/actions/applicationActions";
|
||||||
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
|
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
|
||||||
import {
|
import {
|
||||||
|
|
@ -1132,3 +1133,18 @@ export function* deleteNavigationLogoSaga(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function* publishAnvilApplicationSaga(
|
||||||
|
action: ReduxAction<PublishApplicationRequest>,
|
||||||
|
) {
|
||||||
|
try {
|
||||||
|
yield put(publishApplication(action.payload.applicationId));
|
||||||
|
} catch (error) {
|
||||||
|
yield put({
|
||||||
|
type: ReduxActionErrorTypes.PUBLISH_ANVIL_APPLICATION_ERROR,
|
||||||
|
payload: {
|
||||||
|
error,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ import {
|
||||||
uploadNavigationLogoSaga,
|
uploadNavigationLogoSaga,
|
||||||
deleteNavigationLogoSaga,
|
deleteNavigationLogoSaga,
|
||||||
fetchAllApplicationsOfWorkspaceSaga,
|
fetchAllApplicationsOfWorkspaceSaga,
|
||||||
|
publishAnvilApplicationSaga,
|
||||||
} from "ce/sagas/ApplicationSagas";
|
} from "ce/sagas/ApplicationSagas";
|
||||||
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import { all, takeLatest } from "redux-saga/effects";
|
import { all, takeLatest } from "redux-saga/effects";
|
||||||
|
|
@ -67,5 +68,9 @@ export default function* applicationSagas() {
|
||||||
ReduxActionTypes.FETCH_UNCONFIGURED_DATASOURCE_LIST,
|
ReduxActionTypes.FETCH_UNCONFIGURED_DATASOURCE_LIST,
|
||||||
fetchUnconfiguredDatasourceList,
|
fetchUnconfiguredDatasourceList,
|
||||||
),
|
),
|
||||||
|
takeLatest(
|
||||||
|
ReduxActionTypes.PUBLISH_ANVIL_APPLICATION_INIT,
|
||||||
|
publishAnvilApplicationSaga,
|
||||||
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user