diff --git a/ui/TODO.otl b/ui/TODO.otl index 03aada8e..144e1a0b 100755 --- a/ui/TODO.otl +++ b/ui/TODO.otl @@ -1,22 +1,34 @@ Priority work [_] 62% Preview II - [_] 0% dynamic loading of images + [_] 5% dynamic loading of images + [_] 11% stream on navigate + | parameters that affect loading: + | - current view size -> image size must be closest + | above this + | - viewer width in images -> number of widths (2-3) + | distance is used to trigger + | loading or unloading of images + | depending on direction + | NOTE: this is done for each + | image size in use. + | + | NOTE: here the trigger must be proximity to the view as we + | can reach an image not just by navigating close but + | also by scrolling/dragging to it (without changing the + | current image)... + [_] store structure separately from ui (mirror context) + | an alternative would be to store the whole thing (sans images) + | in DOM, but that ma get very big. + | + | storing the structure will enable us to have partial structures + | thus updating the structure of a very big set without the user + | noticing. + [_] 33% sync context (handle edit events) + [X] identify action position + | use id... + [_] handle edit events + [_] update ui structure (handle navigate/move events) [_] sizes on zoom - [_] stream on navigate - | parameters that affect loading: - | - current view size -> image size must be closest - | above this - | - viewer width in images -> number of widths (2-3) - | distance is used to trigger - | loading or unloading of images - | depending on direction - | NOTE: this is done for each - | image size in use. - | - | NOTE: here the trigger must be proximity to the view as we - | can reach an image not just by navigating close but - | also by scrolling/dragging to it (without changing the - | current image)... [_] make shift up/down direction-aware... | i.e. if we are going through images in a direction select the | next image in that direction when shifting... diff --git a/ui/experiments/dynamic-loading.html b/ui/experiments/dynamic-loading.html new file mode 100755 index 00000000..2e02a52e --- /dev/null +++ b/ui/experiments/dynamic-loading.html @@ -0,0 +1,120 @@ + + + + + +