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: 1878 copy cell lines #1923

Closed
wants to merge 20 commits into from
Closed

feat: 1878 copy cell lines #1923

wants to merge 20 commits into from

Conversation

soerenPeters
Copy link
Collaborator

This PR solves #1878

@soerenPeters soerenPeters linked an issue May 16, 2024 that may be closed by this pull request
5 tasks
end

def execute!
@current_user.increment_counter('celllines') # rubocop: disable Rails/SkipsModelValidations

Choose a reason for hiding this comment

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

Layout/ExtraSpacing: Unnecessary spacing detected.

@soerenPeters soerenPeters force-pushed the 1878-copy-cell-lines branch from b82e666 to 9bee601 Compare May 16, 2024 10:30
.then((result) => {
dispatch(result);
}).catch((errorMessage) => {
console.log(errorMessage);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add a response to the user that something went wrong

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is this an error that can occur normally or should it not actually fail? In the latter case, I think that logging is enough. Especially since all other operations in the ElementAction only log to the console in the case of an error. What do you think?

@soerenPeters soerenPeters changed the title 1878 copy cell lines feat: 1878 copy cell lines May 17, 2024
@soerenPeters
Copy link
Collaborator Author

Will be merged together with #1971.

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.

Copy cell lines
2 participants