aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
AgeCommit message (Collapse)Author
2024-12-04Merge branch 'master' into eleanor-gptdraweleanor-park
2024-11-25bug fixes to image croppingeleanor-park
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-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-11changes for demoeleanor-park
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-03working on smart draw width bugseleanor-park
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-10-30Merge branch 'master' into eleanor-gptdraweleanor-park
2024-10-30from lastbobzel
2024-10-30blending changeseleanor-park
2024-10-30Merge branch 'master' into eleanor-gptdraweleanor-park
2024-10-30fix for disableMixedBlend over images and videos.bobzel
2024-10-30Merge branch 'master' into eleanor-gptdraweleanor-park
2024-10-30integrated image stickers with paletteeleanor-park
2024-10-30reworked how context menu buttons for ink and text work. added ↵bobzel
disableMixBlend for making transparent docs not use 'multiply'.
2024-10-30bug fixes to cut modes and renderingeleanor-park
2024-10-29fixes to allow typing and drawing without a mode switch.bobzel
2024-10-28basic structure of 4 cut modes implemented, many bugs to fixeleanor-park
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-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-20added different cut types, haven't been able to run & testeleanor-park
2024-10-20changed to generic addLinkedDocA.J. Shulman
2024-10-20changeseleanor-park
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-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-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-16major fixes to cardDeck view to simplify code and to make arch follow a true ↵bobzel
circle arc and to fix doc sizing when fitwidth/lightbox/etc. fixes to flashcard UI for advancing to next Doc in cardView and carousel3D.
2024-10-15tried something for typechecking but way too overcomplicatedA.J. Shulman
2024-10-14reorganized comparisonBox related components -- moved stuff down into ↵bobzel
Docs.Crete and CurrentUserUtils. changed Doc.Copy to copy Doc's in fields tagged with cloneOnCopy. Changed ComparisonBox to support hover for slide or flip views. Fixed pointerEfvents for hover in comparisonBox