Skip to content

Conversation

@johnhooks
Copy link
Collaborator

@johnhooks johnhooks commented Apr 27, 2023

What?

  • Switch to TypeScript
  • Restructure the src directory to put components into separate directories.
  • Move css related to components to their individual directories.

Why?

TypeScript is great and so is organization.

@Sephsekla
Copy link
Collaborator

Awesome stuff! I've only scanned this but this is a massive improvement.

@johnhooks
Copy link
Collaborator Author

@Sephsekla thanks, I still need to break the css apart and put the styles directly next to the components.

@johnhooks johnhooks force-pushed the refactor/src-dir-struture branch from 824977b to b25ec24 Compare April 27, 2023 14:00
@Sephsekla Sephsekla added the javascript Pull requests that update Javascript code label May 9, 2023
@johnhooks
Copy link
Collaborator Author

@Sephsekla @erikyo I'm going to walk back the attempt to split out the styling. I'm going to fix this PR to be just about the JS to TS conversion.

@johnhooks johnhooks force-pushed the refactor/src-dir-struture branch from e5dabc7 to b22f2a3 Compare July 23, 2023 14:03
@johnhooks johnhooks force-pushed the refactor/src-dir-struture branch from b22f2a3 to 06e9c63 Compare July 23, 2023 14:04
@johnhooks johnhooks requested a review from erikyo July 23, 2023 14:09
Copy link
Collaborator

@erikyo erikyo left a comment

Choose a reason for hiding this comment

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

LGTM!
(a PR will follow to fix the storybook setup)

@johnhooks johnhooks merged commit b9fcdc6 into WordPress:develop Jul 23, 2023
@johnhooks johnhooks deleted the refactor/src-dir-struture branch July 23, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants