Commit Graph

9626 Commits

Author SHA1 Message Date
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
288c2121d1
kh: respect slog priority
When printing slogs, if priority is greater than zero, prefix with '>'
characters, and adjust the slog color.
2021-06-17 23:49:45 +02:00
fang
eadd7aad01
kh: rewrite hijack to guarantee lojacking
No longer allow lojack to be called independently, instead requiring
logic to be inserted between hi- and lojack's io.
2021-06-17 23:49:44 +02:00
fang
addcf42468
kh: improve code style
Removes superfluous parens, makes better use of pattern matching, and
respects project-wide capitalization style.
2021-06-17 23:49:44 +02:00
fang
b3964c97a6
kh: implement null check correctly 2021-06-17 23:49:43 +02:00
fang
ddf579bd75
kh: fail to parse invalid belts
Previously we would allow the tags that were added Haskell-side for
union type syntax. Now we explicitly reject those before falling back
to the auto-generated noun parsing logic.
2021-06-17 23:49:42 +02:00
fang
0f6c3c05cd
term: best-effort compatibility with old blits
Render old %lin and %mor blits, for backwards compatibility with old
dill.
2021-05-27 20:26:12 +02:00
fang
c3502a4a6f
herm: use /$ to keep mark conversions cached
Instead of hand-rolling logic to keep these warm.
2021-05-19 16:16:56 +02:00
fang
fa723b48f8
dill: ensure terminal app is started
When opening a new session, start the specified terminal app, if it
hadn't been already.
2021-05-19 16:01:03 +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
9f792180ed
glob: update to 0v4.vrvkt.4gcnm.dgg5o.e73d6.kqnaq 2021-05-11 12:50:42 +10:00
Liam Fitzgerald
d0bba3aea5
OmniboxResult: fix arg order 2021-05-11 12:35:14 +10:00
Liam Fitzgerald
798b894a78
glob: update to 0v3.p4se6.4k5i0.8v0le.v5vn4.mdotq 2021-05-11 11:57:00 +10:00
Liam Fitzgerald
dbb5cf4f0b
hooks: reset diplomacy 2021-05-11 11:50:12 +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
L
9d790dd3db
Merge pull request #4877 from urbit/la/push-hook-profiling
graph-push-hook: add better hints for profiling
2021-05-10 18:24:45 -05:00
Logan Allen
0691f4a765 graph: added comments 2021-05-10 18:23:42 -05: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
Logan Allen
c5fbd73b67 graph-push-hook: only cache marks, do not cache metadata for a graph 2021-05-10 17:11:23 -05:00
Logan Allen
3c530cdc01 graph-push-hook: code style cleaning 2021-05-10 15:32:20 -05:00
Logan Allen
2a0fdb446c push-hook: clean-up code style 2021-05-10 15:16:24 -05:00
Logan Allen
8c03a5f182 graph-store: internally cache all scried daises 2021-05-10 12:09:47 -05:00
Matilde Park
d4c4db1ec5 Merge branch 'release/next-js' into release/next-userspace 2021-05-10 12:27:12 -04:00
Logan Allen
e042420d9b graph-push-hook: rename mark for cache action 2021-05-10 11:20:06 -05:00
Logan Allen
258241dd15 demo-push-hook: update for new push-hook interface 2021-05-10 11:16:18 -05: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