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: manage pending status when updating #2463

Merged

Conversation

leiyre
Copy link
Member

@leiyre leiyre commented Mar 2, 2023

Description

This PT includes notification to manage pending status when updating

Closes #<issue_number>

Type of change

(Please delete options that are not relevant. Remember to title the PR according to the type of change)

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have merged the original branch into my forked branch
  • follows the style guidelines of this project
  • I did a self-review of my code
  • My changes generate no new warnings

@leiyre leiyre requested a review from keithCuniah March 3, 2023 10:02
class="primary small toast__button"
@click="whenClicked"
>{{ buttonText }}</base-button
>
Copy link
Contributor

@keithCuniah keithCuniah Mar 3, 2023

Choose a reason for hiding this comment

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

1/ review formatting
2/ naming : change whenClicked by onClick

const arePendingRecords = records.some(
(record) => record.status === "Edited"
);
await _updateViewSettings({
Copy link
Contributor

Choose a reason for hiding this comment

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

naming => change _myFunction by myFunction

@@ -479,6 +486,22 @@ async function _updatePagination({ id, size, page }) {
return pagination;
}

async function _chooseContinueOrCancel(action, dataset, query, sort, size) {
Copy link
Contributor

Choose a reason for hiding this comment

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

naming => change _myFunction by myFunction

});
},
});
}
Copy link
Contributor

Choose a reason for hiding this comment

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

code cleanning : one thing by line => create the object before the call for notification toast

@leiyre leiyre requested a review from keithCuniah March 3, 2023 11:05
@leiyre leiyre merged commit 630a136 into feature/bulk-annotation-improvement Mar 3, 2023
@leiyre leiyre deleted the feat/lose_pending_notification branch March 3, 2023 12:04
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