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

Refactor "toggle_plural_field.js" #543

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

MizukiTemma
Copy link
Member

@MizukiTemma MizukiTemma commented Jul 5, 2024

Short description

While implementing another issue, I noticed that the file name "toggle_plural_field" does not describe the functions in it anymore well and the function showDuplicates can be refectored.

Proposed changes

  • Refactor showDuplicates by creating a helper function and removing duplicates
  • Change the filde name

Resolved issues

Fixes: #544

@MizukiTemma MizukiTemma requested a review from a team as a code owner July 5, 2024 13:26
@MizukiTemma MizukiTemma changed the title Refactor toggling of Refactor "toggle_plural_field" Jul 5, 2024
@MizukiTemma MizukiTemma changed the title Refactor "toggle_plural_field" Refactor "toggle_plural_field.js" Jul 5, 2024
@MizukiTemma MizukiTemma force-pushed the refactor/toggling_document_form branch from f1ddc15 to f8eda67 Compare July 9, 2024 18:10
@MizukiTemma MizukiTemma requested a review from JoeyStk July 9, 2024 18:14
@MizukiTemma
Copy link
Member Author

@JoeyStk
Thank you for review 😃 All suggestions anc fix are addressed.

@sascha11110 sascha11110 force-pushed the refactor/toggling_document_form branch from f8eda67 to 080dfd3 Compare October 25, 2024 16:39
@sascha11110 sascha11110 linked an issue Oct 25, 2024 that may be closed by this pull request
@sascha11110 sascha11110 force-pushed the refactor/toggling_document_form branch from 080dfd3 to fdf499c Compare October 25, 2024 16:48
@sascha11110 sascha11110 self-requested a review October 25, 2024 16:49
Copy link
Contributor

@sascha11110 sascha11110 left a comment

Choose a reason for hiding this comment

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

Reviewed and tested the changes.

@sascha11110 sascha11110 merged commit 52055d9 into develop Oct 25, 2024
1 check passed
@sascha11110 sascha11110 deleted the refactor/toggling_document_form branch October 25, 2024 16: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.

Refactoring of toggle_plural_field.js
3 participants