Skip to content

Enable 'use strict';, improve error handling and update @bokeh/slickgrid - #13523

Merged
mattpap merged 8 commits into
branch-3.4from
mattpap/13499_use_strict
Nov 17, 2023
Merged

mattpap merged 8 commits into
branch-3.4from
mattpap/13499_use_strict

Conversation

@mattpap

@mattpap mattpap commented Nov 10, 2023 •

Copy link
Copy Markdown
Contributor

In case of an exception when loading bokehjs, if partially loaded then the output will look like this:

image

fixes #13499
fixes #13337
fixes #9684

@mattpap mattpap added this to the 3.4 milestone Nov 10, 2023
@codecov

codecov Bot commented Nov 10, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #13523 (b94bd99) into branch-3.4 (57696f4) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff             @@
##           branch-3.4   #13523   +/-   ##
===========================================
  Coverage       92.61%   92.61%           
===========================================
  Files             321      321           
  Lines           20456    20456           
===========================================
  Hits            18945    18945           
  Misses           1511     1511           

@bryevdv bryevdv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change requested for the phrasing, and a suggestion to consider for presentation.

Comment thread src/bokeh/core/_templates/autoload_nb_js.js Outdated
@mattpap
mattpap force-pushed the mattpap/13499_use_strict branch from d68b43d to b94bd99 Compare November 17, 2023 18:43
@mattpap

mattpap commented Nov 17, 2023

Copy link
Copy Markdown
Contributor Author

I updated the error message and made its footprint smaller (by using a scrollable and resizable div).

@mattpap
mattpap merged commit ed2ce1e into branch-3.4 Nov 17, 2023
@mattpap
mattpap deleted the mattpap/13499_use_strict branch November 17, 2023 20:27
Chiemezuo pushed a commit to Chiemezuo/bokeh that referenced this pull request Aug 27, 2024
…ckgrid` (bokeh#13523)

* Include `'use strict`;` directive in bundles

* Better error handling in autoload_nb_js.js

* Module not found should result in `failed` status

* Upgrade @bokeh/slickgrid to version 2.4.4103

* Fix spelling in load_module()

* Update template's checksum

* Improve the error message

* Added a release note
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants