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 v1 #47

Draft
wants to merge 37 commits into
base: v1
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d85a259
refactor: redesign v1
lgou2w Jul 25, 2024
2b2a735
chore: move build.rs from src
lgou2w Jul 26, 2024
899d41d
chore: some fixes
lgou2w Jul 26, 2024
3fad6f2
chore: infrastructure work
lgou2w Jul 26, 2024
58019f9
feat: error type and command api
lgou2w Jul 27, 2024
488e0b2
chore: print jest verboses
lgou2w Jul 27, 2024
63b3fc8
chore: merge titlebar classes
lgou2w Jul 27, 2024
f3d1577
feat: change webview color scheme
lgou2w Jul 28, 2024
f1ca3ba
chore: some fixes
lgou2w Jul 28, 2024
e253688
chore: update theme color scheme
lgou2w Jul 28, 2024
70f8373
chore: remove tauri struct
lgou2w Jul 28, 2024
0f2b553
chore: infrastructure work
lgou2w Jul 29, 2024
e9ce290
chore: some fixes
lgou2w Jul 29, 2024
6076385
chore: infrastructure work
lgou2w Jul 31, 2024
01d929a
chore: some fixes
lgou2w Jul 31, 2024
8251de9
chore: optimise logic for parsing gacha url
lgou2w Aug 1, 2024
1f02713
chore: infrastructure work
lgou2w Aug 3, 2024
c0dd44b
chore: missing path in home route
lgou2w Aug 3, 2024
f32546a
chore: bump dependencies version
lgou2w Aug 4, 2024
6b211d9
feat: new ui concept style
lgou2w Aug 4, 2024
bc71329
chore: infrastructure work
lgou2w Aug 6, 2024
0be3bb7
chore: infrastructure work
lgou2w Aug 10, 2024
3805fee
feat: infrastructure work
lgou2w Aug 11, 2024
f1c51a3
feat: gacha infrastructure
lgou2w Aug 11, 2024
183f5db
chore: infrastructure work
lgou2w Aug 27, 2024
0805652
feat: infrastructure work
lgou2w Sep 8, 2024
0d3d9b2
feat: infrastructure work
lgou2w Sep 12, 2024
ad1a1ce
chore: add version with prefix const
lgou2w Sep 13, 2024
174c894
chore: refactor model structs to implement PartialEq and Eq traits
lgou2w Sep 13, 2024
36cdd43
feat: improvement of legacy uigf writer
lgou2w Sep 13, 2024
b5537f8
chore: avoiding useless cloning
lgou2w Sep 13, 2024
16a8ae1
feat(#52): implementation of uigf v4.0 reading
lgou2w Sep 13, 2024
f5e1afe
feat(#52): implementation of uigf v4.0 writing
lgou2w Sep 14, 2024
5435a5c
feat: improvement of gacha convert
lgou2w Sep 14, 2024
c474989
feat: infrastructure work
lgou2w Sep 17, 2024
81be850
chore: improvement of gacha convert
lgou2w Sep 18, 2024
0bc992e
feat: infrastructure work
lgou2w Sep 29, 2024
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
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-react"]
}
11 changes: 11 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module.exports = {
},
rules: {
semi: ['error', 'never'],
'@typescript-eslint/no-unused-expressions': ['error', { allowShortCircuit: true }],
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
'deprecation/deprecation': 'error',
'import/no-unresolved': 'error',
Expand Down Expand Up @@ -97,6 +98,16 @@ module.exports = {
caseInsensitive: false
}
}
],
'sort-imports': [
'error',
{
allowSeparatedGroups: true,
ignoreCase: false,
ignoreDeclarationSort: true,
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single']
}
]
}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ dist-ssr
*.sw?

# User custom
!.vscode/
!.vscode/settings.json
.idea/
node_modules/
target/
dist/

_v1/
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm lint
pnpm test
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
{
"editor.tabSize": 2,

"rust-analyzer.check.command": "clippy",
"rust-analyzer.diagnostics.enable": true,
"rust-analyzer.showUnlinkedFileNotification": false,
"[rust]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},

"eslint.format.enable": true,
"eslint.validate": ["javascript", "typescript"],
"[javascript][typescript][typescriptreact]": {
"editor.formatOnSave": false, // Because it conflicts with ESLint.
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
}
Loading