aboutsummaryrefslogtreecommitdiff
path: root/src/fields/util.ts
AgeCommit message (Collapse)Author
2021-09-29made IsClosed a static function. fixed warnings and errors.bobzel
2021-09-29a number of undo/redo fixes for ink (snapping to tangent, add points, ↵bobzel
dragging tangents). also tried to make storage of undo events more efficient when dragging ink controls (avoid saving hundreds of copies of the InkField)
2021-09-27made docs with no author Admin for everyone. fixed run-time warnings: not ↵bobzel
memoized accesses when panning, NaNs drawing some labelBoxes, filter box filter boolean options,
2021-08-09fixed augment only text to resize correctly with autoheight. fixed acls to ↵bobzel
cache correctly for new documents. fixed links to be shared across users. fixed links to always default to public.
2021-08-06collabortion fixes: added new acl for allowing people to edit their own text ↵bobzel
within the same note, fixed playground fields to write to the server without updating other clients.
2021-06-19trying to solve sidebar issuesusodhi
2021-05-30cleanupusodhi
2021-05-17trying dynamic off screen docsusodhi
2021-04-02dashboard sharing initial setup, inherits acls from dashboard - looks like ↵usodhi
it works
2021-03-29fixed text input after changes to active/selectedbobzel
2021-03-29still cleaning up all the active/selection code.bobzel
2021-03-25moved dictation view to be a component of the screenshotboxbobzel
2021-03-24redid how LinkManager stores links on documents by putting them on the Doc ↵bobzel
itself instead of as a computedFn. This has a signifcant effect on efficiency since adding a link to one document will no longer invalidate every other view that references *any* document's links
2021-03-20cleaned up warnings. fixed webBox annotations to write to correct key so ↵bobzel
that they appear on startup.
2021-03-19simplified chromeStatus to chromeHidden. fixed presBox item widths. fixed ↵bobzel
colorBox layout.
2021-03-18minor tweaks from lastbobzel
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-03-17fix Doc.MakeClone to deal wth links correctly again. fixed dashboard ↵bobzel
snapshot to either alias top-level documents, or clone everything.
2021-03-03trying out a forked branch of equation editor. cleaned up warnings.bobzel
2021-03-02added a fitwidth toggle for lightbox. fixed _showCaption/setting _fields to ↵bobzel
undefined. updated documentView to use not having fitWidth set as a trigger for whether to treat a doc without nativeWidth/Height as if its width/height is that.
2021-02-26fixes for getting documents into myFilesystem. fixes for setting layout ↵bobzel
fields without using an _
2021-02-26think I got serialization right now.bobzel
2021-02-26starting to work on removing _ from fieldsbobzel
2021-02-26fixed serialization error handling to not kill Dash - bad list items ↵bobzel
prevented tabs from being created. cleaned up document fields a little more - switched layers to _layerTags, got rid of a couple unused fields.
2021-02-08overhaul of link anchors on text boxes to use actual Documents to represent ↵bobzel
selected text. Also got rid of _scrollY and _scrollPreviewY so that all document regions can be focused on using focus() and the new scrollFocus() mechanisim
2020-10-22fixed undobobzel
2020-10-22fixed list undo/redo to work with non-doc items.bobzel
2020-10-16fixed compile warn ings.bobzel
2020-10-15fixed list undo/redo to work with incremental list edits. makes ↵bobzel
presentation boxes work
2020-10-15got rid of isDragging in favor of a field on the PresElement. fixed moving ↵bobzel
items in presBox by fixing websocket to maintain ordering on sequential operations on a list. fixed list splicing to not call addToSet unless splicing is at end of list. fixed setting return scale when following link into portal
2020-10-12updated getEffectiveAcl to be a computedFn. got rid of OverrideAcl in favor ↵bobzel
of just using UpdatingFromServer
2020-10-12split getEffectiveAcl code for determining if a field can be modified out ↵bobzel
into getPropAcl.
2020-10-12took out acl cache because it wasn't working for shared docsbobzel
2020-10-12fixed computedFn()'s to be used correctly in several places. fixed major ↵bobzel
memory leak in PDFs
2020-10-12switched fonticonbox and colelctionsubview to test GetEffectiveAcl to ↵bobzel
determine if document is available (instead of hack of testing 'author'). made GetEffectiveAcl a computedFn. No longer create a pushpin when an annotation that's linked to text is dragged off a PDF. fixed undo of pushpin navigation (used to call finish() twice). fixed pushpin navigation to conistenly pan & sensibly toggle target
2020-10-10cached groups user is in for efficiency which avoids th whole screen ↵bobzel
redrawing when a group is added.
2020-10-10fixes to issues with updating interactively whe groups change. fixes for ↵bobzel
multiple rapid modifications to list field where values would be overwrriten when sever sendBack stale information. fixes to list.splice() where deleting nothing but adding something didn't result in an addToSet.
2020-10-09fixed updating groups to take effect immediatelybobzel
2020-10-09trying to get group updates to work automaticallybobzel
2020-10-07fixed following links to set the scollTop of PDFs corretion. Fixed ↵bobzel
following links to rich text anchors to scroll and highlight properly. fixed pushpin behavior to only toggle off when the target is in sight.
2020-10-06fromlastbobzel
2020-10-06fixes for undo with multi-usersbobzel
2020-10-06from lastbobzel
2020-10-06fixed list additions to be truly incremental to allow undo to workbobzel
2020-10-05handled concurrent list additions as a special case (need to handle all ↵bobzel
concurrent edits still).
2020-10-02fixed email (de)normalization. fixed sharing to hide objects whose ↵bobzel
permissions have been revoked
2020-10-01changed sharing to use __ to replace .'s in emails to avoid problems with ↵bobzel
storing keys in mongo
2020-09-30fixed performance issue with linksbobzel
2020-09-25changed unset to None and minor changesusodhi
2020-09-25override related changes. more to gousodhi