Commit Graph

27 Commits (ae4dc5f8d09b14301fde8bf2a42f77457896968e)

Author SHA1 Message Date
Meng Zhang ae4dc5f8d0
feat(tabby-ui): support user auth token reset (#1003) 2023-12-10 04:16:31 +00:00
Meng Zhang 95d15f1224 fix: typo in cluster information page, registeration -> registration 2023-12-10 01:20:57 +08:00
Meng Zhang 9d607956f5 feat(tabby-ui): add endpoint url to home page 2023-12-10 01:11:59 +08:00
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 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 2df3b1c00d fix: add back header to playground 2023-12-07 15:09:23 +08: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 d772e44c17
refactor: move graphql query to individual files (avoid abstract for single use query) (#954)
* refactor: mofve graphql query to individual files (avoid abstract for single use query)

* fix codegen

* fix
2023-12-06 22:57:04 +08:00
Meng Zhang c54091d4bc
refactor: extract dashboard layout (#952)
* refactor: extract dashboard layout

* fix formatting
2023-12-06 22:41:35 +08:00
Meng Zhang 7de4073779 refactor: fix tabby-ui formatting 2023-12-06 22:35:31 +08:00
Meng Zhang 0857a10f31
fix: make runner card width equal in large screen (#883)
* fix: make runner card width equal in large screen

* chore: update build
2023-11-24 02:52:56 +00: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 25621547a7
feat: make --model optional, so user can start a chat only instance (#817) 2023-11-17 22:35:58 +00: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
Meng Zhang 177689341f
chore(ui): rename runners to workers (#681) 2023-10-30 22:11:01 -07: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 de827b1e74
Revert "feat: make --model optional (#668)" (#672)
This reverts commit c55e4481ba.
2023-10-29 21:44:11 -07:00
Meng Zhang c55e4481ba
feat: make --model optional (#668) 2023-10-30 00:04:42 +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