Sean Hatfield
727d802779
Light/dark mode UI overhaul ( #2629 )
...
* Refactor workspace sidebar component styles (#2380 )
rely on css for conditional styles
* New sidebar colors (#2381 )
new sidebar colors
* Main container color update (#2382 )
* Dark mode setup themes (#2411 )
* setup generic tailwind theme + ability to add new themes
* add theme context
* use correct colors from design for sidebar + fix padding
* Settings sidebar UI updates (#2416 )
settings sidebar ui updates
* fix sidebar resizing/truncate issue on hover
* Dark mode chat window (#2443 )
* Support XLSX files (#2403 )
* support xlsx files
* lint
* create seperate docs for each xlsx sheet
* lint
* use node-xlsx pkg for parsing xslx files
* lint
* update error handling
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* wip chat window
* ux+ux improvements and update new colors
* chat window dark mode
* remove comment
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* Dark mode welcome page (#2444 )
* dark mode welcome page styles + refactor
* remove AI_BACKGROUND_COLOR and USER_BACKGROUND_COLOR constants
* Dark mode UI for admin and tools pages + mobile view improvements (#2454 )
* dark mode ui for admin and tools pages + mobile view improvements
* lint
* ai provider pages + options darkmode ui
* placeholder generic class
* appearance settings styles
* ai providers mobile margin
* dark mode styles for agent skills + experimental features
* mobile styles on security settings
* fine tune flow ui dark mode
* workspace settings page
* lint
* Dark mode onboarding (#2461 )
dark mode onboarding
* update all modals + normalize styles (#2471 )
* lint
* Dark mode privacy & experimental pages (#2479 )
* document watch + privacy pages ui + mobile modal darkmode
* lint
* Dark mode login screens (#2483 )
* multi-user auth screen ui update
* dark mode login screen + recovery key modals
* remove unneeded import
* Workspace preset commands modals dark mode (#2484 )
update workspace preset dark mode modal
* Document pinning modal ui update (#2490 )
document pinning modal ui update
* Experimental agreement modal dark mode (#2491 )
experimental agreement modal dark mode
* Serp options dark mode (#2492 )
serp options dark mode
* field fixes
* attempt light mode wip
* setting sidebar
* Toasts and threads
* main page content and privacy page
* force rewrite for light
* add border for light mode rightside content
* more fixes
* wip
* wip
* wip light mode implementation
* wip dark light mode file picker
* document picker light mode ui
* slight ui tweaks
* light mode fine tuning flow
* light mode tweaks + qa fixes
* fix md rendering of light mode + tooltip fixes
* lint
* qa bug fixes
* Add developer hook for theme
move provider to outmost layer
* qa light mode bug fixes
* Linting and hotfixes for UI
* Light mode to dev
* accept invite light mode ui fix
* Fix onboarding inputs in dark mode
* fix close icons
last minute items
* patch z-index on tooltips
* patch light mode citations
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-11-18 15:40:18 -08:00
Timothy Carambat
b701660f88
Frontend performance improvements ( #2627 )
...
* Frontend performance improvements
* test docker build
2024-11-13 11:11:13 -08:00
Timothy Carambat
2f56327962
Add undo/redo functionality #2591 ( #2623 )
...
* initial work - undo works except typed keys
* working but clunky code
* single letter and paste with no selection working
* add comments and keep the previous selection
* optimizations + add redo feature
* linting
---------
Co-authored-by: Mr Simon C <iamontheinternet@yahoo.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-11-12 15:49:10 -08:00
Sean Hatfield
4d15d4b192
Fix chat window scrollbar appearance option ( #2589 )
...
* wip fix chat window scrollbar
* fix chat/default chat window scrollbare option
* lint
* small lint and refactor
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-11-12 10:23:30 -08:00
Timothy Carambat
36af69b4a8
Patch DNDFilePicker useEffect callback ( #2506 )
2024-10-20 10:46:18 -07:00
Timothy Carambat
3dc0f3f490
Tts open ai compatible endpoints ( #2487 )
...
* Update OpenAI TTS config to allow a custom BaseURL
* uncheck config file
* break openai generic TTS into its own provider
* add space
* hide TTS on user msg
---------
Co-authored-by: Adam <phazei@gmail.com>
2024-10-15 21:39:31 -07:00
Sean Hatfield
52f2f87179
Pasting text bug fix ( #2425 )
...
pasting text bug fix
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-10-15 12:46:53 -07:00
Timothy Carambat
300e141736
Patch bug with pasted text not being detected ( #2386 )
2024-09-28 15:29:31 -07:00
timothycarambat
48c9c2e212
Dont overwrite content in input on paste
...
linting
2024-09-23 11:07:56 -05:00
Sean Hatfield
d75fee0c07
Make streaming behavior more natural ( #2336 )
...
* fix scrolling behavior + add cursor to streaming chats
* lint
* linting
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-23 10:53:36 -05:00
Timothy Carambat
84c1f6e0ea
Add ability to copy/paste images, files, and text from web, local, or otherwise ( #2326 )
2024-09-19 14:44:49 -05:00
Sean Hatfield
fb191d8ba7
Appearance setting for show/hide scroll bar on chat window ( #2187 )
...
* implement appearance setting for show/hide scrollbar
* put back comments
* revert backend for show_scrollbar
* show scrollbar save to localstorage
* old model function
* lint
* edit
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-09-16 16:09:54 -07:00
Timothy Carambat
de9f9a0ce8
UI Cleanup ( #2270 )
...
Remove FineTuningBanner
remove AgentAlert for first time users
2024-09-11 13:17:29 -07:00
Sean Hatfield
f3f6299aae
Fix UI for slash cmd presets ( #2260 )
...
* fix ui for slash cmd presets
* hide scroll
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-10 15:16:27 -07:00
timothycarambat
a07ff1a394
patch scrollbar on msgs
...
resolves #2190
2024-08-30 14:28:06 -07:00
timothycarambat
47a5c7126c
Patch path traversal in move-files that can be used by administrator level attacker only
2024-08-27 16:19:12 -07:00
Jeff Scott Ward
fc6d7359b6
Mobile render fix ( #2176 )
...
Allows for the reflowing of text and not breaking the parent box due of display flex container. Does not change any pre-existing classes only specifies further that it should stay inside.
2024-08-26 14:35:53 -07:00
Mr Simon C
89c8fae15f
Update the display to show 95% of the width on small screens, else 635px ( #2089 )
...
update the display to show 95% of the width on small screens, else 635px
2024-08-12 09:55:25 -07:00
timothycarambat
1e8d752a54
dont override default tailwind pulse
2024-08-09 13:00:12 -07:00
Sean Hatfield
53d64f30b1
Slash commands edit bug fix ( #2073 )
...
slash commands edit bug fix
2024-08-08 13:37:17 -07:00
timothycarambat
74d5f3adc5
debounce piper button
2024-08-07 14:28:57 -07:00
Roman Rojas
6a0f068bec
1603 speech to text hotkey ( #1771 )
...
* Added ctrl + enter hotkeys to init speach to text
* Ran linter
* Fixed speech transcript from being submitted twice when the user clicks the send button. Updated speech hotkeys.
* Added pulse animation to mic
* Fixed prompt double-send when clicking the send button or ending the TTS session.
* Fixed comment grammar
* Update mic hotkeys
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-08-07 12:00:01 -07:00
Timothy Carambat
d072875e43
Add piperTTS in-browser text-to-speech ( #2052 )
...
* Add piperTTS in-browser text-to-speech
* update vite config
* Add voice default + change prod public URL
* uncheck file
* Error handling
bump package for better quality and voices
* bump package
* Remove pre-packed WASM - will not support offline first solution for docker
* attach TTSProvider telem
2024-08-07 11:09:51 -07:00
Timothy Carambat
0141f91dda
Hide upload element for default role users ( #2061 )
...
resolves #2060
2024-08-07 08:39:07 -07:00
timothycarambat
faa341c33b
remove duplicate case stmt
2024-07-31 11:33:30 -07:00
Timothy Carambat
38fc181238
Add multimodality support ( #2001 )
...
* Add multimodality support
* Add Bedrock, KoboldCpp,LocalAI,and TextWebGenUI multi-modal
* temp dev build
* patch bad import
* noscrolls for windows dnd
* noscrolls for windows dnd
* update README
* update README
* add multimodal check
2024-07-31 10:47:49 -07:00
Sean Hatfield
3856a4d19c
Drag and drop file colors update & margin styles ( #2000 )
...
drag and drop file colors update & margin styles
2024-07-30 19:07:24 -07:00
timothycarambat
2ee5d20955
patch bad import
2024-07-30 17:52:20 -07:00
Timothy Carambat
d877d2b7ad
Add drag-and-drop to chat window ( #1995 )
...
* Add drag-and-drop to chat window
* add uploader icon and remove empty space text when attachments are present
* color theme
* color update
2024-07-30 10:26:16 -07:00
Sean Hatfield
2f620163ff
[STYLE] Fix UI bugs ( #1764 )
...
* fix indentation of citations
* fix outlines of input fields to be consistent
* remove red from trash icons
* fix margin from input title
* remove unused component and remove borders on provider search inputs
* make back arrow less opacity in onboarding to highlight next arrow
* fix spacing on all provider options (llm, vectordb, embedder
2024-07-11 14:18:34 -07:00
Sean Hatfield
881c4bc4de
[FIX] Hide TTS and more actions on chat reset message ( #1850 )
...
hide TTS and more actions on chat reset message
2024-07-11 11:05:25 -07:00
Sean Hatfield
e7fe35bda9
[STYLE] Implement new chat tools UI ( #1835 )
...
* implement new chat tools ui + bump phosphor icons package for new icons
* move TTS button below user image/fix styling
* Show tools on hover
update package deps
* patch styles for desktop
* fix more actions tooltip and disable hide/show on hover for mobile
* z-index on mobile patch
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-07-10 12:16:58 -07:00
timothycarambat
ddf268771d
Merge branch 'master' of github.com:Mintplex-Labs/anything-llm
2024-07-03 18:29:29 -07:00
timothycarambat
d94720f31a
remove mark as bad feedback
2024-07-03 18:29:20 -07:00
Sean Hatfield
ab56bae1bb
[FEAT] Ability to delete messages from conversation history ( #1812 )
...
* implement delete message feature
* add new delete chat endpoint that just hides messages from ui and fix perms
* refactor: add delete-event hooks for delete so we dont need to pass so much
refactor: implmentation of delete endpoint PUT
* update animation
linting
remove element on animiation to prevent popin
* linting and cleanup imports
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-07-03 18:28:08 -07:00
Sean Hatfield
8b5d9ccdb3
[FEAT] Fork chat to new thread ( #1788 )
...
* implement thread forking feature
* rename thread based on forked message
* refactor bulk message create for thread fork + bump prisma version
* revert prisma version bump
* add todo to bulkCreate function in workspace chats
* cast user input to expected type to prevent prisma injection
* refactor: update order of ops for thread fork
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-07-03 14:44:35 -07:00
timothycarambat
69cb71b1fc
patch cached tag overflow of filename text
...
patch parseChunkHeader bug
2024-06-26 21:45:52 -07:00
timothycarambat
0d5cc558c9
linting
...
patch UI exception with invalid return value from failed parse
resolves #1692
2024-06-17 13:55:10 -07:00
timothycarambat
05870ec8d0
chore: update no agent error message
...
style: update error message width
2024-06-12 13:19:06 -07:00
Timothy Carambat
b30dc1c956
patch: Auto thread renaming ( #1636 )
2024-06-07 17:12:54 -07:00
Sean Hatfield
3c98d15c6a
[FEAT] Rename new threads on thread creation ( #1607 )
...
* make thread name 'Thread' when new thread is created
* implement auto generated thread titles
* implement truncated prompt as thread name
* move rename of thread into workspaceThread function
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-06-07 14:06:47 -07:00
Timothy Carambat
05e40a0af4
Fix typo manageworkspace ( #1624 )
...
* chore: fix typo of ManageWorkspace
* fix typo of typo fixes
---------
Co-authored-by: jazelly <xzha4350@gmail.com>
2024-06-06 13:27:44 -07:00
Sean Hatfield
26c220503c
[FEAT] Edit message button ( #1392 )
...
* WIP edit message feature
* WIP edit message
* WIP editing messages feature
* Fix PFPs
TODO: Fix default user profile image
Add User and Assistant workspace response
* unset PFP changes for later PR
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-06-06 12:56:11 -07:00
Sean Hatfield
b4b29550b7
Fix chat width on larger screens ( #1493 )
...
* fix chat width on larger screens
* update loading layout padding
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-22 16:19:25 -05:00
Timothy Carambat
b23cb1a90f
Improve RAG results via chunkHeader append ( #1473 )
2024-05-21 14:43:39 -05:00
timothycarambat
fa99e53bdf
Copy raw text to clipboard to prevent omission of data for code-related tasks
...
resolves #1359
2024-05-19 18:01:02 -05:00
Timothy Carambat
396e04b0cc
Icon Button Tooltips ( #1451 )
...
- add tooltips to footer buttons to clear ambiguity on what they might mean
- Updated Generic OpenAI connector to not have a ton of inputs in one row
2024-05-18 23:29:23 -05:00
Sean Hatfield
381bdf0b61
[FIX] Improve readability for larger messages entered into chat input ( #1410 )
...
* increase max height of chat input for larger messages
* allow resize of input on mobile up to 50vh
* remove duplicate css rule
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-05-16 11:17:33 -07:00
timothycarambat
1e60cd57ff
Hide regenButton properly
...
update confirm code for slash commands
2024-05-14 15:06:30 -07:00
Timothy Carambat
b6be43be95
Add Speech-to-text and Text-to-speech providers ( #1394 )
...
* Add Speech-to-text and Text-to-speech providers
* add files and update comment
* update comments
* patch: bad playerRef check
2024-05-14 11:57:21 -07:00