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

Rebranding of Xplorer #173

Merged
merged 88 commits into from
Nov 21, 2021
Merged
Show file tree
Hide file tree
Changes from 87 commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
c7a82bd
feat: initialize tauri
kimlimjustin Oct 16, 2021
41ce38c
feat: setup webpack and tauri
kimlimjustin Oct 18, 2021
d1e2a9e
docs: introduce new icon
kimlimjustin Oct 18, 2021
4bce21f
rebrand: basic layout in tauri
kimlimjustin Oct 19, 2021
5f1850f
rebrand: reimplement sidebar
kimlimjustin Oct 20, 2021
5aa3f02
fix: locales not working on production
kimlimjustin Oct 21, 2021
e01d96a
rebrand: reimplement Xplorer layout
kimlimjustin Oct 22, 2021
4afd668
fix: broken google drive partition size
kimlimjustin Oct 22, 2021
af286ce
refactor: improve drive detection
kimlimjustin Oct 23, 2021
de2a1eb
test: config jest with typescript and add some tests
kimlimjustin Oct 23, 2021
a576c93
fix: drives changes detection broken on linux
kimlimjustin Oct 23, 2021
605adc9
feat: reimplement storing preference into local storage
kimlimjustin Oct 23, 2021
0330708
refactor: update some icons
kimlimjustin Oct 23, 2021
3c5d0d7
feat: reimplement open directory method
kimlimjustin Oct 24, 2021
ec75681
fix: wrong data presented on drive's available space
kimlimjustin Oct 24, 2021
9b6780d
Merge branch 'master' into rebrand
kimlimjustin Oct 24, 2021
de95059
feat: reimplement file type function
kimlimjustin Oct 24, 2021
12435d2
feat: allow file and video thumbnail and reimplement open file with d…
kimlimjustin Oct 25, 2021
169f1ac
chore: hot reload
kimlimjustin Oct 25, 2021
c1577dc
chore hot reload on scss file
kimlimjustin Oct 25, 2021
e887840
feat: reimplement tabs
kimlimjustin Oct 25, 2021
c35efd3
fix: broken rust code on unix
kimlimjustin Oct 25, 2021
7a42ac4
feat: files section on home page for unix
kimlimjustin Oct 25, 2021
f04e1ea
feat: reimplement recent file page
kimlimjustin Oct 26, 2021
646794d
Merge branch 'master' into rebrand
kimlimjustin Oct 26, 2021
c6280fa
refactor: restructure project
kimlimjustin Oct 26, 2021
3912c57
feat: reimplement file selection
kimlimjustin Oct 28, 2021
3a820b1
fix: wrong conf
kimlimjustin Oct 28, 2021
777eb62
feat: reimplement basic file operation
kimlimjustin Nov 1, 2021
89611d5
feat: reimplement cut file, undo and redo operations
kimlimjustin Nov 2, 2021
39c8538
refactor: deprecate monorepo setup and custom theme customization as …
kimlimjustin Nov 3, 2021
1bc755b
feat: reimplement trash and permanently delete files
kimlimjustin Nov 4, 2021
7170d82
feat: reimplement settings
kimlimjustin Nov 7, 2021
373353e
feat: default sorting algorithm for some folders
kimlimjustin Nov 7, 2021
5bd2e0e
feat: reimplement context menu
kimlimjustin Nov 7, 2021
1ca3f8f
Merge branch 'master' into rebrand
kimlimjustin Nov 7, 2021
846d7e3
feat: reimplement dir listener
kimlimjustin Nov 7, 2021
f7444ae
feat: reimplement file grid hover handler
kimlimjustin Nov 7, 2021
f005471
refactor: reimplement directory watcher on rust instead of typescript
kimlimjustin Nov 8, 2021
581b5e2
perf: improve open directory performance
kimlimjustin Nov 8, 2021
2b90770
feat: reimplement restore file from trash and purge trashed files
kimlimjustin Nov 9, 2021
6301294
fix: restoring file from trash not working handler
kimlimjustin Nov 9, 2021
c4ad3f7
fix: wrong path of trashed files show up on hover
kimlimjustin Nov 9, 2021
45a6a3a
feat: reimplement properties
kimlimjustin Nov 10, 2021
7ccfbf0
deps: remove unused dependencies
kimlimjustin Nov 10, 2021
33ee1ac
refactor<perf>: file type
kimlimjustin Nov 12, 2021
053eada
feat: add file properties on recent page
kimlimjustin Nov 13, 2021
0439041
feat: continue previous session after reopening xplorer
kimlimjustin Nov 13, 2021
d82e6ae
feat<perf>: improve lazy load thumbnail performance
kimlimjustin Nov 14, 2021
432e446
refactor<perf>: use trie to determine file thumbnail
kimlimjustin Nov 14, 2021
9f3e790
fix: tabs manager scrollbar is not scrollable
kimlimjustin Nov 14, 2021
dd0d814
feat: reimplement file preview
kimlimjustin Nov 14, 2021
0f057b8
refactor: deprecate option menu in favor of settings and fix eslint i…
kimlimjustin Nov 14, 2021
22bc5f0
refactor: reimplement extract icon function and remove bindings as it…
kimlimjustin Nov 14, 2021
1ca5096
test: add lib thumbnail existence test and remove failed category fro…
kimlimjustin Nov 15, 2021
8fe9861
fix: open context menu on the edge of the window make it go under the…
kimlimjustin Nov 15, 2021
f42badd
feat: add appearance settings
kimlimjustin Nov 15, 2021
c6af796
fix: pin image to favorites make Xplorer crashes on open
kimlimjustin Nov 16, 2021
49ee428
fix: broken thumbnail on sidebar shown as result of c6af796
kimlimjustin Nov 16, 2021
1b8a582
fix: app not responding after deleting pinned files
kimlimjustin Nov 16, 2021
9094858
fix: not working on macos
kimlimjustin Nov 16, 2021
b325942
fix: import fails on unix because of case sensitivity
kimlimjustin Nov 16, 2021
9b8bac1
fix: broken icon format
kimlimjustin Nov 17, 2021
41894bf
fix: recents page not working after deleting one of the recent files
kimlimjustin Nov 17, 2021
7d36d4e
fix: improper conditional validator
kimlimjustin Nov 17, 2021
3bffc27
feat: improve appearance
kimlimjustin Nov 17, 2021
136428e
feat: preview markdown files
kimlimjustin Nov 18, 2021
99180f8
refactor: refactor unused devDependencies and unused scripts
kimlimjustin Nov 18, 2021
faf8c01
feat: add open invalid folder name handler
kimlimjustin Nov 18, 2021
ad3c1c2
refactor<perf, styles>: improve update theme performance and avoid mu…
kimlimjustin Nov 19, 2021
8d0dc09
fix: favorites file is considered as directory on home page
kimlimjustin Nov 19, 2021
8222736
fix: "Home" page is ignored on sidebar
kimlimjustin Nov 19, 2021
ca66b51
ci: update workflows
kimlimjustin Nov 19, 2021
64e6f38
fix: changing frame style from system default to default not adding m…
kimlimjustin Nov 19, 2021
30b29a5
refactor: temporally remove read user theme json feature as it gives …
kimlimjustin Nov 19, 2021
388be57
fix: trash and recent folder on favorites section are considered as file
kimlimjustin Nov 19, 2021
7a902eb
feat: add ability to turn on/off drive change detector
kimlimjustin Nov 19, 2021
764a2dd
fix: `undefined` address when `goParentDir` is clicked inside `xplore…
stanleyowen Nov 19, 2021
7a0d91f
deps: upgrade to latest
kimlimjustin Nov 19, 2021
8861d2b
feat: close hover preview on context menu
kimlimjustin Nov 19, 2021
beb3d90
feat: system default theme change listener
kimlimjustin Nov 19, 2021
93769a8
fix: annoying command prompt prompt out every time execute a command
kimlimjustin Nov 20, 2021
566eea5
docs: update docs
kimlimjustin Nov 20, 2021
dec1f60
docs: fix broken link
kimlimjustin Nov 20, 2021
0ca9b58
fix: not themed properties
kimlimjustin Nov 20, 2021
cee1783
fix: wrong thumbnail when there is no "dot" on a file name
kimlimjustin Nov 20, 2021
de2c0ce
docs: fix broken link and update locales
kimlimjustin Nov 20, 2021
b3fd69c
fix: maximize button not work properly
kimlimjustin Nov 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
test/*
src/Typings/*
src/Lib/**/*
outs/**/*
out/**/*
scripts/*
src/Components/Functions/log.ts
gruntfile.js
docs/**/*
packages/**/*
packages/**/*
*.config.js
6 changes: 5 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ parserOptions:
sourceType: module
plugins:
- '@typescript-eslint'
rules: { '@typescript-eslint/no-var-requires': 0 }
rules:
{
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }],
}
88 changes: 32 additions & 56 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,70 +1,46 @@
name: Build

name: 'publish'
on:
push:
branches: [master]
jobs:
build-win:
runs-on: windows-latest

strategy:
matrix:
node-version: [14.x]

jobs:
empty-draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
cache: 'npm'

- name: Update npm
run: npm install --global npm@latest

- name: Patch node-gyp to support Visual Studio 2019
shell: powershell
run: |
npm install --global node-gyp@latest
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
- run: yarn install --frozen-lockfile
- name: Build on Windows
- name: Empty drafts
uses: hugo19941994/delete-draft-releases@v1.0.0
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn build --publish=always

build-mac:
runs-on: macos-latest
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
publish-tauri:
strategy:
fail-fast: false
matrix:
node-version: [14.x]
platform: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- name: Build on macOS
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn build --publish=always

build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
node-version: 12
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- name: Build on Linux
toolchain: stable
- name: install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: install app dependencies and build it
run: yarn && yarn build
- uses: tauri-apps/tauri-action@v0
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn build --publish=always
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tagName: app-v__VERSION__
releaseName: 'App v__VERSION__'
releaseBody: 'See the assets to download this version and install.'
releaseDraft: true
prerelease: false
58 changes: 27 additions & 31 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,35 @@
name: Jest

on:
push:
branches: [master]
pull_request:
branches: [master]
on: [push, pull_request]

jobs:
jest-mac:
runs-on: macos-latest
jest-mac:
runs-on: macos-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test
jest-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test
jest-linux:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn test
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn test
32 changes: 14 additions & 18 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
name: Lint

on:
push:
branches: [master]
pull_request:
branches: [master]
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn lint
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn lint
58 changes: 27 additions & 31 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
name: Compile TypeScript

on:
push:
branches: [master]
pull_request:
branches: [master]
on: [push, pull_request]

jobs:
ts-mac:
runs-on: macos-latest
ts-mac:
runs-on: macos-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn compile
ts-linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn compile
ts-linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn compile
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn compile
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ temp
yarn-error.log
.DS_Store
.idea
target
WixTools
fake-files
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.15.0
v16.0.0
5 changes: 1 addition & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
build
dist
outs
out
node_modules
src/Components/Theme/theme.ts
src/Components/Files/File Operation/open.ts
src/Components/Favorites/favorites.ts
*.min.
packages/**/*.ejs
9 changes: 5 additions & 4 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"printWidth": 150
}
17 changes: 10 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust"
}
}
Loading