From f915c6c640257a805e1064abf5520232b09c13aa Mon Sep 17 00:00:00 2001 From: Renee <121910637+Ssstars@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:34:57 +0800 Subject: [PATCH 1/4] Update about.md Added a link to substack Added bd channel enquiry --- docs/docs/about/about.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs/about/about.md b/docs/docs/about/about.md index cfd82bb53..e06db4044 100644 --- a/docs/docs/about/about.md +++ b/docs/docs/about/about.md @@ -16,7 +16,7 @@ Our mission is to allow humans and businesses to own their AI, with the right to ### Ideal Customer -Our ideal customer is an AI enthusiast or business who has experienced some limitations with OpenAI, and is keen to find open source alternatives. +Our ideal customer is an AI enthusiast or business who has experienced some limitations with current AI solutions,and is keen to find open source alternatives. ### Problems @@ -31,7 +31,7 @@ Our ideal customer would use Jan to solve one of these problems. - Data protection (e.g. personal data or company data) - Privacy (e.g. nsfw) -*Customizability* +*Customisability* - Tinkerability (e.g. ability to change model, experiment) - Niche Models (e.g. fine-tuned, domain-specific models that outperform OpenAI) @@ -65,6 +65,7 @@ We use Github to build in public, and welcome anyone to join in. - [Jan's Kanban](https://github.com/orgs/janhq/projects/5) - [Jan's Roadmap](https://github.com/orgs/janhq/projects/5/views/29) +- [Jan's Newsletter](https://newsletter.jan.ai) ### Bootstrapped @@ -74,7 +75,7 @@ We appreciate any business that can balance growth with cashflow/profitability. ### Remote Team -Jan has a fully-remote team. We are mainly based in the Asia timezone. We use [Discord](https://discord.gg/af6SaTdzpx) and [Github](https://github.com/janhq) to work. +Jan has a fully-remote team. We are mainly based in the APAC timezone We use [Discord](https://discord.gg/af6SaTdzpx) and [Github](https://github.com/janhq) to work. ## Contact @@ -85,6 +86,7 @@ Drop us a message in our [Discord](https://discord.gg/af6SaTdzpx) and we'll get - `#general`: for general discussion - `#jan-dev`: for Jan-related questions - `#nitro-dev`: for Nitro-related questions +- '#bd-inquiries': for enterprise license queries ### Careers From 8202da13c9a092dbe2de177849a1eed77d22beb0 Mon Sep 17 00:00:00 2001 From: Ho Duc Hieu <150573299+hieu-jan@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:05:23 +0700 Subject: [PATCH 2/4] docs: correct typo --- docs/docs/about/about.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/about/about.md b/docs/docs/about/about.md index e06db4044..705a3875a 100644 --- a/docs/docs/about/about.md +++ b/docs/docs/about/about.md @@ -16,7 +16,7 @@ Our mission is to allow humans and businesses to own their AI, with the right to ### Ideal Customer -Our ideal customer is an AI enthusiast or business who has experienced some limitations with current AI solutions,and is keen to find open source alternatives. +Our ideal customer is an AI enthusiast or business who has experienced some limitations with current AI solutions and is keen to find open source alternatives. ### Problems @@ -61,7 +61,7 @@ Jan is a startup with an open source business model. We believe in the need for ### Build in Public -We use Github to build in public, and welcome anyone to join in. +We use GitHub to build in public and welcome anyone to join in. - [Jan's Kanban](https://github.com/orgs/janhq/projects/5) - [Jan's Roadmap](https://github.com/orgs/janhq/projects/5/views/29) @@ -75,7 +75,7 @@ We appreciate any business that can balance growth with cashflow/profitability. ### Remote Team -Jan has a fully-remote team. We are mainly based in the APAC timezone We use [Discord](https://discord.gg/af6SaTdzpx) and [Github](https://github.com/janhq) to work. +Jan has a fully-remote team. We are mainly based in the APAC timezone. We use [Discord](https://discord.gg/af6SaTdzpx) and [Github](https://github.com/janhq) to work. ## Contact From 39cdd638d4076bcd342516f232f24b5248e859c9 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 8 Jan 2024 13:35:29 +0700 Subject: [PATCH 3/4] Add icon collapsible left panel and update keyboard shortcut page --- web/containers/Layout/TopBar/index.tsx | 31 ++++++++++++++++++------- web/screens/Settings/Advanced/index.tsx | 26 ++++++++++++++++++++- 2 files changed, 48 insertions(+), 9 deletions(-) diff --git a/web/containers/Layout/TopBar/index.tsx b/web/containers/Layout/TopBar/index.tsx index 9ef03dd11..af310a60d 100644 --- a/web/containers/Layout/TopBar/index.tsx +++ b/web/containers/Layout/TopBar/index.tsx @@ -1,20 +1,22 @@ import { useState } from 'react' import { getUserSpace, joinPath, openFileExplorer } from '@janhq/core' -import { useAtomValue, useSetAtom } from 'jotai' +import { useAtom, useAtomValue } from 'jotai' import { - PanelLeftIcon, PenSquareIcon, - PanelRightIcon, MoreVerticalIcon, FolderOpenIcon, Code2Icon, + PanelLeftCloseIcon, + PanelRightCloseIcon, } from 'lucide-react' import { twMerge } from 'tailwind-merge' import CommandSearch from '@/containers/Layout/TopBar/CommandSearch' +import { showLeftSideBarAtom } from '@/containers/Providers/KeyListener' + import { MainViewState } from '@/constants/screens' import { useClickOutside } from '@/hooks/useClickOutside' @@ -31,7 +33,8 @@ const TopBar = () => { const { mainViewState } = useMainViewState() const { requestCreateNewThread } = useCreateNewThread() const { assistants } = useGetAssistants() - const setShowRightSideBar = useSetAtom(showRightSideBarAtom) + const [showRightSideBar, setShowRightSideBar] = useAtom(showRightSideBarAtom) + const [showLeftSideBar, setShowLeftSideBar] = useAtom(showLeftSideBarAtom) const showing = useAtomValue(showRightSideBarAtom) const threadStates = useAtomValue(threadStatesAtom) const [more, setMore] = useState(false) @@ -105,10 +108,16 @@ const TopBar = () => {
-
- setShowLeftSideBar((show) => !show)} + > +
{ className="unset-drag absolute right-4 cursor-pointer" onClick={() => setShowRightSideBar((show) => !show)} > - +
)} diff --git a/web/screens/Settings/Advanced/index.tsx b/web/screens/Settings/Advanced/index.tsx index f0b58b984..8c8eb1a7a 100644 --- a/web/screens/Settings/Advanced/index.tsx +++ b/web/screens/Settings/Advanced/index.tsx @@ -149,7 +149,7 @@ const Advanced = () => {

- + @@ -207,6 +207,30 @@ const Advanced = () => {
+
+
+
+ +
+
+
+
+

Toogle collapsible left panel

+
+
+
+
+
+
+ +
+
+
+
+

Navigate to setting page

+
+
+
From aed74299aff0d5a0d55750d4e1d0775c47b42389 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 8 Jan 2024 13:39:33 +0700 Subject: [PATCH 4/4] fix typo copy --- web/screens/Settings/Advanced/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/screens/Settings/Advanced/index.tsx b/web/screens/Settings/Advanced/index.tsx index 8c8eb1a7a..32c34879d 100644 --- a/web/screens/Settings/Advanced/index.tsx +++ b/web/screens/Settings/Advanced/index.tsx @@ -215,7 +215,7 @@ const Advanced = () => {
-

Toogle collapsible left panel

+

Toggle collapsible left panel