aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Doc.ts
AgeCommit message (Collapse)Author
2024-03-17fixed displaying of chat gpt query to use (( )) notation. allow '"'s in ↵bobzel
chat gpt calls by escaping with "`" intead.
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-03-14cleaned up some audio recording and annotating codebobzel
2024-03-14from lastbobzel
2024-03-14fixed disabling info ui to keep it off -- use settings manager to turn it ↵bobzel
back on.
2024-03-10fixed copying a Doc with an expanded render template to copy the expanded ↵bobzel
render template in order not to lose instance data (eg, height, width)
2024-03-10Merge branch 'master' into eleanor-starterbobzel
2024-03-06fixed plotly/mermaids loading from a new accountbobzel
2024-03-06enabled copy and paste to work with template docs (and not copy template). ↵bobzel
Fixed tempaltes of collections to allow new nodes to be added/removed.
2024-02-26fixed tooltips to not grab events - this made moving down a menu a problem ↵bobzel
since the tooltip blocked the next menu item and wouldn't give the hover event to the next menu item. fixed proto_embeddings to update when lassoing a collection in marqueeView which made showContexts in property view do the right thing.
2024-02-21presentation trail tab icon changedeleanor-park
2024-02-07made various render methods in DocumentView computed getters for efficiency ↵bobzel
and to avoid artifacts (LInkanchorBox dragging) when something else invalidates causing components to regenerate. fixed linklines to animate when doing a zoom transition and to be able to target texts hyperlinks. fixed link lines to share properties with ink and updated the properties panel / menus to allow editing of either. addding toggling link lines on and off from linkitemmenu
2024-02-05changed backgroundColor to set on dataDocs. fixed pivoting on tags. fixed ↵bobzel
link description editing popup. fixed showing link editor in property view - still some weirdness in what is selected. fixed dragging tree view items to set dragData.treeview and be able to drop at bottom of tree. fixed addFolder menu option for TreeViews to add locally.. added a function to collect all docs of a given tag into a collection. fixed setting default font size to update autolayouts. changed dropping link onto same collection to not leave pushpin. fixed minimap thumb updating. added fieldvalue dropdown for dashFieldViews in text.
2024-02-01enabled lists to be entered via dashfieldview. changed code/text import to ↵bobzel
allow data to be inserted into template.
2024-01-31cleaned up accessing/setting proto_embeddings with api on Doc. fixed some ↵bobzel
css related to IconButtons. added a paintView toggle button to dec decorations for text with code blocks. enabled text with code to modify Docs and get this and documentView as params.
2024-01-30changed dropConverter to keep title of dropped Doc. added paintFunc node/ ↵bobzel
checkbox view to formatted text. changed paintFunc to be computed based on layouytfieldkey being text in a freeformview. changed some inputRules to apply to code blocks. changed : contextmenu to allow regular note to be created. changed experimental tools to be user tmeplate tools. fixed focus on search bar when opening context menu
2024-01-28fixed inking when in panToScroll mode. fixed text templates to restore ↵bobzel
default text when all text is deleted. changed code blocks to stay in code black mode after a carriage return (unless its a hard break, e.g. shift+carriage return). added a ^@paint input rule to turn text documents into paint func docs.
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.
2024-01-23reorganization of DocumentView, DocumentViewInternal and FieldView methods ↵bobzel
and props. fix for selection bug after following a link. migrating to use [DocData] instad of GetProto()
2024-01-22fixed schema rows to render, fix for resizing docs from left side. all ↵bobzel
locking docs in non freeform view. fix for labelBox with multiple rows to keep top rows. cleaned up docViewPath/containerViewPath &
2024-01-04fixed text references to docs or fields to create docs that don't exist. ↵bobzel
fixed IsLinkFollowing observable by not making static (to fix docDecorations not appearing after link following)
2023-12-29cleaned up imports, mobx observable initialization and some compile errors.bobzel
2023-12-16merged with zaul's branchbobzel
2023-12-16more functionality for calendar featurezaultavangar
2023-12-11new updates to map featurezaultavangar
2023-12-11updates to map featurezaultavangar
2023-12-10massive changes to use mobx 6 which means not accessing props directly in ↵bobzel
@computed functions.
2023-12-06catch mongo errors. delete (some) sessions from mongo. more package ↵bobzel
updates. cleanup of express-validator.
2023-12-05mostly working version with latest librariesbobzel
2023-12-01converted props.DataDoc to props.TemplateDataDocument and fixed so that it's ↵bobzel
always undefined unless it's a template. converted references from rootDocument to props.TemplateDataDocument.
2023-11-29 exposed menu option to pin Trails and other tree view docs and added open ↵bobzel
button. Allowed trails to be pinned to or embedded within other trails.
2023-11-29fixes for following links to parts of templates. turned offbobzel
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-11-27fixed dataView to not lose focus when typing 'enter' by fixing ↵bobzel
freeformdocumentview panelwidth() to
2023-11-25changed Slide template to write to 'hero' not 'data' to avoid conflict with ↵bobzel
'data' being used already for the template parts. fixed freeform view to read _width/_height to get template values when present for panning beyond edge. Made CollectionSubView read datafield from dataDoc which is where template writes go. fixed docview dragging to use its own view unless multi-dragging. turnded off user-select in overlay view which made repl viewer title selectable. fixed crash on rebuilding db cause by myOverlay and myPublished not yet existing.
2023-11-17major overhaul of resizing code. updated doc fields for enabling native ↵bobzel
with modification to be cleaner. added Vcenter option for text in menu bar. fixed doc rotation. enabled scaling of DataViz views. fixed text sidebar opening size and sidebar issues with native dims for PDF/Web
2023-11-08fixed bug where tableBox's didn't render all of the rows they receive. lots ↵bobzel
of code cleanup -- moving things from Doc.ts to better locations. Changed overlays and published docs to be local to their dashboard. changed treeview icons.
2023-11-07Changed how selection works to avoid invalidations. Fixed Cast problem with ↵bobzel
ProxyFields that caused renameEmbedding to infinite loop.. Changed brushing for the same reason. Cleaned up a few things with filter code.
2023-10-21change to doc decorations to be more "lightweight". made linkBox render ↵bobzel
links in a freeform view as a DocView. added an auto-reset view option for freeforms. fixed highlighting ink strokes. Made groups behave better for selecting things 'inside' the group bounding box that aren't in the group. Added vertically centered text option.
2023-10-12performance fixes to reduce re-rendering : moved link brushing out of Doc's ↵bobzel
highlighting and into Annotation.tsx, stopped freeformview from rerendering whenever its invalidated by not always setting layoutElements to a new list.
2023-09-21fixed export of mediabobzel
2023-09-21fixed zip export to include media properly. removed ClientUtils which ↵geireann
wasn't being used.
2023-09-18removed filter checkboxes for list values since they don't work. fixed ↵bobzel
any/undefined filtering for tags or other list fields.
2023-09-18revised how to do filtering by links.bobzel
2023-09-14added a disable slider for sharing UI in document decorationsbobzel
2023-09-12dropping link button on same collection makes a pushpin. fixed broken undo ↵bobzel
typing to crate doc in sidebar. fixed min/max scaling for cropped images and made annotationOverlays start to use it. Fixed nested text boxes to stopPropagation on pointer down to enable editing of translations in sidebar. moved sidebar filters onto doc's filters. Added metadata filters back to sidebar. Added an -any- option to filtersPanel. fixed schema view preview window, added buttons and sliders.
2023-09-06fixed up audio annotation to add dictation to sidebar note.bobzel
2023-08-31reworked recording workspace UI and switched to recording window, not webcambobzel
2023-08-28fixed runtime error in sharing manager when sharing the dashboardbobzel
2023-08-27lots of cleanup to streamline import orderings (ie packages should not ↵bobzel
mutually import each other directly or via a chain). change raiseWhenDragged to be keepZWhenDragged and got rid of system wide default.