lilia
a104ee9ca6
Remove unused variables
2015-02-12 14:19:37 -08:00
lilia
44f9ea5d49
Fix identity key error rendering
2015-02-12 13:36:19 -08:00
lilia
9fe99adf0c
Get scrolling right on conversation load
2015-02-12 13:21:18 -08:00
lilia
f5c7be7d35
Add some resizes
2015-02-12 13:21:18 -08:00
lilia
5a302271b3
Remove unneeded listeners
2015-02-12 13:21:18 -08:00
lilia
0463e385e8
Remove uneeded render
...
This is an artifact of a time when conversation elements would pop in
and out of the dom at a moment's notice, and thus needed to rebind their
event listeners regularly.
2015-02-12 13:21:18 -08:00
lilia
5e064db28f
Render the message list view.
2015-02-12 13:21:17 -08:00
lilia
5ad5464dd1
Fetch messages in the background
2015-02-12 13:21:17 -08:00
lilia
52b3114970
Simplify list view resizing
2015-02-12 13:21:17 -08:00
lilia
3279dddcc3
Consolidate window logic in panel controller
...
Previously the conversation window would query the background page
for a model id and then fetch the conversation. Instead, we can fetch
the conversation before opening the window, which simplifies the front
end scripts and avoids creating multiple copies of the same model.
2015-02-12 13:21:17 -08:00
lilia
90140556e4
Fix tests
2015-02-12 13:21:17 -08:00
lilia
44b1e5c88e
Move inbox collection to the background page
...
No more waiting, no more messy fetch logic. Background page
bootstraps the inbox and keeps it up to date.
2015-02-12 13:21:17 -08:00
lilia
a5bc261365
Clear selected files after each sent message
2015-02-12 13:21:17 -08:00
lilia
2de682ef7b
Don't create a group without a name
2015-02-12 13:21:17 -08:00
lilia
d5c85dfbd8
Resize inbox listview after it finishes loading
...
Ensures that scrollbars are properly setup on load.
2015-02-12 13:21:17 -08:00
lilia
4422582ab7
Fixup opening existing private conversations
2015-02-12 13:21:17 -08:00
lilia
200981e022
Avoid adding empty-string numbers to recipients
2015-02-12 13:21:17 -08:00
lilia
3a099657e6
Untangle select vs open events
2015-02-12 13:21:17 -08:00
lilia
b27826cba5
Conversations must have an id before saving
2015-02-12 13:21:16 -08:00
lilia
a7a44e9b99
Swap in unminified typeahead code
...
For your debugging and auditing convenience.
2015-02-12 13:21:16 -08:00
lilia
3a2f6fa232
Update favicons
2015-02-12 13:21:16 -08:00
lilia
711e211e20
Remove bootstrap tagsinput
2015-02-12 13:21:16 -08:00
lilia
9087918500
Don't add new convos to inbox until a message is sent
2015-02-12 13:21:16 -08:00
lilia
af49ad9b90
Dry up new contact init and handling
2015-02-12 13:21:16 -08:00
lilia
63d232dedb
Draw attention to invalid numbers
2015-02-12 13:21:16 -08:00
lilia
746e6530b9
WIP pill view for selected recipients
2015-02-12 13:21:16 -08:00
lilia
c84ccfc735
Wrap model phonenumber validation in try/catch
2015-02-12 13:21:15 -08:00
lilia
eae072e72d
Remove unneeded var, add todo
2015-02-12 13:21:15 -08:00
lilia
fc3a600e72
Validate conversation type
2015-02-12 13:21:15 -08:00
lilia
5e3ed1658b
Show phone numbers in contact selector
2015-02-12 13:21:15 -08:00
lilia
c7550aa9ae
Fix whitespace in manifest
2015-02-12 13:21:15 -08:00
lilia
eaf3d46c1f
Make 'New Message' view match new title bar style
...
Make text blue and light weight. Update back button colors to match.
2015-02-12 13:21:15 -08:00
lilia
bebe47eacd
Hide our own avatar for consistency with Android
2015-02-12 13:21:15 -08:00
lilia
9e245e67e0
Fix double-opening exsisting conversations from typeahead
2015-02-12 13:21:15 -08:00
lilia
b2345a5ec8
Remove unused variable
2015-02-12 13:21:15 -08:00
lilia
ce4ce164af
Stop clobbering conversation attributes
...
Unless the background page fetches the latest details of a conversation
before updating it, it may clobber or nullify some attributes e.g., the
contact's name.
2015-02-12 13:21:15 -08:00
lilia
29bf70b76f
Shrink more styles
...
Shrink font and image size
Shrink converation avatars
Shrink fab
2015-02-12 13:21:08 -08:00
lilia
515a687dca
Remove file modal from conversation page
2015-02-11 17:38:03 -08:00
lilia
aca3db97da
New messages auto-update the inbox & conversation
...
When a new message arrives, if its conversation is not already opened,
the background page opens it. If it is alrady open the window is
focused. Finally, the 'message' event is triggered, resulting in
1. the inbox refetches conversations
2. all conversations fetch new messages
TODO: only send this event to the target window
2015-02-11 17:38:03 -08:00
lilia
bffdaf9ceb
Restyle menu icon
2015-02-11 17:38:03 -08:00
lilia
db5e7fd6b6
Fix list view scrolling
...
Resize handlers are ugly. But not as ugly as scroll handlers. :p
Normalized some whitespace along the way.
2015-02-11 17:38:03 -08:00
lilia
ec01d33b50
Reorganize stylesheets and global styles
...
Simplifies the grunt watch task for sass. Renames sass partials with
leading underscores. Flattens stylesheet directory. The only remaining
raw css file is options.css.
Move globally-relevant styles to _global. Shrink overall font size.
2015-02-11 17:38:03 -08:00
lilia
33c0f5b274
Change title bar color
2015-02-11 17:38:03 -08:00
lilia
374fa044af
Shrink some styles
...
Group update font and sender names should be smaller.
2015-02-11 17:38:03 -08:00
lilia
d107c3b839
Fix tests
2015-02-11 17:38:02 -08:00
lilia
2386c7f1ad
Add new icon
...
OMG icon so bIiIIIIIiiIIg
2015-02-11 17:38:02 -08:00
lilia
0f29cf2043
Put spaces between joined members in group updates
2015-02-11 17:38:01 -08:00
lilia
d435ff003b
Improve typeahead contact selector experience
...
Store and match on various phone number formats. Still not perfect, as
occasionally all the models are returned for a non-matching query.
2015-02-11 17:38:01 -08:00
lilia
acc2c6f536
Sort contact selector by title
2015-02-11 17:38:01 -08:00
lilia
51dd287b60
Break up a long line
2015-02-11 17:38:01 -08:00