Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix: fix auto focus issues #2697

Merged
merged 2 commits into from
May 28, 2024
Merged

🐛 fix: fix auto focus issues #2697

merged 2 commits into from
May 28, 2024

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented May 28, 2024

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • ⚡️ perf
  • 📝 docs

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

之前的 PR 实现影响: #834

改造为 chatKey 变化时做自动聚焦

Copy link

vercel bot commented May 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2024 9:55am

@lobehubbot
Copy link
Member

👍 @arvinxx

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 26.47059% with 25 lines in your changes missing coverage. Please review.

Project coverage is 94.08%. Comparing base (4d4ad0e) to head (92e1334).
Report is 1049 commits behind head on main.

Files with missing lines Patch % Lines
src/store/session/slices/session/action.ts 7.40% 25 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2697      +/-   ##
==========================================
- Coverage   94.11%   94.08%   -0.03%     
==========================================
  Files         356      356              
  Lines       20569    20547      -22     
  Branches     2464     1577     -887     
==========================================
- Hits        19358    19332      -26     
- Misses       1211     1215       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arvinxx arvinxx changed the title 🐛 fix: fix issues 🐛 fix: fix auto focus issue May 28, 2024
@arvinxx arvinxx marked this pull request as ready for review May 28, 2024 09:57
@arvinxx arvinxx changed the title 🐛 fix: fix auto focus issue 🐛 fix: fix auto focus issues May 28, 2024
@arvinxx arvinxx merged commit 8df856e into main May 28, 2024
8 of 10 checks passed
@arvinxx arvinxx deleted the fix/fix-issues branch May 28, 2024 10:06
@lobehubbot
Copy link
Member

❤️ Great PR @arvinxx ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

github-actions bot pushed a commit that referenced this pull request May 28, 2024
### [Version 0.162.4](v0.162.3...v0.162.4)
<sup>Released on **2024-05-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix auto focus issues.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix auto focus issues, closes [#2697](#2697) ([8df856e](8df856e))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 0.162.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request May 28, 2024
### [Version&nbsp;1.42.3](v1.42.2...v1.42.3)
<sup>Released on **2024-05-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix auto focus issues, fix the default agent not work correctly on new device.

#### 💄 Styles

- **misc**: Add `SYSTEM_AGENT` env.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix auto focus issues, closes [lobehub#2697](https://github.com/bentwnghk/lobe-chat/issues/2697) ([8df856e](8df856e))
* **misc**: Fix the default agent not work correctly on new device, closes [lobehub#2699](https://github.com/bentwnghk/lobe-chat/issues/2699) ([e4c7536](e4c7536))

#### Styles

* **misc**: Add `SYSTEM_AGENT` env, closes [lobehub#2694](https://github.com/bentwnghk/lobe-chat/issues/2694) ([0dfcf8d](0dfcf8d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
* 🐛 fix: fix fetch when need login again

* 🐛 fix: fix autofocus
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
### [Version&nbsp;0.162.4](lobehub/lobe-chat@v0.162.3...v0.162.4)
<sup>Released on **2024-05-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix auto focus issues.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix auto focus issues, closes [lobehub#2697](lobehub#2697) ([8df856e](lobehub@8df856e))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment