You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ROADMAP.md
+29-20Lines changed: 29 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,46 +4,55 @@
4
4
5
5
No new features are being worked on for v2.x.
6
6
7
-
## v3.0 - In Brainstorming Phase
7
+
## v3.0 - Brainstorming, no timeline
8
8
9
-
**Not planned for v3.0**
9
+
### Focus
10
+
- Nailing the mobile experience
11
+
- Fluid iteractions across devices
12
+
- Maintaining ease of setup
13
+
14
+
### Not planned for v3.0
10
15
The goal of this script from it's beginnings till today is to to provide a better *image viewing experience*.
11
16
12
-
-**HTML or video content.** If you need to show html or video content, I recommend googling for an alternative script as there are many options.
13
-
-**Social sharing buttons.**
17
+
-**HTML or video content:** If you need to show html or video content, I recommend googling for an alternative script as there are many options.
18
+
-**Social sharing buttons**
14
19
15
-
**Image Support**
16
-
- Investigate `srcset` and `<picture>`
20
+
### Image support
21
+
-**`srcset` and `<picture>`**: Investigate
22
+
-**EXIF rotation data**: Investigate
23
+
-**File formats**: All formats supported by the browser utilized? Test vector formats, e.g. SVG. Test animated, e.g. GIF.
17
24
18
-
**Interactions**
19
-
-Add touch gesture support.
20
-
-Exploring using tilt gesture on mobile devices with extra-wide images.
25
+
### Interactions
26
+
-**Swipe gesture**: Allow swiping horizontally to navigate between images in a set. Up and down to exist.
27
+
-**Wide images on mobile**: Explore cropping when height would be reduced substantially on mobile devices. Allow swiping, and maybe tilt, support to view full image. Hint at behavior by doing small horizontal slide in when opening? What does tapping do? How does horizontal swiping affect navigation in sets?
21
28
- If user attempts to go forward when at end of image set, animation (shake?) indicating the end or option to close Lightbox.
22
29
- Make sure right-click/long pressing works to access the image's context menu.
23
30
24
-
**Layout**
31
+
### Layout
25
32
- Allow vertical centering.
26
33
- Update sizing on window resize.
27
34
- Should the dev be able to choose the position of the caption, close button, and nav controls?
28
35
- Optimize layout for mobile.
29
36
- Optimize layout for screens of varying densities.
30
37
- Should the close button still live in the bottom right corner?
31
38
32
-
**Animations**
33
-
- Evaluate start, end, and transition animations.
34
-
- Rewrite animations for performance and flexibility.
39
+
### Animations
40
+
-**Start/end animation**: Animate towards the trigger.
41
+
-**Easing:** Speed up and include bounce? Options to control?
42
+
-**Performant animations**: Rewrite to use transforms exclusively.
35
43
36
-
**Assets**
44
+
### Assets
37
45
- Use inline SVG for UI elements.
38
46
39
-
**Caching**
40
-
- Review if and how images should be preloaded
47
+
### Caching
48
+
-**Preloading**: Review if and which images should be preloaded. Options?
41
49
42
-
**Error Handling**
50
+
### Error Handling
43
51
- What happens when an image url is incorrect?
44
52
- What happens when an image takes too long to load?
45
53
46
-
**Accessibility**
54
+
### Native behavior and accessibility
55
+
-**Right-click support**: Bring up image context menu. Allow saving and copying image.
47
56
- Should opening lightbox update the url? and should this url be parsed on page load to show Lightbox automatically?
48
57
- Review alt attributes.
49
58
- Review ARIA roles.
@@ -52,13 +61,13 @@ The goal of this script from it's beginnings till today is to to provide a bette
52
61
- Review click/touch target size.
53
62
- Test with screen reader.
54
63
55
-
**API**
64
+
### API
56
65
- Do not initialize automatically and allow multiple instances.
57
66
- Add event handlers.
58
67
- Allow setting options on the fly.
59
68
- Allow the setting of options from HTML?
60
69
- Evaluate preloading and caching.
61
70
- Allow placement inside of a specified element? Orig feature requester was dealing with iframe.
0 commit comments