Skip to content

Hackathon2025#2428

Closed
jay-hodgson wants to merge 13 commits intoSage-Bionetworks:mainfrom
jay-hodgson:hackathon2025
Closed

Hackathon2025#2428
jay-hodgson wants to merge 13 commits intoSage-Bionetworks:mainfrom
jay-hodgson:hackathon2025

Conversation

@jay-hodgson
Copy link
Member

No description provided.

return null
}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the rules of hooks. Could we instead explicitly pass information/a function via context?

Comment on lines +118 to +119
// Handle actions elements with redirect subelements
// custom agents are instructed to include these to indicate navigation.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To reduce the risk of this functionality while it is being prototyped, could we inject this behavior (e.g. write it in the portal's synapseChatConfig.ts and pass as a prop/context value)? You also wouldn't have to handle all app routing behavior in one function

jay-hodgson added a commit to jay-hodgson/synapse-web-monorepo that referenced this pull request Mar 23, 2026
…tFloatingActionButton and portal chat agents
@jay-hodgson
Copy link
Member Author

Many conflicts, updating in a new hackathon-3-23-2026 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants