Commit Graph

115 Commits

Author SHA1 Message Date
Fang
37d061cbfe
Support sending %fat messages
for clipboard pastes and long-form content.

If a multi-line string is pasted into an empty input field, treat is as
a "clipboard" message if it's sent directly afterwards. (A text %fat.)

If a multi-line message is composed in any other way, treat it as a
long-form message, moving all but the first line into the attachment.
(A more display-friendly tank %fat.)
2019-07-29 02:08:19 +02:00
Fang
c04ee7a0de
Ensure (%fat) messages get rendered within screen bounds 2019-07-29 02:01:16 +02:00
Fang
c880736eea
Remove noisy printf 2019-07-29 01:58:08 +02:00
Fang
716af367bf
Forbid sending empty messages
And don't render any elements for them.
2019-07-28 23:21:03 +02:00
Fang
c4ad4aa247
Support rendering %fat 2019-07-28 23:16:09 +02:00
Fang
ea3f46183a
Support rendering %exp 2019-07-28 13:21:54 +02:00
Fang
1974c8b4e4
Support rendering %ire 2019-07-28 13:09:55 +02:00
Fang
c91ad893c0
Support rendering %app 2019-07-28 13:06:08 +02:00
Fang
d0e51f4a1a
Refactor chat-input to fully support %lin and %url
Supports sending both regular and action %lin messages, using the
optional @ prefix.

Now transforms on-urbit URLs into arvo:// URLs prior to sending,
as opposed to on-render.
Unfortunately, the type hall uses for URLs doesn't support non-HTTP
protocols yet, so we send arvo:// URLs as %lin messages for now.

Input field gets styled based on detected message type. Italics for
action lins, underline for URLs.
2019-07-27 18:28:04 +02:00
Fang
ccf5b09165
Refactor message.js to fully support %lin and %url
Renders messages based on their speech type, as opposed to interpreting
%lin speeches and ignoring all others.

Italicizes %lin "@" messages.

Makes images clickable to open in new window.
2019-07-27 18:22:53 +02:00
Fang
0286d03edb
Refactor code duplication in Chat root 2019-07-27 15:00:41 +02:00
Isaac Visintainer
1f6d63d32c removed duplicate arvo files in interface pkg 2019-07-24 15:34:13 -07:00
Isaac Visintainer
e92bbec269 automatically rename minified files 2019-07-24 15:13:21 -07:00
Isaac Visintainer
9e366644e5 updated gulpfiles for monorepo 2019-07-23 13:08:04 -07:00
Isaac Visintainer
5244f96dd4 moved subapps up one directory 2019-07-23 12:59:01 -07:00