Skip to content

Conversation

angelplusultra
Copy link
Contributor

@angelplusultra angelplusultra commented Oct 15, 2025

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #4491

What is in this change?

This PR refactors the DefaultChatContainer component to replace the mock chat onboarding text with a simplified welcome message that adapts to the user’s workspace status.

Details

Users without workspace access:
Displays an instructional message prompting the user to contact their administrator to request workspace access.

Users with workspace access:
The welcome message includes a β€œGo to {WORKSPACE_NAME}” CTA button.
- If a last visited workspace is stored in local storage and still accessible to the user, clicking the button opens it.
- If not, the app defaults to the first available workspace in the workspace list.

image image image

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

…stead of mock chat interface onboarding text
@angelplusultra angelplusultra linked an issue Oct 15, 2025 that may be closed by this pull request
@angelplusultra angelplusultra added the PR:needs review Needs review by core team label Oct 15, 2025
@angelplusultra angelplusultra changed the title Refactor DefaultChat Component To Display A Simple Welcome Message Refactor DefaultChatContainer Component To Display A Simple Welcome Message Oct 15, 2025
@angelplusultra angelplusultra changed the title Refactor DefaultChatContainer Component To Display A Simple Welcome Message Refactor DefaultChatContainer To Display A Simple Welcome Message Oct 15, 2025
@angelplusultra angelplusultra marked this pull request as draft October 15, 2025 01:40
@angelplusultra angelplusultra removed the request for review from timothycarambat October 15, 2025 01:40
@angelplusultra angelplusultra removed the PR:needs review Needs review by core team label Oct 15, 2025
- Implemented localStorage management for the last visited workspace in DefaultChat and WorkspaceChat components.
- Updated UserButton to clear last visited workspace on logout.
- Refactored workspace navigation to prioritize last visited workspace if available.
@angelplusultra angelplusultra marked this pull request as ready for review October 15, 2025 21:07
@angelplusultra angelplusultra added the PR:needs review Needs review by core team label Oct 15, 2025
timothycarambat added a commit that referenced this pull request Oct 15, 2025
@timothycarambat timothycarambat merged commit 8c97240 into master Oct 15, 2025
1 check passed
@timothycarambat timothycarambat deleted the 4491-msg-for-users-without-workspace-access branch October 15, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:needs review Needs review by core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UX]: Message for users without workspace access

2 participants