aboutsummaryrefslogtreecommitdiff
path: root/src/fields/util.ts
AgeCommit message (Collapse)Author
2023-03-14simplified Deserialize code. streamlined currentUserUtils to need fewer ↵bobzel
compiled functions by parameterizing more functions. .
2023-03-11changed links from being a computed field on documents to being accessed by ↵bobzel
a function call on LinkManager
2023-03-05replace jumpToDocument with showDocument. restructure code to get rid of ↵bobzel
scrollFocus by adding getView() and fixing focus() and restoreTargetView
2023-02-22fixed pres hide before/after, select w/o nav, and updating contents.. made ↵bobzel
collections fitWidth by default so that they resize like a normal window. Made freeform pan/zoom animate when changing keyframes. allow nesting of keyframe collections.. made presEffects work even if there's no transition movement. made nested collection timelines follow parent by default, but with ability to change ordering. fixed treeView incremental render. treat doc anchors are preselements instead of delegating. don't highlight ink when dragging ctrl pts.
2023-02-09fixed childLayoutString to work. made images capable of fitWidth. fixed ↵bobzel
animating data field pres changes. fixed lightbox to ignore annotations on collections. fixed double-click on icon to open in lightbox. added options for turning off ink labels, and opening ink in lightbox. fixed closing ink strokes by dragging. fixed drawing ink to use coord sys of starting point and to render ink the correct width and to honor GestureOverlay mode properly. .
2022-12-23fixed list lastElement() to return real field value, not proxy. fixed ↵bobzel
getField to only query proto if value is undefined, not just falsy
2022-12-21cleaning up proxys and getFieldRef hopefully to be more understandable and ↵bobzel
efficient
2022-12-21cleaning up ACLs for performance and claritybobzel
2022-12-21Merge branch 'master' of https://github.com/brown-dash/Dash-Webgeireann
2022-12-21server side updatesgeireann
2022-12-16fixed problem with undo. regularized all linkfollowing anchor fields to ↵bobzel
start with followLink<xxx>. added ease vs linear flag for scroll transitions in link and preselmeent navigations. added link follow to move target to specified offset from source. shifted from setting dropAction on items to setting childDropAction on collections
2022-11-09fixed treeViews again to make room for hover buttons properly. fixed ↵bobzel
copying text from pdf to highlight copied regions without always displaying anchor.
2022-09-14fixed very weird bug where setting permissions on dashboard with itself as a ↵bobzel
nested dashboard caused a duplicate of the dashboard to be overlayed on top of the dashboard, but covering up all of the main Dash chrome...
2022-08-22from lastbobzel
2022-08-04fixed undo/redo for notetaking view. fixed list undo/redo for ↵bobzel
schemaheaderfields -- not very elegant though.
2022-07-20added a 'guest' login mode. added ability for mainView to be any doc, not ↵bobzel
just a docking collection.
2022-07-08fixes for drawing ink on pdf/image/etc. fixes for showing contextMenu. ↵bobzel
moved gestureOverlay into main dashboard area to avoid drawing on UI widgets. more code cleanup to put things in reasonable places and avoid importing too much stuff.
2022-06-20a bunch of changes to make some userDoc() field accesses more typesafe by ↵bobzel
going through CurrentUserUtils. Some normalization of naming/functionality in CurrentUserUtils
2022-06-20lots of changes to try to cleanup CurrentUserUtils so changes can be made ↵bobzel
without rebuilding the DB.
2022-05-26removed setting 'data' field of docking views on aliases. assigned acl's ↵bobzel
to delegates to match prototype. changed how documents are created to make sure acl's are set first so that, when sharing, remote clients will get the ACLs first and not render documents transiently when they don't have permissions. turned off inheriting ACL's from outer collection
2022-05-25variety of small fixes for text / sharing. made typed text default to 35 ↵bobzel
height so that when shared it doesn't start big and jump to small. changed permissions to be private until an Acl is set - this prevents private docs from flicking on momentarily when shared since fields are not distributed atomically. added Shift/Alt/Ctrl Enter for freeform and stacking views to create neighboring docs. fixed first typed char of text to have a user_mark. made shared text doc header overlap to prevent scrolling.
2022-02-14added an incremental load for freeform collections. fixed updating of web ↵bobzel
page thumbs on deselection after the first thumb is generated.
2022-02-10switched scripts to use a cache to avoid recompiling. simplified some things ↵bobzel
with documentView and zooming to avoid invalidations.
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