Skip to content

Conversation

@elammertsma
Copy link
Collaborator

@elammertsma elammertsma commented Feb 1, 2026

Added cycling prompt suggestions (placeholder text) in the chat and (re)added role editing.

Description

Motivation and Context

Many users seem not to know where to start with SurfSense, so cycling a few prompt suggestions may inspire them to find good uses. Suggestions include podcasts, querying connectors and cross-referencing information/connectors.
Additionally, the role editor was not displaying when "Edit role" was clicked. I readded this but perhaps there was a reason for removing it that I'm unaware of.

Screenshots

API Changes

  • This PR includes API changes

Change Type

  • Bug fix
  • New feature
  • Performance improvement
  • Refactoring
  • Documentation
  • Dependency/Build system
  • Breaking change
  • Other (specify):

Testing Performed

  • Tested locally
  • Manual/QA verification

Checklist

  • Follows project coding standards and conventions
  • Documentation updated as needed
  • Dependencies updated as needed
  • No lint/build errors or new warnings
  • All relevant tests are passing

High-level PR Summary

This PR introduces two user experience improvements: cycling prompt suggestions that rotate through helpful examples every 6 seconds when the chat is empty to inspire new users, and role editing functionality that was previously broken. The cycling placeholders include suggestions for podcasts, connector queries, and cross-referencing information. The role editor now properly displays when "Edit role" is clicked, allowing users to modify role names, descriptions, permissions, and default status.

⏱️ Estimated Review Time: 15-30 minutes

💡 Review Order Suggestion
Order File Path
1 surfsense_web/components/assistant-ui/inline-mention-editor.tsx
2 surfsense_web/components/assistant-ui/thread.tsx
3 surfsense_web/app/dashboard/[search_space_id]/team/page.tsx

Need help? Join our Discord

Analyze latest changes

@vercel
Copy link

vercel bot commented Feb 1, 2026

@elammertsma is attempting to deploy a commit to the Rohan Verma's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

@recurseml recurseml bot left a comment

Choose a reason for hiding this comment

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

Review by RecurseML

🔍 Review performed on a0bbd9e..f23aaa2

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (3)

surfsense_web/app/dashboard/[search_space_id]/team/page.tsx
surfsense_web/components/assistant-ui/inline-mention-editor.tsx
surfsense_web/components/assistant-ui/thread.tsx

@MODSetter MODSetter merged commit 92afaa0 into MODSetter:dev Feb 2, 2026
4 of 7 checks passed
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