Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/aut 3876/editor passage remove #171

Merged
merged 6 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions migrations/Version202411040900544106_pciSamples.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php

declare(strict_types=1);

namespace oat\pciSamples\migrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\Exception\IrreversibleMigration;
use oat\pciSamples\scripts\install\RegisterPciTextReaderIMS;
use oat\tao\scripts\tools\migrations\AbstractMigration;

/**
* Auto-generated Migration: Please modify to your needs!
*
* phpcs:disable Squiz.Classes.ValidClassName
*/
final class Version202411040900544106_pciSamples extends AbstractMigration
{
public function getDescription(): string
{
return 'Update TextReader IMS PCI styles for remove button of widgets inside content';
}

public function up(Schema $schema): void
{
$this->runAction(new RegisterPciTextReaderIMS(), ['1.3.1']);
}

public function down(Schema $schema): void
{
throw new IrreversibleMigration(
sprintf(
'In order to undo this migration, please revert the client-side changes and run %s',
RegisterPciTextReaderIMS::class
)
);
}
}

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
.tr-passage-column {
border: 1px dashed #3E7DA7;
}
.tr-page {
overflow-y: visible;
}
}
}

Expand Down Expand Up @@ -43,6 +46,15 @@
color: #a4bbc5;
}
}

.mini-tlb {
transform: translateX(-10px);
z-index: 1000; /* above html-editable-shield */

.icon-bin {
margin: 0;
}
}
}

.tr-column-select {
Expand Down
29 changes: 11 additions & 18 deletions views/js/pciCreator/ims/textReaderInteraction/imsPciCreator.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,34 @@
"typeIdentifier": "textReaderInteraction",
"label": "Text reader",
"description": "The Paging widget combines a scrolling widget with additional paging controls.",
"version": "1.3.0",
"version": "1.3.1",
olga-kulish marked this conversation as resolved.
Show resolved Hide resolved
"author": "Aleh Hutnikau",
"email": "contact@taotesting.com",
"tags": [
"reader",
"paging"
],
"tags": ["reader", "paging"],
"icon": "./creator/media/icon.svg",
"short": "Text reader",
"response": {
"baseType": "boolean",
"cardinality": "single"
},
"runtime" : {
"hook" : "./runtime/textReaderInteraction.min.js",
"modules" : {
"textReaderInteraction/runtime/textReaderInteraction.min" : [
"runtime/textReaderInteraction.min.js"
]
"runtime": {
"hook": "./runtime/textReaderInteraction.min.js",
"modules": {
"textReaderInteraction/runtime/textReaderInteraction.min": ["runtime/textReaderInteraction.min.js"]
},
"libraries" : [],
"src" : [
"libraries": [],
"src": [
"./runtime/textReaderInteraction.js",
"./runtime/js/renderer.js",
"./runtime/js/tabs.js",
"./runtime/css/jquery.qtip.css",
"./runtime/css/textReaderInteraction.css"
]
},
"creator" : {
"creator": {
"icon": "./creator/media/icon.svg",
"hook": "./imsPciCreator.min.js",
"src" : [
"src": [
"./imsPciCreator.js",
"./creator/js/userTooltips.js",
"./creator/tpl/userTooltips/authoring.tpl",
Expand All @@ -49,8 +44,6 @@
"./creator/widget/states/Sleep.js",
"./creator/widget/states/states.js"
],
"stylesheets" : [
"./creator/css/textReaderInteraction.css"
]
"stylesheets": ["./creator/css/textReaderInteraction.css"]
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading