225 Commits

Author SHA1 Message Date
daac415d35 chore: update dockerfile 2023-04-24 23:57:15 +08:00
0471e40684 feat: optimize fetch database schema (#65) 2023-04-24 23:11:32 +08:00
3264797661 chore: add quota banner back, limiting again 2023-04-24 22:21:29 +08:00
455813525a chore: remove Quota banner 2023-04-24 20:05:41 +08:00
f959cffbbd chore: hide quota overflow banner 2023-04-24 19:30:24 +08:00
f0965e6b73 chore: update create usage data 2023-04-24 18:57:50 +08:00
75b0000556 chore: update usage message 2023-04-24 18:29:30 +08:00
e1847be56d feat: add usage api call 2023-04-24 18:24:55 +08:00
00e3040670 chore: update usage database schema 2023-04-24 18:07:13 +08:00
a82308bd8b feat: make select component scrollable (#58)
* implmemnt scroll select #56

* limit the max height

* mix two solutio to implment final effect
2023-04-24 14:50:54 +08:00
c74302a4a6 chore: add vercel-build script for CI/CD (#63)
* chore: update readme

* chore: change to USAGE_DATABASE_URL

* chore: add vercel-build
2023-04-24 01:48:26 +08:00
4a49b9d9c8 chore: change to USAGE_DATABASE_URL (#62)
* chore: update readme

* chore: change to USAGE_DATABASE_URL
2023-04-24 01:40:20 +08:00
5eb865daac chore: update readme (#61) 2023-04-24 01:37:58 +08:00
aabb9a0ce5 feat: add prisma stub and init schema 2023-04-24 00:48:45 +08:00
f8f089238a chore: update table list check 2023-04-23 14:50:03 +08:00
06d32e7620 feat: cache database schema (#54)
* feat: cache database schema #53

* change the pos of cache table list

* eslint

* read database schema from connection state database

* delete dev log

* revert unnecessary chagne

* revert unnecessary chagne

* Update src/store/connection.ts

Co-authored-by: boojack <stevenlgtm@gmail.com>

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-04-23 14:40:35 +08:00
93388acd23 chore: change the init value of table list in useConnectionStore (#55) 2023-04-23 13:47:15 +08:00
2d94bf1079 chore: add quota overflow banner 2023-04-23 11:11:58 +08:00
20389c5b29 chore: update wechat qr code 2023-04-22 17:22:50 +08:00
28188d141c chore: readme on IP whitelisting 2023-04-21 14:18:48 +08:00
17374763f6 fix: current coversation not respond (#50)
* fix the change assistant didn't take effect immediately #45

* Update src/store/conversation.ts

Co-authored-by: boojack <stevenlgtm@gmail.com>

* change method name

* change method name

* fix the call method

* add current

* merge

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-04-21 14:00:18 +08:00
68332f6afe chore: remove -d in README docker 2023-04-21 02:42:27 +08:00
ec1f7129c5 chore: improve readme 2023-04-21 02:41:28 +08:00
94a9ff5f30 chore: improve readme 2023-04-21 02:39:50 +08:00
22f56f07c3 fix: prompt generator 2023-04-20 21:49:50 +08:00
6dac9146b1 fix: current conversation 2023-04-20 21:41:51 +08:00
473abb857c fix: the change assistant didn't take effect immediately #45 (#46)
* fix the change assistant didn't take effect immediately #45

* Update src/store/conversation.ts

Co-authored-by: boojack <stevenlgtm@gmail.com>

* change method name

* change method name

* fix the call method

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-04-20 21:08:00 +08:00
c28c18b77a feat: update Spanish Translation (#47)
* 🎨 style(es.json): add new keys and values for connection and assistant
🚀 chore(es.json): add new banner messages
The connection object now has new keys and values for the database type, title, host, port, database name, username, and password. The assistant object now has a new key and value for creating a new bot. The banner object now has two new messages, one for warning non-select SQL statements and another for promoting the product launch on Product Hunt.

* 🎨 style(es.json): fix typo in banner.product-hunt message
The message in banner.product-hunt contained a typo. The word "de" was removed to make the message grammatically correct.
2023-04-20 20:54:22 +08:00
ae8dc10768 chore: show product hunt banner 2023-04-20 15:08:21 +08:00
c1e5957038 chore: use copy-to-clipboard (#43) 2023-04-20 10:40:48 +08:00
4abe81f351 chore: add type field to TextField 2023-04-20 03:59:29 +08:00
86f1171c34 chore: hide product hunt buttons 2023-04-19 15:29:18 +08:00
781c7a643e chore: update product hunt link 2023-04-19 15:02:01 +08:00
84616c2b3f chore: show product hunt banner (#39)
* chore: show product hunt banner

* chore: add product hunt icon
2023-04-19 14:59:20 +08:00
ea2f0447eb chore: update message view padding in mobile 2023-04-19 14:39:09 +08:00
a290670e09 feat: add Thai locale 2023-04-19 11:32:47 +08:00
d7fe08f865 feat: add 繁體中文 locale 2023-04-19 11:28:50 +08:00
9c89bb894c chore: remove locale switch 2023-04-19 11:28:34 +08:00
29ee106e81 feat: add Deutsch locale (#38) 2023-04-19 11:23:54 +08:00
d1bc7dffff feat: support 日本語 locale 2023-04-19 11:12:51 +08:00
609f6c3dec docs: update readme (#37)
* docs: update readme with `deploy with docker`

* chore: add common questions section
2023-04-19 10:45:11 +08:00
8ee07db655 chore: update i18n of creating connection 2023-04-19 10:30:18 +08:00
a3ff1e8028 chore: add product hunt banner 2023-04-18 23:36:42 +08:00
c06b137d1d chore: add beta badge 2023-04-18 23:26:04 +08:00
f461293fef chore: update sample database 2023-04-18 17:41:20 +08:00
5b2b713ec9 chore: hide migration bot 2023-04-18 17:18:11 +08:00
8d9df96688 chore: add build release image action 2023-04-18 16:45:29 +08:00
66320c892d feat: add connection title field 2023-04-18 11:27:27 +08:00
911c801f04 chore: add bot template 2023-04-18 11:20:54 +08:00
480ec2d463 chore: declare bots id 2023-04-18 10:16:11 +08:00