-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate codebase to Typescript and CSS Modules (#1106)
* Move blog's components under Blog namespace * Restructure components * Allow to scroll smoothly in the scrollIntoLayout util function * Replace styled-reset to reset-css. Merge global styles. Use local classNames instead of global in few components * Refactor Home page components to TS * Remove duplicated component - TrySection and replace it with PromoSection * Refactor SubscribeSection to get rid of linter warning * Extend scroll utils * Create one common component for buttons with two rows: TwoRowButton. Use it everywhere on main page. Refactor DownloadButton component * Refactor Support page components to TS * Fix scroll for no-hash links * Disable trailing slash redirects for dev mode * Refactor Features page components to TS * Refactor Community page components to TS * Refactor Documentation layout components to TS * Refactor remaining Documentation components to TS * Refactor root html file to TS * Get rid of styled-components * Add util for handling keyboard events to follow DRY * Remove hack from SearchForm to avoiding loading conflict with mailchimp embed script (as it was removed before) * Refactor front utils to TS * Remove temporary rule from eslint config * Refactor Link component to use redirected urls as href * Remove !important rules from ShowOnly styles * Split utils by using on front and shared * Refactor gatsby-node to separate utils * Update @react/portal package. Remove our custom Portal component * Update linters and reformat code accordingly to new rules * Update babel & webpack related packages * Update react related packages * Update gatsby-related packages * Update remaining packages * Another try to fix hash navigation * Make tsconfig more stricter. Remove wrong eslint rule and refactor all warnings * Toggle mobile menu only in mobile version * Fix Algolia's dropdown position * Fix Get Started button for the mobile version of main page * Align buttons in PromoSection component for mobile view * Fix comments blog rendering * Fix share buttons overlapping * Fix line height for main page sections titles * Fix some styles for the main page * Fix styles of RightPanel * Change styles of docs abbr tooltip a little bit * Fix initial scrolling in the RightPanel * Fix wrong tagname * Fix scroll in the left sidebar * Move src/utils/node to src/gatsby * Fix animation for doc pages * Fix styles for abbr tooltip * Fix svg images in the blog Co-authored-by: Pavel Grinchenko <[email protected]>
- Loading branch information
1 parent
058679b
commit d54388a
Showing
236 changed files
with
7,829 additions
and
7,727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--- | ||
name: Bug or improvement report | ||
about: Create a report to help us improve | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.cache/ | ||
.github | ||
public/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"semi": false, | ||
"arrowParens": "avoid", | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 80, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
/* eslint-env node */ | ||
|
||
const Prism = require('prismjs') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.