Commit Graph

4540 Commits

Author SHA1 Message Date
fang
dd1eef5355
webterm: remove
It has been moved out of the monorepo, now lives under urbit/webterm.

Closes #6283.
2023-02-22 19:10:11 +01:00
fang
f6ee174d64
webterm: simpler printf rendering
As it turns out, the exact behavior of the 'S' CSI command is not "move
contents up into scrollback", but rather "delete the top line(s), move other
contents up". This behavior leads webterm to eat into outputs whenever it
renders slogs.

Xterm(.js), when given a newline character at the bottom of a scroll region,
does produce the desired behavior of bumping the top line away into scrollback,
instead of obliterating it.

This implementation now diverges from vere's, which is unfortunate, but the
alternative is making webterm track the contents of the bottom-most line of
the default session, which seems rather ridiculous by comparison.

Fixes #6257.
2023-01-28 00:34:03 +01:00
fang
a15111a35c
Merge branch 'next/arvo' into m/drum-sessions 2023-01-03 17:19:32 +01:00
Zach Alberico
e60e15b022 Merge remote-tracking branch 'origin/master' into merge/master-to-next 2022-12-15 14:04:02 -08:00
fang
61c1c76570
dbug: make sure text is legible in dark mode
Makes foreground text white by default, if the dark color scheme is
enabled.

Fixes #6013.
2022-11-25 20:56:20 +01:00
Liam Fitzgerald
dd04bd8f79 landscape: include club migration 2022-11-23 14:29:40 +10:00
tomholford
bb97306432 grid: consume Pike interface and scry 2022-11-03 22:19:36 -07:00
Hunter Miller
01858a4669 groups: fixing build 2022-09-20 10:55:39 -05:00
Hunter Miller
68a350ea5a Merge branch 'master' into next/groups 2022-09-20 10:02:52 -05:00
fang
1c36ad129d
webterm: avoid needless %blew tasks
Any change to the session object was triggering this. But that now includes
an "unacked keystrokes" counter, which updates frequently, and we
definitely don't want to send resize notifications in that case.
2022-09-17 10:38:04 +02:00
Liam Fitzgerald
06fc1897b7 @urbit/http-api: update version number 2022-09-13 13:00:30 -05:00
Mackenzie Davidson
4174fd6829 interface: full width images for notebook posts 2022-08-31 18:08:07 -04:00
fang
f5089b77eb
webterm: tune spinner values 2022-07-17 15:28:55 +02:00
tomholford
8d0ca32c5d
ux: show a keypress indicator after a delay 2022-07-17 15:16:35 +02:00
fang
d7ec69803f
webterm: add ugly keypress processing indicator
Needs to be made prettier by displaying only after a delay, have a cute
little animation, etc.
2022-07-17 15:15:10 +02:00
fang
f58bdbcec4
webterm: handle ctrl+shift key events specially
xterm.js seems to have a bug where it doesn't register ctrl+uppercase
keypresses correctly. To work around this, we catch such keypresses
explicitly and handle them inline.
2022-07-08 20:44:21 +02:00
Hunter Miller
3f8cef1cac groups: correcting package lock yet again 2022-07-06 11:37:34 -05:00
Hunter Miller
24c8519c69 rich-text: removing broken plugin, reverting react-md to 5.0.3 for compat 2022-06-27 11:40:31 -05:00
Hunter Miller
6e9c17a9c2 graphcontent: blockquotes now correctly break paragraphs off 2022-06-27 10:29:05 -05:00
Hunter Miller
90b8776fad md-editor: fixing background in darkmode 2022-06-27 09:57:18 -05:00
Hunter Miller
23b9bbe948 Merge branch 'master' into next/groups 2022-06-17 15:32:55 -05:00
Hunter Miller
6bff31f369 interface: fixing react-codemirror2 dep 2022-06-17 14:59:28 -05:00
Patrick O'Sullivan
d11ce99b48 groups: add webp to list of image types to check links for in chat 2022-06-15 11:21:24 -05:00
Patrick O'Sullivan
b77baf4270 groups: fix issue where URL would be shown along with image in chat 2022-06-15 10:24:31 -05:00
Patrick O'Sullivan
1cdef1e06d groups: fix issue with chanel perms caused by use of Set() 2022-06-14 10:57:18 -05:00
Hunter Miller
48c25cb9bc groups: updating package lock 2022-06-13 17:20:39 -05:00
Hunter Miller
8250a30ad5 groups: updating nvmrc 2022-06-13 15:28:35 -05:00
Patrick O'Sullivan
b6b6655149 Fix webpack, build dependency issues 2022-06-13 12:53:45 -05:00
Hunter Miller
5b6a2d5625 compat: fixing react-codemirror2 deps 2022-06-03 17:57:53 -05:00
Hunter Miller
d31b2bd853 compat: updating to latest sigil-js for react 2022-06-03 16:56:33 -05:00
Hunter Miller
39488a3167 compat: updating indigo, and removing unused deps 2022-06-03 16:34:43 -05:00
Hunter Miller
db709df178 meta: fixing react version issue 2022-06-03 11:26:41 -05:00
fang
c77bee3388
webterm: include utility for highlighting renders
Flashes areas of the screen that get redrawn by blits a bright pink.
Doesn't behave quite right in some scenarios (where the first blit isn't
a cursor movement, or there is a %nel at the end of the buffer), but
works sufficiently for the common cases.
2022-05-16 15:56:33 +02:00
fang
5c23b3fdb9
webterm: ensure content under cursor is visible 2022-05-15 19:01:02 +02:00
fang
dc81adb735
webterm: send simple keystrokes simply
%txt should be reserved for chunks of pasted text and other
non-keystroke text inputs. Perhaps at a later point in time we'll handle
paste events explicitly, letting this be more accurate.
2022-05-15 01:13:54 +02:00
Patrick O'Sullivan
4c890e86ad
Merge pull request #5759 from urbit/po/fix-add-submitted-state-for-notebook-form
groups: fix add submitted state for notebook form
2022-05-12 13:31:28 -05:00
Patrick O'Sullivan
c6b9089c6a groups: add submitted state for notebook form 2022-05-12 10:31:29 -05:00
Patrick O'Sullivan
39274892e2 groups: fix link to DM from participants list 2022-05-12 09:43:55 -05:00
rcrdlbl
d0994cb855 passed oembed as prop 2022-05-10 01:15:45 -04:00
rcrdlbl
a00e0c9406
Merge branch 'next/groups' into groups/embed-fix 2022-05-05 04:06:26 -04:00
rcrdlbl
de03f888cd placed async fallback one level up on RemoteContent and LinkBlockItem 2022-05-05 03:46:31 -04:00
Hunter Miller
96e28f91d2
Merge pull request #5729 from afincato/lr-group-link-fix
Fix proposal for Groups: embeds break formatting context and more
2022-05-02 10:04:51 -05:00
Hunter Miller
2af6aece3b
Merge pull request #5722 from urbit/lf/exorcise-set
interface: update ChannelPermissions to use arrays
2022-05-02 09:59:26 -05:00
André Fincato
4a5e059436 groups: fix linting errors 2022-04-30 13:18:06 +02:00
André Fincato
4d80c3f2cd groups: wrap bare link in list-item in p node for better typography 2022-04-30 13:03:58 +02:00
rcrdlbl
00de041625
Merge branch 'next/groups' into groups/embed-fix 2022-04-28 18:45:25 -04:00
rcrdlbl
d657dafbd9 applied patch from @arthyn 2022-04-28 18:28:28 -04:00
Patrick O'Sullivan
243ca58f88
Merge pull request #5737 from urbit/po/fix-for-iswriters-func-in-groups
Po/fix for iswriters func in groups
2022-04-28 10:11:07 -05:00
rcrdlbl
d7221f0c66 modified embed state to avoid race condition 2022-04-27 20:04:02 -04:00
David Farrell
759a579fba groups: don't double sig the planet name on copy
The copy function copies ~~zod instead of ~zod to the clipboard. This
removes the extra sig from the copy routine via deSig() incase the ship
string has no leading sig.

Fixes
[urbit/landscape#1434](https://github.com/urbit/landscape/issues/1434).
2022-04-26 21:10:01 -04:00