Skip to content

FOUR-22485: Open launchpad buttons appears templates edit #1910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: release-2025-spring
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/toolbar/ToolBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
:is="component.button"
v-for="(component, index) in validationBar"
:key="`validation-status-${index}`"
v-bind="component.props || {}"
/>
</TopRail>

Expand Down
21 changes: 0 additions & 21 deletions src/components/topRail/TopRail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
:warnings="warnings"
/>
<slot />

<LaunchpadButton @verifyLaunchpad="handleVerifyLaunchpad"/>
<LaunchpadModal :show="showLaunchpadModal" @closeModal="closeModal" />

</div>
</template>

Expand All @@ -32,7 +28,6 @@ import store from '@/store';
import { ValidateButton, ValidateIssue, ValidatePanel } from '@/components/topRail/validateControl';
import MultiplayerViewUsers from '@/components/topRail/multiplayerViewUsers/MultiplayerViewUsers';
import AiGenerateButton from '../aiMessages/AiGenerateButton.vue';
import { LaunchpadButton, LaunchpadModal } from './launchpadControl';

export default {
components: {
Expand All @@ -41,8 +36,6 @@ export default {
ValidatePanel,
AiGenerateButton,
MultiplayerViewUsers,
LaunchpadButton,
LaunchpadModal,
},
props: {
validationErrors: {
Expand All @@ -62,8 +55,6 @@ export default {
return {
isOpenIssue: false,
isOpenPanel: false,
showLaunchpadModal: false,
openLaunchpad: false,
};
},
computed: {
Expand Down Expand Up @@ -111,18 +102,6 @@ export default {
handleOpenPanel(value) {
this.isOpenPanel = value;
},
handleVerifyLaunchpad(value) {
this.openLaunchpad = value;
if (this.openLaunchpad) {
this.showLaunchpadModal = true;
} else {
this.openLaunchpad = false;
window.location.href = '/process-browser/' + window.ProcessMaker.modeler.process.id;
}
},
closeModal() {
this.showLaunchpadModal = false;
},
},
};
</script>
Expand Down
35 changes: 0 additions & 35 deletions src/components/topRail/launchpadControl/LaunchpadButton.vue

This file was deleted.

48 changes: 0 additions & 48 deletions src/components/topRail/launchpadControl/LaunchpadModal.vue

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/topRail/launchpadControl/index.js

This file was deleted.

3 changes: 1 addition & 2 deletions src/setup/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
"Undo": "Undo",
"Upload file": "Upload file",
"Upload XML": "Upload XML",
"You have not publish your process": "You have not publish your process",
"You have not published your process. Please publish your process to use the Launchpad.": "You have not published your process. Please publish your process to use the Launchpad."
"You have not publish your process": "You have not publish your process"
}
Loading