Andrew Pennington
ec158c0cdf
Added automatic docker build on merge to master
...
This PR includes:
- Automatic build & push to docker hub when pushing to master, or when triggering a workflow dispatch on master
- Automatic docker build on pull requests to validate changes
- Updated the docker-compose.yaml to use the container images, rather than building locally
- Added support for defining backend settings using the container environment
-> All options defined in config.toml can now be loaded instead from the environment
-> Order of precedence is environment definition, config.toml, and finally default inline configuration defined in config.ts
- Added support for defining frontend settings using the container environment
-> Added a dynamic api route to load the container environment definitions on the server, and provide them to the client
-> Added a library function to fetch from the newly created API, caching the response in the session storage
-> Modified existing calls to `process.env` to use the new library function
-> Left the initial statically compiled environment definitions in place as a backup definition, if no environment definitions are provided
Remaining tasks todo before able to merge to [ItzCrazyKns/Perplexica](https://github.com/ItzCrazyKns/Perplexica ):
- Add secret definitions for `DOCKER_USERNAME` and `DOCKER_PASSWORD` to [ItzCrazyKns/Perplexica](https://github.com/ItzCrazyKns/Perplexica ) to ensure push to dockerhub works on base branch
- Update documentation with information about changes
2024-08-21 00:40:34 +01:00
ItzCrazyKns
9c1936ec2c
feat(chat-window): lint & beautify
2024-08-04 18:14:46 +05:30
ItzCrazyKns
08379fcad5
feat(ws-connector): fix undefined chat model
2024-07-25 20:36:26 +05:30
ItzCrazyKns
cbce39a5dd
feat(settings): fix undefined model for custom OpenAI
2024-07-25 20:34:49 +05:30
ItzCrazyKns
f02393dbe9
feat(providers): add anthropic
2024-07-15 21:20:16 +05:30
ItzCrazyKns
e1732b9bf2
feat(chat-window): fix WS connection errors
2024-07-14 12:37:36 +05:30
ItzCrazyKns
27e6f5b9e1
feat(chat-window): unselect unavailable model
2024-07-09 16:21:45 +05:30
ItzCrazyKns
c74e16e01c
feat(chats): add delete functionality
2024-07-02 10:51:47 +05:30
ItzCrazyKns
c62684407d
feat(chat-window): handle notFound errors
2024-06-29 12:11:34 +05:30
ItzCrazyKns
c51ec8ff0f
feat(app): implement library feature
2024-06-29 11:09:51 +05:30
ItzCrazyKns
4545ff1d7d
feat(chat-window): adjust color & size
2024-06-25 16:11:39 +05:30
asifrahaman13
a152e58132
🎉 wip: implemented error state for backend socket connection and othe
2024-06-25 15:43:36 +05:30
ItzCrazyKns
9a96fd4788
feat(message-input): focus on / key
2024-06-23 10:46:22 +05:30
WanQuanXie
594106aea3
update(ui): remove useless imports
2024-06-07 16:39:14 +08:00
WanQuanXie
2ae5846b3d
fix(ui): ui compile fail
...
remove both of them, a new feature is coming soon - mobile device support setting navbar
2024-06-03 18:54:12 +08:00
ItzCrazyKns
7c676479d4
feat(theme-switcher): move to settings menu
2024-06-02 12:19:53 +05:30
ItzCrazyKns
32cc430b1b
feat(chat-window): use light theme for spinner
2024-05-31 11:08:32 +05:30
ItzCrazyKns
cf0abbb9d2
feat(message-actions): move to separate components
2024-05-31 11:02:37 +05:30
ItzCrazyKns
dcbcab3122
feat(theme-components): use default exports
2024-05-31 11:02:00 +05:30
ItzCrazyKns
90f9edea95
feat(components): use arrow function
2024-05-30 21:38:37 +05:30
WanQuanXie
9e7e1d76a2
update(ui): correct SearchVideo and SearchImages plus action button hover background color
2024-05-29 14:44:25 +08:00
WanQuanXie
9a36e48de5
fix(ui): correct the dom elements' position
2024-05-29 14:31:42 +08:00
WanQuanXie
cfab91ddbf
update(ui): restore both message input field dark mode background color
2024-05-29 12:22:29 +08:00
WanQuanXie
2d9ca3835e
update(SettingDialog): restore SettingDialog form input and select field dark mode background color
2024-05-29 12:10:24 +08:00
WanQuanXie
f061345c74
fix(MessageBox): multi line related item text will turn the plus icon small
2024-05-28 12:48:08 +08:00
WanQuanXie
5fe08b5ec8
update(MessageBox): parsed markdown message render style fix
2024-05-28 12:45:19 +08:00
WanQuanXie
6a2f4b8ebf
update(EmptyChat): EmptyChat theme switcher hide on lg screen
2024-05-28 11:29:04 +08:00
WanQuanXie
4eadc0c797
feat(EmptyChat): EmptyChat page add theme switcher
2024-05-28 11:25:31 +08:00
WanQuanXie
743b67d0e9
update(MessageSources): tune the source panel and inner block background color and border color
2024-05-28 11:11:45 +08:00
WanQuanXie
c8a16a622e
update(ui): remove light-300 color level
2024-05-28 10:55:52 +08:00
WanQuanXie
cae05bcf5e
update(ui): input action panel background adapt to light mode
2024-05-28 10:50:54 +08:00
WanQuanXie
710b72d053
feat(ui): theme switcher show in responsive mode
2024-05-28 10:48:58 +08:00
WanQuanXie
af9862c019
update(ui): sidebar in mobile screen adapt light mode
2024-05-28 10:26:24 +08:00
WanQuanXie
984b80b5ec
fix(ui): restore some hover style in dark mode
2024-05-28 10:15:42 +08:00
WanQuanXie
cb65f67140
update(MessageInput): weaken button border color and background color in light mode
2024-05-28 08:03:49 +08:00
WanQuanXie
62c7f535db
update(MessageSources): source block's mark point adapt light mode
...
which is before the number in bottom-right corner
2024-05-28 07:57:59 +08:00
WanQuanXie
943458440c
update(MessageSources): weaken sources Dialog panel and inner block border color
2024-05-28 07:50:35 +08:00
WanQuanXie
d28cfa3319
fix(MessageBox): <code/> type message text-color adapt light mode
2024-05-28 07:47:45 +08:00
WanQuanXie
b37a6e1560
fix(MessageInputActions): focus mode action hover style align before
2024-05-28 07:36:20 +08:00
WanQuanXie
0a2934935e
update(ui): change light mode color
2024-05-28 07:30:28 +08:00
WanQuanXie
a5978d544c
update(ui): re-manage theme config
2024-05-27 11:49:09 +08:00
WanQuanXie
d46a844df8
update(ui): realign dark mode style with before
2024-05-27 10:42:40 +08:00
WanQuanXie
c97a434723
fix(ui): hover style class uses
2024-05-25 07:26:51 +08:00
WanQuanXie
90f68ab214
update(SearchVideos): video cover label style adapt light mode
2024-05-24 22:41:06 +08:00
WanQuanXie
89c30530bc
update(Navbar): update Navbar light mode background
2024-05-24 22:08:47 +08:00
WanQuanXie
776d389c1e
refactor(SettingDialog): extract reduplicate code to common component
...
DO NOT REPEAT YOURSELF!
2024-05-24 21:58:14 +08:00
WanQuanXie
996cc1b674
feat: adaptive light mode
2024-05-24 21:18:10 +08:00
WanQuanXie
f9664d48e7
feat: setup theme context config
2024-05-24 18:20:15 +08:00
ItzCrazyKns
c61facef13
feat(message-box): display suggestions
2024-05-18 13:11:15 +05:30
ItzCrazyKns
fcff93a594
feat(message-actions): update rewrite button
2024-05-18 13:10:54 +05:30