Commit graph

57 commits

Author SHA1 Message Date
FBarrca
9fe45103b9 Added Notices for error handling with api endpoints 2025-01-09 23:25:26 +01:00
FBarrca
46e7d3c748 Add commands to accept and discard tooltip suggestions 2025-01-07 14:19:24 +01:00
FBarrca
0f3796ee27 Refactor settings to use CSS classes for textarea styling 2025-01-07 12:59:11 +01:00
FBarrca
8720cf9624 Use classes insted of the style tag 2025-01-07 12:55:03 +01:00
FBarrca
1ce66bc7d9 Refactorto use createEl for DOM element creation 2025-01-07 12:27:28 +01:00
FBarrca
da7da836fc Merge branch 'main' of https://github.com/FBarrca/obsidian-inlineAI 2025-01-07 12:19:08 +01:00
FBarrca
f126fc96fa Fix typo on SelectionState.ts name 2025-01-06 22:47:27 +01:00
FBarrca
bd359be230 Remove hotkey configuration to adhere to plugin guidelines 2025-01-06 22:45:43 +01:00
FBarrca
3ea7d61648 Refactor advanced settings header in InlineAISettingsTab for clarity 2025-01-06 22:45:21 +01:00
FBarrca
e0e97199a9 Remove debugging console output from generateDiffView function 2025-01-06 22:43:10 +01:00
FBarrca
5b28855f9e Rename plugin class and settings tab for consistency 2025-01-06 22:42:03 +01:00
Barrca
2fa56da88d Create LICENSE 2025-01-06 22:36:17 +01:00
FBarrca
e767a108c8 Update manifest.json 2025-01-06 22:33:25 +01:00
FBarrca
5413ac0543 Update release.yml 2025-01-06 22:32:54 +01:00
FBarrca
4d17af162d Update manifest.json 2025-01-06 01:47:06 +01:00
FBarrca
460b7342e1 Bump version to 1.0.1 in manifest.json 2025-01-06 01:25:05 +01:00
FBarrca
e03e11ca13 Change hotkey from 'K' to 'Q' for improved accessibility 2025-01-06 01:24:19 +01:00
FBarrca
6c62788846 Release v1.0.0 2025-01-06 01:22:38 +01:00
FBarrca
6ef5058d7d Update README and change hotkey for AI tool activation 2025-01-06 01:18:50 +01:00
FBarrca
0fdd0de505 Refined to have different prompts for each type of action 2025-01-06 00:21:20 +01:00
FBarrca
6f05e05406 Added the option to use it without selection 2025-01-06 00:01:35 +01:00
FBarrca
7eb78cf88f Refactor settings and prompts for InlineAI integration 2025-01-05 23:36:04 +01:00
FBarrca
e3a231813d Remove unused dependencies 2025-01-05 17:23:11 +01:00
FBarrca
852b4b504d Removed unnecesary CSSfile 2025-01-05 16:29:54 +01:00
FBarrca
9f7982440a Switch diff dependency for semantic cleanup 2025-01-05 16:27:24 +01:00
FBarrca
a76d7f9421 Adjust CSS styling 2025-01-05 13:18:21 +01:00
FBarrca
f61eab437f Added side property to Toolbar to avoid issues with tables and codeblocks 2025-01-05 00:27:40 +01:00
FBarrca
50371338ee 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
1b819d550b Fix bug with diffView. Initialize currentPos with context value in generateDiffView function 2025-01-04 23:36:03 +01:00
FBarrca
988f39e9fc Rename AI response effects and state for clarity and consistency 2025-01-04 23:35:14 +01:00
FBarrca
9efb9ac36b Refactor many variable names to improve legibility and remove the console logs 2025-01-04 22:02:17 +01:00
FBarrca
8a44674308 Remove unused reloadTooltipEffect definition from WidgetExtension module 2025-01-04 21:46:41 +01:00
FBarrca
aebb6f844e Enhance system prompt to include Obsidian-flavored markdown and add example for table conversion 2025-01-04 21:46:34 +01:00
FBarrca
87626146bd Fix typo in dismissTooltipEffect references across modules 2025-01-04 21:28:00 +01:00
FBarrca
5b739511b8 Added css for tooltip actions 2025-01-04 21:26:39 +01:00
FBarrca
8589bfb9df Implemented the accept and discard changes buttons 2025-01-04 21:25:42 +01:00
FBarrca
140dda4e18 Fix bug with dismisal of the tooltip 2025-01-04 19:35:08 +01:00
FBarrca
68db880b35 Rework the whole codebase 2025-01-04 11:24:21 +01:00
Francisco Barragán
9c7d988e6c Release v0.0.2 2024-11-01 18:11:46 +01:00
Francisco Barragán
485bef1441 Update release workflow to use 'artifacts' instead of 'files' for packaging incorrect config of the flow 2024-11-01 18:09:15 +01:00
Francisco Barragán
d89b4288b5 Release v0.0.1 2024-11-01 18:03:57 +01:00
Francisco Barragán
b121bcd3cd Rename plugin to InlineAI and update references in code 2024-11-01 18:02:46 +01:00
Francisco Barragán
7c70f320fe Add GitHub Actions workflow for building and releasing Obsidian plugin 2024-11-01 17:56:31 +01:00
Francisco Barragán
d0ace796b5 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