aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/DocUtils.ts
AgeCommit message (Collapse)Author
2025-06-11refactor unwrapPlaceholder duplicated code to DocUtils.bobzel
2025-06-02fixed loading error messagebobzel
2025-05-30fixed using empty images in templates to support assigning a new image and ↵bobzel
getting native dimensions right. fixed native dimensions of images within templates to not use native dims of template. fixed undo for text templates that don't have a text box. fixed image dropping on images that are empty (to assign the dropped image).
2025-05-13fixed setting up link anchors for video to be added to Doc. fixed ↵bobzel
imageTemplate to work with templates in tabs. fixed link following from link menu. cleaned up getView with sidebars to open them when needed properly..
2025-05-09added user templates to template_user global field. fixed schemas to not ↵bobzel
erase field values when setting a new column name. fixed templates to render properly when switching by fixing contentsRef to be observable. fixed templates with fields in stacks to autoHeight update correctly by . fixed images in templates to set their nativeDim after rendering. fixed text views of descriptions to auto-updated by setting the modification date of the description field.
2025-05-05got rid of dash _xPadding/_yPadding in favor of just using ↵bobzel
_xMargin/_yMargin. cleaned up linearView field names
2025-04-22adding drop handling code for scrapbookBoxbobzel
2025-04-21scrapbookssharkiecodes
2025-04-17fix for resizing docs with native width and modify native dim set (fixes ↵geireann
dailyjournal resizing).
2025-04-14fixed how templates are expanded to avoid template sub-component conflicts ↵bobzel
by changing how field keys are named. fixed various Cast functions to be more typesafe by including undefined as part of return type. overhaul of Doc.MakeClone, MakeCopy, FindRefernces - makeClone is no longer async. fixed inlined docs in text docs.
2025-04-10fixed instantiate from : menu to delgate templates instead of copying.bobzel
2025-04-10changed naming of makeDelegates to not add a number at the end. switched ↵bobzel
dataNote to MetaNote and cleaned up initialization of it. fixed sidebar/stacking view to not grab wheel evebnts when not active. fixed dashfieldview to vcenter labels. fixed height and scrolling of templae menu. simplified formattedtextbox menu
2025-04-08change isLightbox to be a datadoc flag.bobzel
2025-04-08fixed gptImageLabel calls and added ImageCastToNameType to deal with ↵bobzel
filenames with '.'s in them. fixed vertical centered text.
2025-03-26fixed keyValue box assignments so that '_' assigns to template unless value ↵bobzel
starts with '=' (then root doc). fixed deleting template keys in keyValuePair. fixed schemaTableCell to show current editable value (not last edited value) when editing layout and data doc values. updated DocumentOptions API.
2025-03-24Merge branch 'fieldSyntaxUpdate' into aarav_editbobzel
2025-03-21from lastbobzel
2025-03-21trying to improve how data / layout / root and templtae docs are accessed.bobzel
2025-03-10Merge branch 'master' into aarav_editbobzel
2025-03-09removed simulation doc. fixed empty imageBox uploading. fixed script ↵bobzel
typechecking. fixed metadata doc. fixed setting background colors of docs that have a template.
2025-03-07fixes to daily journal creation.bobzel
2025-03-07fixed columnWidth settings for sidebar. fixed color picker and other ↵bobzel
dropdowns to toggle when button is clicked. fixed dash field views to collapse properly. fixed rtf to honor marks that were set before text box is created and typing starts.
2025-03-07made daily journal a tool and removed unneeded explicit mention of it in ':' ↵bobzel
menu
2025-03-06a bunch of changes to improve how docs are selected automatically when created.bobzel
2025-03-06Merge branch 'master' into aarav_editbobzel
2025-03-06daily journal nodeaaravkumar
2025-03-04fixed up smartDrawHandler a bit to support svg's better. you can now drop ↵bobzel
in a .svg file from the filesystem - still some unfinished business (arcs, background/foreground color inversion)
2025-02-26made regenerate ai show up next to image doc. show ai prompt for firefly ↵bobzel
in gptpopup .
2025-02-24added borders (width, color, and style) for DocumentViews. fixed dropdown ↵bobzel
slider buttons to show text labels.
2025-02-03changed filter 'check' to be exact match and 'match' to be substring. fixed ↵bobzel
GPTpopup filtering to use a #chat tag instead of a chatFilter field.
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-10-30reworked how context menu buttons for ink and text work. added ↵bobzel
disableMixBlend for making transparent docs not use 'multiply'.
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-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
2024-10-07Merge branch 'master' into alyssa-starterbobzel
2024-10-07more lintbobzel
2024-10-01Merge branch 'master' into alyssa-starterbobzel
2024-09-30don't cap the resolution of an image anymore -- let the user do it ↵bobzel
explicitly through the Pixels menu option.
2024-09-20Merge branch 'master' into eleanor-gptdrawbobzel
2024-09-20Merge branch 'master' into alyssa-starterbobzel
2024-09-20fixed filter dropdown to work properly with multiselect.bobzel
2024-09-02Merge branch 'master' into alyssa-starterbobzel
2024-08-29made smartDraw autoFocus and be available from : menubobzel
2024-08-21Merge branch 'master' into keanu-commentsbobzel
2024-08-21more lint fixes after updatebobzel
2024-08-20from lastbobzel
2024-08-20fixed error handling of images too big to load. cleaned up ↵bobzel
facecollectionbox. changed metadata field naming to match conventions.