epic-stack icon indicating copy to clipboard operation
epic-stack copied to clipboard

feat: simplify new app setup by reducing areas that need modification

Open jwdotjs opened this issue 1 year ago • 0 comments

Intro

Hello! Just wanted to say I'm using this for a new project and I'm super pumped to have found this. Thank you to all contributors for everything you've done to make this great.

As I was getting my project bootstrapped, I noticed a few things that could help speed up getting up and running and this PR covers one of them.

If any of the changes are undesirable or don't follow conventions, please let me know and I can adjust accordingly!

Summary

Moves all instances of Epic Notes to a single file so new Epic Stack users can modify a single line and have it propagate to all instances where that constant is used.

Note: In root.tsx, I split the APP_NAME value on spaces and then try to render the first word and all remaining words so there is one less place for developers to modify, at least early on.

Test Plan

I didn't add any additional tests, but I can if helpful. search.test.ts was checking for the string Epic Notes, and that test is still passing.

Checklist

  • [x] Tests updated
  • [x] Docs updated (no changes needed)

Screenshots

Screenshots showcase no regressions in the UI:

Screenshot 2024-05-09 at 1 48 11 PM Screenshot 2024-05-09 at 1 49 01 PM Screenshot 2024-05-09 at 1 49 16 PM

Behavior For 1-Word And 3+ Word App Name

Screenshot 2024-05-09 at 1 52 25 PM

Screenshot 2024-05-09 at 1 52 33 PM

jwdotjs avatar May 09 '24 20:05 jwdotjs