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

BC-5119-Prevent-creating-new-neXboard #4571

Closed

Conversation

Michaellinaresxk
Copy link
Contributor

@Michaellinaresxk Michaellinaresxk commented Nov 22, 2023

Description

Links to Tickets or other pull requests

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

@Michaellinaresxk Michaellinaresxk force-pushed the BC-5119-Prevent-creating-new-neXboards-server branch from 8fe990d to 5af96f7 Compare November 23, 2023 12:28
@Michaellinaresxk Michaellinaresxk changed the title BC-5119-Prevent-creating-new-neXboard (Updated) BC-5119-Prevent-creating-new-neXboard Nov 23, 2023

return courseStatus;
}

// Exclude LESSON_CONTENT_NEXBOARD from boardStatus
private filterOutNeXboardFromCopyStatus(boardStatus: CopyStatus): CopyStatus {
Copy link
Contributor

Choose a reason for hiding this comment

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

why not using here the feature flag too?

if (element.component === ComponentType.NEXBOARD && nexboardEnabled) {
// eslint-disable-next-line no-await-in-loop

if (element.component === ComponentType.NEXBOARD && nexboardEnabled && copyNexboardEnabled) {
Copy link
Contributor

Choose a reason for hiding this comment

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

so, if copy feature flag is false, nothing is returned.
if copy is true, a NOT_DOING status is returned.
this is not how it should work...

if copy flag is false, then it should return status NOT_DOING
if it is true, it should remain as it is...

@Michaellinaresxk Michaellinaresxk force-pushed the BC-5119-Prevent-creating-new-neXboards-server branch from 2fbf84a to 654f926 Compare November 27, 2023 08:52
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