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

feat/AUT-3623/hide-features-in-solar-design #2511

Merged
merged 20 commits into from
Jun 24, 2024

Conversation

shaveko
Copy link
Contributor

@shaveko shaveko commented May 31, 2024

related to

⚠️ Update extension version to the release ones before merging

###Description

This PR addresses requirement 3.g from the ticket to hide tenant selector if there is single tenant available from Publish test form page if solar design is activated.

How to test

To test locally the dependent FE/BE branches should be specified in composer.json

Deployed to kitchen env, so functionally can be validated there: http://test-rfe-1147-facelift.playground.kitchen.it.taocloud.org:49381/

Copy link

github-actions bot commented May 31, 2024

Front-end summary Node 18

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

@@ -134,7 +135,7 @@ define([
break;
}

if (rp.processingType === 'templateDriven' && !allowCustomTemplate) {
if ((rp.processingType === 'templateDriven' && !allowCustomTemplate) || !features.isVisible('taoQtiItem/creator/interaction/response/responseProcessing/custom')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

we could probably move it ('taoQtiItem/creator/interaction/response/responseProcessing/custom') to the ..Key constant also, for better readability

Copy link
Contributor

@viktar-dzmitryieu-tao viktar-dzmitryieu-tao left a comment

Choose a reason for hiding this comment

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

  • 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
  • New code is not subject to concurrency issues (if applicable)
  • 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

Copy link
Contributor

@jsconan jsconan left a comment

Choose a reason for hiding this comment

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

It works, at least in my local environment.
In the deployed environment, I got errors when opening the item authoring, it complains about missing libs (pdfjs)

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code respects code style rules
  • New code respects best practices
  • New code is not subject to concurrency issues (if applicable)
  • 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
  • Commits are following conventional commits
  • Commits messages are meaningful

Copy link

Version

Target Version 30.12.0
Last version 30.11.8

There are 0 BREAKING CHANGE, 8 features, 4 fixes

@Nevermind23 Nevermind23 merged commit 2924850 into develop Jun 24, 2024
5 checks passed
@Nevermind23 Nevermind23 deleted the feat/AUT-3623/hide-features-in-solar-design branch June 24, 2024 08:46
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.

4 participants