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 components and views to Storybook compatibility #17800

Merged
merged 23 commits into from Jun 9, 2020

Conversation

tassoevan
Copy link
Contributor

@tassoevan tassoevan commented Jun 1, 2020

Proposed changes

As Storybook excels at quickly prototyping components, it was adopted some versions ago as an important tool to frontend development. As TypeScript modules were introduced containing typing errors, our development routine was compromised as the Webpack configuration is way more stricter than Meteor building.

Issue(s)

How to test or reproduce

Run meteor npm run storybook on CLI.

Screenshots

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Hotfix (a major bugfix that has to be merged asap)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Changelog

Further comments

Most of the typing errors were rough mistakes that indicate there is no type checking being performed. I'm guessing here, but it seems ESLint isn't capable of type checking as it verifies each file individually; meteor node node_modules/.bin/tsc --noEmit did the trick for me.

@tassoevan tassoevan changed the title Refactor/components and views Refactor components and views to Storybook compatibility Jun 4, 2020
@tassoevan tassoevan requested review from sampaiodiego and a team June 4, 2020 16:44
@tassoevan tassoevan added the ui/ux label Jun 4, 2020
@tassoevan tassoevan changed the title Refactor components and views to Storybook compatibility [CHORE] Refactor components and views to Storybook compatibility Jun 4, 2020
@tassoevan tassoevan changed the title [CHORE] Refactor components and views to Storybook compatibility [FIX] Refactor components and views to Storybook compatibility Jun 5, 2020
@tassoevan tassoevan marked this pull request as ready for review June 5, 2020 03:02
@tassoevan tassoevan closed this Jun 8, 2020
@tassoevan tassoevan force-pushed the refactor/components-and-views branch from 0db115e to e01297c Compare June 8, 2020 23:30
@tassoevan tassoevan reopened this Jun 8, 2020
@tassoevan tassoevan force-pushed the refactor/components-and-views branch from b6fdbf3 to 75cc674 Compare June 9, 2020 02:26
@ggazzo ggazzo changed the title [FIX] Refactor components and views to Storybook compatibility Refactor components and views to Storybook compatibility Jun 9, 2020
@ggazzo ggazzo merged commit 6be2861 into develop Jun 9, 2020
@ggazzo ggazzo deleted the refactor/components-and-views branch June 9, 2020 12:55
ggazzo added a commit that referenced this pull request Jun 9, 2020
…/new-threads

* 'develop' of github.com:RocketChat/Rocket.Chat:
  [FIX] Importers progress sending too much update events to clients (#17857)
  [FIX] Omnichannel message link is broken in email notifications (#17843)
  [FIX] Logic for room type was inverted in edit panel (#17851) (#17853)
  Refactor components and views to Storybook compatibility (#17800)
  [FIX] Slack importer settings object (#17776)
  Create codeql-analysis.yml
@sampaiodiego sampaiodiego mentioned this pull request Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants