aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.tsx
AgeCommit message (Collapse)Author
2023-11-24mergesrichman333
2023-11-04cleanupbobzel
2023-11-02performance fixes - don't invalidate as much by using reactions in place of ↵bobzel
computd values; don't make things active when things are dragged unless CanEmbed; fix for linkBox to use reaction.
2023-11-02cleaned up brushView to only apply to freeformviews that aren't overlays ↵bobzel
(wasn't being used properly. before anyway). cleaned up marquee view divs.
2023-10-12performance fixes to reduce re-rendering : moved link brushing out of Doc's ↵bobzel
highlighting and into Annotation.tsx, stopped freeformview from rerendering whenever its invalidated by not always setting layoutElements to a new list.
2023-10-04from last -- test font color to determine which blend mode for clippings.bobzel
2023-10-04from lastbobzel
2023-10-04using hard-light instead of multiply for blend mode of web clippings to ↵bobzel
better handle white text
2023-10-04several fixes for webclips, linking to pdf/web, fonticon dropdowns. removed ↵bobzel
sliderbox. reduce uses of scriptContext fixed web clipping annotations to be in correct spot and not to crash because of using a url that it doesn't have. fixed pdf/web links to not use anchor from other end of link. because of sharing of GetAnchor global. added a backup when presbox overwrites a doc's data field. removed sliderBox. fixed fontIcon dropdowns to not call click script twice. removed scriptContext where it wasn't needed which is everywhere except TreeViews.
2023-09-13need to honor 'addAsAnnotation' flag getting anchors so that docs know when ↵bobzel
they are a target of config.
2023-09-07fixed removing map pins to not reappear. updated config anchors to not be ↵bobzel
added to annotations list. fixed imageBox to not pass its configs on to its parent collection when focusing.
2023-09-06from lastbobzel
2023-09-06fixed reszing/dragging annotations over webBoxbobzel
2023-09-05fixed dragging marquees on web boxesbobzel
2023-09-05change getAnchor to honor addAsAnnotation so that pinning docs doesn't add ↵bobzel
to annotation list. fixed dragging anchor menu icons so that they appear.
2023-09-02restored some cors server code to allow bing and google searches to work. ↵bobzel
adjusted webBox to change nativeWidth when navigating to a wider page (eg., from google search to target). enabled scripts for google and bing pages. enabled entering web page url through documents title.
2023-09-02switched web default to wikipedia from bing since bing search requires ↵bobzel
scripts. change link doc preview to use showDocument instead of addDocTab so that existing docs can be found.
2023-08-31fixed compile errors and switched to use_azure = false for server.bobzel
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-08-08fixed searching web pages that are not cors readable to not generate an errorgeireann
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-19renamed all config doc creators to just ConfigDocument()bobzel
2023-06-13fixed updating cached docs when opening a backlinks collection. added some ↵bobzel
FieldInfo types and added 'enumeration' field display in schema view. fixed bug in schema view column sizing. updated a bunch of standard field names to be more consistent.
2023-06-06updated Symbol naming. fixed various compile errors related to type checking.bobzel
2023-05-17changed creationDate to author_date. fixed undo bug with webboxes. fixed ↵bobzel
menu problems with Open New Embedding and moved some collection menu items to buttons/
2023-05-17fixed undo in webboxes. fixed display of pres trail slides.bobzel
2023-05-17fixed scrolling/panning on fitWidth images. fixed drag/zoom conflicts for ↵bobzel
overlayDocs that are pannable.
2023-05-14fixed webpage link following by adding a presData for the current URL to all ↵bobzel
embedded docs. fixed getView() in showDocuments to not get called with the proper anchors. changed unrendered MARKERs to CONFIGs. changed anchors to Configs or Markers as appropriate.
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-17minor cleanupbobzel
2023-04-17Merge branch 'master' into pres-trail-sophiebobzel
2023-04-14got rid of CollectionView prop. fixed DocFocusOrOpen to toggle targets and ↵bobzel
zoom correctly.
2023-04-13Merge branch 'master' into pres-trail-sophieSophie Zhang
2023-04-13added text editsSophie Zhang
2023-04-04fixed using freeformview in sidebar of pdfs. fixed issues with dragging ↵bobzel
items out of schema and with selecting the schema view by clicking on headers. Fixed a lot of errors caused by using OmitKeys which masks type checking. fixed some pointerevent problems with treeview and freeformview
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-16Merge branch 'master' into pres-trail-sophiegeireann
2023-03-14simplified Deserialize code. streamlined currentUserUtils to need fewer ↵bobzel
compiled functions by parameterizing more functions. .
2023-03-06deleted unnecessary functionsSophie Zhang
2023-03-06Merge branch 'master' into pres-trail-sophieSophie Zhang
2023-03-05replace jumpToDocument with showDocument. restructure code to get rid of ↵bobzel
scrollFocus by adding getView() and fixing focus() and restoreTargetView
2023-02-28cleaning up of following inPlace links to overlay current inplaceContainer ↵bobzel
contents instead of deleting them.
2023-02-27feat: added summarization functionality to WebBox and cleaned up codeSophie Zhang
2023-02-27restructured getAnchor()/scrollFocus to be more consistent. added ↵bobzel
setterscript for computedFields. restructed getFieldsImpl to avoid making multiple requests for the same document due to timing issues by 'locking' a document cache with a promise before sending the server request. added rotation and fill color as animatable fields. fixed image cropping for
2023-02-22fixed hiding doc decorations when clicking on a nested doc. finished ↵bobzel
removing old view spec code in favor of saving and restoring anchor data.
2023-02-22added GPT summarization functionalitySophie Zhang
2023-02-21fixed explore mode zooming. don't show doc decorations until you move ↵bobzel
outside of the document, fixed dragging radius button over webbox to still get pointer events. fixed selection text in coments for web boxes.. fixed setting default background color for notes. fixed mode buttons to trigger click behavior before double click behavior. fixed events on nested text boxes that are linkAnchors (like text quotes in sidebar comments),
2023-02-14fixed pinning regions on pdf/web pages to allow proper pres following. ↵bobzel
added click on pres item# to select w/o navigation. fixed dashDocView to be selectable without losing selection to parent textbox. added BingMaps rudimentary option to googleMaps