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

💄 style: add two feature flags: check_updates 、welcome_suggest #2555

Merged
merged 8 commits into from
May 19, 2024

Conversation

coulsontl
Copy link
Contributor

@coulsontl coulsontl commented May 18, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

添加两个FEATURE_FLAGS:

  • check_updates:可忽略检查更新的功能
  • welcome_suggest:可隐藏欢迎页里的2个suggest功能

📝 补充信息 | Additional Information

Copy link

vercel bot commented May 18, 2024

@coulsontl is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @coulsontl

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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

src/store/global/action.ts Outdated Show resolved Hide resolved
@arvinxx
Copy link
Contributor

arvinxx commented May 19, 2024

antd 发了新版,好像 lint 挂了,我看下什么原因


补充: #2567

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


antd has released a new version, and it seems that lint is down. Let me see why.

@arvinxx arvinxx changed the title feat: add two feature flags: check_updates 、welcome_suggest ✨ feat: add two feature flags: check_updates 、welcome_suggest May 19, 2024
Copy link

codecov bot commented May 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.32%. Comparing base (efe28da) to head (bf72b63).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2555      +/-   ##
==========================================
+ Coverage   93.31%   93.32%   +0.01%     
==========================================
  Files         332      334       +2     
  Lines       20004    20041      +37     
  Branches     1513     2365     +852     
==========================================
+ Hits        18667    18704      +37     
  Misses       1337     1337              

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

Copy link

vercel bot commented May 19, 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 19, 2024 3:27pm

@arvinxx arvinxx changed the title ✨ feat: add two feature flags: check_updates 、welcome_suggest 💄 style: add two feature flags: check_updates 、welcome_suggest May 19, 2024
@arvinxx arvinxx merged commit 84c69c9 into lobehub:main May 19, 2024
6 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @coulsontl ❤️

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 19, 2024
### [Version 0.160.3](v0.160.2...v0.160.3)
<sup>Released on **2024-05-19**</sup>

#### 💄 Styles

- **misc**: Add two feature flags: check_updates 、welcome_suggest.

<br/>

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

#### Styles

* **misc**: Add two feature flags: check_updates 、welcome_suggest, closes [#2555](#2555) ([84c69c9](84c69c9))

</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.160.3 🎉

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 19, 2024
### [Version&nbsp;1.40.1](v1.40.0...v1.40.1)
<sup>Released on **2024-05-19**</sup>

#### 🐛 Bug Fixes

- **misc**: Upgrade antd and fix lint type.

#### 💄 Styles

- **misc**: Add two feature flags: check_updates 、welcome_suggest.

<br/>

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

#### What's fixed

* **misc**: Upgrade antd and fix lint type, closes [lobehub#2567](https://github.com/bentwnghk/lobe-chat/issues/2567) ([efe28da](efe28da))

#### Styles

* **misc**: Add two feature flags: check_updates 、welcome_suggest, closes [lobehub#2555](https://github.com/bentwnghk/lobe-chat/issues/2555) ([84c69c9](84c69c9))

</details>

<div align="right">

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

</div>
@coulsontl coulsontl deleted the add_two_falg branch May 20, 2024 01:58
akvsdk pushed a commit to akvsdk/lobe-chat that referenced this pull request May 20, 2024
…ub#2555)

* feat: add two feature flags: check_updates 、welcome_suggest

* refactor code

* refactor code

* refactor code

* remove unused code

* fix test code

* optimize code
akvsdk pushed a commit to akvsdk/lobe-chat that referenced this pull request May 20, 2024
### [Version&nbsp;0.160.3](lobehub/lobe-chat@v0.160.2...v0.160.3)
<sup>Released on **2024-05-19**</sup>

#### 💄 Styles

- **misc**: Add two feature flags: check_updates 、welcome_suggest.

<br/>

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

#### Styles

* **misc**: Add two feature flags: check_updates 、welcome_suggest, closes [lobehub#2555](lobehub#2555) ([84c69c9](lobehub@84c69c9))

</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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Request] 建议欢迎页可以让用户设置是否启用;并可以隐藏左下角提示升级的红点
4 participants