aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
AgeCommit message (Collapse)Author
2023-03-10fixed image anchors to save zoom/pan info and to focus() on content when ↵bobzel
following anchors. fixed progresivized items in trails to not allow dragging items out or dropping new items in.
2023-03-05replace jumpToDocument with showDocument. restructure code to get rid of ↵bobzel
scrollFocus by adding getView() and fixing focus() and restoreTargetView
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-22fixing highlighting presbox navigations. image anchor are now always added ↵bobzel
as annotations.
2023-02-22Merge branch 'master' into UI_Update_Eric_MaEric
2023-02-22Merge branch 'master' into UI_Update_Eric_MaEric
2023-02-22Icons for image context menuEric
2023-02-22fixes for restoring layouts in presentations and link following.bobzel
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-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. .
2023-02-04image background color determines opacity of image (independently of ↵bobzel
annotations over image). enabled scrolling of images when in fitWidth mode. added disabling of text labels in ink shapes.
2023-01-20removed tour map from lightbox. added option to create anchors without ↵bobzel
adding thm as annotations. made zoom of text an option for pres and links
2022-12-07stopped update _cache in ProxyField because it invalidates too much stuff ↵bobzel
during rendering. moved some setContentViews() to constructors for efficiency
2022-12-05cleaning up following links and pres item following so that view transitions ↵bobzel
don't interfere when clicking quickly (eg through animation frames). changed animations to animate multi-level zooming parallel.
2022-12-01refactored process of following links / jumping to docs and added following ↵bobzel
options for zoomTime, etc instead of setting temporary fields on docs.
2022-11-17fixed pushpin behaviors by not animating when anchor viewspec already ↵bobzel
matched document. fixed recording button highlighting. switched LinkEditor to edit properties of destination insteqad of source anchor
2022-11-17typobobzel
2022-11-16big changes to make link following use the same code as pinning docs for trails.bobzel
2022-11-15added canEmbed prop so collection can allow its items to be dragged out ↵bobzel
(eg., pileView). made imageBox viewSpec transition time customizable
2022-11-15added playback of audio annotation on inPlace container. fixed image ↵bobzel
anchors to be marked un-rendered so link lines show up.
2022-11-15made InPlace container tool button apply more settings to be more like a ↵bobzel
template. added followAllLInks flag. added image anchors to save pan zoom. added follow link button bar option for follow all links. added hideDecorations flag and property
2022-11-10made alternate image use a field data-useAlt. added alt images to ↵bobzel
preselements. fixed removing TabDoc documentviews from document view list. added playing audio tags to preselements
2022-11-10fixed playing presentation when a slide is a tab.bobzel
2022-11-09added tab highlighting when tab doc is target of hyperlink. made region ↵bobzel
annotations on images be transparent. don't show lock icon for lockedPosition documents that still get pointer events.
2022-10-19fixed erasing straight line stroke segments caused by intersections with ↵bobzel
other strokes. cleaned up more with gestures. changed docView lock icon to be part of docDecorations.
2022-10-05fixed uploading tif and other unsupported images to generate an error ↵bobzel
quickly with a better erorr message.
2022-09-22added more things to novice modeGeireann Lindfield Roberts
2022-09-21 added cropping for videos. made images render at full res when selected.bobzel
2022-09-21fixed following links to toggle alias if it's displayed when actual target ↵bobzel
isn't. changed cropping images to leave behind an outline not, a solid rectangle. double clicking on link buttons no longer opens them in lightbox view.
2022-07-22adjusted native dim scaling slightly combining props.scaling and ↵bobzel
props.ContentScaling into props.NativeDimScaling and fixing some resizing behaviors for fitWidth freeformviews and native-sized text boxes. Also fixed clicking on presboxe elements to not drag.
2022-07-08restructured currentUserUtils to avoid having import cycles.bobzel
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-14fixed clippings on cropped imagesbobzel
2022-06-02Merge branch 'inking-naafi-mehek' into master-cleanupmehekj
2022-05-18fixed linking bug so that both start and end link can be regions. added ↵bobzel
zoom to target checkbox for link editing. extracted out a new field pointerEvents so that lockPosition is not automatically conflratd with no pointer events. updated freeformview focus to work with zooming on region selections.
2022-05-13removed layerProvider functionality.bobzel
2022-05-02fixed scaling ink label in lightbox,etc views. changed ink strokes so that ↵bobzel
clicking on label of closed stroke is lower preceden than clicking on line. fixed fontsize UI for setting ink label sizes. can no longer slide ink pts that are cusps along curve.
2022-04-29fixes to webpage proxying. fixes for images (and clippings) to use ↵bobzel
appropriate sampled image.
2022-04-28fixed feedback dragging link button. fixed warnings. added some assymetric ↵bobzel
linkRelationships.
2022-04-26added image cropping. made treeView icons show up for file system and ↵bobzel
dashboard, and made them persist invisibly to fix triggering on hover. changed tree view filesystem and dashboard to show expanded icons on hover.
2022-04-21fixed issues with pile view - dragging, burst size, rendering within ↵bobzel
grid/non-freeform views, fixed timeView filtering to not keep making redundant filters,
2022-04-11making layout icons work better.bobzel
2022-04-07added grouping and write mode vs pen modeNaafiyan Ahmed
2022-04-07fixed iconizing images to not get the wrong height because of templates. ↵bobzel
fixed cross-fade of images to work without needing doc to be selected.
2022-03-04removed pseudo Doc type system. playing with hot reloading.bobzel
2022-03-02upgraded to typescript 4.6.2bobzel
2022-03-01updated to webpack 5bobzel
2021-09-27videoBox fitsWidth properly in lightbox. documentdecorations less hacky for ↵bobzel
deciding when to allow nativewidth/height changes by adding props to document type templates. fixed height of properties pane & updated CSS for leftflyout & properties pane. marquees no longer oveflow image/video boxes.
2021-09-27improved image resizing flickering caused by Chrome bug with overflow:auto. ↵bobzel
works now when fitWidth is false.
2021-09-13fixed copyPath menu item for images/pdfs. fixed contextmenu right-clicking ↵bobzel
to not require preselection of doc.