Keep role-board note rendering typed
This commit is contained in:
parent
27f88bfaef
commit
555c18cd0a
5 changed files with 6 additions and 5 deletions
|
|
@ -4,7 +4,6 @@ use codex_app_server_protocol::ThreadEpiphanyCrrcAction;
|
|||
use codex_app_server_protocol::ThreadEpiphanyCrrcRecommendation;
|
||||
use codex_app_server_protocol::ThreadEpiphanyJob;
|
||||
use codex_app_server_protocol::ThreadEpiphanyReorientAction;
|
||||
use codex_app_server_protocol::ThreadEpiphanyReorientStateStatus;
|
||||
use codex_app_server_protocol::ThreadEpiphanyRoleId;
|
||||
use codex_app_server_protocol::ThreadEpiphanyRoleLane;
|
||||
use codex_app_server_protocol::ThreadEpiphanyRoleStatus;
|
||||
|
|
@ -695,7 +694,7 @@ fn map_protocol_coordinator_role_status(
|
|||
|
||||
pub fn render_epiphany_roles_note(
|
||||
roles: &[EpiphanyRoleBoardLane],
|
||||
state_status: ThreadEpiphanyReorientStateStatus,
|
||||
state_status: CoreEpiphanyReorientStateStatus,
|
||||
recommendation: CoreEpiphanyCrrcAction,
|
||||
) -> String {
|
||||
render_role_board_note(
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ pub async fn map_epiphany_view_response(
|
|||
.as_ref()
|
||||
.map(|role_board| role_board.roles.as_slice())
|
||||
.unwrap_or(&[]),
|
||||
reorient_state_status,
|
||||
core_reorient_state_status,
|
||||
recommendation
|
||||
.as_ref()
|
||||
.map(|recommendation| recommendation.action)
|
||||
|
|
|
|||
Reference in a new issue