Commit Graph

1083 Commits

Author SHA1 Message Date
Matilde Park
6dc7d59676 spa: stubbing global api, statusbar design fix 2020-06-01 13:54:08 -04:00
Gavin
cde1885961 fix overflow 2020-06-01 13:54:08 -04:00
Gavin
dac0bf21b3 fix codepen chatbox css, layout 2020-06-01 13:54:08 -04:00
Matilde Park
5b7b33efab spa: import chat 2020-06-01 13:54:08 -04:00
Matilde Park
8794ef4f9e add remark-disable-tokenizers 2020-06-01 13:54:08 -04:00
Gavin
29aeecfc71 webpack with css importer 2020-06-01 13:54:08 -04:00
Gavin
f449b19398 missed some files 2020-06-01 13:54:08 -04:00
Gavin
224ba83b32 more scaffolding 2020-06-01 13:54:08 -04:00
Gavin
643053433c update oldApps, attempt importing api, store and reducers in Chat 2020-06-01 13:54:08 -04:00
Gavin
92865c75e4 webpack, spa arch, chat routes 2020-06-01 13:54:08 -04:00
Gavin
32ade37fc6 indigo dep, namedimports 2020-06-01 13:54:08 -04:00
Fang
309d30a0c8
dbug: support more eyre scries 2020-05-22 23:57:41 +02:00
Fang
8ab1098a1c
dbug fe: render result count alongside list filter 2020-05-22 23:53:23 +02:00
Fang
5877ed4cb2
dbug fe: clean up unneeded console logs 2020-05-21 18:12:24 +02:00
Fang
6ae326470a
dbug fe: separate list query term with space
Allows searching for multiple parts of the item key separately,
returning only items that match all.
2020-05-21 18:03:56 +02:00
Fang
d218541e4f
dbug fe: include "active" in active ames flow keys
Also adds more clear visual "snd" and "rcv" distinction.
2020-05-21 17:58:39 +02:00
Fang
826b27df53
dbug: separate flows by forward & backward
Instead of send and receive.
2020-05-21 00:59:31 +02:00
Fang
f96c83a4a9
spider, debug fe: actually support killing threads 2020-05-20 22:35:53 +02:00
Fang
da4274d490
dbug: allow custom state queries
Try to give state version number on first load. Run custom queries on
demand, similar to +dbug [%state 'whatever'].
2020-05-20 22:34:13 +02:00
Fang
c3704f0198
dbug fe: add refresh buttons 2020-05-19 23:42:48 +02:00
Fang
c530c39617
dbug fe: remember summary fold state correctly
By manually providing a key, we avoid auto-assigned keys, which would
cause the nth summary item to remain unfolded, even if its contents
changed.
2020-05-19 22:53:24 +02:00
Fang
c6aae3cc05
dbug fe: import MessageScreen correctly 2020-05-14 17:59:47 +02:00
Fang
0d5f4214c0
dbug fe: restore missing subscriptions component 2020-05-14 17:24:03 +02:00
Fang
98f3fa1171
dbug fe: remove unused imports 2020-05-14 17:12:42 +02:00
Fang
fe2e3861bb
dbug fe: include missing component 2020-05-11 20:37:52 +02:00
Fang
cd031858b6
dbug fe: remove unused imports 2020-05-11 20:37:06 +02:00
Fang
959884c9cd
dbug: implement debug dashboard 2020-05-08 14:58:40 +02:00
Isaac Visintainer
734e643eb7 release: urbit-os-v1.0.15 2020-05-05 19:32:08 -06:00
ixv
0c57e65b38
Merge pull request #2846 from sigilante/master
Add SVG support to img tags in Chat.
2020-05-05 17:59:45 -07:00
ixv
277debf710
Merge pull request #2842 from urbit/mp/chat/message-fixing
chat: message input fixes
2020-05-05 17:59:07 -07:00
ixv
06f44ab9f1
Merge pull request #2825 from urbit/lf/chat-bottom-scroll
chat-js: fix scrolling and unread behaviour
2020-05-05 17:58:42 -07:00
matildepark
ebbb3c8349
Merge pull request #2841 from urbit/lf/groups-kick-fix
groups: fix self destruct on kick
2020-05-05 17:03:08 -04:00
Liam Fitzgerald
6fb41209cd chat: fix ship search not wrapping correctly
fixes #2832
2020-05-05 16:17:45 +10:00
Liam Fitzgerald
23eb4acc37 Merge branch 'master' into lf/chat-bottom-scroll 2020-05-05 16:13:36 +10:00
Matilde Park
8c3e2cff92 Merge branch 'lf/chat-new-dm-race' (#2823)
* origin/lf/chat-new-dm-race:
  chat-js: fix race condition in new-dm flow

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-05-04 20:48:50 -04:00
Sigilante
596e8f7906
Add SVG. 2020-05-04 14:23:24 -05:00
Matilde Park
60db7d06c7 chat: amend codeeval asset for graphical tweak
The inverted CodeEval png would have noticable inverted borders,
so we now render the border using css and tweak its colouring as
necessary.
2020-05-04 13:30:30 -04:00
Matilde Park
6a10987602 chat: toggle input out of code mode after sending
Closes #2836. Code input would stick after sending a code message, so we
now toggle out of it if we were in it, on enter.
2020-05-04 13:29:47 -04:00
Matilde Park
40378d2b79 chat: require and remove leading space for /me
Closes #2834. Previously, starting a message with '/me' removed itself,
retaining the space between it and the message itself; it also allowed
"/memessages" to be processed as /me messages.
2020-05-04 12:41:06 -04:00
matildepark
03d80b8c63
Merge pull request #2800 from urbit/avatar-s3
Minimal S3 support
2020-05-03 22:12:32 -04:00
Liam Fitzgerald
774f7f53f0 contacts-js: handle remove of contact correctly
the remove functionality in contact-card.js incorrectly assumed that we
are always removing ourselves from the group.

Fixes #2816
2020-05-02 14:08:24 +10:00
Logan Allen
c8e972aa4e chat-js: updated codeeval.png, margin, and size of icons 2020-05-01 19:08:36 -04:00
Liam Fitzgerald
1167699ae6 chat-js: refactor unread message fetch 2020-04-30 13:08:38 +10:00
Liam Fitzgerald
bdec28c541 chat-js: load all unreads and autoread on activity
if the number of unread messages is larger that the number we are going
to load, then load enough messages to display the unread marker.
Additionally, only automatically read a message if the user has been
active in the last minute. Freeze scroll position on inactivity.  Also
unconditionally scroll to the bottom upon sending your own message.
2020-04-30 11:47:15 +10:00
Matilde Park
e7d05988d3 Merge branch 'mp/chat/pending-reordering' (#2824)
* origin/mp/chat/pending-reordering:
  chat: prepend new pending messages, not append

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-04-29 16:28:52 -04:00
Matilde Park
34b234b652 Merge branch 'master' into mp/chat/input-autofocus 2020-04-29 16:27:29 -04:00
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
17e1dd8362 chat-js: update read on initialisation 2020-04-29 13:37:58 +10:00
Liam Fitzgerald
eb6b50e0ca chat-js: truncate nicknames in autocomplete 2020-04-29 13:29:09 +10:00
Liam Fitzgerald
e96bd35f81 various-js: pass props.size into flexBasis for sigil
Fixes #2817
2020-04-29 12:51:13 +10:00
Liam Fitzgerald
ae0e5025ad chat-js: fix race condition in new-dm flow
Creating a new DM might redirect the user to the chat before it is
actually created. Fixed by waiting for confirmation before redirecting.

Fixes #2792
2020-04-29 10:14:13 +10:00
Matilde Park
6836135b71 chat: prepend new pending messages, not append 2020-04-28 20:13:09 -04:00
Matilde Park
5487e48ca2 chat: autofocus input on desktop 2020-04-28 19:46:10 -04:00
Liam Fitzgerald
77925a4580 chat-js: fix unread indicators on small screens
fixes #2804
2020-04-28 17:08:27 +10:00
Liam Fitzgerald
fc1518dc08 chat-js: fix behaviour of unread markers
Fixes #2797
2020-04-28 17:08:27 +10:00
Liam Fitzgerald
9b0a4c095e chat-js: fix scrolling to bottom
fixes: #2778
fixes: #2782
2020-04-28 17:08:23 +10: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
Logan Allen
9b4f070f3e s3: style cleanup, response to comments 2020-04-27 15:31:04 -04:00
Logan Allen
d2e2590cce chat-js: implemented S3 image upload 2020-04-27 15:02:48 -04:00
Logan Allen
7beb575551 groups: fixed error states and visual styling around image upload 2020-04-27 14:47:55 -04:00
Logan Allen
ce1f7c957b s3-js: got upload working successfully, required CORS * and Headers * and public-read ACL 2020-04-24 12:19:01 -04:00
Logan Allen
ff313fb720 groups-js: initial s3 work 2020-04-24 12:19:01 -04:00
Logan Allen
285f0bd5e3 s3: integrated with store and reducers 2020-04-24 12:19:01 -04:00
Logan Allen
877ae66169 s3.js: switched from putObject to upload for better handling of large files 2020-04-24 12:19:01 -04:00
Logan Allen
38f65474e3 s3: made S3 upload API coherent 2020-04-24 12:19:01 -04:00
Logan Allen
ab3a759ce2 s3-store: poke functionality, updated credentials, added generators 2020-04-24 12:19:01 -04:00
Logan Allen
daf32fd0f9 s3-store: initial commit 2020-04-24 12:19:01 -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