Commit Graph

77 Commits (fdd61748712a47e96e118308a427c845b46031c8)

Author SHA1 Message Date
Matthew Chen fdd6174871 Fix breakage from cell layout changes. 7 years ago
Matthew Chen 7847db7e1c Tweak text insets to reflect dynamic type. 7 years ago
Matthew Chen d40f74dd0b Respond to CR. 7 years ago
Matthew Chen 196d82c17a Respond to CR. 7 years ago
Matthew Chen ac6f78a5fc Tweak message cells. 7 years ago
Matthew Chen 2ecbf1bb65 Fix 'contact cell vs. message details layout' issue. 7 years ago
Matthew Chen 1a57fe631c Fix 'contact cell vs. message details layout' issue. 7 years ago
Matthew Chen dd49c6225f Auto-size contact cells everywhere. 7 years ago
Matthew Chen f63d25a172 Migrate to Swift 4. 7 years ago
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 7 years ago
Michael Kirk 117d7319d2 Add contact modally and restore navbar style when dismssing contacts
// FREEBIE
8 years ago
Michael Kirk 704a6f55a0 Fix crash after canceling "Add New Contact"
Text of the exception is:
  "Impossible to set up layout with view hierarchy unprepared for constraint"

Since their container view is pinned to the top layout guide, this
should not change the layout.

// FREEBIE
8 years ago
Michael Kirk 609746abec clarify naming
// FREEBIE
8 years ago
Michael Kirk 42109593af Remove `fromViewController` state from ContactShareViewHelper
// FREEBIE
8 years ago
Michael Kirk 77bbbad70c Remove `contactShare` state from ContactShareViewHelper
// FREEBIE
8 years ago
Matthew Chen c2adf624ea Respond to CR. 8 years ago
Matthew Chen 44ceee5849 Add contact share actions to conversation view and improve phone number parsing. 8 years ago
Michael Kirk 5ba5e98260 Show downloaded contact avatar in thread
// FREEBIE
8 years ago
Matthew Chen ba74e3857a Clean up ahead of PR. 8 years ago
Matthew Chen 2738bcbc58 Create contact view. 8 years ago
Matthew Chen 204d379603 Respond to CR. 8 years ago
Matthew Chen 55916e84c2 Respond to CR. 8 years ago
Matthew Chen 9275c67818 Rework outgoing message state. 8 years ago
Matthew Chen a1386eca81 Fix taps in message cells. 8 years ago
Michael Kirk 64ff4cd660 tap-to-retry failed thumbnail downloads
// FREEBIE
8 years ago
Matthew Chen 6caa5b87b6 Add more asserts around thread in SAE. 8 years ago
Matthew Chen 644e78f19d Respond to CR. 8 years ago
Matthew Chen eb400114c2 Fix message details layout in iPhone X. 8 years ago
Michael Kirk 5320536736 remove WIP comments
// FREEBIE
8 years ago
Michael Kirk 1780973e68 fix image, video, audio interactions in message details
// FREEBIE
8 years ago
Matthew Chen ade2ee7216 Use dynamic type everywhere in conversation view. 8 years ago
Matthew Chen 2f2d1f81a8 Clean up ahead of PR. 8 years ago
Matthew Chen cf1a7e01d0 Apply message bubble view to message details view. 8 years ago
Matthew Chen 6830d4e8cb Apply message bubble view to message details view. 8 years ago
Matthew Chen d99a2be005 Apply message bubble view to message details view. 8 years ago
Michael Kirk 6874a9e28e Convert to swift
// FREEBIE
8 years ago
Michael Kirk 6f1608f44b Conventional naming for out custom PureLayout methods.
This moves methods more in line with PureLayout conventions.

- Methods always specify if they pin to an edge vs margin

- `margin` is a reserved word which should only refer to layout margins.
  i.e. do not use it to refer to "inset" and "offset".

// FREEBIE
8 years ago
Matthew Chen 578f40d791 Bubble collapse. 8 years ago
Michael Kirk e4530a51bf Handle "current page view" deleted from tile
// FREEBIE
8 years ago
Michael Kirk 3058cb8733 Batch Delete
// FREEBIE
8 years ago
Michael Kirk 6c877403cf Fix delete from message details
// FREEBIE
8 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
8 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
8 years ago
Michael Kirk ae8dbeb8dd Access Media Gallery from conversation settings
// FREEBIE
8 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
8 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
8 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
8 years ago
Michael Kirk 88e1386720 Move frame to presentation logic, out of init
This no longer made sense now that we're using this in a
PageViewController we won't always be zooming from a particular frame.

TODO:

- why is background image all wonky?
- why aren't views created by the time it's presented? Is that a
regression? (how is self.view a MenuView if loadView hasn't been called)

// FREEBIE
8 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 8 years ago
Michael Kirk e43d0b1b5a Fix "Share" for attachment with caption
// FREEBIE
8 years ago