Skip to content

Conversation

@max-nextcloud
Copy link
Collaborator

@max-nextcloud max-nextcloud commented Oct 8, 2024

Use two functions that do one thing
rather than one with a boolean flag.

Simplifies the functions use and signature a lot
in particular since plain and rich editor need different arguments.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • tests are not needed as this is a refactoring.
  • Documentation is not required.

@max-nextcloud max-nextcloud requested a review from mejo- as a code owner October 8, 2024 07:53
Use two functions that do one thing
rather than one with a boolean flag.

Simplifies the functions use and signature a lot
in particular since plain and rich editor need different arguments.

Signed-off-by: Max <[email protected]>
This does not require jsdoc comments.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud force-pushed the refactor/split-createEditor branch from a87e233 to f724894 Compare October 8, 2024 07:57
@max-nextcloud
Copy link
Collaborator Author

Cypress failures in assistant and version tests are known and unrelated.

@max-nextcloud
Copy link
Collaborator Author

Superseeded by #6507

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