Commit Graph

165 Commits

Author SHA1 Message Date
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
dependabot[bot]
afacb63ab5 Bump tough-cookie from 4.1.2 to 4.1.3 in /extensions/notebook-renderers (#187410)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 10:03:51 +02:00
Matt Bierner
5a55352cf7 Combine esbuild scripts (#184531)
* Combine esbuild scripts

This combines the various build scripts used for building webview/notebook content. This should make it easier to update settings for them

As part of this, I also fixed the script so that on watch it restarts automatically on syntax errors instead of exiting

* Migrate other build script

* Fixing math build script
2023-06-09 14:55:05 -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
Aaron Munger
7c07ee8949 Merge pull request #180753 from microsoft/aamunger/truncationMessage
fix message formatting
2023-04-24 14:32:47 -07:00
aamunger
53b0058b13 fix message formatting 2023-04-24 14:17:44 -07:00
aamunger
4602cf075a fix class selection query 2023-04-24 14:05:27 -07:00
Aaron Munger
3897a9cafb Merge branch 'main' into aamunger/outputAccessibility 2023-04-24 12:53:28 -07:00
aamunger
59ef73fea3 check the scroll height of the correct element 2023-04-24 11:23:25 -07:00
aamunger
33c124ca7e split out event propagation handling 2023-04-24 08:55:01 -07:00
aamunger
31cd1ee042 ensure focus is set correctly in output, enable keyboard scrolling for outputs 2023-04-21 13:26:35 -07:00
Raymond Zhao
8e89509008 Fix notebook-renderers compile error (#179506) 2023-04-10 10:01:12 -07:00
aamunger
c21478e430 small padding 2023-04-05 11:08:09 -07:00
aamunger
c60f757130 updated truncation comment styling 2023-04-05 11:08:08 -07:00
aamunger
d722674f02 updated comment 2023-04-05 11:08:06 -07:00
aamunger
b7a495cdb8 adjust output truncation message 2023-04-05 11:08:04 -07:00
aamunger
8d55402690 toggle scrollable outputs by cell 2023-04-05 11:08:01 -07:00
aamunger
b0459b7b45 add aria-label to link 2023-03-21 15:09:53 -07:00
aamunger
bd6f853061 wrap errors in parent div 2023-03-20 16:40:02 -07:00
aamunger
26c7018f95 style the cursor in the child to avoid the scrollbar 2023-03-20 16:40:00 -07:00
Aaron Munger
0a15931b49 Merge pull request #177537 from microsoft/aamunger/updateScrolling
show message to refresh if scrolling is enabled and not scrollable
2023-03-20 08:56:58 -07:00
aamunger
a0a6fd1a35 show message to refresh if scrolling is enabled and not scrollable 2023-03-17 15:39:36 -07:00
aamunger
d02908f51c change cursor style over output 2023-03-17 12:50:18 -07:00
aamunger
859ffaca34 await promises 2023-03-16 14:49:14 -07:00