visualproof 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6289,7 +6289,7 @@ var FocusMenu = class {
6289
6289
  };
6290
6290
 
6291
6291
  // src/web/src/reload.ts
6292
- var PAGE_VERSION = true ? "0.8.1" : null;
6292
+ var PAGE_VERSION = true ? "0.8.2" : null;
6293
6293
  var KEY = "visualproof:reload";
6294
6294
  var FOR_KEY = "visualproof:reloaded-for";
6295
6295
  var FRESH_MS = 10 * 6e4;
@@ -52597,7 +52597,9 @@ function talkPart(page) {
52597
52597
  $("#talk-notice").hidden = true;
52598
52598
  talk.open(noticeOf);
52599
52599
  });
52600
- if (store2.data.chatOpen && !talkBtn.hidden) page.chatWin.show();
52600
+ const reopenTalk = () => {
52601
+ if (store2.data.chatOpen && !talkBtn.hidden) page.chatWin.show();
52602
+ };
52601
52603
  const chipFor = (url) => {
52602
52604
  const l2 = siteLink(url, site.origins);
52603
52605
  if (!l2) return null;
@@ -52610,7 +52612,7 @@ function talkPart(page) {
52610
52612
  tool: (t2) => restsOn(t2) ? "Rests on" : MODE_NAME[t2]
52611
52613
  });
52612
52614
  };
52613
- return { talk, chipFor };
52615
+ return { talk, chipFor, reopenTalk };
52614
52616
  }
52615
52617
 
52616
52618
  // src/shared/askfollow.ts
@@ -60109,6 +60111,7 @@ async function boot() {
60109
60111
  Object.assign(page, menuPart(page));
60110
60112
  Object.assign(page, notesPart(page));
60111
60113
  Object.assign(page, keysPart(page));
60114
+ page.reopenTalk();
60112
60115
  window.visualproof = { canvas: page.canvas, linear: page.linear, graph: () => page.g, present: () => page.present, board: () => page.nav.board, views: page.views, tm: page.tm, timeMachine: (at) => page.openTimeMachine(at) };
60113
60116
  window.addEventListener("resize", page.syncInsets);
60114
60117
  const firstPlace = linked ? { mode: linked.mode, picks: linked.picks, shown: linked.shown, cam: null, ...keptFocus(S7.seen[first]) } : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visualproof",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "type": "module",
5
5
  "description": "See a Lean codebase's declaration graph and the TCB of its theorems.",
6
6
  "license": "Apache-2.0",