Skip to content

Conversation

@kang-square
Copy link
Contributor

@kang-square kang-square commented Mar 4, 2025

This PR is to implement the feature request in issue.
We decide to implement the Ctrl/Cmd + ↑/↓ option to navigate through the history message.

Screen.Recording.2025-03-04.at.3.59.33.PM-1.mov

@kang-square kang-square changed the title shortcut and history message feat: use Ctrl/Cmd + ↑/↓ to navigate message history Mar 4, 2025
@kang-square kang-square marked this pull request as ready for review March 4, 2025 21:15
handleSubmit: (e: React.FormEvent) => void;
isLoading?: boolean;
onStop?: () => void;
commandHistory?: string[];
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to maintain a fixed size array?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @yingjiehe-xyz , what do you mean a "fixed size array"? In JavaScript the array size is not fixed.
Or are you suggesting the max size of the array for performance consideration? I think that is not necessary here too.

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry for the confusing, yes, the max size for history, I think so, not too many messages right now

Copy link
Contributor

@yingjiehe-xyz yingjiehe-xyz left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@kang-square
Copy link
Contributor Author

Hi @yingjiehe-xyz would you merge this PR? I don't see the merge button here. Thanks

@yingjiehe-xyz
Copy link
Contributor

Hi @yingjiehe-xyz would you merge this PR? I don't see the merge button here. Thanks

oh, I thought you could merge it, my bad

@yingjiehe-xyz yingjiehe-xyz merged commit b8b5c9d into block:main Mar 5, 2025
6 checks passed
michaelneale added a commit that referenced this pull request Mar 7, 2025
* main:
  bugfix: refactor workdirs to be async-safe, and simpler (#1558)
  feat: split required_extensions in bench to builtin/external (#1547)
  fix: continue to use resumed session after confirmation is cancelled (#1548)
  feat: add image tool to developer mcp (#1515)
  docs: using gooseignore (#1554)
  ci: use cargo update --workspace to ensure Cargo.lock is updated (#1539)
  fix: respond to interrupted tool calls with a ToolResponseMessageContent (#1557)
  fix: get tool def back to chat mode (#1538)
  ui: add default icon (#1553)
  fix: fix summarize agent, use session_id and add provider fn (#1552)
  feat(agent): memory condensation for longer context (#1457)
  docs: goose tips blog (#1550)
  docs: update to provider view (#1546)
  docs: resuming sessions (#1543)
  feat: goose bench framework for functional and regression testing
  feat: use refresh_tokens from databricks api (#1517)
  feat: use Ctrl/Cmd + ↑/↓ to navigate message history (#1501)
  feat: remove tools from chat mode (#1533)
  feat: use dropdown for goose selection (#1531)
  docs: goosehints in desktop (#1529)
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
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