Improve specialty workspace actions and Call next handoff.
Deploy Ladill Care / deploy (push) Successful in 40s

Move timeline into a workspace tab, surface Complete consultation and Call again in Actions, and make Call next end the current encounter then open the next called patient.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 16:12:30 +00:00
co-authored by Cursor
parent 5bdc17777c
commit a00a8249ad
13 changed files with 587 additions and 149 deletions
+20 -1
View File
@@ -119,8 +119,27 @@ class SpecialtyShellService
public function workspaceTabs(string $moduleKey): array
{
$tabs = $this->definition($moduleKey)['workspace_tabs'] ?? [];
if (! is_array($tabs)) {
return [];
}
return is_array($tabs) ? $tabs : [];
if (array_key_exists('timeline', $tabs)) {
return $tabs;
}
$merged = [];
foreach ($tabs as $key => $label) {
$merged[$key] = $label;
if ($key === 'overview') {
$merged['timeline'] = 'Timeline';
}
}
if (! array_key_exists('timeline', $merged)) {
$merged['timeline'] = 'Timeline';
}
return $merged;
}
/**