Commit Graph

32 Commits (661272750b169bf84ce8b47096043f14238bcb1d)

Author SHA1 Message Date
Matthew Chen ac6f78a5fc Tweak message cells. 7 years ago
Matthew Chen 4d8c764789 Migrate to Swift 4. 7 years ago
Michael Kirk b32a1d5076 Fix media page title view on iOS9/10
We must specify the frame of the titleView

Previously the titleView was the stackview, but we don't want to
"stretch" the labels to fit the size of the stack view, so we wrap the
stack view in a container view which becomes the new titleView.

// FREEBIE
7 years ago
Michael Kirk b702695793 cleanup 7 years ago
Michael Kirk b1bff71145 WIP moving to stackview backed header view in conversation view
- iOS10 with large titles doesn't truncate
7 years ago
Michael Kirk 3d766e4cf8 Replace ConversationHeaderView with stack view in Media Gallery
// FREEBIE
7 years ago
Michael Kirk e6b0f692c9 Don't use dynamic text for navbar view
// FREEBIE
7 years ago
Michael Kirk 1d95cd6977 Improve video scrubbing UX in PageView
// FREEBIE
7 years ago
Michael Kirk e4530a51bf Handle "current page view" deleted from tile
// FREEBIE
7 years ago
Michael Kirk 037546a2df Fade toolbars, keeping presentation image sharp
Don't fade presentation image until it's in place.

// FREEBIE
7 years ago
Michael Kirk 13378501b0 Stop any video on dismiss
// FREEBIE
7 years ago
Michael Kirk 3de923bf6b Update footer items after delete scrolls you to next item in pager view
// FREEBIE
7 years ago
Michael Kirk 3058cb8733 Batch Delete
// FREEBIE
7 years ago
Michael Kirk 6c877403cf Fix delete from message details
// FREEBIE
7 years ago
Michael Kirk 6e20f5b654 Fix Delete
from conversation settings > tile > tap for details > delete

TODO:

- Don't dismiss pager, show next item
- dismiss pager if deleting last media

// FREEBIE
7 years ago
Michael Kirk 1e59fbafd3 CR: method args shouldn't shadow properties
// FREEBIE
7 years ago
Michael Kirk d94f355c2c properly restore navigation bar after dismissing mid-video
// FREEBIE
7 years ago
Michael Kirk f261fbcf05 Dynamic gallery label
// FREEBIE
7 years ago
Michael Kirk 352f5c1059 Prefer back button over dismiss
In some context this makes more sense, and it will never be confusing.

// FREEBIE
7 years ago
Michael Kirk 00b5316976 Don't show the "All Media" button when viewing the slider from the
gallery via settings.

In this context it makes more sense for the user to hit the "dismiss"
button to get "back" to "All Media"

// FREEBIE
7 years ago
Michael Kirk 2095cbb0c6 Update footer when returning to details via Tile view
// FREEBIE
7 years ago
Michael Kirk 428802aee8 Only try to stop video when it *is* a video
// FREEBIE
7 years ago
Michael Kirk 24eb4bf443 Stop any video whenever leaving PageView
// FREEBIE
7 years ago
Michael Kirk 4c2d30a776 Memory warning clears MediaPageView cache
Doing so required MediaDetailView to retain GalleryItem, but because
GalleryItem is a swift struct, I had to envoke the Box dance.

// FREEBIE
7 years ago
Michael Kirk fb4182c41f Ensure gallery is GC'd
// FREEBIE
7 years ago
Michael Kirk ae8dbeb8dd Access Media Gallery from conversation settings
// FREEBIE
7 years ago
Michael Kirk f733c07d07 comment cleanup
// FREEBIE
7 years ago
Michael Kirk 4aeff7ba67 Thumbnail generation
// FREEBIE
7 years ago
Michael Kirk dfd628250d Gallery performance
- [x] share uiDatabaseConnection to share cache
- [x] increase cache size
- [x] load less initially
- [x] lazy loading
  - [x] slider view
  - [x] tile view

// FREEBIE
7 years ago
Michael Kirk 985af76d0b WIP: All Media view
TODO

- [ ] label video/gif
- [ ] reasonable load perf
- [ ] reasonable scroll perf
- [ ] select / delete
- [ ] cancel share action from media details returns signal style

NICE TO HAVE

- [ ] fancy in/out animation from All Media <-> tiles
- [ ] label video thumbnail with duration stamp
- [ ] Other perf?
- [ ] dbModified?
- [ ] select / send
- [ ] darken section header a shade once it's "active"

DONE

- [x] tap to refocus on new media
- [x] generate test data
- [x] section headers
- [x] equal spacing around cells

// FREEBIE

WIP WIP extract datasouce to GalleryViewController

- [x] swipe through is broken
- [x] present animation
- [x] dismiss animation

// FREEBIE
7 years ago
Matthew Chen c62b5f9b55 Fix build break. 7 years ago
Michael Kirk 4ac9a1019b Media page view controller
First pass at a swipe-through media view for conversations.

Future work could include

- title label per item
  - sender name
  - date/time
- photo rail
- include caption

// FREEBIE
7 years ago