342 Commits

Author SHA1 Message Date
f7eabe9c9a feat: show read-only prompt (#121)
* stash

* feat: show prompt and move setting pos

* feat:wrap long line

* refactor generate prompt

* fix typo

* eslint
2023-06-04 15:47:37 +08:00
e376e7be81 chore: add missing doc for setting DATABASE_DIRECT_URL 2023-06-02 15:16:33 +08:00
53ff2a0026 fix: typo 2023-06-01 23:19:27 +08:00
ed4f919d8f chore: add selected border for conversation Tab for dark mode (#120) 2023-06-01 19:40:59 +08:00
59e7fea9e7 fix: can't open setting when no database be selected (#119)
* fix: can't open setting when SQL be selected

* eslint
2023-06-01 19:13:21 +08:00
6a8e06ad24 fix: always jump to bottom when scroll (#118)
* fix: error jump when scroll

* fix: Cycle deps

* deleted unused code
2023-06-01 16:21:23 +08:00
07b37b65b1 chore: use border color for selected tab 2023-06-01 16:10:39 +08:00
d05c5fe92d docs: update readme 2023-06-01 15:58:50 +08:00
927e627db4 chore: use zinc instead of accent color for selected tab 2023-05-31 19:43:55 +08:00
11efb7a111 chore: sidebar table / token tweak 2023-05-31 19:41:01 +08:00
142ac3efa5 chore: enable conversation tab and tweak tab UX 2023-05-31 19:04:30 +08:00
0f2699c152 chore: further adjust token sidebar text 2023-05-31 18:58:42 +08:00
504655ed2a chore: use connection pooler for sample database 2023-05-31 18:54:23 +08:00
eb8dad700c chore: optimize token UX (#117)
* chore: replace supabase with neon as the sample database

consolidate

* chore: optimize token UX
2023-05-31 18:51:42 +08:00
b4b729812d chore: replace supabase with neon as the sample database (#116)
consolidate
2023-05-31 18:18:25 +08:00
088f0904c0 feat: set different token limit per model 2023-05-31 16:47:13 +08:00
933fb6f280 feat: to select table directly in the sidebar (#106) 2023-05-31 15:47:32 +08:00
00022e6bb7 feat: support schema select (#112) 2023-05-31 14:04:10 +08:00
1a57c6a899 feat: enable database-less mode with NEXT_PUBLIC_DATABASE_LESS 2023-05-26 22:27:28 +08:00
1a7c9b70d0 chore: feature gate on collecting usage data 2023-05-26 22:08:09 +08:00
a2ea7ce191 fix: cannot connect non SSL PostgreSQL (#109) 2023-05-24 23:52:27 +08:00
b6f3d0cb4c fix: error token calc (#107) 2023-05-24 11:12:00 +08:00
d9835b3a46 chore: update created at string position 2023-05-23 08:17:05 +08:00
16a7839b2f chore: fix header style 2023-05-22 21:35:42 +08:00
2b469c1997 feat: implement conversation tabs in header (#105) 2023-05-22 18:07:08 +08:00
1af59eca28 chore: add title to setting/privacy/terms pages 2023-05-22 15:42:39 +08:00
3b5fd4bcce chore: fix typo 2023-05-22 15:37:45 +08:00
eb02a10373 chore: hide snowflake/hive and use cursor pointer for whole radio 2023-05-21 23:52:49 +08:00
e3aac03e28 feat: add 1 month, 3 month purchase 2023-05-21 23:49:03 +08:00
d2ad07f973 chore: update database type radio click handler 2023-05-21 21:52:04 +08:00
8fab7044f3 feat: use rasterized db logo 2023-05-21 21:20:44 +08:00
ed07ad61f0 chore: minor refinemen
Follow https://github.com/sqlchat/sqlchat/pull/103
2023-05-21 20:43:13 +08:00
0285f86687 feat: update SQL in message when SQL of QueryDrawer changes (#103)
* create conversation when no conversation

* implment sql update

* fix conflict

* delete some unused code

* replace when close query drawer

* change save statement logic

* delete unnessnary code

* update comment
2023-05-21 20:39:41 +08:00
9287da7407 feat: separate subscription from payment (#104)
* feat: use connection pooling

* chore: minor subscription change

* feat: separate subscription from payment
2023-05-21 20:34:33 +08:00
86c6abe24c chore: change setting view to setting general view 2023-05-21 18:08:36 +08:00
c6b4c7f7f8 feat: pg support fetch non-public schema 2023-05-21 17:36:52 +08:00
bf43b5830d chore: add missing comment 2023-05-21 17:29:16 +08:00
f2aefa8e95 fix: use sslmode=preferred for pg and mysql
all hosted vendors require SSL and the existing ssl=none won’t work.
2023-05-21 17:28:13 +08:00
ad31e18ea2 fix: make port field editable 2023-05-21 15:22:28 +08:00
a994013fcd chore: adjust clickable area for engine type radio 2023-05-21 15:22:02 +08:00
120ada39c1 chore: missing locale string 2023-05-21 13:13:24 +08:00
f9f909b82c chore: use radio instead for dropdown for database type
Present type upfront
2023-05-21 13:12:24 +08:00
bfb2664b54 chore: add ToS 2023-05-21 12:34:44 +08:00
504d938488 chore: misc dark mode fix 2023-05-21 01:50:49 +08:00
353f5bdd8b chore: add privacy policy 2023-05-21 01:35:39 +08:00
8b2b10b13d feat: allow user to use gpt-4 2023-05-20 23:26:44 +08:00
cda4fd3f22 chore: enable wechat and alipay as it’s approved 2023-05-20 00:05:45 +08:00
822812fb7c chore: only show schema drawer icon in debug 2023-05-19 23:57:03 +08:00
d0c6ea48e3 chore: reenable feature after db migration 2023-05-19 23:26:57 +08:00
1a86bc4d7f feat: use connection pooling (#102) 2023-05-19 23:26:11 +08:00