Skip to content

Commit 85dd34f

Browse files
committed
docs: Updates for v3 roadmap
1 parent 5b8443a commit 85dd34f

File tree

1 file changed

+29
-20
lines changed

1 file changed

+29
-20
lines changed

ROADMAP.md

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,55 @@
44

55
No new features are being worked on for v2.x.
66

7-
## v3.0 - In Brainstorming Phase
7+
## v3.0 - Brainstorming, no timeline
88

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
1015
The goal of this script from it's beginnings till today is to to provide a better *image viewing experience*.
1116

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**
1419

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.
1724

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?
2128
- If user attempts to go forward when at end of image set, animation (shake?) indicating the end or option to close Lightbox.
2229
- Make sure right-click/long pressing works to access the image's context menu.
2330

24-
**Layout**
31+
### Layout
2532
- Allow vertical centering.
2633
- Update sizing on window resize.
2734
- Should the dev be able to choose the position of the caption, close button, and nav controls?
2835
- Optimize layout for mobile.
2936
- Optimize layout for screens of varying densities.
3037
- Should the close button still live in the bottom right corner?
3138

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.
3543

36-
**Assets**
44+
### Assets
3745
- Use inline SVG for UI elements.
3846

39-
**Caching**
40-
- Review if and how images should be preloaded
47+
### Caching
48+
- **Preloading**: Review if and which images should be preloaded. Options?
4149

42-
**Error Handling**
50+
### Error Handling
4351
- What happens when an image url is incorrect?
4452
- What happens when an image takes too long to load?
4553

46-
**Accessibility**
54+
### Native behavior and accessibility
55+
- **Right-click support**: Bring up image context menu. Allow saving and copying image.
4756
- Should opening lightbox update the url? and should this url be parsed on page load to show Lightbox automatically?
4857
- Review alt attributes.
4958
- Review ARIA roles.
@@ -52,13 +61,13 @@ The goal of this script from it's beginnings till today is to to provide a bette
5261
- Review click/touch target size.
5362
- Test with screen reader.
5463

55-
**API**
64+
### API
5665
- Do not initialize automatically and allow multiple instances.
5766
- Add event handlers.
5867
- Allow setting options on the fly.
5968
- Allow the setting of options from HTML?
6069
- Evaluate preloading and caching.
6170
- Allow placement inside of a specified element? Orig feature requester was dealing with iframe.
6271

63-
**Dependencies**
72+
### Dependencies
6473
- Drop jQuery requirement.

0 commit comments

Comments
 (0)