feat(today): bring tasks and goals into daily workbench
This commit is contained in:
1 parent
8d148d31dd
commit
d0da0363e5
23 files changed
+213
-14
No files matched your search
@@ -285,7 +285,7 @@ assert.ok(command('date').message.length > 8);
|
||||
assert.ok(command('time').message.includes(':'));
|
||||
assert.ok(command('datetime').message.length > 12);
|
||||
assert.equal(command('uptime').message, 'terminal.uptime');
|
||||
assert.equal(command('version').message, 'Life OS v1.26.0');
|
||||
assert.equal(command('version').message, 'Life OS v1.27.0');
|
||||
assert.equal(command('status').message, 'terminal.status');
|
||||
assert.match(command('apps').message, /calendar/);
|
||||
assert.equal(command('echo "hello Life OS"').message, 'hello Life OS');
|
||||
@@ -624,3 +624,7 @@ assert.match(uiNodes.get('#modal').innerHTML,/MOMENT TEXT/,'recycle bin previews
|
||||
assert.match(uiNodes.get('#modal').innerHTML,/restoreTrashedMemory/);
|
||||
uiContext.restoreTrashedMemory('quick-first');
|
||||
assert.equal(uiContext.mems().length,2,'restored memory returns to active readers');
|
||||
vm.runInContext("todayTargetDate='2026-10-12';todayDraft=null;todayTitleDraft=null",uiContext);
|
||||
const historicalSurface={innerHTML:'',insertAdjacentHTML(_,markup){this.innerHTML+=markup;}};
|
||||
uiContext.today(historicalSurface);
|
||||
assert.doesNotMatch(historicalSurface.innerHTML,/class="today-workbench"/,'historical diaries do not display current-day task controls');
|
||||
Reference in new issue
Block a user