Commit Graph

128 Commits

Author SHA1 Message Date
Aaron Munger
ef40932ae9 display unknown text mime outputs as plain text (#203849) 2024-01-31 08:51:41 -08:00
Aaron Munger
7a56623b82 enable copying svg cell output (#203843)
* find the correct svg element and write it to the clipboard

* add context to allow context menu

* simplify selection

* better logs for error states
2024-01-31 06:18:37 -08:00
Hans
bc00185b3b Fix the broken links to the latest valid links (#184131) 2024-01-29 19:09:11 +01:00
Aaron Munger
298b07637a remove console log message (#200684) 2023-12-12 22:13:54 +01:00
Aaron Munger
d5d1424296 Allow disabling filepath links (#200577)
* add setting to enable/disable linkifying filepaths

* implement linkify setting

* update setting without reload

* switch casing style
2023-12-11 15:47:06 -08:00
Aaron Munger
8ba75dfdc8 more strict on regex, fix special character 2023-11-06 10:59:40 -08:00
Aaron Munger
6afac1d3f7 fix stack trace linking 2023-11-06 10:59:40 -08:00
aamunger
2b721ec298 use named capture groups 2023-10-19 08:55:50 -07:00
aamunger
4c2c49d5b0 added line link 2023-10-19 08:55:50 -07:00
aamunger
55794b6c76 handle new URI format from webview 2023-10-19 08:55:50 -07:00
aamunger
a9ee16c135 handle new URI format from webview 2023-10-19 08:55:50 -07:00
aamunger
3b6848c4e6 pass test 2023-10-19 08:55:50 -07:00
Aaron Munger
4540b9ba1f older Ipython, failing test 2023-10-19 08:55:50 -07:00
Aaron Munger
fe8ac3f89e linkify stack lines for cell references 2023-10-19 08:55:50 -07:00
Aaron Munger
2123a011bf linkify stack lines for file references 2023-10-19 08:55:50 -07:00
Aaron Munger
315f158d20 link test 2023-10-19 08:55:50 -07:00
Aaron Munger
8e8811a5c1 clean raw jupyter error stack traces 2023-10-19 08:55:50 -07:00
Aaron Munger
ab09263c52 linkify tests 2023-09-12 10:41:50 -07:00
Aaron Munger
fb8e51346f test for link rendering 2023-09-11 15:12:56 -07:00
Aaron Munger
ddc81ac330 prioritize html links since they can wrap other link types 2023-09-08 10:11:44 -07:00
Aaron Munger
808dd6dded page up/down should only scroll scrollable output when focused 2023-09-07 11:57:02 -07:00
Aaron Munger
bd60cc529c allow copying cell output images from context menu 2023-08-18 10:43:43 -07:00
Aaron Munger
4a2c8f805a remove unused variable 2023-08-14 12:03:17 -07:00
Aaron Munger
b9cd07d8bf move html link creation to linkify function 2023-08-14 11:44:28 -07:00
aamunger
72806b4403 add/fix tests 2023-07-17 16:18:25 -07:00
Aaron Munger
e68a34f9bd append when stream outputs are concatenated 2023-07-12 15:20:43 -07:00
Aaron Munger
5b78562d6c truncate long outputs 2023-07-12 15:03:49 -07:00
Aaron Munger
77a8acf719 don't rerender the same output 2023-07-12 11:30:58 -07:00
aamunger
4c2df56f98 append html 2023-07-12 10:03:31 -07:00
Aaron Munger
c5511d5eec pipe appended data info to webview 2023-07-11 15:08:04 -07:00
aamunger
3767249655 select previous output to be replaced correctly 2023-06-08 21:51:18 -07:00
aamunger
c52a87e8a6 use scroll setting variable correctly 2023-05-26 15:21:45 -07:00
aamunger
c71766d505 event testing 2023-05-24 14:24:30 -07:00
aamunger
a54803afc9 re-add events each time the output ID is rendered 2023-05-24 11:24:13 -07:00
aamunger
0230ac67e9 comment 2023-05-23 16:25:34 -07:00
aamunger
43d5cc452c account for running a cell with one output after that cell previously produced multiple streaming outputs 2023-05-23 16:20:54 -07:00
aamunger
6ddfc5f3b2 replace the content of the scrollable div, rather than the div itself 2023-05-23 14:31:17 -07:00
Aaron Munger
d6db619ce7 prefix metadata altText 2023-05-22 09:39:48 -07:00
Aaron Munger
24842542bf add title for svgs 2023-05-19 15:22:26 -07:00
Aaron Munger
caef631375 better metadata check 2023-05-19 14:47:55 -07:00
Aaron Munger
dc49b22e9e set alt text of image output items to the corresponding plain/text output item 2023-05-19 14:38:06 -07:00
Aaron Munger
9ede543860 Merge branch 'main' into aamunger/scrollOutputWithKeys 2023-05-11 11:07:02 -07:00
aamunger
2a7639b907 use look behind so whitespace is not matched 2023-05-10 13:59:44 -07:00
aamunger
5cedfd4b84 reduce false positive link detection 2023-05-10 13:33:14 -07:00
aamunger
2e902f0ac5 only listen for scroll events when scrolling is possible 2023-05-10 12:55:14 -07:00
aamunger
c56c481890 keep scroll related key events in scrollable region 2023-05-10 10:40:30 -07:00
aamunger
6ddb254475 remove extra tabindex assignment 2023-05-09 15:13:29 -07:00
aamunger
f9ee1a2abc make all builtin output containers focusable 2023-05-09 15:03:58 -07:00
Peng Lyu
30e62e1bf8 Fix #177405. Treat error as plain text. (#180960) 2023-04-26 19:28:28 +02:00
Aaron Munger
af972cc9e6 Merge pull request #180569 from microsoft/aamunger/outputAccessibility
ensure the focus is actually set to the correct output
2023-04-24 16:32:39 -07:00