aboutsummaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2024-12-05playing with ink stroke editing and fireflybobzel
2024-11-22added initial Firefly endpoint and hanged smartDrawHandler to generate an ↵bobzel
image and an svg.
2024-11-19Merge remote-tracking branch 'origin/ajs-finalagent'bobzel
2024-11-14changed isScribble related code to be more robust at determine cusps and ↵bobzel
deciding if cusps amount to a scribble. enabled undo of scribble erase without undoing scribble. added cusp visualizer for debugging, and cleaned up downDocView to be downFfview on CollectionFreeformView.
2024-11-13made link text use text menu. and made link text zoom with view. cleaned up ↵bobzel
equationBox updateSize()
2024-11-12don't include ink strokes in freeform clustersbobzel
2024-11-12changed cluster coloring to apply to all Docs that don't have the current ↵bobzel
default background color.
2024-11-12updated equationBox to support margins/padding like text. fixed initial ↵bobzel
undo of newly typed equation.
2024-11-12fixed resizing height to 0 to autoResize. fixed setting background color ↵bobzel
default for equations (and everything else) to textBackgroundColor from user doc. Added a math pseudo-font to trigger entering equations instead of rich text.
2024-11-12made equation background same as text. fixed dflt stroke/link width to both ↵bobzel
be 1. made function plot axis ranges get saved to Doc. marked equation->function links as being svgs. fixed initial size of equation boxes..
2024-11-12fixed clicking on filled closed strokes to select them.. fixed equationBox ↵bobzel
initial width. fixed line mode for ink to always create lines. fixed contextMenu to reset selectedIndex after being hidden. added reveal options for comparisonbox to contexst menu.
2024-11-08Displays markdown again nowA.J. Shulman
2024-11-08displays much better with citations inlineA.J. Shulman
2024-11-08looks better still some things to work outA.J. Shulman
2024-11-07making it work even betterA.J. Shulman
2024-11-07working to create docs but wrong doc types/not compatible with LLMA.J. Shulman
2024-11-07trying to add a new create any doc toolA.J. Shulman
2024-11-06Enhance assistant security with structured validation and input sanitizationA.J. Shulman
- Prompt enhancements: - Enforce strict response structure validation by requiring <stage>, <thought>, <action>, and <answer> tags in responses. - Add self-validation instruction in <final_instruction> for assistant to check response structure before outputting. - Instruct assistant to ignore XML-like syntax from user input, treating any <stage>, <action>, etc., as plain text. - Code changes: - Implement `validateAssistantResponse` function to enforce required response structure (e.g., ensuring <stage> element). - Add input sanitization using `lodash.escape` to treat user inputs as plain text, preventing XML or HTML injection. - Configure XML parser to ignore external entities and avoid interpreting embedded XML-like syntax. - Introduce fallback error handling in parsing and validation to prevent assistant crashes on malformed or unexpected input. - Log response errors with detailed messages to aid debugging and improve system resilience. - Enhance input validation for tools by adding parameter checks, handling malformed data gracefully, and logging safety errors.
2024-11-05 fixed display of where control point will be added on mouse moves. fixed ↵bobzel
clickable ink line to not select fill area unless its actually painted. added end cap properties to ink stroke ui. enabled more than one ink stroke to show editable control points when multiselected.
2024-11-03fixed parsing of chat's svg's to strokesbobzel
2024-11-01fixed inifnite loop in card view caused by bug in formattedText of adding ↵bobzel
tagsView height to doc height. made selected docs also be focused docs in cardview. fixed tags text color to be set to black
2024-11-01fixed resize problem where NaN is generated by scaling very narrow in a card ↵bobzel
view.
2024-10-31Merge branch 'master' of https://github.com/brown-dash/Dash-Webgeireann
2024-10-31restored smartdraw ink mode. siwtched to enums for setting ink properties.bobzel
2024-10-30from lastbobzel
2024-10-30fix for disableMixedBlend over images and videos.bobzel
2024-10-30reworked how context menu buttons for ink and text work. added ↵bobzel
disableMixBlend for making transparent docs not use 'multiply'.
2024-10-29improved rectangle/triangle gesture recognitionbobzel
2024-10-29fixes to allow typing and drawing without a mode switch.bobzel
2024-10-28reworked LabelBox's to be fully editable. gor rid of singleLine for label ↵bobzel
boxes. made a text_fitBox field to render text with a labelBox. fixed styleprovider in freeformview clusters to be untracked() to avoid invalidations. added a default text color to Settings panel. fixed clicking text buttons to not lose focus in labelBox.
2024-10-24fixed pinning of card and carousel views.geireann
2024-10-24fixed doc decorations for carousel docs.bobzel
2024-10-22fixed websearch tool endpoint so it only returns displayable results in ↵A.J. Shulman
Dash; also fixed type checking but needs to be improved
2024-10-20changed to generic addLinkedDocA.J. Shulman
2024-10-18fixed following anchors to collection card/carousel to set the ↵bobzel
current/selected Doc
2024-10-18fixed tab switching instead of bringing up a lightbox when following link to ↵bobzel
doc in different tab.
2024-10-18fixed following links/show document of items in tabs/carousel/card view to ↵bobzel
set options.didMove correctly so that toggleTarget works.
2024-10-17from lastbobzel
2024-10-17changed layout_isFlashcard to layout_flashcardType with value of 'flashcard' ↵bobzel
to make it easy to search for flashcards. made carousel views able to focus() on a Doc. added ability for carousel and card views to have anchors so they can be pinned and linked. fixed pinning collections to save filters
2024-10-17Merge branch 'ajs-before-executable' of ↵A.J. Shulman
https://github.com/brown-dash/Dash-Web into ajs-before-executable
2024-10-17added create text doc tool with font color and background color and fixed no ↵A.J. Shulman
tool
2024-10-17fixed quizMode to actually render and to get pointer events.bobzel
2024-10-17Merge branch 'master' into ajs-before-executablebobzel
2024-10-17made Card and Carousel part of novice mode views.bobzel
2024-10-17fixed drag/drop of faces from one face to another.bobzel
2024-10-17Removed awaits inside loops and made Parameters readonly for better type safetyA.J. Shulman
2024-10-17Implemented strict typechecking for tools, specifically tool inputsA.J. Shulman
2024-10-17fixed script compile errorbobzel
2024-10-16from lastbobzel
2024-10-16fixed size of flashcard ui (and other buttons) when fitWidth is set and when ↵bobzel
Doc is resized small and zoomed out.