diff --git a/package.json b/package.json index 845da4c..200dc41 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "lively": { "projectDependencies": [], - "boundLivelyVersion": "9d55f9b9e7e282b564515e6a5d978680b13bb375", + "boundLivelyVersion": "beee0511d1ef4cdbd1af1ae6ece39c8593674566", "canUsePages": true } } \ No newline at end of file diff --git a/studio/helpers.cp.js b/studio/helpers.cp.js index 4709151..1c6fd39 100644 --- a/studio/helpers.cp.js +++ b/studio/helpers.cp.js @@ -366,8 +366,8 @@ export class PublisherModel extends ViewModel { bindings: { get () { return [ - { model: 'close button', signal: 'fire', handler: 'close' }, - { model: 'report button', signal: 'fire', handler: 'publishDashboard' } + { target: 'close button', signal: 'fire', handler: 'close' }, + { target: 'report button', signal: 'fire', handler: 'publishDashboard' } ]; } } diff --git a/studio/top-bar.cp.js b/studio/top-bar.cp.js index 05d7b65..993dd02 100644 --- a/studio/top-bar.cp.js +++ b/studio/top-bar.cp.js @@ -10,6 +10,7 @@ import { signal, connect } from 'lively.bindings/index.js'; import { galyleoFont } from './shared.cp.js'; import { projectAsset } from 'lively.project/helpers.js'; import { part } from 'lively.morphic'; +import { BugReporter, Publisher } from './helpers.cp.js'; export default class DashboardUserFlap extends UserFlap { onLoad () { @@ -124,15 +125,16 @@ class GalyleoTopBarModel extends TopBarModel { if (evt.targetMorph.name === 'load world button') { $world.execCommand('load world'); } - } reportBug () { - signal(this, 'initiate bug report'); + // signal(this, 'initiate bug report'); + part(BugReporter).openInWorld(); } publishDashboard () { - signal(this, 'initiate publication'); + part(Publisher).openInWorld(); + // signal(this, 'initiate publication'); // window.alert('publish requested'); } }