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 SidebarWidgets #2013

Open
Sekhmet opened this issue Jun 26, 2018 · 0 comments
Open

Refactor SidebarWidgets #2013

Sekhmet opened this issue Jun 26, 2018 · 0 comments

Comments

@Sekhmet
Copy link
Contributor

Sekhmet commented Jun 26, 2018

Those components should use BaseWidget instead of reimplementing its logic. These components should be stateless.

  • CryptoTrendingCharts -> ChartsWidget
  • InterestingPeople and InterestingPeopleWithAPI -> PeopleWidget
  • LastDrafts -> LastDraftsWidget
  • PostRecommendation -> PostsWidget
  • ClaimRewardsBlock -> ClaimRewardsWidget
  • UserActivitySearch -> FilterWidget

Containers:

  • ChartsWidgetContainer for ChartsWidget
  • InterestingPeopleWidgetContainer and RebloggedPeopleWidgetContainer for ChartsWidget
  • LastDraftsWidgetContainer for LastDraftsWidget
  • PostRecommendationsWidgetContainer for PostsWidget
  • ClaimRewardsWidgetContainer for ClaimRewardsBlock
  • ActivityFilterWidgetContainer for FilterWidget

To be deleted:

  • LatestComments - not used
  • StartNow - not used
@Sekhmet Sekhmet self-assigned this Jun 26, 2018
@Sekhmet Sekhmet mentioned this issue Jun 26, 2018
9 tasks
@Sekhmet Sekhmet removed their assignment Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant