Skip to content

Commit

Permalink
Removing "Upload" button label on click.
Browse files Browse the repository at this point in the history
Disabling upload button on click.
Auto-clicking "OK" button after upload complete (only for background images).
Added "Reset" button to event listener (to set up observer).
Added listener for self-hosted (URL) images to enable observer when modal closes.
Fixed issue where extension uploader was rendering in simple features for audio and video. We've turned it off completely in the simple feature and resource modals.
  • Loading branch information
michaelsharman committed Jul 24, 2024
1 parent 71f6830 commit 16f0d10
Show file tree
Hide file tree
Showing 11 changed files with 155 additions and 37 deletions.
2 changes: 1 addition & 1 deletion dist/assessment/core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/assessment/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/authoring/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/authoring/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.14.1';
export const version = '2.14.2';
3 changes: 2 additions & 1 deletion docs/module-Extensions_Assessment_themes_juniorQuest.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,10 @@ <h4 class="name" id=".run">run<span class="signature">()</span><span class="type
<h5 class="h5-examples">Example</h5>

<pre class="prettyprint"><code>import { LT } from '@caspingus/lt/src/assessment/core';
import * as theme from '@caspingus/lt/src/assessment/extensions/ui/themes/juniorQuest/index';

LT.init(itemsApp); // Set up LT with the Items API application instance variable
LT.extensions.themes.juniorQuest.run();</code></pre>
theme.run();</code></pre>



Expand Down
2 changes: 2 additions & 0 deletions docs/module-Extensions_Authoring_imageUploader.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ <h2>Image comparisons (before and after)</h2>
</table>
<br>
<p><img src="https://raw.githubusercontent.com/michaelsharman/LT/main/src/assets/images/imageUpload.gif" alt="" width="900"></p>
<h2>Exclusions</h2>
<p>This extension doesn't run inside the simple features dialog. This mainly impacts posters for video files and background images for audio files.</p>

<dl class="details">

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@caspingus/lt",
"version": "2.14.1",
"version": "2.14.2",
"description": "A utility library of helpers and tools for working with Learnosity APIs.",
"author": "michael@learnosity.com",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion src/assessment/extensions/ui/themes/juniorQuest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ const state = {
*
* @example
* import { LT } from '@caspingus/lt/src/assessment/core';
* import * as theme from '@caspingus/lt/src/assessment/extensions/ui/themes/juniorQuest/index';
*
* LT.init(itemsApp); // Set up LT with the Items API application instance variable
* LT.extensions.themes.juniorQuest.run();
* theme.run();
* @since 2.13.0
*/
export function run() {
Expand Down
Loading

0 comments on commit 16f0d10

Please sign in to comment.