aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Doc.ts
AgeCommit message (Collapse)Author
2024-04-25added toList() for Doc|Doc[]bobzel
2024-04-24fixed search on pdfs to display results when pDF is not selected. fixed ↵bobzel
presentation transitions to animate. changed so that annotaitons on pdfs would highlight when following a pres slide. fixed scrolling to annotations (and other viewSpecs) from presentations by using the slide target, not the slide as the focus document. cleaned up search and fixed to unhighlight searches on close. fixe pdf search unhighligting to work.
2024-04-23fixes for rich text menu updates and setting parameters on text doc vs ↵bobzel
within in RTF. Lots of lint cleanup.
2024-04-21more lint cleanupbobzel
2024-04-19from lastbobzel
2024-04-19lint fixes.bobzel
2024-04-19fixed text search highlighting. fixed first typed characfter of note to ↵bobzel
have marks.
2024-04-17restoring eslint - updates not complete yetbobzel
2024-04-01fixed header template to be marginally functional.bobzel
2024-03-31fixed scrolling to targets in text views. fixed referencing fields on ↵bobzel
another doc from text box. fixed '@name' technique for publishing documents to also remove documents and work anywhere a title is set.
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-28fixed tabbing between items in nested dashFieldViewsbobzel
2024-03-26added empty image tool and click on empty image to select from filesystem. ↵bobzel
fixed following links in lightbox and showing links to stackedTimelines. fixed embedding docs into text. fixed not resizing text boxes that also show up in pivot view. prevent context menu from going off top of screen. fixed freeform clustering colors and click to type. fixed links to stackedTimeline marks, and titles for marks. made title editing from doc deco and header use same syntax as keyValue. fixed marquee selection on webBoxes. turn off transitions in freeformdocview after timeout. enabled iconifying templates to propagate to "offspring". fixes images in templates. don't show headr on schema views.
2024-03-23fixed linking to parts of a template. fixed highlting part of a template ↵bobzel
when following a link to it.
2024-03-19cleaned up user templates to not get changed on reload. made setting a ↵bobzel
template add it to the template tools list and as a tools button. fixed linking to parts of a template. fixed disappearing templates caused by stacking view set a field with an empty key. updated field assignment syntax in trees, dash field views, and key value box to all use :,:=,=,=:= syntax. added text elide button. added @(title) syntax for hyperlinking. made using a template both inherit from the template to get default values and use the template to render. fixed submenu placement of context menu. updated RTF markdown doc.
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.