Lock the right pane while focused, add project focus, quiet lead
This commit is contained in:
@@ -244,6 +244,10 @@ CREATE TABLE lead_inputs (
|
||||
created_at TEXT NOT NULL
|
||||
);
|
||||
CREATE INDEX lead_inputs_owner ON lead_inputs(owner, id);
|
||||
`}, {"add-focus-project", `
|
||||
UPDATE users SET focus = json_set(focus, '$.project_id', (SELECT project_id FROM tasks WHERE id = json_extract(users.focus, '$.task_id')))
|
||||
WHERE json_extract(focus, '$.task_id') IS NOT NULL;
|
||||
DELETE FROM lead_inputs WHERE text LIKE 'The human switched the right pane %' OR text = 'The human cleared the right pane.';
|
||||
`}}
|
||||
|
||||
type Store struct {
|
||||
|
||||
Reference in New Issue
Block a user