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.
10 years ago
lilia
acc2c6f536
Sort contact selector by title
10 years ago
lilia
51dd287b60
Break up a long line
10 years ago
lilia
a00632c728
Hook up group creation flow UI
...
Checkboxes add and remove members as well as exposing the group update
ui. The conversation window is opened after saving the group.
10 years ago
lilia
b3e32a2642
Only load contacts (not groups) in the typeahead
10 years ago
lilia
2f93fb9fbc
Remove unneeded comparator
...
This collection is just an in-memory indexer used for typeaheads. For
display, the matching models are added to a separate collection. Thus,
the order of the elements in the typeahead collection does not matter.
10 years ago
lilia
0d6fbabb3e
Trigger a checkbox event from conversation list items
10 years ago
lilia
e05405e832
Format phone numbers before saving conversations
...
Saving the national and internation versions of the number lets us use
those attributes in a typeahead collection.
10 years ago
lilia
ed928aa4e3
Add index on conversation type
...
So we can load only groups or only contacts.
This changes the schema and requires you to delete your database to
re-run the migration.
10 years ago
lilia
1334032a89
Add hidden group update form to new conversation view
10 years ago
lilia
3d5553df09
Remove listener for model open event
10 years ago
lilia
87cd3f5053
Save and open new contact on click
10 years ago
lilia
17f3263a21
Listen for escape key anywhere in the inbox
10 years ago
lilia
d7436aaebe
Adjust conversation menu styles
10 years ago
lilia
070393170c
Auto-focus new conversation input field
10 years ago
lilia
b1ad04298f
Add title bar label to new conversation view
10 years ago
lilia
d26dc8c7e6
Move openConversation handler to InboxView
...
Removes the background page ref to inbox which should fix view tests.
Prep for handling new contact creation.
10 years ago
lilia
1eab26635b
Remove unused variable
10 years ago
lilia
9a6c6bcd98
Reset the typahead before showing it
10 years ago
lilia
b13e36a11c
Style conversation menu
10 years ago
lilia
ed13d47125
Break up grunt watch tasks
10 years ago
lilia
eacca80a7d
Don't let contact details wrap in skinny windows
10 years ago
lilia
80ce2d95e0
Sort contacts by name in compose flow
10 years ago
lilia
6d81011f6a
Add back button to compose view
10 years ago
lilia
fedfdcdd7e
Style elements for compose flow
10 years ago
lilia
17deb69a91
Make conversation panel work with a new contact
...
Prevent view from fetching messages without an id, as this causes a
crash.
10 years ago
lilia
5762724709
Don't show new contact unless input may be a phone number
10 years ago
lilia
4ee4872b27
Stop matching typeahead against group members
...
It feels a little weird when you can't see the matching member. Would
consider putting this back in if we display the member list in the
contact list item view.
10 years ago
lilia
55802f2087
Remove obsolete note on test page
...
Actually this page totally works from file:// now.
10 years ago
lilia
e52c7a3e2c
Remove stubborn width calculation
...
It's making my typeahead contact details wrap onto the next line and
doesn't seem to be adding much value.
10 years ago
lilia
19ee28209d
Restore delivery receipt checkmark
10 years ago
lilia
00e9e3b757
Setup loading gif on conversation list
...
TODO: get actual gif asset in there.
10 years ago
lilia
cc0acc56dd
Initially hide newConversationView
10 years ago
lilia
ee34e446e6
Label new-contact block
10 years ago
lilia
f504087603
Move index styles to their own file
10 years ago
lilia
613dc3bedd
Start on support for messaging a brand new contact
10 years ago
lilia
d3d84f3124
Let typeahead surface groups with matching members
10 years ago
lilia
e149650d94
Refactor typeahead into new conversation view
10 years ago
lilia
f207137b35
Customize typeahead tokenizer
10 years ago
lilia
c6a19afd29
Tweak contact style in typeahead
...
Remove message snippets and dates.
Add checkboxes.
10 years ago
lilia
7bcceacf69
Implement typeahead (first pass)
10 years ago
lilia
79cdadd816
Add backbone typeahead component
10 years ago
lilia
79b4c89ce4
Fixup attachment preview
10 years ago
lilia
11d07c5263
add missing new group update view to conversation page
10 years ago
lilia
a2f5f734b3
Set up index.scss
...
This file is for index page styles. Start by offsetting the gutter so
the title bar doesn't obscure the first entry.
10 years ago
lilia
bd86546cea
Make chat window titles match contact list
10 years ago
lilia
1a553fef17
Hide file modal until it's needed
10 years ago
lilia
a1403c8a9a
Move templates from index to converation pages
...
These templates are only needed in conversations.
10 years ago
lilia
58e7f3c7e1
Fix file input click zone
...
Previously, the ugly file input was hidden with opacity, and styled as a
square paperclip icon, but its drop and click zones were not constrained
to the visible square. They remained active across the whole 'Choose
File' button, which overlapped with the textarea. Instead, hide the file
input complete (display: none) and transmit click events from the
paperclip to the input programmatically.
Eventually, we'll need to address drag and drop events, but I want to do
that at the window level. Otherwise dropping a file outside the file
input drop zone causes the browser to navigate to the file://... url.
10 years ago
lilia
8498d7ad1f
Fixup conversation page styles and functionality
...
Render the entire conversation from a template, because some parts of it
must be rendered conditionally if it is a group vs private conversation.
Also apply some style fixes and restore lost functionality:
* Make conversation title bar fixed.
* Widens message bubbles.
* Unhide message list.
* Restore attachment rendering.
* Restore message sending and attachment file selection.
* Style attachments file input as a paperclip.
* Style send button like on Android and make it a submit input.
10 years ago