aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/RichTextRules.ts
AgeCommit message (Collapse)Author
2025-04-25fixed face collection to show up. fixed pasting text dirextly into ↵bobzel
freeformview to create docs properly. also fixed paste to match source text styling better. fixed copying out of pdf. fixed formatting of gpt (()) calls from text box by using paste handling code.
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-11fixed ViewGuid generation to never start with a number (enables text boxes ↵bobzel
to have css specific to a single Doc). cleaned up '%' style rules for text boxes. cleaned up custom style sheets in text boxes to only be created when needed and to improve highlighting bold text with context.
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-03-21trying to improve how data / layout / root and templtae docs are accessed.bobzel
2025-03-12made @... create dashField views instead of [@..]. minor cleanup of ↵bobzel
dashFieldView and schemaCellField. made schemaCellField call focus() when SetIsFocused is called so that dashFieldView boxes are editable when clicked. Made overlay of documentIcons appear whenever cells are focused and disappear on blur.
2024-11-13made link text use text menu. and made link text zoom with view. cleaned up ↵bobzel
equationBox updateSize()
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-09-18switched icontags to use regular tags list instead of metadata fields. ↵bobzel
changed tagsView to show # for tags, @ for metadata, and no prefix for icons
2024-09-12changed closing of face rectangles to hide them. added Shift+click of tags ↵bobzel
button to show face rectangles.
2024-08-26moved KeywordsBox to TagsView. changed imagellable to use tagsbobzel
2024-08-23modified keywordsBox to use tags instead data_labels. made text #tags ↵bobzel
trigger keywords box. made keywords box fit contents.
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-04-30unwinding more import loops by splitting up Documents.ts into DocUtils.ts ↵bobzel
and moving crate functions to <>Box functions
2024-04-30broke out clusters code from freeformview to its own file. cleaned up a bit.bobzel
2024-04-24completing eslint passbobzel
2024-04-21more lint cleanupbobzel
2024-04-19lint fixes.bobzel
2024-04-17restoring eslint - updates not complete yetbobzel
2024-04-01fixed text toggle buttons to highlight based on selection. enabled ↵bobzel
background colors for text lists. cleaned up text insertion point setting on pointer up. fixed autoHeight for text boxes with 'auto' nodes like ordered lists.
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-30updated and fixed wiki link to use @(wiki:...) and fixed linkManager from ↵bobzel
infinite looping on relatedlinker(). fixed clicking in text exxeptions.
2024-03-30added Labels button for turning ink labels on/off. added Pixels and Rotate ↵bobzel
buttons for images. enabled ink as template for text : check for ink stroke data on layout doc if it's not on data doc & started to have style provider check for properties on layout doc instead of data (background color, boxShadow). fixed toggling key/value on and off when node is selected.
2024-03-29enabled %<notestyle> to switch note types. fixed linking to top-level ↵bobzel
templates (postit, idea, etc). customized postit and idea style.
2024-03-28fixed following link to pdf text selection with highlights. fixed hide ↵bobzel
key/value in dashfieldView. fixed selecting dashFieldView nodes.
2024-03-28enabled functions to be entered in dashFieldViews on creation.bobzel
2024-03-27fixed forward hyperlink reference to not publish.bobzel
2024-03-27changed dashFieldViews to support Tab'ing between other dashFieldviews, ↵bobzel
changed deleting links to clear out the anchors so that linkBoxes will go away more easiliy. changed funcitonPlot to plot the equations that are linked to it. changed equations to link to functions. changed undo and other console logging to only happen when undo docked buttons are expanded (visible)
2024-03-21changed gpt calls from text box to package result into an elision node.bobzel
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-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-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-05fixed up text inlining to fix autoheight, to show cursor better, and to ↵bobzel
highlight selection of inline.
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-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-09-10fixes for file uploads: restored progress for youtube videos, fixed info ↵bobzel
display on loadingBoxes, stop client from asking for progress on failed uploads. attempt to catch stream errors on webpages. fixed dataFieldView in text to print out layout document's field, not field of document that contains the field definition.
2023-09-07truncate link descriptions over link lines. Fix schema view issues with ↵bobzel
multiline inputs. fix '#' field assignment for title bar of docs. fixed dashFieldView to read fields from texstbox by fixing FindDocByTitle to not match undefind. Don't end link_description input on Enter to allow multiline inputs.
2023-08-09updated file system to include recentlyClosed, Shared, and Dashboards and ↵bobzel
fixed drag drop to make sense for the filesystem. Fixed loading documents to happen in one batch by fixing UPDATE_CACHED_DOCS to save only documents accessible from current dashboard.
2023-06-06updated text properties to be prefixed with field 'text_'bobzel
2023-06-06more Symbol updating.bobzel
2023-05-14major overhaul of field naming conventions.bobzel
2023-05-09fixed exporting to work with collections that have no assets, and with ink ↵bobzel
documents. cleaned up some unused fields. added more explicit support for flashcards.
2023-05-08more fixes for tags - removed #<tag> fields. just use 'tags' now.bobzel
2023-05-08fixed dragging inkMask strokes. fixed background color/fill for strokes. ↵bobzel
fixed send to back. changed #tags to be a list