How to make first contribution to Phoenix project?

I think I’ve found a small improvement I could contribute to <%= web_namespace %>.CoreComponents (installer/templates/phx_web/components). I need a feature that isn’t available yet.

A noob question about contributing to Phoenix:

I’ve contributed to other open source projects before (translations and a few code changes), but this would be my first contribution to Phoenix.

  • Should I discuss the idea first before opening a pull request, or is it okay to submit one directly?
  • I searched the test suite but couldn’t find tests for core_components.ex template. Should I and where to include tests with the PR?

Thanks! Any advice or contribution guidelines would be greatly appreciated.