Skip to content

Commit b4a3f9b

Browse files
chore: build and documentation for release
1 parent cf5dbc5 commit b4a3f9b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+297
-134
lines changed

dist/maidr.js

+13-3
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ class Constants {
396396
* @default 1
397397
* @memberof AdvancedUserSettings
398398
*/
399-
isTracking = 1;
399+
isTracking = 0;
400400
/**
401401
* How are we representing braille? like, is it 1:1 with the chart, or do we do some compression and try to represent as accuratly as we can? Not currently in use.
402402
* @type {boolean}
@@ -1662,6 +1662,16 @@ class ChatLLM {
16621662
]);
16631663
}
16641664

1665+
/**
1666+
* Copies the chat history to the clipboard in markdown format.
1667+
* We do this by running on any click or keyup event on the chatLLM modal so we can handle all the cases.
1668+
* If e is undefined, the entire chat history is copied.
1669+
* If e.type is click, we see what button was clicked and copy just that block or the entire thing
1670+
* If e.type is keyup, we check for alt shift c or ctrl shift c and copy the last message,
1671+
* or ctrl shift a for the entire chat history
1672+
*
1673+
* @param {Event|undefined} e - The event that triggered the copy action. If undefined, the entire chat history is copied.
1674+
*/
16651675
CopyChatHistory(e) {
16661676
let text = '';
16671677
if (typeof e == 'undefined') {
@@ -1708,9 +1718,9 @@ class ChatLLM {
17081718
let removeThese = cleanElems.querySelectorAll('.chatLLM_message_copy');
17091719
removeThese.forEach((elem) => elem.remove());
17101720

1711-
// convert to markdown
1721+
// convert from html to markdown
17121722
let markdown = this.htmlToMarkdown(cleanElems);
1713-
// kill more than 2 newlines in a row
1723+
// this messes up a bit with spacing, so kill more than 2 newlines in a row
17141724
markdown = markdown.replace(/\n{3,}/g, '\n\n');
17151725

17161726
try {

dist/maidr.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/AdvancedUserSettings.html

+2-2
Large diffs are not rendered by default.

docs/Audio.html

+2-2
Large diffs are not rendered by default.

docs/AudioProperties.html

+2-2
Large diffs are not rendered by default.

docs/BTSModes.html

+2-2
Large diffs are not rendered by default.

docs/BarChart.html

+2-2
Large diffs are not rendered by default.

docs/BasicChartProperties.html

+2-2
Large diffs are not rendered by default.

docs/BoxPlot.html

+2-2
Large diffs are not rendered by default.

docs/BoxplotRect.html

+2-2
Large diffs are not rendered by default.

docs/ChatLLM.html

+152-9
Large diffs are not rendered by default.

docs/Constants.html

+2-2
Large diffs are not rendered by default.

docs/Control.html

+2-2
Large diffs are not rendered by default.

docs/DebugSettings.html

+2-2
Large diffs are not rendered by default.

docs/Description.html

+7-7
Large diffs are not rendered by default.

docs/Display.html

+2-2
Large diffs are not rendered by default.

docs/HeatMap.html

+2-2
Large diffs are not rendered by default.

docs/HeatMapRect.html

+2-2
Large diffs are not rendered by default.

docs/Helper.html

+4-4
Large diffs are not rendered by default.

docs/Histogram.html

+2-2
Large diffs are not rendered by default.

docs/HtmlIds.html

+2-2
Large diffs are not rendered by default.

docs/LLMSettings.html

+2-2
Large diffs are not rendered by default.

docs/Layer0Point.html

+2-2
Large diffs are not rendered by default.

docs/Layer1Point.html

+2-2
Large diffs are not rendered by default.

docs/LinePlot.html

+2-2
Large diffs are not rendered by default.

docs/LogError.html

+8-8
Large diffs are not rendered by default.

docs/Menu.html

+2-2
Large diffs are not rendered by default.

docs/PlatformControls.html

+2-2
Large diffs are not rendered by default.

docs/Point.html

+2-2
Large diffs are not rendered by default.

docs/Position.html

+3-3
Large diffs are not rendered by default.

docs/Resources.html

+2-2
Large diffs are not rendered by default.

docs/Review.html

+4-4
Large diffs are not rendered by default.

docs/ScatterPlot.html

+2-2
Large diffs are not rendered by default.

docs/Segmented.html

+2-2
Large diffs are not rendered by default.

docs/Tracker.html

+10-10
Large diffs are not rendered by default.

docs/UserSettings.html

+2-2
Large diffs are not rendered by default.

docs/audio.js.html

+2-2
Large diffs are not rendered by default.

docs/barplot.js.html

+2-2
Large diffs are not rendered by default.

docs/boxplot.js.html

+2-2
Large diffs are not rendered by default.

docs/constants.js.html

+15-5
Large diffs are not rendered by default.

docs/controls.js.html

+2-2
Large diffs are not rendered by default.

docs/display.js.html

+2-2
Large diffs are not rendered by default.

docs/global.html

+2-2
Large diffs are not rendered by default.

docs/heatmap.js.html

+2-2
Large diffs are not rendered by default.

docs/histogram.js.html

+2-2
Large diffs are not rendered by default.

docs/index.html

+2-2
Large diffs are not rendered by default.

docs/init.js.html

+2-2
Large diffs are not rendered by default.

docs/lineplot.js.html

+2-2
Large diffs are not rendered by default.

docs/scatterplot.js.html

+2-2
Large diffs are not rendered by default.

docs/segmented.js.html

+2-2
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)