Skip to content

Commit

Permalink
feat(journey): added dnd for reordering journey steps
Browse files Browse the repository at this point in the history
chore(actions): removed unused action and renamed the nightly release build
feat(ChromeExtService): added recording switches (on/off):
fix(ChromeExtService): also added an interval to send one message multiple times, to avoid lost messages
feat(step): added logic to redefine a journey-step
fix(navBack): fixed _openUnsafedDialog-Behaviour
fix(codeGen): automated code generation after step reorder
  • Loading branch information
tabris87 authored Mar 5, 2024
1 parent f345f61 commit 319630f
Show file tree
Hide file tree
Showing 15 changed files with 595 additions and 364 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/check_version_readout.js.yml

This file was deleted.

File renamed without changes.
26 changes: 23 additions & 3 deletions webapp/assets/scripts/communication_inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
}
});

communicationService.post('/pageInfo/disconnected', (req, res) => {
communicationService.post('/pageInfo/disconnected', (_, __) => {
if (ui5TestRecorder.recorder) {
ui5TestRecorder.recorder.showToast('UI5 Journey Recorder disconnected', {
duration: 2000,
Expand All @@ -287,11 +287,11 @@
}
});

communicationService.get('/pageInfo/connected', (req, res) => {
communicationService.get('/pageInfo/connected', (_, res) => {
res({ status: 200, message: 'Connected' });
});

communicationService.get('/pageInfo/version', (req, res) => {
communicationService.get('/pageInfo/version', (_, res) => {
const version = ui5TestRecorder?.recorder?.getUI5Version();
if (version) {
res({ status: 200, message: version });
Expand All @@ -300,6 +300,26 @@
}
});

communicationService.post('/disableRecordListener', (_, res) => {
const recorderInstance = window.ui5TestRecorder?.recorder;
if (recorderInstance) {
recorderInstance.disableRecording();
res({ status: 200, message: 'executed' });
} else {
res({ status: 500, message: 'No recorder inject found!' });
}
});

communicationService.post('/enableRecordListener', (_, res) => {
const recorderInstance = window.ui5TestRecorder?.recorder;
if (recorderInstance) {
recorderInstance.enableRecording();
res({ status: 200, message: 'executed' });
} else {
res({ status: 500, message: 'No recorder inject found!' });
}
})

communicationService.listen(ext_id);

window.ui5TestRecorder = {
Expand Down
Loading

0 comments on commit 319630f

Please sign in to comment.