Skip to content

feat(ui): improve thinking and processing states (#952) - #1169

Merged
will-lamerton merged 4 commits into
Nano-Collective:feature/new-uifrom
24thAbhinav:fix/processing-indicator
Sep 6, 2026
Merged

will-lamerton merged 4 commits into
Nano-Collective:feature/new-uifrom
24thAbhinav:fix/processing-indicator

Conversation

@24thAbhinav

@24thAbhinav 24thAbhinav commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Description

Closes #952.

This PR addresses issue #952 by moving the thinking and processing indicators out of the composer input box and into the assistant conversation area.

Key changes:

  • <ProcessingIndicator />: A new component rendering a compact terminal spinner (dots), cycling through contextual stage progression (Thinking → Planning → Reading → Working → Preparing response) every 3.5s with the active model name and · Esc to cancel affordance. It contains no input borders, cursor, or prompt character, ensuring it never appears as editable text.
  • liveComponent Integration: Mounted directly in the chat area when chatHandler.isGenerating is true before first-token arrival, smoothly transitioning into StreamingReasoning / StreamingMessage.
  • Composer Cleanup: Removed the {isBusy && <Spinner ... />} block from inside the composer in user-input.tsx so the input box remains clean and dedicated strictly to drafting and message queueing.
  • feature/new-ui Restorations: Restored missing taskInfo={taskInfo}, Ctrl + T key handler, and pasteEvents bracketed paste listener in user-input.tsx that were dropped in merge commit d04c6915.

Before:
image

After:

Processing_States.mov

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Changeset

  • Added a changeset (pnpm changeset) describing this change for the changelog

Testing

Automated Tests

  • New features include passing tests in .spec.ts/tsx files (source/components/processing-indicator.spec.tsx)
  • All existing tests pass (pnpm test:all / AVA test suites complete successfully)
  • Tests cover both success and error scenarios

Manual Testing

  • Tested with Ollama / local model
  • Tested with OpenRouter
  • Tested with OpenAI-compatible API
  • Tested MCP integration (if applicable)

Checklist

  • If this was for an open issue, I was assigned to it
  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)
  • Appropriate logging added using structured logging (see CONTRIBUTING.md)

@will-lamerton

Copy link
Copy Markdown
Member

Hey @24thAbhinav - could you resolve the conflicts and then I'll merge into the feature branch :)

@24thAbhinav

Copy link
Copy Markdown
Contributor Author

Hey @will-lamerton - merged latest feature/new-ui and resolved the conflicts in user-input.tsx (preserving both the marginLeft alignment and the indicator props). all tests are passing.

@will-lamerton

Copy link
Copy Markdown
Member

Nice work :) @24thAbhinav

@will-lamerton
will-lamerton merged commit 308f819 into Nano-Collective:feature/new-ui Sep 6, 2026
@24thAbhinav

Copy link
Copy Markdown
Contributor Author

Hey @will-lamerton can i add myself as contributer to the website?

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