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 name and URL CustomEditorForm inputs #3853

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

d-rita
Copy link
Contributor

@d-rita d-rita commented Nov 9, 2020

What does this PR do?
Refactor text inputs in the CustomEditorForm

Steps Taken

  • Create a CustomEditorTextInput component
  • Add conditional rendering of the input label
  • Refactor name and URL inputs using the new component

@d-rita d-rita added Difficulty: 1 type: enhancement Improving an existing functionality labels Nov 9, 2020
@d-rita d-rita force-pushed the refactor/custom-editor-inputs branch from a4705ac to ff4d979 Compare November 10, 2020 11:47
Copy link
Contributor

@willemarcel willemarcel left a comment

Choose a reason for hiding this comment

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

@d-rita a small suggestion of change. Also make sure to have the git pre-commit hook setup, so the indentation of customEditor file will be fixed (it's the only file with 4 spaces indentation on the frontend)

frontend/src/components/customEditorInput.js Outdated Show resolved Hide resolved
- Create a CustomEditorTextInput component
- Add conditional rendering of the input label
- Refactor name and url inputs using new component
@willemarcel willemarcel added this to the 4.2.1 milestone Nov 11, 2020
@willemarcel willemarcel merged commit 935690d into develop Nov 11, 2020
@willemarcel willemarcel deleted the refactor/custom-editor-inputs branch November 11, 2020 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: frontend type: enhancement Improving an existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants