Commit Graph

968 Commits

Author SHA1 Message Date
Matilde Park
cf6ef7512f Merge branch 'lf/chat-eval-scroll' (#2815)
* origin/lf/chat-eval-scroll:
  chat-js: only show scrollbars if overflow

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-04-29 16:24:39 -04:00
Matilde Park
048de06f76 Merge branch 'mp/jank-regex' (#2813)
* origin/mp/jank-regex:
  chat: strictly match URLs in outgoing strings

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-04-29 16:24:17 -04:00
Liam Fitzgerald
a7253d4480 chat-js: only show scrollbars if overflow
Uses overflow: auto on the code attachments so that scrollbars only
appear if the content overflows the container. Adds borders on sent Hoon
code to improve visual seperation.
2020-04-28 12:56:19 +10:00
Matilde Park
5b45ad986d chat: strictly match URLs in outgoing strings
Our regex processes true, and sends a message as a URL, if any part of
the string is a URL starting with a URI schema.
We pass this function strings cut up by spaces. If a link was enclosed
in quotes, or in brackets, this would still process as true.

This adds ^ to the regex to only process strings that START with
a schema.
2020-04-27 21:16:10 -04:00
Matilde Park
e657a5514c chat: toggle code at start of input 2020-04-24 09:38:38 -04:00
Jared Tobin
0bcd971c5f
release: urbit-os-v1.0.14.rc1 2020-04-24 12:15:39 +04:00
Matilde Park
83312afb99 groups: add avatar prop to share sheet 2020-04-23 23:05:44 -04:00
Matilde Park
e64da1e79c publish: show avatars if set 2020-04-23 22:33:00 -04:00
Matilde Park
9ff8f1106a link: show avatars if set 2020-04-23 22:32:52 -04:00
Matilde Park
51b7635672 groups: show avatars if set 2020-04-23 22:32:29 -04:00
Matilde Park
7ebc09a41a chat: display avatars if set 2020-04-23 22:32:16 -04:00
Logan Allen
15404e0989 groups-js: added ability to set avatar images 2020-04-23 21:28:04 -04:00
Fang
a810468dcf
Merge pull request #2777 from urbit/ixv/publish-groupify
publish: groupify notebooks
2020-04-23 02:00:24 +02:00
matildepark
8dca42ee19
Merge pull request #2759 from liam-fitzgerald/lf/unread-title
various-fe: add unread counts to title
2020-04-22 18:40:46 -04:00
Matilde Park
0beabe2195 Merge branch 'master' into mp/sigil-foregrounding 2020-04-22 18:37:13 -04:00
matildepark
8968190e55
Merge pull request #2714 from liam-fitzgerald/lf/profile-overlay
chat: profile overlay and DMs
2020-04-22 18:32:53 -04:00
Isaac Visintainer
f46bc4b397 publish: addressed review, fixed issue with metadata 2020-04-22 15:14:24 -07:00
Liam Fitzgerald
f5d8a36df2 Merge branch 'master' into lf/profile-overlay 2020-04-23 07:49:04 +10:00
Logan
c36c5a9bd3
Merge branch 'master' into os1-avatar 2020-04-22 11:42:33 -04:00
Jared Tobin
5b9887ca19
Merge branch 'la-contact-delete-fix' (#2738)
* origin/la-contact-delete-fix:
  t groups + contacts: make removes completely clean up state
  contact-js: made channel handle onChannelError
  contact-hook: tested it, got /synced path working, and subscriptions loading
  contacts: fix group deletion and do some quality of life fixes

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-22 14:04:19 +04:00
Jared Tobin
d79d216ad2
Merge branch 'mp/publish/numbered-list-line-height' (#2775)
* origin/mp/publish/numbered-list-line-height:
  publish: set font size for ordered lists
  publish: change line-height on numbered lists

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-22 14:03:13 +04:00
Liam Fitzgerald
c16b711278 chat-js: correct overlay reflow and review comments 2020-04-22 15:03:19 +10:00
Liam Fitzgerald
8277802027 chat-js: lint changed files 2020-04-22 13:46:03 +10:00
Liam Fitzgerald
8e028ad255 Merge branch 'master' into lf/profile-overlay 2020-04-22 13:39:00 +10:00
Matilde Park
707bedc2b4 publish: set font size for ordered lists 2020-04-21 19:36:30 -04:00
Isaac Visintainer
a29aa2d01a publish: add groupify frontend 2020-04-21 14:34:45 -07:00
Isaac Visintainer
5a771157c5 publish: fix edit-book reducer 2020-04-21 14:34:45 -07:00
Logan Allen
2f7e8fd811 contacts: added "url" avatar support and finished "octet" avatar
fetching support
2020-04-21 15:29:47 -04:00
Matilde Park
bcde27a7ff publish: change line-height on numbered lists 2020-04-21 15:05:48 -04:00
Logan Allen
6d4a694aeb t groups + contacts: make removes completely clean up state 2020-04-21 15:00:43 -04:00
Matilde Park
fa35038c2b groups: lint contact-card.js 2020-04-21 14:57:26 -04:00
Matilde Park
68961c484c groups: restrict sigil color input to 6 hex chars 2020-04-21 14:56:45 -04:00
Matilde Park
0e357373c0 chat: lint chat-input.js 2020-04-21 14:31:32 -04:00
Matilde Park
de077ffb47 chat: set code toggle only at start of input 2020-04-21 14:30:28 -04:00
Liam Fitzgerald
3ded8c9f68 chat-fe: add backlog loading indicator
Adds a backlog loading indicator that displays when we have not yet
received the backlog from the host.
2020-04-21 19:38:30 +10:00
Jared Tobin
995b92650e
Merge branch 'lf/unread-day-indicators' (#2768)
* origin/lf/unread-day-indicators:
  chat-fe: fix unreadnotice position on mobile
  chat-fe: add unread and day indicators

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:07:25 +04:00
Jared Tobin
bee001de26
Merge branch 'lf/contacts-separate-user' (#2766)
* origin/lf/contacts-separate-user:
  groups-js: seperate user's ship from rest of contacts

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:06:49 +04:00
Jared Tobin
358aa5025f
Merge branch 'liam-fitzgerald/lf/chat-markdown-input' (#2756)
* liam-fitzgerald/lf/chat-markdown-input:
  chat-js: revive # prefix for code messages
  chat-js: toggle code editor on icon click
  chat-js: disabled block level elements in messages
  chat-js: render markdown in messages
  chat-js: use CodeMirror for chat input
  chat-js: add CodeMirror dependency

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:06:18 +04:00
Jared Tobin
a9d10a5471
Merge branch 'liam-fitzgerald/lf/publish-del-edit' (#2734)
* liam-fitzgerald/lf/publish-del-edit:
  chat-fe: move cancel button below comment edit
  publish-js: lift editing state to comment list
  publish: fix check on edit-comment delta
  publish-js: avoid unnecessary scrollbars on note view
  publish-js: allow deletion and editing of comments
  publish: use @tas for comment ref in marks

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:05:57 +04:00
Liam Fitzgerald
2cec3c4e90 chat-fe: fix unreadnotice position on mobile 2020-04-21 16:58:30 +10:00
Liam Fitzgerald
0fc12b1456 Merge branch 'master' into lf/unread-day-indicators 2020-04-21 15:56:38 +10:00
Liam Fitzgerald
8697c06a7c chat-fe: fix overlay on FF and address review comments 2020-04-21 15:18:08 +10:00
Liam Fitzgerald
b29e98ec10 Merge branch 'master' into lf/profile-overlay 2020-04-21 15:11:02 +10:00
Liam Fitzgerald
4083af515e Merge branch 'master' into lf/chat-markdown-input 2020-04-21 13:56:30 +10:00
Jared Tobin
39c707e596
Merge branch 'ed/chore-update-contributing' (#2380)
* origin/ed/chore-update-contributing:
  contributing.md: removed interface dev instructions from root-level doc, integrated into existing interface-specific doc
  contributing.md: added more pre-req detail to the beginning of the edit
  contributing.md: Added a new section outlining how to develop urbit's interface

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-20 13:17:27 +04:00
Jared Tobin
8306560a89
Merge branch 'liam-fitzgerald/mp/chat/firefox-take-2' (#2733)
* liam-fitzgerald/mp/chat/firefox-take-2:
  chat-fe: more FF scrollback fixes
  chat-fe: fix index issue with pending messages
  chat-fe: correct FF scroll behaviour
  chat: scrollToBottom on mount for FF
  chat: only scrolltobottom if first backlog grab
  chat: add firefox-specific chat window

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-20 12:41:51 +04:00
Jared Tobin
a2eaec6d6f
Merge branch 'm/link-perf' (#2728)
* origin/m/link-perf:
  link-listen-hook: partially revert 05e6519
  link fe: refactor message display into component
  link fe: more informative "empty list" display
  link-view: in pagination logic, only +lent once
  link: minimal initial view result
  link-view: add some hints to aid profiling

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-20 12:40:58 +04:00
Liam Fitzgerald
f10bf3c894 chat-fe: add unread and day indicators 2020-04-19 02:23:32 +10:00
Liam Fitzgerald
95edde5d27 groups-js: seperate user's ship from rest of contacts 2020-04-18 21:17:47 +10:00
Liam Fitzgerald
4d118ce6c4 chat-js: revive # prefix for code messages 2020-04-18 15:10:19 +10:00