Commit Graph

372 Commits

Author SHA1 Message Date
Logan Allen
c960075a11 chat: set metadata properly and incorporate fixes 2020-02-28 11:52:17 -08:00
Matilde Park
909a2ebf05 invite search: adjust dark mode hover background 2020-02-28 01:03:05 -05:00
Matilde Park
cf6460c5b5 invite search: blend names, filter empty nicknames 2020-02-28 00:46:06 -05:00
Matilde Park
2c301c0b80 chat: integrate invite search on members page 2020-02-28 00:15:55 -05:00
Logan Allen
2b15010e66 chat: removed extraneous prints 2020-02-27 16:16:38 -08:00
Logan Allen
14b28a3d82 chat: unmanaged chats can be joined, have their title/description set, and send invites properly 2020-02-27 16:14:07 -08:00
édouard
f8bb003243
Merge branch 'os1-rc' into ed/qa-header-spacing-fixes 2020-02-27 19:06:33 -05:00
édouard
6bc4f489d4 links: edit/update sidebar styling to match chat
Using existing styling classes found in chat, I've edited the Links module to retain an appearance/sizing that is more uniform with our Chat module interfaces
2020-02-27 18:58:28 -05:00
édouard
afcb46caaa chat, links: add 'lh-solid' to header text
This commit fixes a text and icon alignment issue noted by @matildepark. I've simply appended a class of `lh-solid` to items in module tab bars, and removed one case of v-top.
2020-02-27 17:54:53 -05:00
édouard
e8fdf3713d chat, contacts, dojo, links, publish: edited existing padding/margins/color/font-size of tab/header components
Basically, this PR includes a collection of edits made to the headers across each of our OS1 modules.
I flattened the font sizing, fixed edge margins/padding, and fixed some button copy in the case of the Contacts app.
2020-02-27 17:54:13 -05:00
Logan Allen
7abb371a20 chat: unmanaged chats are cleaned up and sync down metadata properly 2020-02-27 14:54:03 -08:00
matildepark
9efa2290fe
Merge pull request #2360 from urbit/mp/os1/invite-search-contacts
invite search: fuzzy search ships by nicknames, show ship nicknames
2020-02-26 18:16:05 -05:00
Matilde Park
db0fc609d8 various: dedupe invites to ships in search 2020-02-26 18:13:03 -05:00
Matilde Park
ab926af427 chat: invite search style fix 2020-02-26 18:04:49 -05:00
Matilde Park
6536def638 chat: search, show contacts info in invite search 2020-02-26 17:33:22 -05:00
Logan Allen
eada785c2c chat-js + view: updated new page to work properly with group creation / selection 2020-02-26 14:21:20 -08:00
~litpub
3f3a0b42e5 Firefox scroll support for chat 2020-02-24 11:40:14 -08:00
Logan
204ad1420d
Merge pull request #2342 from urbit/mp/os1/launch/dark
launch: dark mode
2020-02-21 19:14:30 -08:00
Logan
170003789a
Merge pull request #2316 from litpub/fixes-dom-nesting
chat: Fixes dom nesting warning on <Message>
2020-02-21 19:02:52 -08:00
Matilde Park
05d820fcba chat: add dark mode style to tile 2020-02-21 21:57:27 -05:00
Matilde Park
82fa934c37 chat: inputs have black border on focus 2020-02-21 20:21:39 -05:00
Matilde Park
382a4da4b1 chat: remove spinner.css from index.css 2020-02-21 18:42:16 -05:00
matildepark
2c39e70cc0
Merge pull request #2327 from urbit/mp/os1/contacts/invite-polish
contacts: add spinner, invite-search, and blend unknown sigils
2020-02-20 21:09:03 -05:00
Matilde Park
b2404d0cdc chat: add groupResults prop, fix peer set 2020-02-20 18:56:30 -05:00
Logan
a0b9e84ae5
Merge pull request #2318 from urbit/mp/os1/chat/spinner
chat: add new spinner, behaviours
2020-02-20 13:40:45 -08:00
Matilde Park
09d2057284 chat: blend uncustomised sigils 2020-02-20 01:37:16 -05:00
Matilde Park
075de2cf3b chat: add spinner behaviours 2020-02-20 01:18:19 -05:00
~litpub
ea6d0a0502 Fixes DOM nesting error on <Message> 2020-02-19 17:49:53 -08:00
Isaac Visintainer
00a9eb9eab Merge branch 'master' into os1-rc 2020-02-19 16:04:21 -08:00
Logan
11d8953873
Merge pull request #2310 from urbit/mp/os1/invite-search-ship
chat, publish: invite-search surfaces valid ship name as result
2020-02-19 13:48:43 -08:00
Logan
1e05f47d91
Merge branch 'os1-rc' into support-line-breaks 2020-02-19 13:48:14 -08:00
Logan
820e14757a
Merge branch 'os1-rc' into la-group-create 2020-02-19 11:23:05 -08:00
~litpub
b96df813aa Supports translating /n into new <p> tags 2020-02-18 23:07:41 -08:00
~litpub
e687b8988b Adds autoresize functionality to chat input 2020-02-18 22:26:05 -08:00
Matilde Park
7aeb593fb4 chat: invite-search shows valid ship in results 2020-02-18 23:32:11 -05:00
Logan Allen
688f9c33a1 chat-js: fixed group creation 2020-02-18 18:05:12 -08:00
pkova
b850fc0a0d chat: fix station string format 2020-02-16 14:21:33 +02:00
Logan
c71bc22bbc
Merge pull request #2221 from pkova/chat-bugfix
chat: fix double message bug
2020-02-14 11:03:53 -08:00
Logan Allen
a9231fd5f9 chat-js: one line fix to create chat screen to enable managed group creation 2020-02-13 13:11:22 -08:00
Jimmy
e10b6784ae chat-js: slightly cleaner sig string 2020-02-11 13:09:03 -08:00
Jimmy
8b8472f231 removing console log 2020-02-11 13:06:42 -08:00
Jimmy
a5301251c3 patp name now has sigil, and nickname now renders inter 2020-02-11 13:06:42 -08:00
Logan Allen
ebab101213 chat-js: fix ui regression for new and join (always create /~/ groups) 2020-02-11 12:59:10 -08:00
Logan Allen
2cae31783e chat-js: on selecting a group from search, set id of chat to that name and disable form 2020-02-10 16:24:05 -08:00
Logan Allen
c38641c182 chat: gray out and disable the security toggle when create group is selected 2020-02-07 17:27:01 -08:00
Logan Allen
3e94033196 chat: auto-invite on addition to group 2020-02-07 15:52:55 -08:00
pkova
e090b6b8b8 chat: fix double message bug 2020-02-07 03:01:19 +02:00
Logan Allen
ea93dd3af8 chat + contacts: finished integration for managed groups
Specifically, this commit removes the add action from the contact-view
and replaces it with a listener within contact-hook for additions
to groups. This means that when a ship is added to a group that the
contact-hook is watching, the ship is automatically sent an invite to
join that "managed group" from the contacts application. This also
includes the UI integration work on the management screen and settings
screen for working with the new group / permission structure.
2020-02-06 16:02:45 -08:00
Logan
31e9505c76
Merge pull request #2238 from urbit/mp/os1/launch
launch: os1 home screen
2020-02-06 11:26:43 -08:00
Logan
757354db16
Merge pull request #2230 from urbit/contacts-group-validate
Validate group names
2020-02-06 11:25:11 -08:00
Matilde Park
4281077dcc Merge branch 'os1-rc' into mp/os1/launch 2020-02-05 23:06:28 -05:00
Anthony Arroyo
bce40c2d52
Merge pull request #2234 from urbit/mp/os1/chat-filter-empty-groups
chat: filter empty groups from peer search
2020-02-05 17:42:57 -08:00
A Arroyo
e2c053766a update new chat validation 2020-02-05 17:35:19 -08:00
Matilde Park
21f6be96a1 launch, various: new tiles and launch (but clock) 2020-02-05 18:16:56 -05:00
Matilde Park
bb7061b591 chat: filter empty groups from peer search 2020-02-05 13:52:01 -05:00
Logan Allen
b51ae958ec chat: fix issues with [ship path] to path change and support contacts 2020-02-04 15:31:06 -08:00
Logan Allen
543420b68e chat: cleanup to change api to accept path instead of ship, path 2020-02-04 15:30:02 -08:00
A Arroyo
ff4db6786d change fe to create full group path 2020-02-04 15:28:44 -08:00
Matilde Park
df30a777a8 chat: add create group toggle to new.js 2020-02-04 14:06:54 -05:00
Logan
a90fc46fb1
Merge branch 'os1-rc' into mp/os1/chat-new-component 2020-02-03 16:44:40 -08:00
Matilde Park
a158e1c651 chat: refactor invite search component functions 2020-02-03 17:24:42 -05:00
Matilde Park
761d71cfee chat: add group and peer search, new.js rework 2020-01-31 01:34:53 -05:00
Logan Allen
61709260a8 chat-js: added contacts metadata to chat 2020-01-30 13:37:52 -08:00
Matilde Park
15bc1da3ba chat: style fix -- collapse ternary operators 2020-01-29 19:34:37 -05:00
Matilde Park
9eca995eeb chat: add os1 styles, window borders 2020-01-28 22:58:06 -05:00
Jared Tobin
87581ba5f8
Merge branch 'bug/image-border' (#2188)
* origin/bug/image-border:
  chat: remove black border on images

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:40:08 +04:00
Matilde Park
0ef3d9f7fa chat: smoothen dark theme
Lowers contrast in dark theme; raises the opacity of images in chat.

In general, creates a smoother dark variant of our default Chat look.
2020-01-27 20:33:15 -05:00
Matilde Park
389def3479 chat: [embed] link doesn't break word on mobile
It's a UI, not a word -- it should be treated like a button.

This commit preserves it as its own block and pushes it
to the next line when it's overflowing.
2020-01-27 14:16:38 -05:00
Matilde Park
35aab5c8ab chat: youtube embeds responsively expand
The declaration was being stomped out in all viewports because
it wasn't being declared in the initial element.

This adds the XL's padding-bottom to the element's declarations, which
scales it accordingly.
2020-01-27 14:09:18 -05:00
Jimmy
f49aa3b053 chat: remove black border on images 2020-01-27 11:08:26 -08:00
Matilde Park
3d901df3be chat: links use white border in dark mode 2020-01-27 14:07:04 -05:00
Matilde Park
cbbbc65acb chat: sidebar switcher retains with on -m
Sidebar switcher was squishing and losing aspect ratio on medium viewport.
It now retains its proper size.
2020-01-27 13:48:01 -05:00
Jared Tobin
cc12ff835e
Merge branch 'pkova/master' (#2178)
* pkova/master:
  chat: fix wrong font-size on certain pre-elements

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:13:23 +04:00
Jared Tobin
267081424b
Merge branch 'yt-preview' (#2055)
* origin/yt-preview:
  chat: add expandable youtube embed messages

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 15:14:37 +04:00
Anthony Arroyo
b96d6c5b5f
chat: add expandable youtube embed messages
YouTube links now have a [embed] link that expands an inline embed of
the video. Embeds don't load until clicked, so don't fear the tracker.
2020-01-22 15:01:01 +04:00
pkova
ba866a837d chat: fix wrong font-size on certain pre-elements 2020-01-21 16:32:30 +02:00
Jared Tobin
ce6f82a58d
chat: trim whitespace [ci skip] 2020-01-14 11:21:24 -08:00
Jared Tobin
a0cb74b658
Merge branch 'matilde/chat-dark-mode' (#2144)
* origin/matilde/chat-dark-mode:
  chat: fade images on dark mode
  chat: add dark mode

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 11:09:18 -08:00
Jared Tobin
795b811aca
Merge branch 'matilde/chat-timestamp' (#2146)
* origin/matilde/chat-timestamp:
  chat: correct datestamp to match @da

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:11:33 +08:00
Matilde Park
4143b0060f chat: fade images on dark mode
Adds 60% opacity to dim images within messages in dark mode.
2020-01-06 08:09:53 -05:00
Jared Tobin
cd9624e097
Merge branch 'm/whitespace' (#2149)
* origin/m/whitespace:
  various: remove trailing whitespace
  ci: reject trailing whitespace

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 10:55:13 +08:00
Jared Tobin
836142ad0d
Merge branch 'rcrdlbl/chat-sidebar-margin-fix' (#2137)
* rcrdlbl/chat-sidebar-margin-fix:
  chat: add bottom padding to sidebar items

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:45:25 +08:00
Fang
fcf1846b6f
various: remove trailing whitespace 2020-01-03 22:06:42 +01:00
Matilde Park
271e594f61 chat: correct datestamp to match @da
The datestamp in webchat currently leftpads the month numeral.
This commit amends it so that the month numeral doesn't pad with zeroes.
2020-01-01 08:54:36 +01:00
Matilde Park
d45be05c26 chat: add dark mode
Adds custom classes and declarations for dark mode color scheme.
Uses prefers-color-scheme media query to check preference.
2019-12-27 12:15:03 +01:00
Matilde Park
b6120ac9fc interface: use production build of react 2019-12-23 23:13:26 -05:00
Przemyslaw Dabrowski
f8c305b65b chat: add bottom padding to sidebar items
Pretty simple really, fixes issue #2131.
Decided to use padding instead of margin because the underflow is nice,
but not at the detriment of being able to see the last chat preview
2019-12-23 22:24:24 -05:00
Fang
b8a336c607
webchat: render "me" messages in italics 2019-12-23 23:11:04 +01:00
Matilde Park
e2cfcafc92 chat: validate chat names
Add a regex check for non-lowercase, non-slash, non-hyphen characters,
or numerals, and a quick check for starts-with-slashes, double-slashes,
to a boolean before creating a chat at that path.
2019-12-18 00:53:18 -05:00
Logan Allen
30264bbc93 chat-js: fix unread counts and indentation 2019-12-09 13:05:56 -08:00
Matilde Park
f5faf6eb11 chat: chat tab bar re-aligned and resized
The placement of the buttons and chat title on Landscape were slightly
off-line with each other. This commit lines them up
and changes font size to f8 to match the mockup closely.
2019-12-06 16:44:45 -05:00
Matilde Park
d1def489cc chat: Fix chat join link - %ask-history error
Without this third boolean argument, direct join links wouldn't work.

This commit adds it.
2019-12-05 01:08:16 -05:00
Matilde Park
8a2b3d1822 chat: join channel on enter
Adds quick keypress handler for joining chats.
2019-12-04 23:41:07 -05:00
Matilde Park
8d98348233 chat: wrap long links, join button uses pointer
What it says on the tin.
2019-12-04 22:37:12 -05:00
Jared Tobin
d310cb68bd
release: v0.10.0.rc-1
* Remove testnet configuration from %zuse
* Bump URBIT_VERSION
* Update Landscape builds
* Update all pills
2019-12-04 19:41:43 +08:00
Matilde Park
318e38ffa3 chat: hotfixing a class name
This fixes a quick typo that completely breaks the medium viewport
layout.
2019-12-03 22:00:57 -05:00
Matilde Park
7188a3933a chat: fix sidebar toggle on chat update
Creates a local reducer to mutate the state in one place.
Fixes an issue where chat updates would pop the sidebar open.
2019-12-03 21:48:44 -05:00
Matilde Park
b8a2d06c5b chat: style fixes
Changes to the structure stylistically during code review.

Using fake API calls instead of directly calling store;
fixing a 'delete' crash';
making common code a component;
autofocusing responsively.
2019-11-27 23:22:16 -05:00
Matilde Park
4dd103c5e5 chat: tighten chatroom regex matching
This commit amends the join flow based upon
regular expression matching of chatroom names
to only match if the entire message is the chat.
2019-11-25 14:49:37 -05:00
Matilde Park
cfc352e3c9 chat: add mobile web app icon
Adds a blank white placeholder icon, so that it looks better
than a blurry screencap on mobile devices.
2019-11-22 20:20:16 -05:00
Matilde Park
f90ae05bb0 chat: members and settings responsive layout match
Lining up the headers for these two panels on various viewports.
2019-11-22 20:20:16 -05:00
Matilde Park
8c38714cc6 chat: tweaking input and datestamp for 320px
Adding some very small viewport adjustments to keep the
layout tidy, disabling iOS autocorrect.
2019-11-22 20:11:15 -05:00
Matilde Park
a6b4ed19b3 chat-view: redesign of chat interface
This commit redesigns the front-end of chat-view for
Landscape, adding a collapsable sidebar, popout chats,
a streamlined join flow, and a general refresh of the Indigo
interface.
2019-11-21 11:50:35 -05:00
Matilde Park
e8d34fe0ca chat: add exports to gulpfile
Added exports so that indigo-react can
be integrated into our workflow without error.
2019-11-20 20:27:18 -05:00
Logan Allen
9dd949b8a1 chat: oust correctness fix and js style fix 2019-11-15 13:28:53 -08:00
Logan Allen
f9df1b6af4 chat: style fixes 2019-11-15 11:07:40 -08:00
Logan Allen
a97e36d6d6 chat-js: updated to support %messages events 2019-11-14 10:42:55 -08:00
Logan Allen
cb158310e3 chat-js: added invite functionality 2019-11-01 14:04:50 -07:00
Logan Allen
e06acb87be chat-ui: fix image previews from url types 2019-10-24 14:31:40 -07:00
Logan Allen
c8cca2f261 chat-js: make clicking a url message open in a new tab 2019-10-24 14:12:26 -07:00
Logan Allen
29fc32d11b chat-js: fix chat sorting and selection in sidebar 2019-10-24 14:04:48 -07:00
Logan Allen
b12e305c9c apps: added permission hook and chat-view %join action 2019-10-11 14:09:30 -07:00
Logan Allen
84e143574a js: Improved join UI and added support for paths with multiple elements 2019-10-10 11:20:53 -07:00
Logan Allen
536dcdc4f4 chat: /primary path provides truncated initial as well as updates 2019-10-08 10:41:06 -07:00
Logan Allen
fbbb3830b2 chat: style fixes, removed some redirect bugs from chat 2019-10-08 10:11:18 -07:00
Logan Allen
79903ff9f5 chat: changed wire format and quitting subscription properly on ban 2019-10-07 17:35:48 -07:00
Logan Allen
39a5017254 chat: added old @ messages, now called %me messages 2019-10-03 13:33:07 -07:00
Logan Allen
8b74a674f3 chat-hook: updated to allow a simpler message send flow 2019-10-02 18:30:50 -07:00
Logan Allen
0f5eea480d chat: added new JS files, deleted old chat.hoon 2019-10-02 18:30:41 -07:00
Logan Allen
1b87eb2c3c
chat: message processing time down to 60ms 2019-09-20 11:43:30 -02:30
Matilde Park
14b3cb1a89 Interface: Update urbit-ob dependency
Updates all Landscape applications to use the
latest version of urbit-ob, from 3.1.1 to 4.1.2.

Removes urbit-ob from applications that don't
use it (Clock, Launch, Weather).

Compiled JS for all the above included in this
commit.
2019-09-06 10:59:23 -04:00
Logan Allen
5560482897 chat: potential fix for #1692 2019-09-04 16:07:49 -07:00
Jared Tobin
123a523eeb
Merge branch 'mp-gulp-rename' (#1675)
* mp-gulp-rename:
  Interface: Add "clean 'renamed' files" gulp task

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-28 18:52:33 -02:30
Jared Tobin
d5799e20fd
Merge pull request #1660 from pkova/master
Update sidebar most recent message timestamp every minute
2019-08-28 18:23:31 -02:30
Logan Allen
dafec48b36 Added another round of changes 2019-08-28 13:35:36 -07:00
pkova
1a64774011 chat: update sidebar timestamp every minute 2019-08-28 22:47:29 +03:00
Matilde Park
52cccd4851 Interface: Add "clean 'renamed' files" gulp task
gulp.rename just copies files, leaving the original.
For minified files, this was navigated by not
tracking the -min.js files in git. However, when
deploying OTA, the -min.js files are still deployed
to all ships. This commit adds 'del' package,
and a task to clean up the -min files when done
for all current Landscape applications.
2019-08-28 13:39:42 -04:00
Jared Tobin
052903a4ee
Merge remote-tracking branch 'origin/mp-chat-leave' (#1637)
* origin/mp-chat-leave:
  Leave copy + root route copy
2019-08-27 19:48:44 -02:30
Jared Tobin
de68c34ea5
Merge branch 'mp-chat-444sigil'
* mp-chat-444sigil:
  Chat: Standardise sigil size and input line height
2019-08-24 08:50:09 -02:30
Matilde Park
7cb600dc6a Chat: Fix join channel's route render 2019-08-23 15:42:10 -04:00
Matilde Park
494aae7800 Chat: Standardise sigil size and input line height
Read-only chats had a slightly bigger sigil box, looking skewed to
the left. Its copy also had a different line height than the
chat input itself, which was vertically aligned slightly higher.

This commit standardises the sigil box to 32px across both
and brings both to the same, centered vertical alignment
for the chat input and read-only notice.
2019-08-22 17:44:52 -04:00
Matilde Park
632359df7b Leave copy + root route copy
Returning underline to buttons
2019-08-21 17:54:14 -04:00
Matilde Park
3219e18019 Chat: Add pending message container and display
Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Scaffolding message pending injection

Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Reworking pending boolean logic.

Data structure changed to Map

Checking correct scope of prop, removing dev TODO

Rebase mistake.
2019-08-21 17:48:13 -04:00
Logan
da2879073b
Merge pull request #1601 from matildepark/landscape-spinner
Loading spinner moved to left alignment
2019-08-14 15:00:11 -07:00
Matilde Park
5f4b7d136e Merge upstream/master into comet-sizing 2019-08-12 09:43:01 -04:00
Matilde Park
d14f8b1db7 Spinner is left-aligned 2019-08-09 18:50:20 -04:00
Matilde Park
11985ebb31 Comet sizing fixes 2019-08-08 18:10:57 -04:00
Fang
05950770f4
Merge branch 'master' into chat-message-types 2019-08-08 15:01:00 -07:00
Matilde Park
4160ba27af Removing spellcheck from invite boxes 2019-08-02 16:58:00 -04:00
Fang
ccf1e09a75
Avoid using %tank %fats
Because tank printing is a pain. Rely instead on %text, using %name
to distinguish between intent.
2019-08-02 22:41:39 +02:00
Fang
9ce07b821f
Fix message width clamping 2019-08-02 22:07:27 +02:00
Fang
40225001de
Tighten spacing around %exp messages 2019-08-02 21:47:36 +02:00
Fang
905092aa0a
Merge branch 'master' into chat-message-types 2019-08-02 21:20:01 +02:00
Matilde Park
1f2abd8df7 Members page renovation 2019-08-02 12:58:58 -04:00
Matilde Park
c302d274c3 Don't wrap comets. 2019-08-02 12:33:28 -04:00
Matilde Park
3f55aaeb81 Ship names are in monospace 2019-08-02 12:26:47 -04:00
Matilde Park
baa9f32c68 Merge branch 'master' of github.com:matildepark/urbit into matilde-chat-css 2019-08-02 11:38:25 -04:00
Logan Allen
3bab50f453 Updated build tooling to be faster and removed unnecessary dependencies 2019-08-01 22:08:59 +00:00
Logan Allen
9610c41a80 Style updates for messages and comet sigil sizing 2019-08-01 22:08:59 +00:00
Logan Allen
b01c290f0d Added changes from landing page and @pkova's previous PR to urbit/interface 2019-08-01 22:08:59 +00:00
Matilde Park
f6eca9f09f Prevent cutting of characters with height styling 2019-08-01 17:37:21 -04:00
Fang
91d4c26516
Touch up styling of %exp messages 2019-07-31 13:51:57 +02:00
Fang
e5f0e136e9
Improve rendering of multi-line %exp messages 2019-07-31 13:35:55 +02:00
Fang
1ce3d5af7a
Support sending %exp messages 2019-07-31 13:35:25 +02:00
Fang
19e05d70e2
Render all message types in the sidebar also 2019-07-29 09:29:00 +02:00
Fang
34826d6e19
Build and render arvo:// urls correctly 2019-07-29 09:05:42 +02:00
Fang
e6f962e76e
Make input area resizable
and touch up its styling issues.
2019-07-29 02:16:11 +02:00
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