Skip to content

Commit

Permalink
Feat/1.2.1/UI (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai authored Nov 21, 2023
1 parent a17ce16 commit 6a0432b
Show file tree
Hide file tree
Showing 13 changed files with 1,267 additions and 618 deletions.
4 changes: 3 additions & 1 deletion i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ ui:
x_hours_ago: "{{count}}h ago"
hour: hour
day: day
hours: hours
days: days
comment:
btn_add_comment: Add comment
reply_to: Reply to
Expand Down Expand Up @@ -856,7 +858,7 @@ ui:
placeholder: Search
footer:
build_on: >-
Built on <1> Answer </1>- the open-source software that powers Q&A
Powered by <1> Apache Answer </1>- the open-source software that powers Q&A
communities.<br />Made with love © {{cc}}.
upload_img:
name: Change
Expand Down
3 changes: 2 additions & 1 deletion ui/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module.exports = {
es2021: true,
},
extends: [
'react-app',
'react-app/jest',
'plugin:react/recommended',
'airbnb',
'airbnb-typescript',
'plugin:import/typescript',
Expand Down Expand Up @@ -61,6 +61,7 @@ module.exports = {
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'jsx-a11y/tabindex-no-positive': 'off',
'jsx-a11y/control-has-associated-label': 'off',
'func-names': 'off',
'no-alert': 'off',
'prefer-promise-reject-errors': 'off',
Expand Down
28 changes: 14 additions & 14 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"lint": "eslint . --cache --fix --ext .ts,.tsx",
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"prettier": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}' --config ./.prettierrc.json",
"pre-install": "node ./scripts/preinstall.js && pnpm install",
"prepare": "pnpm build:packages",
"pre-commit": "lint-staged",
Expand Down Expand Up @@ -58,31 +58,31 @@
"@types/qs": "^6.9.7",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.33.0",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"customize-cra": "^1.0.0",
"eslint": "^8.0.1",
"eslint": "^8.53.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"humps": "^2.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"lint-staged": "^13.2.3",
"postcss": "^8.0.0",
"prettier": "^2.7.1",
"prettier": "^3.1.0",
"purgecss-webpack-plugin": "^4.1.3",
"react-app-rewired": "^2.2.1",
"react-scripts": "5.0.1",
"sass": "^1.54.4",
"typescript": "^4.8.3",
"typescript": "^4.9.5",
"yaml-loader": "^0.8.0"
},
"packageManager": "pnpm@8.9.2",
Expand Down
Loading

0 comments on commit 6a0432b

Please sign in to comment.