forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit introduces new components, modules, and features related to chat, sessions, and settings. It includes modifications to configuration files, updates to dependencies, adjustments to styles and layouts, and additions of new components and modules. The changes also involve updates to functions, interfaces, selectors, actions, and reducers. Additionally, there are modifications to TypeScript interfaces and types, as well as changes to parameters and functions in certain files.
- Loading branch information
1 parent
30da537
commit 4e522a6
Showing
72 changed files
with
618 additions
and
434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@lobehub/lint').changelog; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@lobehub/lint').commitlint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Eslintignore for LobeHub | ||
################################################################ | ||
|
||
# dependencies | ||
node_modules | ||
|
||
# ci | ||
coverage | ||
.coverage | ||
|
||
# test | ||
jest* | ||
_test_ | ||
__test__ | ||
*.test.ts | ||
|
||
# umi | ||
.umi | ||
.umi-production | ||
.umi-test | ||
.dumi/tmp* | ||
!.dumirc.ts | ||
|
||
# production | ||
dist | ||
es | ||
lib | ||
logs | ||
|
||
# misc | ||
# add other ignore file below | ||
.next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
name: "🌠 功能需求 Feature Request" | ||
description: "需求或建议 | Suggest an idea" | ||
title: "[Request] " | ||
labels: "🌠 Feature Request" | ||
name: '🌠 功能需求 Feature Request' | ||
description: '需求或建议 | Suggest an idea' | ||
title: '[Request] ' | ||
labels: '🌠 Feature Request' | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: "🥰 需求描述 | Feature Description" | ||
label: '🥰 需求描述 | Feature Description' | ||
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: "🧐 解决方案 | Proposed Solution" | ||
label: '🧐 解决方案 | Proposed Solution' | ||
description: Describe the solution you'd like in a clear and concise manner. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: "📝 补充信息 | Additional Information" | ||
label: '📝 补充信息 | Additional Information' | ||
description: Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: "😇 疑问或帮助 Help Wanted" | ||
description: "疑问或需要帮助 | Need help" | ||
title: "[Question] " | ||
labels: "😇 Help Wanted" | ||
name: '😇 疑问或帮助 Help Wanted' | ||
description: '疑问或需要帮助 | Need help' | ||
title: '[Question] ' | ||
labels: '😇 Help Wanted' | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: "🧐 问题描述 | Proposed Solution" | ||
label: '🧐 问题描述 | Proposed Solution' | ||
description: A clear and concise description of the proplem. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: "📝 补充信息 | Additional Information" | ||
label: '📝 补充信息 | Additional Information' | ||
description: Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
directory: '/' | ||
schedule: | ||
interval: weekly | ||
time: "19:00" | ||
time: '19:00' | ||
timezone: 'Asia/Shanghai' | ||
open-pull-requests-limit: 10 | ||
versioning-strategy: increase | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: monthly | ||
time: "19:00" | ||
time: '19:00' | ||
timezone: 'Asia/Shanghai' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,3 @@ test-output | |
*.tsbuildinfo | ||
next-env.d.ts | ||
.next | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
tasks: | ||
- init: pnpm install | ||
command: pnpm run start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
lockfile=false | ||
resolution-mode=highest | ||
public-hoist-pattern[]=*@umijs/lint* | ||
public-hoist-pattern[]=*changelog* | ||
public-hoist-pattern[]=*commitlint* | ||
public-hoist-pattern[]=*eslint* | ||
public-hoist-pattern[]=*postcss* | ||
public-hoist-pattern[]=*prettier* | ||
public-hoist-pattern[]=*remark* | ||
public-hoist-pattern[]=*semantic-release* | ||
public-hoist-pattern[]=*stylelint* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,63 @@ | ||
**/*.svg | ||
.umi | ||
.umi-production | ||
/dist | ||
.dockerignore | ||
# Prettierignore for LobeHub | ||
################################################################ | ||
|
||
# general | ||
.DS_Store | ||
.eslintignore | ||
*.png | ||
*.jpg | ||
*.webp | ||
*.toml | ||
*.py | ||
docker | ||
.editorconfig | ||
Dockerfile* | ||
.gitignore | ||
.prettierignore | ||
LICENSE | ||
.eslintcache | ||
*.lock | ||
yarn-error.log | ||
.idea | ||
.vscode | ||
.history | ||
.temp | ||
.env.local | ||
.husky | ||
.npmrc | ||
.env.local | ||
.next | ||
.gitkeep | ||
venv | ||
temp | ||
tmp | ||
LICENSE | ||
|
||
# dependencies | ||
node_modules | ||
*.log | ||
*.lock | ||
package-lock.json | ||
|
||
# ci | ||
coverage | ||
.coverage | ||
.eslintcache | ||
.stylelintcache | ||
test-output | ||
__snapshots__ | ||
.snap | ||
*.snap | ||
|
||
# production | ||
dist | ||
es | ||
lib | ||
logs | ||
|
||
# umi | ||
.umi | ||
.umi-production | ||
.umi-test | ||
.dumi/tmp* | ||
|
||
# ignore files | ||
.*ignore | ||
|
||
# docker | ||
docker | ||
Dockerfile* | ||
|
||
# image | ||
*.webp | ||
*.gif | ||
*.png | ||
*.jpg | ||
*.svg | ||
|
||
# misc | ||
# add other ignore file below | ||
.next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
module.exports = { | ||
printWidth: 120, | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
proseWrap: 'never', | ||
endOfLine: 'lf', | ||
overrides: [{ files: '.prettierrc', options: { parser: 'json' } }], | ||
plugins: [require.resolve('prettier-plugin-packagejson'), require.resolve('prettier-plugin-organize-imports')], | ||
pluginSearchDirs: false, | ||
}; | ||
module.exports = require('@lobehub/lint').prettier; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
module.exports = { | ||
extends: ['semantic-release-config-gitmoji'], | ||
branches: ['master'], | ||
}; | ||
module.exports = require('@lobehub/lint').semanticRelease; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@lobehub/lint').remarklint; |
Oops, something went wrong.