aboutsummaryrefslogtreecommitdiff
path: root/src/fields/ScriptField.ts
AgeCommit message (Collapse)Author
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-03-23updated more [DocData] to .$ thingsbobzel
2025-02-03fixed animating data fieldbobzel
2024-10-18fixed following anchors to collection card/carousel to set the ↵bobzel
current/selected Doc
2024-08-08many changes to add typing in place of 'any's etcbobzel
2024-05-02lots more dependency cycle unwinding.bobzel
2024-05-01more cycle import removal. fixed ndollar bugs introduced during lint changes.bobzel
2024-04-30unwinding more import loops by splitting up Documents.ts into DocUtils.ts ↵bobzel
and moving crate functions to <>Box functions
2024-04-17restoring eslint - updates not complete yetbobzel
2024-03-28fixed keyvaluebox to show props document, never the doc in the fieldKey ↵bobzel
slot. changed computedFIelds to do mobx caching. changed text boxes to do updating from templates based on a fieldKey_autoUpdate flag combined with modification timestamps. enabled comparison box to work with text fields in addition to docs.
2024-03-17use metakey to edit computedfield result instead of expression in schema ↵bobzel
cell, set default new field values on data doc. fixed stacking view from autoresizing when switching to a different collection view. changed syntax for setting fields in text docs to use ':=' for computed fields. Added call to Chat in computed functions when (( )) is used. Added caching of computed function result when a function called by ComputedField uses the _setCacheResult_ method (currently only gptCallChat).
2024-01-27made dataViz nodes linked to schema nodes update automatically as cahnges ↵bobzel
are made. fixed user created templates from disappearing from menu, and made them work. added toJavascriptString and made DashField views convert to text. added support for turning text into javascript rendering (paint) code.
2023-12-07merged infoUIbobzel
2023-12-06final cleanupbobzel
2023-12-05mostly working version with latest librariesbobzel
2023-11-29numerous changes to fix bugs and to fix/remove old or hacky code. fixed doc ↵bobzel
dec resizing. moving this.rootDoc => this.Document . fixing template artifacts.
2023-03-28numerous changes to try to simplify event handling in DocumentView - got rid ↵bobzel
of isContentActive in DocComponent since it's in DocumentView. Including adding 'enableDragWhenActive' , 'onClickScriptDisable',
2023-03-14simplified Deserialize code. streamlined currentUserUtils to need fewer ↵bobzel
compiled functions by parameterizing more functions. .
2023-03-07fixed presbox following to use presItem anchor instead of target doc as ↵bobzel
anchor. stopped allowing collections to have their data fields interpolate based on keyframe. fixed assigning current frame when following presbox
2023-03-05replace jumpToDocument with showDocument. restructure code to get rid of ↵bobzel
scrollFocus by adding getView() and fixing focus() and restoreTargetView
2023-02-27restructured getAnchor()/scrollFocus to be more consistent. added ↵bobzel
setterscript for computedFields. restructed getFieldsImpl to avoid making multiple requests for the same document due to timing issues by 'locking' a document cache with a promise before sending the server request. added rotation and fill color as animatable fields. fixed image cropping for
2022-12-21cleaning up proxys and getFieldRef hopefully to be more understandable and ↵bobzel
efficient
2022-10-04fix to show close and open icons of hideResizers documents. fixes for native ↵bobzel
size control of text and freeform collections. fixes for lightbox view of native size collections. fix for 'false' script.
2022-08-30made script caching more robust to avoid compiles and speed up startup.bobzel
2022-08-25fixed crashes in notetaking view and cleaned up code a bit. fixed undo of ↵bobzel
column deletion.
2022-08-24made text boxes support animation frames. fixed dragging on unselected pres ↵bobzel
element ttitles. cleaned up setting ink to have animation frames.
2022-08-22added animation of background color, and streamlined/extended a variety of ↵bobzel
props-related things.
2022-08-02Adjusted ScriptFields to have a rawScript, and updated ScrptingBoxes to ↵bobzel
create a scriptField even for scripts that don't compile. Updated CurrentUserUtils setup functions for clicks. Fixed TemplateMenu to work again.
2022-07-27fixed document leak related to capturedVariables in scripts. changed ↵bobzel
capturedVariables to be a string encoding the captured variables instead of a Doc.
2022-03-07got rid of include cycles for Scripting globals to make hot updates work better.bobzel
2022-03-04removed pseudo Doc type system. playing with hot reloading.bobzel
2022-02-10switched scripts to use a cache to avoid recompiling. simplified some things ↵bobzel
with documentView and zooming to avoid invalidations.
2022-02-09speeding up rendering using bitmaps for webpages and other heavyweight docs.bobzel
2021-03-18cleaned up link making. Documents don't add to the Undo stack when being ↵bobzel
created and Initializing is set. Links to text regions automatically update their link line endpoints even if autoMove isn't set. regularized initialization fields to avoid special cases about setting delegate keys without a leading "_"
2021-02-26minimal cleanup of standard fields. fix to error thrown in document buttonbarbobzel
2020-12-07fixed lists to allow multiple null-value entries & be able to edit in ↵bobzel
KeyValuePane. cleaned up a lot of stuff with animation frames and got working again. fixed previews of links to text selections to preview properly.
2020-10-30from lastbobzel
2020-08-22added increment title numbering to standard documentsbobzel
2020-08-19fixed setterscript loading to re-compilebobzel
2020-08-14fixed default documents that were missing the 'system' tag. fixed catalog ↵bobzel
to have default worksapce documents in it.
2020-08-13changes for menus to be functional wherever they are placedbobzel
2020-08-07tweaked noviceMode script to use non-generic variables & added ScriptField ↵bobzel
cache to avoid multiple scripts.
2020-07-29streamlined settin link follow tarets a bit by addin a follow link draggable ↵Bob Zeleznik
UI button
2020-07-23got rid of lots of console.logs(). fixed fonticon box to show a 'label' if ↵Bob Zeleznik
defined otherwise 'title'. if neither, then it shows no tooltip.
2020-07-20fixed noAutoscroll functionality for creator iconsBob Zeleznik
2020-07-20added standard static ScriptFields to avoid extra compilesBob Zeleznik
2020-06-06changing { to ( and adding ,anika-ahluwalia
2020-06-05added more globals for testinganika-ahluwalia
2020-05-26fixed makeInterpolatedBob Zeleznik
2020-05-23several fixes to progressivization and added UI for editing by suspending ↵Bob Zeleznik
transparency