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

Migrate Doc-It to MUI5 and latest dependencies #601

Merged
merged 50 commits into from
Dec 21, 2022
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
401b83f
Migrate to MUI v5
joebochill Nov 21, 2022
13c6c14
Fix styles for landing page
joebochill Nov 22, 2022
d0cfd18
Finish cleanup of landing page styles and search bar
joebochill Nov 22, 2022
625e481
Fix drawer styles
joebochill Nov 23, 2022
a71d492
Update color palette styles
joebochill Nov 23, 2022
7bc53cd
Fix roadmap styles
joebochill Nov 23, 2022
4fe4441
Fix styles for dev resources
joebochill Nov 23, 2022
71dede8
Fix icon drawer styling
joebochill Nov 23, 2022
f043398
Fix styles for icon browser
joebochill Nov 23, 2022
55fbdff
Fix styles for theme playground
joebochill Nov 23, 2022
e9e0bd8
Fix color drawer styles
joebochill Nov 23, 2022
ac9e444
Fix search indexing for new comment style
joebochill Nov 23, 2022
96ba1d0
Update to latest alpha for themes and components
joebochill Nov 23, 2022
e8b48f0
Add theme picker easter-egg
joebochill Nov 23, 2022
5c4174f
Prettier markdown
joebochill Nov 23, 2022
36607fe
Fix landing page grid margin issue
daileytj Dec 14, 2022
5b96732
Update my maintainer blurb
daileytj Dec 14, 2022
93caf37
Add react native cli templates to resources
daileytj Dec 14, 2022
3fef4c3
Fix typography table and table of contents colors and font sizes
daileytj Dec 15, 2022
20d66a9
Update constants and media queries to work with new mui default break…
daileytj Dec 16, 2022
08adde5
Update TOC render logic
daileytj Dec 16, 2022
c4d519d
Remove TODO.txt
daileytj Dec 16, 2022
c7affab
Merge branch 'dev' into feature/3671-tidy-up-docit-mui-v5-migration
daileytj Dec 16, 2022
d7a12cc
Run indexer
daileytj Dec 16, 2022
f26f60a
Migrate RuleTable, Caption, and BLUIProjectCatalog to mui5
daileytj Dec 19, 2022
88301ea
Fix maintainer card background color logic
daileytj Dec 19, 2022
ba0e1b3
Update markdown-link-check-disable syntax
daileytj Dec 19, 2022
f9ea74f
Clean up html comment syntax
daileytj Dec 19, 2022
f0976b8
Updated icons links in doc it
bkarambe Dec 19, 2022
ff83deb
Disable hash links for link-checker and update sitemap
daileytj Dec 19, 2022
6669b77
Use latest material icons metadata
daileytj Dec 19, 2022
355ad84
Fix spacing and routing
daileytj Dec 19, 2022
2653287
Fix TOC indent and ImageGrid tooltip
daileytj Dec 19, 2022
c167ce5
Fix TOC issue where the active item has a borderLeft
daileytj Dec 19, 2022
1961896
Fix BuildButton styles for resources page
daileytj Dec 19, 2022
c54cfeb
Fix responsive card issue with project catalog
daileytj Dec 19, 2022
4316cca
Fix ColorPalette not wrapping properly at new breakpoints
daileytj Dec 19, 2022
95259d6
Update src/app/api/index.tsx
huayunh Dec 20, 2022
459e3cd
Merge pull request #614 from brightlayer-ui/feature/update-icons-link…
huayunh Dec 20, 2022
5917be2
Fix code block font size issue
daileytj Dec 20, 2022
d78e4ad
Merge pull request #611 from brightlayer-ui/feature/3671-tidy-up-doci…
daileytj Dec 21, 2022
3e1e2c6
Clean up TOC
huayunh Dec 21, 2022
7d9fe48
First child -> first of type
huayunh Dec 21, 2022
110219e
Force avatar background transparency
huayunh Dec 21, 2022
a6e32e5
Update meta data; MUI needs to update theirs
huayunh Dec 21, 2022
cc0b225
Add tech stack to project catalog
huayunh Dec 21, 2022
c5c9ef9
Use markdown syntax for mailto links
huayunh Dec 21, 2022
f69bc24
Remove this blurb about data viz
huayunh Dec 21, 2022
f178777
Yarn indexer
huayunh Dec 21, 2022
f40e73c
first! of! type!
huayunh Dec 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['@brightlayer-ui/eslint-config/tsx'],
parserOptions: {
project: './tsconfig.json',
},
env: {
browser: true,
},
};
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [ '@brightlayer-ui/eslint-config/tsx' ],
parserOptions: {
project: "./tsconfig.json",
},
env: {
browser: true
}
};
21 changes: 5 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
**/**/node_modules
**/**/bower_components
**/**/.idea
/node_modules
/.pnp
.pnp.js

# testing
/coverage
/cypress/screenshots
/cypress/videos

# production
/build
package-lock.json

# IDE - VSCode
.vscode/*


# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.idea/
.idea/**/**
.editorconfig
.angulardoc.json

npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn-error.log*
5 changes: 5 additions & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
General
❌ Eliminate the GA hook refer to devdocs
❌ Look into laggy performance
❌ Add Eslint rule for bundle imports
❌ Use the newer version of redux
File renamed without changes.
6 changes: 4 additions & 2 deletions scripts/crawl/indexer.js → __scripts__/crawl/indexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ function transformToArray(str) {
.replace(/<[\/]?[a-z].+?>/gim, ' ') // take out all the native tags <xxx> and </xxx>
.replace(/<[a-z].+?[ ]?\/>/gim, ' ') // take out all the native tags <xxx/>
.replace(/<!--[\s]*?((?!keywords:).)*?[\s]*?-->/gi, ' ') // omit the comments except for keywords
.replace(/{\/\*[\s]*?((?!keywords:).)*?[\s]*?\*\/}/gi, ' ') // omit the comments except for keywords
// .replace(/<!--[\s]*?(keywords:)(.*?)[\s]*?-->/gi, '$2') // replace keyword comments
.replace(/\[(.*?)\]\(.*?\)/g, '$1'); // replace all the markdown links [text](url) into text
// .replace(/[!@\?#\$%\^&\*\(\)\-\\\|\[\]\+`~\.\,\?<>\{\}/":;]/gim, ' ') // replace any special characters
Expand Down Expand Up @@ -196,12 +197,13 @@ function main() {
// add / update the data entry to keywordIndex
// not all the entries have keywords
if (sitemapDatabase[url].text) {
var keywords_string = sitemapDatabase[url].text.match(/<!--[\s]*?(keywords:)(.*?)[\s]*?-->/gi);
var keywords_string = sitemapDatabase[url].text.match(/{\/\*[\s]*?(keywords:)(.*?)[\s]*?\*\/}/gi);

if (!keywords_string || keywords_string.length === 0) {
return;
}

keywords_string = keywords_string[0].replace(/<!--[\s]*?(keywords:)(.*?)[\s]*?-->/gi, '$2').trim();
keywords_string = keywords_string[0].replace(/{\/\*[\s]*?(keywords:)(.*?)[\s]*?\*\/}/gi, '$2').trim();
var keywords_array = keywords_string.split(' ');

keywords_array.forEach((keyword) => {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,40 @@

# Community Links
echo "Checking Community Links... "
find src/docs/community -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-1.json \;
find src/docs/community -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-1.json \;

# Design Links
echo "Checking Development Links... "
find src/docs/design -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-1.json \;
find src/docs/design -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-1.json \;

# Development Links
echo "Checking Development Links... "
find src/docs/development -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-1.json \;
find src/docs/development -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-1.json \;

# Mobile Framework Links
echo "Checking Mobile Framework Links... "
find src/docs/development/frameworks-mobile -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-2.json \;
find src/docs/development/frameworks-mobile -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-2.json \;

# Web Framework Links
echo "Checking Web Framework Links... "
find src/docs/development/frameworks-web -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-2.json \;
find src/docs/development/frameworks-web -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-2.json \;

# Get Started Links
echo "Checking Get Started Links... "
find src/docs/get-started -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-1.json \;
find src/docs/get-started -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-1.json \;

# Design Pattern Links
echo "Checking Design Pattern Links... "
find src/docs/patterns -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-1.json \;
find src/docs/patterns -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-1.json \;

# Release Notes Links
echo "Checking Release Notes Links... "
find src/docs/release-notes -maxdepth 2 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-2.json \;
find src/docs/release-notes -maxdepth 2 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-2.json \;

# Style Links
echo "Checking Style Links... "
find src/docs/style -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-1.json \;
find src/docs/style -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-1.json \;

# Root Links
echo "Checking Root Links... "
find src/docs -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./___scripts___/link-check/config/depth-0.json \;
find src/docs -maxdepth 1 -name \*.mdx -exec markdown-link-check {} -q -v -c ./__scripts__/link-check/config/depth-0.json \;
104 changes: 0 additions & 104 deletions config/env.js

This file was deleted.

58 changes: 0 additions & 58 deletions config/getHttpsConfig.js

This file was deleted.

29 changes: 0 additions & 29 deletions config/jest/babelTransform.js

This file was deleted.

14 changes: 0 additions & 14 deletions config/jest/cssTransform.js

This file was deleted.

40 changes: 0 additions & 40 deletions config/jest/fileTransform.js

This file was deleted.

Loading