66 Commits

Author SHA1 Message Date
李芳
970ffdac15 Merge branch 'feat/metering' of gitea.internetapi.cn:iod/page-assist into feat/page 2025-02-22 17:00:58 +08:00
n4ze3m
72eaaf9dd2 refactor: adjust sticky positioning in SettingsOptionLayout for improved layout consistency 2025-02-08 16:30:11 +05:30
n4ze3m
d315a39793 refactor: restructure Layout and SettingsLayout components for improved responsiveness and layout consistency 2025-02-08 13:30:08 +05:30
n4ze3m
40698e02d7 feat: update version to 1.4.6 and enhance code block component with download and copy sticky support 2025-02-08 12:48:49 +05:30
n4ze3m
a46156847d feat: add bottom fade mask utility and enhance Playground layout 2025-02-07 23:49:40 +05:30
yz778
1b6d4a344a fix: fix some typos 2025-02-02 22:03:01 -08:00
n4ze3m
51804bc9ae fix: bug fix 2025-01-25 15:19:28 +05:30
n4ze3m
b39d60fc3c feat: Update message formatting to remove model suffix in chat display 2025-01-19 12:52:43 +05:30
n4ze3m
aacade6c84 feat: Add option to download chat as an image 2025-01-18 17:13:20 +05:30
n4ze3m
867204604b feat: Add sidebar chat history and functionality 2025-01-11 20:58:45 +05:30
n4ze3m
db3a80c081 feat: Add RTL support for header navigation 2024-12-29 13:13:59 +05:30
n4ze3m
e4357677a7 fix: Update entrypointsDir and manifest version in wxt.config.ts
feat: Update routing imports in options and sidepanel App components
fix: Remove unused SquarePen icon import in Header component
2024-12-27 20:16:07 +05:30
n4ze3m
43b4f076e9 feat: Add more options for chat messages to copy, download chat entirely 2024-12-14 18:30:27 +05:30
n4ze3m
eaf0e5b241 feat(NewChat): improve button styles and layout
- Update the styles and layout of the "New Chat" and dropdown buttons in the NewChat component
- Rounded the buttons to match the design
- Adjusted the spacing and alignment of the button elements
- Ensured consistent styling between light and dark modes
2024-11-17 12:29:41 +05:30
n4ze3m
92013f3bfc feat(settings): add Ollama connection status check setting
- Add new setting to enable/disable Ollama connection status check
- Update translations for the new setting across all supported languages
2024-11-17 12:26:14 +05:30
n4ze3m
c4d9e3aeed feat: Add page assist select component to header
This commit introduces a new `PageAssistSelect` component to the header, which replaces the previous `Select` component for selecting the active chat model. The new component provides improved functionality, including:

- Ability to display provider icons alongside the model name
- Truncation of long model names to ensure they fit within the available space
- Improved loading state handling
- Ability to refresh the model list on demand

These changes enhance the user experience and make it easier for users to quickly select the desired chat model.
2024-11-16 15:50:11 +05:30
n4ze3m
f8791a0707 feat: Introduce temporary chat mode
Adds a new "Temporary Chat" mode for quick, non-persistent conversations. The new mode is available in the header bar and will trigger a visually distinct chat experience with a temporary background color. Temporary chats do not save to the chat history and are meant for short, one-off interactions. This feature enhances flexibility and provides a more convenient option for users who need to quickly interact with the AI without committing the conversation to their history.
2024-11-09 19:10:34 +05:30
n4ze3m
9cc309e9fd feat: Add code download functionality
Adds a new "Download Code" button to the code block component, allowing users to download the code displayed for offline use.

This feature enhances user convenience and provides a more versatile experience for exploring and utilizing code snippets.
2024-10-26 15:37:02 +05:30
n4ze3m
30eb320c19 Fix: Improve settings layout and models refresh
Refine settings layout for better visual flow, enlarge settings sidebar for easier viewing, and adjust model refresh logic for more responsive updates.

Refactor: Add more visual weight to the settings panel and optimize model refresh logic.

Refactor: Enhance the visual appeal of settings panel by increasing its width and improving model refresh behavior for better user experience.
2024-10-12 23:39:31 +05:30
n4ze3m
ff371d6eef feat: Add OpenAI Provider Selection
Add a provider selection dropdown to the OpenAI settings, enabling users to choose from pre-configured options like "Azure" or "Custom." This streamlines setup and allows for more flexibility in configuring OpenAI API endpoints. The dropdown pre-populates base URLs and names based on the selected provider.

The dropdown also automatically populates base URLs and names based on the selected provider, further simplifying the configuration process.
2024-10-12 16:53:42 +05:30
n4ze3m
3d8c8671e1 Merge remote-tracking branch 'origin/next' into openai 2024-10-02 20:10:21 +05:30
n4ze3m
1ec44f047d feat(share): Add history title to share modal
Adds the title of the current chat history to the share modal. This makes it easier for users to share their conversations with others, as the title provides context for the conversation.

The title is fetched from the database and displayed in the share modal.
2024-10-02 13:55:38 +05:30
n4ze3m
0e44a7ad4b feat: Add temporary system prompt
Adds a new setting that allows users to set a temporary system prompt for the current chat.
This prompt will override the selected system prompt if it exists.
The new setting is available in the "Current Chat Model Settings" modal.
This feature provides a way to quickly experiment with different system prompts without having to change the default setting.
2024-10-02 12:30:52 +05:30
n4ze3m
c8620637f8 feat: add OpenAI model support
Adds support for OpenAI models, allowing users to leverage various OpenAI models directly from the application. This includes custom OpenAI models and OpenAI-specific configurations for seamless integration.
2024-09-29 19:57:26 +05:30
n4ze3m
e2e3655c47 feat: OpenAI settings page
Add a new settings page for OpenAI configuration, including a dedicated tab in the settings layout, translations, and routing.
2024-09-28 16:08:02 +05:30
n4ze3m
2e97f6470d feat: Add clear chat history button to drawer
Adds a button to the sidebar drawer for clearing chat history.
The button uses a confirmation prompt to ensure user intent and clears the database entries.
This allows users to reset their chat history for a fresh start.
The button uses a tooltip to provide more information on its function.
2024-09-27 19:38:29 +05:30
n4ze3m
53d999a596 feat: Add system and quick prompts on side panel 2024-09-14 12:07:54 +05:30
n4ze3m
d41ec2a89c feat: Add Chrome AI support 2024-06-30 20:45:06 +05:30
n4ze3m
692c0887cc new settings for rag 2024-06-03 00:30:10 +05:30
n4ze3m
7fa44e6fd3 refactor: Remove unnecessary flex classes from main element in Layout component 2024-05-31 22:05:43 +05:30
n4ze3m
b6bc617e5e refactor header 2024-05-31 13:50:05 +05:30
n4ze3m
721fad18c2 chore: Update Layout component to adjust width for model selection 2024-05-29 00:13:20 +05:30
n4ze3m
533e38c287 chore: Update Layout component to truncate long model names 2024-05-27 21:09:16 +05:30
n4ze3m
014565a14e feat: Add BetaTag to Copilot resume chat label in SettingsOther component 2024-05-25 10:16:13 +05:30
n4ze3m
961f5180c6 Added ability to resume previous chat on copilot 2024-05-24 21:01:10 +05:30
n4ze3m
9e2ef72486 chore: Update Lucide icons and improve Current Chat Model Settings 2024-05-24 20:00:09 +05:30
n4ze3m
315163ca62 chore: Update Lucide icons and add Current Chat Model Settings to Sidepanel 2024-05-23 22:48:46 +05:30
n4ze3m
b3a455382c chore: Update version to 1.1.9 and add Model Settings to Ollama settings page 2024-05-23 00:39:44 +05:30
n4ze3m
8662fd0693 chore: Update form components to handle pasted files 2024-05-18 20:54:43 +05:30
n4ze3m
3170bc4be6 chore: Update shareMode default value to false 2024-05-14 12:44:37 +05:30
n4ze3m
677aa6ef51 feat: Add export/import functions for chat history, promt and knowledge 2024-05-08 13:42:59 +05:30
n4ze3m
f630addefc refactor: Update handlePromptChange logic to handle undefined value 2024-05-08 10:22:50 +05:30
n4ze3m
b09fbcdfe6 Option to disable page share 2024-04-30 20:43:53 +05:30
n4ze3m
cfcf718769 Remeber recently used model 2024-04-16 23:04:25 +05:30
n4ze3m
9262a5bb7c Update import statements, set TTSEnabled in TTSModeSettings, and fix fetchChatModels error handling 2024-04-13 14:25:09 +05:30
n4ze3m
e96a579e02 Update localization files and remove unused files 2024-04-06 21:51:13 +05:30
n4ze3m
0ec5621b89 Update SettingsOptionLayout to include Tag component in link name 2024-04-06 20:54:27 +05:30
n4ze3m
82abbf5bad Add SelectedKnowledge component to OptionLayout and KnowledgeSelect 2024-04-06 10:48:51 +05:30
n4ze3m
ac347a3970 Update dependencies and fix import paths 2024-04-05 20:28:29 +05:30
n4ze3m
7b5062e5da Add about section to settings.json for multiple locales 2024-03-31 20:16:26 +05:30