θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

Conversation

@timothycarambat
Copy link
Member

Pull Request Type

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

Relevant Issues

resolves #xxx

What is in this change?

Describe the changes in this PR that are impactful to the repo.

Additional Information

Add any other context about the Pull Request here that was not captured above.

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

@timothycarambat timothycarambat merged commit ee3a79f into master Feb 13, 2024
@timothycarambat timothycarambat deleted the tooltip-improvements branch February 13, 2024 22:26
@review-agent-prime
Copy link

frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx

While the tooltips are a great addition, it would be beneficial to consider internationalization (i18n) for the tooltip content. This would allow the tooltips to be displayed in the user's preferred language, further enhancing the user experience.
Create Issue
See the diff
Checkout the fix

    data-tooltip-content={i18n.t('View all available slash commands for chatting.')}
git fetch origin && git checkout -b ReviewBot/The-n-k4wopm3 origin/ReviewBot/The-n-k4wopm3

Consider adding a fallback for users who have JavaScript disabled. Currently, the tooltips would not be displayed for these users. You could use the title attribute as a fallback, which would display a tooltip with the specified text when the user hovers over the element.
Create Issue
See the diff
Checkout the fix

    <div
      title="View all available slash commands for chatting."
      data-tooltip-id="tooltip-slash-cmd-btn"
      data-tooltip-content="View all available slash commands for chatting."
      onClick={() => setShowSlashCommand(!showing)}
      className={`flex justify-center items-center opacity-60 hover:opacity-100 cursor-pointer ${
        showing ? "!opacity-100" : ""
      }`}
    >
git fetch origin && git checkout -b ReviewBot/The-c-396sl2r origin/ReviewBot/The-c-396sl2r

cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 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