Open imtuyethan opened 7 months ago
Remote API Extensions:
Tools Extensions:
Here is the modular, extensible UI architecture for Jan, inspired by frameworks like Obsidian and VS Code:
Notes:
(1) Top Bar - Control panel
Always visible and acts as the central hub. It provides users with quick access to essential actions for different spaces and overall app settings. Users can easily navigate and execute commands using the command palette or control toolbar.
(2) Ribbon
(3) Status Tray
(4) Content space
(1.1) Toolbar
(1.2) Command Palette
(2.1) Top icons Where we register main functions or pages of the app
(2.1) Bottom icons Where we register additional & complementary functions/pages of the app
(3.1) App status Used to streamline the overall status of the app, including: model downloading, app updating,...
(3.2) Monitor Bar
Bottom Panel
.
We have three columns in the top panel: left, center, and right. The left and right areas are clear to me.
Extensions can register a new toolbar in the top panel, defining the position as either left or right.
Is the center area, or the Command Palette
injectable by extensions? If yes, how UI looks like?
Let’s say I want to create an extension and choose the UI to display on the bottom panel. Do we allow that? If so, what should the UI look like?
Let’s clarify the areas where extensions can inject UI elements. A clear example for me would be the Thread Right Panel Tab
and the Ribbon
.
Goal
Components
Tasklist