Commit Graph

3713 Commits

Author SHA1 Message Date
fang
1eb4f350e8
webterm: improve container handling
Properly pass as dependency, give more correct type.
2021-06-22 22:36:34 +02:00
fang
c7a714cd02
webterm: factor logic out into functions
Moves a lot of the core logic around input and output handling into
functions outside of the TermApp component, operating on a passed-in
Terminal object instead of pulling that from state.
2021-06-22 20:21:26 +02:00
fang
8cc8139243
webterm: more idiomatic array type definitions 2021-06-22 17:11:24 +02:00
fang
cc4a6f6f37
webterm: clean up react/state dependencies logic
Changes here ensure we no longer work with stale data in our functions
and callbacks, and have easier access to the currently selected session.

Special thanks to @tylershuster for most of the improvements herein!
2021-05-18 20:20:01 +02:00
fang
719ff8b442
Merge branch 'master' into m/next-gen-term
Notably includes some changes to webterm's app.tsx that are required to
keep it functioning correctly. As of yet unclear why exactly this is
necessary, presumably hook shenanigans triggered by recent-ish changes.
2021-05-15 00:21:06 +02:00
Liam Fitzgerald
d0bba3aea5
OmniboxResult: fix arg order 2021-05-11 12:35:14 +10:00
Liam Fitzgerald
73e32f816c
Merge remote-tracking branch 'origin/release/next-userspace' 2021-05-11 11:07:17 +10:00
Matilde Park
e74ffa9904 interface: package audit 2021-05-10 20:30:31 -04:00
Matilde Park
740a6efe72 interface: stringify number prop
0 is falsy.
2021-05-10 20:25:57 -04:00
Matilde Park
05e3d4c75c Merge branch 'release/next-js' into tbcs/typescript-cleanup 2021-05-10 20:20:13 -04:00
matildepark
116fefa39f
Merge pull request #4887 from urbit/lf/tokenize-fix
interface: fix omnibus
2021-05-10 19:20:56 -04:00
matildepark
faf643adaf
Merge pull request #4886 from urbit/lf/graphdown-fixes
GraphContent: rendering fixes
2021-05-10 19:19:44 -04:00
James Acklin
80cf0bef4c links: remove stray semicolon 2021-05-10 18:42:07 -04:00
Matilde Park
d4c4db1ec5 Merge branch 'release/next-js' into release/next-userspace 2021-05-10 12:27:12 -04:00
Tyler Brown Cifu Shuster
7001bf1f13 Merge branch 'release/next-js' of https://github.com/urbit/urbit into tbcs/typescript-cleanup 2021-05-10 07:36:36 -07:00
Tyler Brown Cifu Shuster
9471ce0815 hover 2021-05-10 07:36:07 -07:00
James Acklin
77db4fe51b permalinks: add group peer space 2021-05-10 08:35:32 -04:00
Liam Fitzgerald
534fc97d0f
notifications: key notifications correctly
Fixes urbit/landscape#832
2021-05-10 15:11:11 +10:00
Liam Fitzgerald
61582108a4
DeleteGroup: fix copy
Fixes urbit/landscape#447
2021-05-10 15:02:37 +10:00
Liam Fitzgerald
840c3bfb98
NewGroup: fix redirect 2021-05-10 14:52:40 +10:00
Liam Fitzgerald
bb03b6f278
Invite: allow dismissal of join request
Fixes urbit/landscape#782
2021-05-10 14:51:02 +10:00
Liam Fitzgerald
edf6456d6c
tokenizeMessage: fix URLs inside inline codeblocks
Fixes urbit/landscape#699
2021-05-10 14:38:23 +10:00
Liam Fitzgerald
8ff050dd9a
ChatMessage: reposition timestamp 2021-05-10 14:28:06 +10:00
Liam Fitzgerald
825cc6ec1c
interface: update package-lock.json 2021-05-10 13:09:33 +10:00
Liam Fitzgerald
47210c63ed
GraphContent: make links inline 2021-05-10 12:14:05 +10:00
Liam Fitzgerald
13285f03f7
GraphContent: disable nested blockquotes, preserve newlines, fix line-height 2021-05-10 11:57:45 +10:00
Liam Fitzgerald
fde77ce5f9
GraphContent: disable parsing of inline html and newlines 2021-05-10 11:57:07 +10:00
James Acklin
54577785d6 permalinks: avoid empty blocks for nested same-resource embeds 2021-05-09 20:34:21 -04:00
James Acklin
0fb7360ffa permalinks: correct grammar for GroupLink peer/peers 2021-05-09 20:33:50 -04:00
matildepark
00e2dbe4f4
Merge pull request #4884 from urbit/james/world-privacy
groups: World Privacy icon fix
2021-05-09 15:24:48 -04:00
James Acklin
e53d2360ec
groups: World Privacy icon fix
Although the bug was poetic, this makes the icon in GroupLink aware of the group's hidden status and surfaces a lock icon in those cases instead of the "public" globe icon.
2021-05-09 13:49:25 -04:00
édouard
79b0dccf3f
Merge branch 'release/next-js' into ed/create-channel-icon-fix 2021-05-09 13:36:11 -04:00
édouard
bb0f988270 new channel: fix dead icon for "notebooks"
Renamed the Icon ref from "notebook" to "publish", to fix the dead icon being rendered
2021-05-09 13:34:45 -04:00
Tyler Brown Cifu Shuster
40bc76e8d1 Merge branch 'release/next-js' of https://github.com/urbit/urbit into tbcs/typescript-cleanup 2021-05-09 08:35:39 -07:00
Tyler Brown Cifu Shuster
1a3bbe4ec9 interface: cleaning up typescript errors 2021-05-09 08:31:39 -07:00
Matilde Park
815d565e07 GraphContent: prevent grid blowout 2021-05-08 12:39:44 -04:00
matildepark
b42553ed24
Merge pull request #4878 from urbit/james/deleted-chat-ref
permalinks: style deleted chat reference
2021-05-07 18:03:24 -04:00
James Acklin
75ae730f49 permalink: correct spacing for PermalinkDetails 2021-05-07 14:54:19 -04:00
James Acklin
ce2e8434e6 permalinks: replace non-associative references with group name 2021-05-07 14:48:09 -04:00
James Acklin
ffe948d945 permalinks: re-enable channel-specific deletion notices 2021-05-07 14:11:14 -04:00
James Acklin
9a5836baf4 permalinks: present error for unavailable references 2021-05-07 13:41:11 -04:00
James Acklin
6d4bbe2517 permalinks: style deleted chat reference 2021-05-07 13:20:45 -04:00
Matilde Park
4024707b5a embed: nullish coalesce destructure 2021-05-07 12:31:30 -04:00
Matilde Park
364c30b6bb permalinks: navigate on-click
Fixes urbit/landscape#859
2021-05-07 12:23:52 -04:00
matildepark
e84aab0bd8
Merge pull request #4857 from urbit/james/transclusion-polish
permalinks: appearance uniformity tweaks
2021-05-07 10:41:35 -04:00
James Acklin
498b39894e permalinks: deleted reference messages
fixes urbit/landscape#759
2021-05-07 10:07:18 -04:00
matildepark
f32caa87c1
Merge pull request #4875 from urbit/lf/snippets
publish: fix snippet generation
2021-05-07 01:18:43 -04:00
Liam Fitzgerald
7d42afd423
publish: fix snippet generation
Fixes urbit/landscape#853
2021-05-07 13:06:36 +10:00
James Acklin
ff4406a362 Merge remote-tracking branch 'origin/release/next-js' into james/transclusion-polish 2021-05-06 18:16:21 -04:00
Logan Allen
4aba08d8fd interface: links should render even when a link is not deleted 2021-05-06 14:03:12 -05:00