aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValueBox.tsx
AgeCommit message (Collapse)Author
2025-05-16changed isGroup to freeform_isGroup to fix issues with groups that are ↵bobzel
changed into other collection types. fixed toggleTarget links to work when opening in a light box (previously they flickered on, then off). fixed text boxes with a number field as data to act like a number input box.
2025-04-15fixing summary/elision text node to work better with lists or hierarchical ↵bobzel
text nodes.
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-30changed Doc.Layout calls to doc[DocLayout]. fixed flashcard ui placement on ↵bobzel
card view. fixed css scaling for styleprovider icons and annotation resizer
2025-03-27fix so that schemacellfield doesn't trigger a finalizeEdit when it's not ↵bobzel
editing. added 'red' color for template fields to schematablecell. fixed set field to allow setting data fields when field is an '_' and no template. fixed setting '=' when getting a keyValueString for empty fields with an '_' key.
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-23more _props.Document to .Document refactoring. type updates to ↵bobzel
prosemirrortransfer
2025-03-23updated more [DocData] to .$ thingsbobzel
2025-03-21trying to improve how data / layout / root and templtae docs are accessed.bobzel
2024-10-13fixes to scripting to generate errors to allow schema view to enter strings ↵geireann
that conflict with function names.
2024-09-06fixed tagsView assignment to metadadtafieldbobzel
2024-08-09a bunch more typing fixes.bobzel
2024-08-08many changes to add typing in place of 'any's etcbobzel
2024-05-02another push to remove cycles by pushing things onto Doc and DocumentViewbobzel
2024-05-02lots more dependency cycle unwinding.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-19fixed text search highlighting. fixed first typed characfter of note to ↵bobzel
have marks.
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-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-23made backspace deleting a schema row undoable. fixed calling chat on string ↵bobzel
fields
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-12made text templates be both layout templates and prototypes of new text ↵bobzel
documents. fixed onPaint funcs to be undoable. fixed comparisonBox to render a text box if it's fieldKey has a richtext field - this makes flashcard templates much easier. fixed right-click on hyperlinks to bring up menu. fixed layout_centered to be settable on templates. added enable flashcard property for text.
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()
2023-12-13cleaned up props/_props handling by inherting from ObservableReactComponentbobzel
2023-12-10massive changes to use mobx 6 which means not accessing props directly in ↵bobzel
@computed functions.
2023-12-03cleaned up warnings and errors, working with typescript 20.10bobzel
2023-12-01cleaning up documentview props. got rid of special cases for keyValueBox. ↵bobzel
made fitToContents work cleanly for native scaled docs.
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-04cleanupbobzel
2023-08-17fixed brushing of pinned viewports for chrome to not flash. converted ↵bobzel
pres<Property> to config_<property> and treeView<Property> to treeView_Property. fixed text toolbar to show/set text properties based on insertion point.
2023-06-22cleaned up dragging - abort presItem drags properly, fix naming for ↵bobzel
drag/dropAction, small fix undo of drag removeproperties, dragging in/out of headerBar, fixed isContentActive to avoid SnappingManager.GetIsDragging. fixed resizing videos.
2023-06-06updated Symbol naming. fixed various compile errors related to type checking.bobzel
2023-05-14major overhaul of field naming conventions.bobzel
2023-05-13changed EditableViews to support oneline and multiline. Also added ↵bobzel
transformer UI to allow documents to be entered. changed transformer to write doc id's, not variables.. made schema view support oneline and fixed bug with docdecoration hader occluding things invisibly. updated web pages to be zoomable and for its anchors to update web page and scroll location properly. made autolinkanchor directly go to target on click.
2023-04-28added RTF cell type for schema. fixed formatting DateFields so that they ↵bobzel
can be set from kvp/schema. prevented on infinite loop possibility when setting proto to itself.
2023-04-27merged with masterbobzel
2023-04-27fixed some undo issues with schema fill down. added bool cell view. added ↵bobzel
UI for showing/setting values on layout vs data docs.
2023-04-20allow repl to edit documentsgeireann
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-27changed longPress to always select and to show decorations. fixed ↵bobzel
single/double-click code and cleaned up behavior timeouts. fixed pointer events for tree view editing titles and using as powerpoint.
2023-03-24from lastbobzel
2023-03-24fixed key value to allow strings to be entered without quotesbobzel
2023-03-23changed showing keyvalue panes to not create a document, but to use the ↵bobzel
LayoutTemplateString.
2023-01-30fixed pointerEvents for text box footnotes. fixed keyvalue editing to not ↵bobzel
typecheck. fixed schema header field editing from keyvalue pane. fixed webBox error causing overlayview to not work for Repls and others. fixed some layout issues with stackingview columns.
2022-11-17mostly changing strings to enumsbobzel
2022-10-25fixed up dragging fields from key value pane to support numbersbobzel
2022-08-23changed dragging off Key column header to create a view of the field, not a ↵bobzel
template