Commit Graph

23 Commits (f00b2c33345f49ec4f9d47083e40484bd2e7f626)

Author SHA1 Message Date
Meng Zhang fc93cf80b4
feat(tabby-ui): add cluster information page and team management page (#997)
* feat(tabby-ui): move swagger API from sidebar to header

* feat(tabby-ui): extract /workers page

* feat(tabby-ui): add reset button for registeration token

* refactor: extract <SlackDialog />

* feat(tabby-ui): display authToken in dashboard

* add team management page

* extract invitation-table

* fix lint

* rename /workers -> /cluster

* cleanup team management page

* cleanup

* fix

* fix link title

* fix title

* fix nextjs build

* fix lint

* fix missing window error

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-09 16:51:05 +00:00
Meng Zhang b26a7f7cf3
refactor(tabby-ui): add unused-imports lint (#993) 2023-12-08 17:52:09 +00:00
Meng Zhang 6c6a2c803f
feat: make all features in webserver requires auth (#992)
* feat: require auth for webserver features

* cleanup frontend

* feat: add flag --webserver

* implement admin

* update format
2023-12-08 17:49:10 +00:00
Meng Zhang 8c02c22373
feat(tabby-ui): properly set accessToken for api access if user is login (#989)
* feat(tabby-ui): properly set accessToken for api access if user is login

* [autofix.ci] apply automated fixes

* fix: use return data from useSWR (#991)

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: aliang <1098486429@qq.com>
2023-12-09 00:15:26 +08:00
Meng Zhang 3f8f7fb7c6
refactor(webserver): enable import order + remove useless import (#984)
* refactor(webserver): enable import order + remove useless import

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-08 12:40:45 +08:00
Meng Zhang c303c00b68
feat(webserver): implement optional secure access for dashboard (#983)
* feat: implement optional access secure for login flow

* update

* fix

* remove useless import

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-08 12:16:26 +08:00
Meng Zhang 779eef0c1f
feat: add register / signin / signup / logout workflow (#976)
* feat: extract signup page

* feat: add signin page

* feat: implement auto redirecting

* fix: show slack dialog after signin

* feat: tweak signin page

* feat: add basic user panel + signout

* [autofix.ci] apply automated fixes

* fix: correct page title

* fix lint

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-07 17:56:08 +08:00
Meng Zhang 48340a775f
fix: import ThemeToggle directly, fix hydration error (#972) 2023-12-07 06:11:40 +00:00
Meng Zhang bfc2de49a3
refactor: move tabby specific libs to lib/tabby (#970)
* refactor: move useGraphQL to useGraphQLQuery

* refactor: tabby-gql-client -> tabby/gql

* refactor: tabby-fetcher -> tabby/fetcher

* fix
2023-12-07 05:52:59 +00:00
Meng Zhang 27d2f18302
feat: add authentication page example (#955)
* feat: add authentication page

autogen

* feat: pass invitation code to UserAuthForm in SignUp

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-07 05:39:39 +00:00
Meng Zhang bec96a176a
feat: implement tabby/auth (#969)
* feat: implement tabby/auth

* update

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-07 13:31:09 +08:00
Meng Zhang 98006552eb
refactor(tabby-webserver): remove next-auth (#956)
* refactor(tabby-webserver): remove next-auth

* add autofix-tabby-ui
2023-12-06 15:08:30 +00:00
Meng Zhang a4b1d75c1a
fix: tabby-ui should use AND condition to search function (#926) 2023-12-01 15:35:38 +08:00
aliang 24b14888ce
feat: Display registration token in webserver dashboard (#863)
* feat: display registration token

* Update page.tsx

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-23 08:58:21 +08:00
aliang f1e82d62e8
feat: Display remote workers in webserver dashboard (#848)
* feat: display remote workers

* refactor: useMergedWorkers

* fix: remove useless parameter

* fix: use-workers

* fix: warning silented
2023-11-22 18:53:36 +08:00
Meng Zhang d2281c7a1b refactor: move chat-sidebar related components to router's components dir 2023-11-20 09:03:32 -08:00
Meng Zhang 352db4ecf2 change title to Set Chat Title 2023-11-20 09:03:32 -08:00
Meng Zhang 355e2b47aa fix: make chat sidebar color consistent with main page sidebar 2023-11-20 09:03:32 -08:00
aliang 184ccc81e9
feat: adding conversation history / new chat in chat playground (#780)
* feat: adding conversation history / new chat

* fix: format

* fix: use user's first question as title
2023-11-14 12:50:58 -08:00
aliang e7f874b8da
feat: adding an auto completion component in chat playground (#702)
* feat: Adding an auto-completion component

* Update ee/tabby-ui/components/prompt-form.tsx

Co-authored-by: Meng Zhang <meng@tabbyml.com>

* fix: prepare for submitting prompt

* fix: Generate code block templates

* fix: select completion and replace with doc name

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-07 13:29:07 -08:00
Meng Zhang 73758e207d
feat: improve dashboard UI (#677) 2023-10-30 21:47:38 +00:00
Meng Zhang b4772fbcd0
feat(ui): add dashboard (#674)
* feat(ui): add dashboard

* handle path
2023-10-30 07:29:50 +00:00
Meng Zhang 2ee5dbfd4f
chore: move tabby-ui under ee license. (#667)
* chore: introduce tabby-ui EE license.

* update
2023-10-29 15:56:57 -07:00