Restack queue and dispatch cards so actions never crowd the text.
Deploy Ladill Care / deploy (push) Successful in 1m21s
Deploy Ladill Care / deploy (push) Successful in 1m21s
Board cards previously put Open/Start/advance buttons in a right-hand column, which overlapped patient names in narrow board columns. Cards now stack: badges on top, patient info in the middle, and a bordered action footer. Also align two patient-queue tests with the clinical- staff-only board access (receptionists are 403'd by design). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -59,11 +59,12 @@ class CareQueueBoardPerformanceTest extends TestCase
|
||||
],
|
||||
]);
|
||||
|
||||
// Patient queue board is reserved for clinical staff (receptionists are 403'd).
|
||||
Member::create([
|
||||
'owner_ref' => $this->owner->public_id,
|
||||
'organization_id' => $this->organization->id,
|
||||
'user_ref' => $this->owner->public_id,
|
||||
'role' => 'receptionist',
|
||||
'role' => 'doctor',
|
||||
]);
|
||||
|
||||
$this->branch = Branch::create([
|
||||
|
||||
@@ -316,6 +316,12 @@ class CareQueueWorkflowTest extends TestCase
|
||||
{
|
||||
Http::fake();
|
||||
|
||||
// Patient queue is reserved for clinical staff; receptionists are 403'd.
|
||||
Member::query()->where('user_ref', $this->owner->public_id)->update([
|
||||
'role' => 'doctor',
|
||||
'branch_id' => $this->branch->id,
|
||||
]);
|
||||
|
||||
$this->actingAs($this->owner)
|
||||
->get(route('care.queue.index'))
|
||||
->assertOk()
|
||||
|
||||
Reference in New Issue
Block a user