Skip to content

Conversation

@MichaelDeBoey
Copy link
Contributor

Resubmission of #2856

Follow-up of #2644 & #2865

Things I did extra:

  • Extract useInterval into it's own file in app/hooks
  • Just use a single file for Action, ForkButton, Header, LikeButton, Logo, MenuBar, PickButton, RefreshButton, SandboxName & ShareButton to not pollute the project files unnecessarily
  • Make Action, Logo, MenuBar, PrivacyTooltip, Private, Public, RefreshButton, Unlisted & UpdateFound a FunctionComponent
  • Cleanup ActionProps
  • Put all styles into the elements.ts file
  • Delete PatronButton, SaveAllButton & ViewMode since they're not used anymore
  • Derive Header's prop type from Container's prop type

@MichaelDeBoey MichaelDeBoey added 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Dec 16, 2019
@lbogdan lbogdan temporarily deployed to pr3218 December 16, 2019 22:34 Inactive
@lbogdan
Copy link
Contributor

lbogdan commented Dec 16, 2019

Build for latest commit c6013dd is at https://pr3218.build.csb.dev/s/new.

@lbogdan lbogdan temporarily deployed to pr3218 December 30, 2019 14:57 Inactive
@SaraVieira
Copy link
Contributor

Thank you!

@MichaelDeBoey
Copy link
Contributor Author

With pleasure! 🙂

@MichaelDeBoey MichaelDeBoey deleted the overmind/Header branch December 30, 2019 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧠 Overmind Indicates that this is related to the app's State Management 🔨 Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants