Commit graph

41 commits

Author SHA1 Message Date
Barrca
0b8a9981f2 Use sentence case for UI 2025-01-21 08:57:14 -08:00
diegomarzaa
3b230d5993 Custom OpenAI endpoint 2025-01-11 16:26:59 +01:00
FBarrca
8517b514da Added Notices for error handling with api endpoints 2025-01-09 23:25:26 +01:00
FBarrca
f185e0da2b Add commands to accept and discard tooltip suggestions 2025-01-07 14:19:24 +01:00
FBarrca
875d773e4d Refactor settings to use CSS classes for textarea styling 2025-01-07 12:59:11 +01:00
FBarrca
cc2d8ff456 Use classes insted of the style tag 2025-01-07 12:55:03 +01:00
FBarrca
222b1fb145 Refactorto use createEl for DOM element creation 2025-01-07 12:27:28 +01:00
FBarrca
5ea7917886 Fix typo on SelectionState.ts name 2025-01-06 22:47:27 +01:00
FBarrca
201eaa731d Remove hotkey configuration to adhere to plugin guidelines 2025-01-06 22:45:43 +01:00
FBarrca
1feb36384b Refactor advanced settings header in InlineAISettingsTab for clarity 2025-01-06 22:45:21 +01:00
FBarrca
64737a382d Remove debugging console output from generateDiffView function 2025-01-06 22:43:10 +01:00
FBarrca
b46c234e35 Rename plugin class and settings tab for consistency 2025-01-06 22:42:03 +01:00
FBarrca
99f7394caa Change hotkey from 'K' to 'Q' for improved accessibility 2025-01-06 01:24:19 +01:00
FBarrca
7658ea97dc Update README and change hotkey for AI tool activation 2025-01-06 01:18:50 +01:00
FBarrca
902b5979e7 Refined to have different prompts for each type of action 2025-01-06 00:21:20 +01:00
FBarrca
ef35b4913a Added the option to use it without selection 2025-01-06 00:01:35 +01:00
FBarrca
2d9d893fd1 Refactor settings and prompts for InlineAI integration 2025-01-05 23:36:04 +01:00
FBarrca
59968c726a Switch diff dependency for semantic cleanup 2025-01-05 16:27:24 +01:00
FBarrca
80d2ab5b6b Adjust CSS styling 2025-01-05 13:18:21 +01:00
FBarrca
f77461c17c Added side property to Toolbar to avoid issues with tables and codeblocks 2025-01-05 00:27:40 +01:00
FBarrca
ccb01fdcda Remove unused reload button and related functionality from FloatingWidget class and fix the resubmit of the prompt 2025-01-05 00:21:05 +01:00
FBarrca
968df3e228 Fix bug with diffView. Initialize currentPos with context value in generateDiffView function 2025-01-04 23:36:03 +01:00
FBarrca
89639f389c Rename AI response effects and state for clarity and consistency 2025-01-04 23:35:14 +01:00
FBarrca
5c94b016f2 Refactor many variable names to improve legibility and remove the console logs 2025-01-04 22:02:17 +01:00
FBarrca
818175e068 Remove unused reloadTooltipEffect definition from WidgetExtension module 2025-01-04 21:46:41 +01:00
FBarrca
aa34cd069f Enhance system prompt to include Obsidian-flavored markdown and add example for table conversion 2025-01-04 21:46:34 +01:00
FBarrca
68959c8719 Fix typo in dismissTooltipEffect references across modules 2025-01-04 21:28:00 +01:00
FBarrca
59d8094a6d Implemented the accept and discard changes buttons 2025-01-04 21:25:42 +01:00
FBarrca
740afd44a2 Fix bug with dismisal of the tooltip 2025-01-04 19:35:08 +01:00
FBarrca
c1a1176469 Rework the whole codebase 2025-01-04 11:24:21 +01:00
Francisco Barragán
ad92c0e042
Rename plugin to InlineAI and update references in code 2024-11-01 18:02:46 +01:00
Francisco Barragán
84bf9f9169
Add settings management and integrate LangChain API for chat functionality with multiple providers 2024-11-01 17:39:57 +01:00
FBarrca
aaf4e48f7d The reload button should use the updated prompt 2024-10-31 00:49:34 +01:00
FBarrca
158207e4f1 Fix the mouse not being possible to click inside the tooltip 2024-10-31 00:40:55 +01:00
FBarrca
052d1c5568 Fully working prototype! 2024-10-31 00:27:22 +01:00
FBarrca
089b3b53ec Add diff editor widget and integrate with tooltip system. Bodged RN 2024-10-29 00:16:20 +01:00
FBarrca
0b36cd27c8 Add InlineAI conflict detection and styling to diff extension 2024-10-27 22:32:05 +01:00
FBarrca
5562c50620 Made the connected InlineAI use the new Diff API
- Update TooltipWidget to accept app instance and replace selected text with API response
- Modify callApi to utilize fine-grained conflict generation
- Refactor cursorTooltipExtension to pass app instance for improved tooltip handling
2024-10-27 21:24:04 +01:00
FBarrca
b49e682c35 Add conflict markers and diff functionality with custom styling 2024-10-27 21:17:43 +01:00
FBarrca
7385fa3867 Integrate Ollama API for enhanced tooltip POC 2024-10-27 19:54:02 +01:00
FBarrca
4d725b1c2b Add tooltip widget functionality 2024-10-27 19:33:35 +01:00