Skip to content

Commit

Permalink
chore: build and documentation for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 21, 2024
1 parent 102733f commit 5ed0490
Show file tree
Hide file tree
Showing 50 changed files with 216 additions and 130 deletions.
71 changes: 57 additions & 14 deletions dist/maidr.js
Original file line number Diff line number Diff line change
Expand Up @@ -897,12 +897,16 @@ class Menu {
<td>b</td>
</tr>
<tr>
<td>Toggle Text Mode</td>
<td>t</td>
</tr>
<tr>
<td>Toggle Sonification Mode</td>
<td>s</td>
</tr>
<tr>
<td>Toggle Text Mode</td>
<td>t</td>
<tr>
<td>Toggle Review Mode</td>
<td>r</td>
</tr>
<tr>
<td>Repeat current sound</td>
Expand All @@ -926,26 +930,45 @@ class Menu {
</tr>
<tr>
<td>Auto-play speed up</td>
<td>Period</td>
<td>Period (.)</td>
</tr>
<tr>
<td>Auto-play speed down</td>
<td>Comma</td>
<td>Comma (,)</td>
</tr>
<tr>
<td>Check label for the title of current plot</td>
<td>l t</td>
</tr>
<td>Check label for the x axis of current plot</td>
<td>l x</td>
</tr>
<td>Check label for the y axis of current plot</td>
<td>l y</td>
</tr>
<td>Check label for the fill (z) axis of current plot</td>
<td>l f</td>
</tr>
<td>Check label for the subtitle of current plot</td>
<td>l s</td>
</tr>
<td>Check label for the caption of current plot</td>
<td>l c</td>
</tr>
<tr>
<td>Open GenAI Chat</td>
<td>Toggle AI Chat View</td>
<td>${
constants.isMac
? constants.alt
: constants.control
} + Shift + ?</td>
} + Shift + /</td>
</tr>
<tr>
<td>Copy last chat message</td>
<td>Copy last chat message in AI Chat View</td>
<td>${constants.alt} + Shift + C</td>
</tr>
<tr>
<td>Copy full chat history</td>
<td>Copy full chat history in AI Chat View</td>
<td>${constants.alt} + Shift + A</td>
</tr>
</tbody>
Expand Down Expand Up @@ -11100,11 +11123,31 @@ function InitMaidr(thisMaidr) {
this.SetEvents();

// once everything is set up, announce the chart name (or title as a backup) to the user
if ('name' in singleMaidr) {
display.announceText(singleMaidr.name);
} else if ('title' in singleMaidr) {
display.announceText(singleMaidr.title);
}
setTimeout(function () {
// this is hacky, but we delay just a tick so that the chart has time to load
if ('name' in singleMaidr) {
display.announceText(singleMaidr.name);
} else if ('title' in singleMaidr || 'labels' in singleMaidr && 'title' in singleMaidr.labels) {
let title = 'title' in singleMaidr ? singleMaidr.title : singleMaidr.labels.title;

// Determine whether type is multiple or single. If multiple, put commas and "and" in between. If single, just put the type.
let plotTypeString = Array.isArray(singleMaidr.type)
? singleMaidr.type.slice(0, -1).join(', ') + ' and ' + singleMaidr.type.slice(-1)
: singleMaidr.type;

// Prepare the instruction text for multi-layered plot
let multiLayerInstruction = 'This is a multi-layered plot. Use PageUp and PageDown to switch between layers.';

// Check if plotTypeString has multiple types
let isMultiLayered = Array.isArray(singleMaidr.type) && singleMaidr.type.length > 1;

// Construct the final announceText string
let announceText = `${plotTypeString} plot of ${title}: Use Arrows to navigate data points. ${isMultiLayered ? multiLayerInstruction : ' '}Toggle B for Braille, T for Text, S for Sonification, and R for Review mode. Use H for Help.`;

// Display the announcement text
display.announceText(announceText);
}
}, 100);
}
}

Expand Down
2 changes: 1 addition & 1 deletion dist/maidr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/AdvancedUserSettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ <h4 class="name" id="playTone"><span class="type-signature"></span>playTone<span
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/AudioProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BTSModes.html
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BarChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ <h4 class="name" id="UnSelectPrevious"><span class="type-signature"></span>UnSel
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BasicChartProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BoxPlot.html
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BoxplotRect.html
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ <h4 class="name" id="UpdateRect"><span class="type-signature"></span>UpdateRect<
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
24 changes: 12 additions & 12 deletions docs/ChatLLM.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h4 class="name" id="ChatLLM"><span class="type-signature"></span>new ChatLLM<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1500">line 1500</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1523">line 1523</a>
</li></ul></dd>


Expand Down Expand Up @@ -200,7 +200,7 @@ <h4 class="name" id="ConvertSVGtoJPG"><span class="type-signature">(async) </spa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2314">line 2314</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2337">line 2337</a>
</li></ul></dd>


Expand Down Expand Up @@ -288,7 +288,7 @@ <h4 class="name" id="CopyChatHistory"><span class="type-signature"></span>CopyCh

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1700">line 1700</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1723">line 1723</a>
</li></ul></dd>


Expand Down Expand Up @@ -427,7 +427,7 @@ <h4 class="name" id="CreateComponent"><span class="type-signature"></span>Create

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1526">line 1526</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1549">line 1549</a>
</li></ul></dd>


Expand Down Expand Up @@ -512,7 +512,7 @@ <h4 class="name" id="GetDefaultPrompt"><span class="type-signature"></span>GetDe

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2361">line 2361</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2384">line 2384</a>
</li></ul></dd>


Expand Down Expand Up @@ -595,7 +595,7 @@ <h4 class="name" id="KillAllWaitingSounds"><span class="type-signature"></span>K

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1926">line 1926</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1949">line 1949</a>
</li></ul></dd>


Expand Down Expand Up @@ -678,7 +678,7 @@ <h4 class="name" id="ProcessLLMResponse"><span class="type-signature"></span>Pro

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1952">line 1952</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1975">line 1975</a>
</li></ul></dd>


Expand Down Expand Up @@ -782,7 +782,7 @@ <h4 class="name" id="ResetLLM"><span class="type-signature"></span>ResetLLM<span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2241">line 2241</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2264">line 2264</a>
</li></ul></dd>


Expand Down Expand Up @@ -865,7 +865,7 @@ <h4 class="name" id="SetEvents"><span class="type-signature"></span>SetEvents<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1575">line 1575</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1598">line 1598</a>
</li></ul></dd>


Expand Down Expand Up @@ -969,7 +969,7 @@ <h4 class="name" id="Toggle"><span class="type-signature"></span>Toggle<span cla

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2278">line 2278</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2301">line 2301</a>
</li></ul></dd>


Expand Down Expand Up @@ -1124,7 +1124,7 @@ <h4 class="name" id="fakeLLMResponseData"><span class="type-signature"></span>fa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2001">line 2001</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2024">line 2024</a>
</li></ul></dd>


Expand Down Expand Up @@ -1197,7 +1197,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Control.html
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/DebugSettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
12 changes: 6 additions & 6 deletions docs/Description.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h4 class="name" id="Description"><span class="type-signature"></span>new Descri

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2391">line 2391</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2414">line 2414</a>
</li></ul></dd>


Expand Down Expand Up @@ -200,7 +200,7 @@ <h4 class="name" id="CreateComponent"><span class="type-signature"></span>Create

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2406">line 2406</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2429">line 2429</a>
</li></ul></dd>


Expand Down Expand Up @@ -283,7 +283,7 @@ <h4 class="name" id="Destroy"><span class="type-signature"></span>Destroy<span c

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2476">line 2476</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2499">line 2499</a>
</li></ul></dd>


Expand Down Expand Up @@ -366,7 +366,7 @@ <h4 class="name" id="PopulateData"><span class="type-signature"></span>PopulateD

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2520">line 2520</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2543">line 2543</a>
</li></ul></dd>


Expand Down Expand Up @@ -449,7 +449,7 @@ <h4 class="name" id="Toggle"><span class="type-signature"></span>Toggle<span cla

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2492">line 2492</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2515">line 2515</a>
</li></ul></dd>


Expand Down Expand Up @@ -573,7 +573,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Display.html
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ <h4 class="name" id="toggleTextMode"><span class="type-signature"></span>toggleT
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Sep 20 2024 00:17:59 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Sep 21 2024 00:17:30 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
Loading

0 comments on commit 5ed0490

Please sign in to comment.