Commit Graph

1461 Commits

Author SHA1 Message Date
matildepark
a40d8c0f92
Merge pull request #3130 from urbit/lf/base-hash
interface: show base hash
2020-07-15 20:31:14 -04:00
Liam Fitzgerald
79efb611da interface: move base hash to corner of launch
Fixes #2699
2020-07-16 10:20:08 +10:00
Liam Fitzgerald
1330ff6fe3 interface: address review comments and don't timeout channels 2020-07-16 09:32:11 +10:00
Matilde Park
815d9e043c interface: add babel-transform-runtime
Fixes #3132. Prior to this, we hit errors due to Babel not being able
to transform async functions for browsers.
2020-07-15 16:42:56 -04:00
Matilde Park
e1e72fdbd1 links, publish: remove create group toggle 2020-07-15 16:29:24 -04:00
Matilde Park
fdf9826b05 chat: restore shortcode links to groups 2020-07-15 16:16:08 -04:00
Matilde Park
3c52579708 interface: remove shortcodes for all but groups 2020-07-15 16:01:05 -04:00
Matilde Park
4394657e32 publish: remove 'join notebook' link 2020-07-15 15:48:50 -04:00
Matilde Park
d36de14088 launch: welcome message points to urbit community 2020-07-15 15:48:38 -04:00
Matilde Park
5e5feeed34 groups: fix autojoin via URL
The view was missing props.
2020-07-15 15:48:18 -04:00
Matilde Park
f82a464719 chat: UX overhaul for new groups
Removes public unmanaged chats, allows group DMs.

Renames variables that only made sense during sig-prepended unmanaged
paths usage.
2020-07-15 15:34:54 -04:00
Matilde Park
3f29e98918 invite-search: shipResults filters all ships
shipResults would remove the ability to search through contacts, but it
would still produce a ship if it was a valid patp with no results --
even for group-only search contexts.
2020-07-15 13:59:36 -04:00
matildepark
6f065df353
Merge pull request #3128 from crrncllns/patch-1
Update welcome.js
2020-07-15 12:55:03 -04:00
Liam Fitzgerald
5ba1027a90 interface: document HMR 2020-07-15 15:15:41 +10:00
Liam Fitzgerald
09375d311d interface: add HMR to webserver config 2020-07-15 15:04:14 +10:00
Liam Fitzgerald
56c3b78f69 interface: show base hash in StatusBar 2020-07-15 14:48:17 +10:00
crrncllns
03c61f7b7e
Update welcome.js
Add oxford comma
2020-07-14 15:04:41 -07:00
ryjm
42b273527a chat, groups: update module name, fix perms 2020-07-14 17:10:02 -04:00
Matilde Park
9ddf035238 interface: add hot reloading dev server config 2020-07-14 17:03:55 -04:00
Liam Fitzgerald
7398306858 chat-js: check for association in unreads count
Ensure chat has association so that we don't show chats from groups that
we are no longer in.

Fixes #2818
2020-07-14 11:42:07 +10:00
Liam Fitzgerald
06c58764af chat-js: fix unread key issues in ChatScreen 2020-07-14 10:36:22 +10:00
Liam Fitzgerald
701620af1d Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-14 09:50:27 +10:00
Logan Allen
9da7ed9042 Merge branch 'lf/groups-refactor' into la/graph-store 2020-07-08 15:42:29 -04:00
Logan Allen
4cd093df1a js: removed demo post UI 2020-07-08 15:29:28 -04:00
Logan Allen
106119a9ba Merge branch 'la/ordered-map-subset' into la/graph-store 2020-07-08 15:17:55 -04:00
matildepark
e9c97f1928
Merge pull request #3106 from urbit/mp/reorder-unreads
interface: reorder unread counts
2020-07-08 11:14:14 -04:00
Matilde Park
297578cd80 interface: reorder unread counts
Moves the unread counts to the front.
2020-07-07 23:51:58 -04:00
Matilde Park
8b99611910 chat: profile overlay links to group profile
Closes #2623.
2020-07-07 23:21:36 -04:00
Liam Fitzgerald
6b00c9864e interface: dynamically switch indigo-react theme 2020-07-08 12:12:25 +10:00
Liam Fitzgerald
28c35d8715 groups: move adding owner to backend 2020-07-08 11:17:24 +10:00
Liam Fitzgerald
e1c745fdb9 chat: correct group-path handling for DM 2020-07-08 11:13:39 +10:00
Liam Fitzgerald
08173cfc49 interface: remove leading sig checks for groups
Some sig checks have been left in as contacts still uses this paradigm
2020-07-08 11:13:17 +10:00
Liam Fitzgerald
76bc3d82e1 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-08 10:04:02 +10:00
Matilde Park
4b32987b8a group-filter: specify local api for all cases
Fixes #3096. During the migration to global store, the API became
structured such that you must specify the local (app-specific) API.
Some cases were missed. This includes them.
2020-07-06 16:55:57 -04:00
Logan Allen
a7cbecc0e2 Merge branch 'lf/groups-refactor' into la/graph-store 2020-07-06 15:02:20 -04:00
Liam Fitzgerald
0265ddc3ca chat: fix sigil overlay perf issue
Changes the sigil overlay to only start checking for its position when it
becomes visible.

Fixes: #3055
2020-07-02 13:49:06 +10:00
Liam Fitzgerald
8d308b2458 groups: cleanup merge errors 2020-07-02 13:08:47 +10:00
Liam Fitzgerald
93cf40a604 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-02 12:38:12 +10:00
Liam Fitzgerald
7686f850dc interface: fix tsc errors 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
da6d653465 link-js: update for new group-store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
93a5dc0400 publish-js: update frontend for new group-store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
7d3a7a166b chat-js: update frontend for new group-store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
2bf1969312 groups-js: update frontend for new group store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
26c610f8d2 interface: update store + api + subscriptions for new groups 2020-07-02 12:19:32 +10:00
matildepark
ef562e5008
Merge pull request #3066 from urbit/m/webm-not-img
chat fe: don't embed webms as images
2020-06-30 10:49:01 -04:00
Matilde Park
16f2f7bc59 Merge branch 'master' into release/next-userspace 2020-06-29 23:53:29 -04:00
matildepark
0de4bdb3bb
Merge pull request #3031 from urbit/lf/links-unread
links: fix unread counts
2020-06-29 23:26:13 -04:00
Matilde Park
9686f3483a interface: update production build for typescript 2020-06-29 22:48:17 -04:00
Matilde Park
12dfdbc2a6 spa: restore previous line-height, padding
Fixes #3053.
2020-06-29 21:59:48 -04:00
Fang
ad4e2c0c9d
chat fe: don't embed webms as images 2020-06-30 01:19:44 +02:00
Philip Monk
0301838f25
Merge remote-tracking branch 'origin/release/next-sys' into ford-fusion 2020-06-26 17:46:25 -07:00
Logan Allen
cb9dcb726f interface: perf tests for chat 2020-06-26 14:39:49 -04:00
Ted Blackman
26ff47b93d Merge remote-tracking branch 'origin/release/next-userspace' into ford-fusion 2020-06-25 22:24:30 -04:00
Liam Fitzgerald
f27037d2de links: filter unread count on selected groups 2020-06-26 12:03:52 +10:00
Liam Fitzgerald
9aa4d96fb5 chat: refine image scaling 2020-06-26 12:03:52 +10:00
Liam Fitzgerald
48ae088bbd links-js: calculate header unread count correctly 2020-06-26 12:03:52 +10:00
Logan Allen
abcd6ab7dd publish: perf testing added 2020-06-24 16:37:29 -04:00
Logan Allen
b19250a640 post: removed extraneous console.logs 2020-06-24 14:38:01 -04:00
Logan Allen
f1b10f2a07 graph-store: sort graph with most recent at left of graph (gth) 2020-06-24 14:13:15 -04:00
Logan Allen
8707816d25 post: refactored post-input into input and editor 2020-06-24 14:02:22 -04:00
Logan Allen
5b68df5e3d post: cleaned up Post and Post Content rendering 2020-06-24 13:21:53 -04:00
Logan Allen
d121af0194 post: cleaned up main post window, added pagination 2020-06-24 12:44:55 -04:00
matildepark
77925b06be
Merge pull request #3048 from urbit/mp/spa-debug-debug
dbug: init new channel on start
2020-06-24 12:01:20 -04:00
Matilde Park
67a09d7d19 dbug: init new channel on start 2020-06-23 21:46:20 -04:00
Liam Fitzgerald
98f9dddebe Merge branch 'release/next-userspace' into lf/ts-global-store 2020-06-24 11:16:44 +10:00
Liam Fitzgerald
5bcbfe25a4 contacts-js: dismiss spinner on share 2020-06-24 11:11:13 +10:00
ixv
3d27c63a21
Merge pull request #3042 from urbit/mp/publish/restore-edits
publish: edit post content no longer tied to api
2020-06-23 17:51:17 -07:00
Logan Allen
2fb93c500b interface: removed chat tabbar, made js send %json mark to graph-view 2020-06-23 14:09:06 -04:00
Logan Allen
a2ad5a450d interface: removed graph-chat experiment, moved graph-post -> post 2020-06-23 14:01:04 -04:00
Logan Allen
fd632b26ae graph-post: demo works 2020-06-23 14:01:04 -04:00
Logan Allen
d1a9db2599 graph-post: fixed infinite nested reply functionality and added back navigation 2020-06-23 14:01:04 -04:00
Logan Allen
f056e0c9fa graph-api: send all pokes to %graph-view 2020-06-23 14:01:04 -04:00
Logan Allen
289e0b2aba graph-post: updated reducers and node tree 2020-06-23 14:01:04 -04:00
Logan Allen
6766e1818d graph-js: recursive js reducer 2020-06-23 14:01:04 -04:00
Logan Allen
6609a25b37 graph-post-js: starting work on recursive reducer 2020-06-23 14:01:04 -04:00
Logan Allen
858864fb48 graph-js: got chat view working 2020-06-23 14:01:04 -04:00
Logan Allen
93af2762ff js: built out most of chat front-end to graph-store 2020-06-23 14:01:04 -04:00
Logan Allen
dd75717871 js: tore apart graph-chat to simplify it for demo 2020-06-23 14:01:04 -04:00
Logan Allen
5b7a23ca30 js: added minimal graph-store reducer 2020-06-23 14:01:04 -04:00
Logan Allen
7d74d1870f graph-js: added demo fetch api / subscription objs 2020-06-23 14:01:04 -04:00
Logan Allen
2e5bbd7423 wip: graph-store JS api 2020-06-23 14:00:15 -04:00
Matilde Park
42adb02b6b groups: fix broken image upload src 2020-06-22 22:38:21 -04:00
Matilde Park
ceff9626c5 publish: edit post content no longer tied to api
The component for editing a post was tied up in checking for API
instantiation -- we want the check for a blank body to be independent
of that.

Fixes #3040.
2020-06-22 22:36:39 -04:00
Liam Fitzgerald
292c5625e3 interface: always show sidebar on nav 2020-06-23 11:05:31 +10:00
Liam Fitzgerald
555857513a launch-js: update to global store 2020-06-23 10:19:57 +10:00
Liam Fitzgerald
7be0831f39 Merge branch 'release/next-userspace' into lf/ts-global-store 2020-06-23 09:33:47 +10:00
matildepark
7fd2ead858
Merge pull request #3037 from urbit/lf/reconnect-fix
interface: correct order of arguments in resubscribe logic
2020-06-22 10:26:40 -04:00
Matilde Park
5ad03868b2 Merge branch 'master' into release/next-userspace 2020-06-22 10:24:34 -04:00
Liam Fitzgerald
535f415ebd chat-js: update to global store 2020-06-22 16:05:43 +10:00
Liam Fitzgerald
85aa12a5a9 contacts-js: update to global store 2020-06-22 16:04:21 +10:00
Liam Fitzgerald
3a3a6ab254 publish-js: update to global store 2020-06-22 15:40:43 +10:00
Liam Fitzgerald
076e52c27e links-js: update to global store 2020-06-22 15:15:46 +10:00
Liam Fitzgerald
60ff310422 interface: make store global 2020-06-22 14:59:02 +10:00
Liam Fitzgerald
4dfce2a757 interface: correct order of arguments in resubscribe logic 2020-06-20 21:26:44 +10:00
Liam Fitzgerald
05b665f908 interface: convert api and reducers to typescript 2020-06-20 14:49:18 +10:00
Philip Monk
6ff9f75bb7
Merge remote-tracking branch 'origin/master' into ford-fusion 2020-06-19 14:52:18 -07:00
Philip Monk
7206ab6c98
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-06-18 18:50:10 -07:00
Matilde Park
506c8996d6 interface/config: fix production build 2020-06-18 18:04:30 -04:00
Matilde Park
08b4a47589 publish, links: restore full height 2020-06-17 19:13:34 -04:00
Matilde Park
35edce597b interface/CONTRIBUTING: amend for SPA / webpack 2020-06-17 17:41:12 -04:00
Matilde Park
304438009e chat: equally size both code + s3 buttons 2020-06-17 13:09:07 -04:00
Matilde Park
2fdbdccae1 Merge branch 'feat/spa' into lf/ios-spa-fixes 2020-06-17 12:56:51 -04:00
Liam Fitzgerald
81a9b0d08e chat: prevent reflow from image loading
Sets a static height on inline images in chat to prevent loss of scroll
position.

Fixes #2883
2020-06-17 16:10:46 +10:00
Liam Fitzgerald
77731f6ca0 chat: scroll on code overflow
Adds a scroll container if code is posted and the code will overflow the
width of the page.

Fixes #2829
2020-06-17 16:08:32 +10:00
Liam Fitzgerald
a2970ce929 chat: cap maximum backlog size at 1000
Caps maximum unread backlog that chat will fetch at 1000 messages.
2020-06-17 15:24:22 +10:00
Matilde Park
5757fd8f5d chat, publish: Filter unreads for current group
Fixes #2897.
2020-06-16 22:27:51 -04:00
Matilde Park
34dcc9f971 chat, links, publish: join upon api instantiation 2020-06-15 15:19:00 -04:00
Matilde Park
ef00dc71e4 group-filter: close modal on navigation 2020-06-15 12:45:02 -04:00
Logan Allen
6a49b2f20f landscape-js: clear animation timer set by clock upon page navigation 2020-06-11 16:50:44 -04:00
Logan Allen
3ba4c14deb landscape-js: make clock and weather load data properly 2020-06-11 16:44:59 -04:00
Liam Fitzgerald
c087044212 various-js: improve scrolling experience on iOS
Removes use of vh units, as they don't play well with safari
(https://bugs.webkit.org/show_bug.cgi?id=141832). Adjusts layouts
accordingly.
2020-06-10 12:46:38 +10:00
Matilde Park
10262a243f groups: align sigil color box in firefox 2020-06-09 16:48:45 -04:00
Matilde Park
b425fb6723 chat, publish: restore sidebar toggler actions 2020-06-09 16:35:55 -04:00
Matilde Park
1b28ea1345 soto: add graphical tweaks for spa 2020-06-09 16:13:56 -04:00
Matilde Park
da0d149828 publish: add contactreducer 2020-06-09 16:05:30 -04:00
Matilde Park
5481deae30 publish: raise comment input line height 2020-06-09 15:58:11 -04:00
Matilde Park
c2f655878d publish: update API actions for new arch 2020-06-09 14:42:45 -04:00
Matilde Park
3e81faeac1 publish: fix settings display overflow 2020-06-09 14:39:13 -04:00
Matilde Park
fdb1d1f849 spa: add 404 page 2020-06-09 14:22:40 -04:00
matildepark
26d4f33968
Merge pull request #2980 from urbit/lf/webpack-qol
interface: improve webpack dev config
2020-06-08 21:12:34 -04:00
Matilde Park
217e770008 chat: restore 6836135 api change 2020-06-08 15:53:53 -04:00
Matilde Park
0a79d23e27 chat: restore a7253d4 css change 2020-06-08 15:49:03 -04:00
Matilde Park
07f5e037f7 publish: fetch notebook during navigation 2020-06-05 17:34:05 -04:00
Matilde Park
90e2a94b58 spa: set page title per app correctly 2020-06-05 17:30:14 -04:00
Matilde Park
a4dd04daf0 publish: add safety checks for new back-end 2020-06-05 17:25:28 -04:00
Matilde Park
50cb14debd links: wait for api prop instantiation
Now that API is a prop, we can't use it to auto-grab data. We wait
for it as a prop before requesting info.
2020-06-05 15:43:44 -04:00
Matilde Park
24689f852d launch: prepare for weather/clock info 2020-06-05 15:43:06 -04:00
Matilde Park
ccbe110f7a Merge branch 'feat/spa' of github.com:urbit/urbit into feat/spa 2020-06-05 14:19:14 -04:00
matildepark
c9986074b7
Merge pull request #2979 from urbit/lf/publish-alignment
publish: fix store reducers
2020-06-05 14:19:00 -04:00
Matilde Park
189a8d0fe7 clock: lint 2020-06-05 13:51:20 -04:00
Matilde Park
92ca0c0468 spa: spinner component uses ~landscape img src 2020-06-05 13:12:59 -04:00
Matilde Park
c7717fdcc5 groups: group detail tiles use ~landscape imgs 2020-06-05 13:11:13 -04:00
Liam Fitzgerald
96ecfbec40 interface: improve webpack dev config
Fixes an issue where only the first ship would receive the updated files
from webpack. Enables watch mode. If herb is set to true in the urbitrc,
then webpack will commit the desk for each change on every ship.
2020-06-05 13:14:01 +10:00
Matilde Park
faa54fecd4 links: amend link-item for new line-height 2020-06-04 22:35:01 -04:00
Liam Fitzgerald
335e4479a1 publish: fix store reducers 2020-06-05 12:12:11 +10:00
Matilde Park
eae2a71835 spa: update groups app for new metadata reducer 2020-06-04 21:51:28 -04:00
Fang
b54dc7cd34
eyre, zuse: expire channels with their sessions
Associates channels with the authentication sessions that opened them,
and deletes the channel when its associated session expires.

Also updates the debug dashboard to display channel counts per session.
2020-06-05 00:22:39 +02:00
Logan Allen
8e1aeefdbb invites: fixed %initial 2020-06-04 17:39:53 -04:00
Logan Allen
7fc2d39029 chat: fix %initial response and metadata reducer 2020-06-04 17:24:28 -04:00
Matilde Park
57d6023056 spa: restoring dark mode styles 2020-06-03 22:58:40 -04:00
Logan Allen
e17c10fc74 groups-js: got api actions all working 2020-06-03 18:07:19 -04:00
Logan Allen
501fcc0481 chat-js: chat works for sending messages, making chatrooms, adding/removing members, and updating metadata 2020-06-03 18:07:19 -04:00
Fang
2f83797a07
dbug fe: add eyre logout buttons 2020-06-03 01:40:57 +02:00
ejdiv
ea960e0ee2
publish: update groupify UI 2020-06-01 20:18:29 -04:00
Matilde Park
816b31ee7a launch: add class exemptions for Dojo tile 2020-06-01 14:00:47 -04:00
Matilde Park
0b857fa70a launch: restore tile flexbox 2020-06-01 14:00:47 -04:00
Matilde Park
cf7615a642 various: remove mobile specific nav
Uses status bar instead.
2020-06-01 14:00:47 -04:00
Logan Allen
2f8c118c75 landscape-js: moved groups to this paradigm and removed console.logs. 2020-06-01 14:00:47 -04:00
Logan Allen
c88bf51b12 landscape-js: finish api/store/subscription cleanup 2020-06-01 14:00:47 -04:00
Logan Allen
fec5646229 js: reworked store/reducer patterns 2020-06-01 14:00:46 -04:00
John Franklin
63b3c1fd68 fe: center tile image of chat, groups, link, publish, and soto 2020-06-01 13:57:33 -04:00
Matilde Park
b720a6994b spa: intra-navigation uses react-router 2020-06-01 13:57:33 -04:00
Logan Allen
e859ec4520 launch: more or less up to feature parity, all api actions tested 2020-06-01 13:57:06 -04:00
Logan Allen
8d48b78cba launch-js: added launch files and made a new pattern for store/api/subscription 2020-06-01 13:57:06 -04:00
Logan Allen
8890fe5b03 js: removed old launch app 2020-06-01 13:57:06 -04:00
Matilde Park
f30b66055f groups: contact-card view is passed api prop 2020-06-01 13:57:06 -04:00
Matilde Park
db1bbebab3 spa: add global store, subscriptions, select group 2020-06-01 13:57:06 -04:00
Matilde Park
3c51d5132d publish: amend spa graphical quirks 2020-06-01 13:57:06 -04:00
Matilde Park
b7d8e8aaed publish: fetch notebooks on mount 2020-06-01 13:57:06 -04:00
Matilde Park
5bd022733b spa: migrate publish fe to new architecture 2020-06-01 13:57:06 -04:00
Matilde Park
de3f3ca246 spa: finish store, subscription, api refactors 2020-06-01 13:57:06 -04:00
Logan Allen
2494ed30aa wip: store, subscription, api refactor to clear properly 2020-06-01 13:57:06 -04:00
Matilde Park
8fc7d8cc69 spa: add channel unmount behaviours 2020-06-01 13:57:06 -04:00
Matilde Park
3a399792cb links: unread count positioned at top of item
Fixes #2833.
2020-06-01 13:57:06 -04:00
Tyler Shuster
d2c1e5b513 Add ContentType to uploaded s3 images (SPA) 2020-06-01 13:57:06 -04:00
Matilde Park
0a22b6111a publish: amend URL to Groups view
Fixes #2889.
2020-06-01 13:57:05 -04:00
Matilde Park
cadb7153c6 spa: deduplicate custom.css files 2020-06-01 13:57:05 -04:00
Matilde Park
cff36857b1 spa: add links 2020-06-01 13:57:05 -04:00
Matilde Park
a31787f874 spa: clean up extraneous oldApps files 2020-06-01 13:57:05 -04:00
Logan Allen
0a1860159d landscape-js: fixed issue introduced by master 2020-06-01 13:57:05 -04:00
Logan Allen
a0da7610ab landscape-js: integrate with new ~landscape paths 2020-06-01 13:57:05 -04:00
Logan Allen
1bbeb8d2a4 landscape: moved chat files to landscape directory and updated to use landscape SPA 2020-06-01 13:55:49 -04:00
Matilde Park
28f82e0a4d spa: resolve conflicts from rebasing on master 2020-06-01 13:54:08 -04:00
Matilde Park
f9865bdd2c spa: add groups 2020-06-01 13:54:08 -04:00
Matilde Park
bc7a071342 spa: add dojo app 2020-06-01 13:54:08 -04:00
Matilde Park
27406fe029 spa: componentise spinner, migrate all global css 2020-06-01 13:54:08 -04:00
Matilde Park
f3367c4592 chat: tweak channel item for new line-height 2020-06-01 13:54:08 -04:00
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
8d2aad0de2
dbug fe: coax searchable list key into string
includes() only works on strings, but we might pass in other types as keys.
2020-05-28 20:36:54 +02: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
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
Matilde Park
99875b2f45 various: set sigil foreground based on contrast 2020-04-17 19:27:37 -04:00
Liam Fitzgerald
535cace962 chat-js: toggle code editor on icon click
Toggles a code editor, to enable sending of 'code' type messages. 'me'
type messages are now sent by beginning a message with /me.
2020-04-17 21:46:17 +10:00
Liam Fitzgerald
11e69b7bd0 chat-js: disabled block level elements in messages 2020-04-17 21:13:58 +10:00
Liam Fitzgerald
63fc6ed513 various-fe: add unread counts to title 2020-04-17 16:51:51 +10:00
Liam Fitzgerald
5fbe955874 chat-fe: more FF scrollback fixes 2020-04-17 15:17:52 +10:00
Liam Fitzgerald
1b90328f39 chat-fe: fix index issue with pending messages
To produce message elements we iterate over pendingMessage ++ messages,
but to check whether they're adjacent to a message by the same author,
we index back into messages, which produces incorrect results when
pendingMessages is nonEmpty
2020-04-17 14:20:28 +10:00
Liam Fitzgerald
41be649764 Merge branch 'master' into mp/chat/firefox-take-2 2020-04-17 12:06:34 +10:00