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 #2605

Merged
merged 5 commits into from
Nov 14, 2024

Conversation

olga-kulish
Copy link
Contributor

@olga-kulish olga-kulish commented Nov 1, 2024

Related to https://oat-sa.atlassian.net/browse/AUT-3876

Deployed to unit01

  1. Add Passage to the item. Blur ckeditor. Focus ckeditor -->you can no longer select this Passage and edit its properties or remove it.
    Caused by fix: pass contentEditable flag value to newly rebuild widget object f… #2517 . For TextReaderInteraction PCI issue, proper solution should be to set shieldInnerContent : true https://github.com/oat-sa/extension-tao-itemqti/blob/master/views/js/qtiCreator/editor/containerEditor.js#L249 . Or we could at least add an transparent-gray-overlay similar .html-editable-shield for .edit-sleep state of Passage. That's easy, but I'm not 100% sure it's a good thing. It will look less like "Preview". Maybe it was on purpose that it wasn't enabled?..
  2. Add TextReaderInteraction PCI. Add Passage inside it. Click on another content inside ckeditor, then click on Passage again --> remove button doesn't appear. (Even if fix for issue 1 is applied).
    Also, fix for styles of remove button: Fix/aut 3876/editor passage remove extension-pcisample#171

Copy link

github-actions bot commented Nov 1, 2024

Front-end summary Node 18

💯 Total ✅ Passed ⏭️ Skipped ❌ Failed
287 287 0 0

Copy link
Contributor

@oatymart oatymart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't look into the other ways this could be solved, but these changes seem to fix it and are small enough. LGTM.

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master (or main) - or is a release
  • Bundled code is present if needed
  • Version bump is applied if needed (packages AND root)
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic
  • Changelog is updated according to changes (if applicable)
  • Documentation is updated according to changes (if applicable)

@olga-kulish olga-kulish self-assigned this Nov 13, 2024
Copy link

Version

Target Version 30.22.3
Last version 30.22.2

There are 0 BREAKING CHANGE, 0 feature, 2 fixes

@olga-kulish olga-kulish merged commit 353fd3a into develop Nov 14, 2024
5 checks passed
@olga-kulish olga-kulish deleted the fix/AUT-3876/editor-passage-remove branch November 14, 2024 09:22
wazelin added a commit to oat-sa/tao-community that referenced this pull request Nov 21, 2024
…eases/tag/v54.20.1.1)**

- _Fix_ [AUT-3923](https://oat-sa.atlassian.net/browse/AUT-3923) : textreader image figure support [#4125](oat-sa/tao-core#4125) ( by [olga-kulish](https://github.com/olga-kulish) - validated by [olga-kulish](https://github.com/olga-kulish)
**[oat-sa/extension-tao-itemqti v30.20.0.2](https://github.com/oat-sa/extension-tao-itemqti/releases/tag/v30.20.0.2)**
 - _Fix_ [AUT-3923](https://oat-sa.atlassian.net/browse/AUT-3923) : textreader image figure support [#2613](oat-sa/extension-tao-itemqti#2613) ( by [olga-kulish](https://github.com/olga-kulish) - validated by [olga-kulish](https://github.com/olga-kulish) )
 - _Fix_ [AUT-3876](https://oat-sa.atlassian.net/browse/AUT-3876) : editor passage remove [#2605](oat-sa/extension-tao-itemqti#2605) ( by [olga-kulish](https://github.com/olga-kulish) - validated by [olga-kulish](https://github.com/olga-kulish) )
**[oat-sa/extension-pcisample v3.9.2](https://github.com/oat-sa/extension-pcisample/releases/tag/v3.9.2)**
 - _Fix_ [AUT-3923](https://oat-sa.atlassian.net/browse/AUT-3923) : textreader image figure support [#172](oat-sa/extension-pcisample#172) ( by [olga-kulish](https://github.com/olga-kulish) - validated by [olga-kulish](https://github.com/olga-kulish) )
**[oat-sa/extension-pcisample v3.9.1](https://github.com/oat-sa/extension-pcisample/releases/tag/v3.9.1)**
 - _Fix_ [AUT-3876](https://oat-sa.atlassian.net/browse/AUT-3876) : editor passage remove [#171](oat-sa/extension-pcisample#171) ( by [olga-kulish](https://github.com/olga-kulish) - validated by [olga-kulish](https://github.com/olga-kulish) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants