Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
d58e52f
fix(deps): update dependency tldts to ^6.1.73
renovate[bot] Jan 18, 2025
15b6855
chore(deps): update dependency @types/chrome to ^0.0.299
renovate[bot] Jan 21, 2025
fc0887a
chore(deps): update dependency vite to ^6.0.11
renovate[bot] Jan 21, 2025
3cb7bac
fix(deps): update mui to ^6.4.1
renovate[bot] Jan 21, 2025
10a4be1
Merge pull request #507 from okaryo/renovate/mui
okaryo Jan 22, 2025
0fdbf0a
Merge pull request #506 from okaryo/renovate/types
okaryo Jan 22, 2025
f7079b6
Merge pull request #503 from okaryo/renovate/vite
okaryo Jan 22, 2025
8cc4c51
Merge pull request #502 from okaryo/renovate/tldts-6.x
okaryo Jan 22, 2025
b1ffbd7
docs: add CONTRIBUTING.md
okaryo Jan 28, 2025
f9f6bb3
Merge pull request #517 from okaryo/doc/contribution-guideline
okaryo Jan 28, 2025
631f5b8
docs: fix image path in CONTRIBUTING.md
okaryo Jan 28, 2025
eddbf97
Merge pull request #518 from okaryo/doc/contribution-guideline
okaryo Jan 28, 2025
c83a255
ci: replace github action version tag with hash
okaryo Mar 22, 2025
2182e6c
Merge pull request #522 from okaryo/ci/replace-ga-hash
okaryo Mar 22, 2025
44d7a06
fix(ci): update renovate group setting
okaryo Oct 28, 2025
5093375
fix(deps): update dev dependencies
okaryo Oct 28, 2025
4ad5241
fix: add typecheck command
okaryo Oct 28, 2025
82d7401
fix: type handling
okaryo Oct 28, 2025
d3ea2c9
fix(ci): update action's versions
okaryo Oct 28, 2025
e78bdbe
fix(dpes): update dependencies
okaryo Oct 28, 2025
966a08d
fix: import path for mui v7
okaryo Oct 28, 2025
17a1225
fix: exclude release labels from changelog
okaryo Oct 28, 2025
1a80db3
Merge pull request #534 from okaryo/fix/update-deps
okaryo Oct 28, 2025
a122e17
fix(deps): update dependency tldts to v7
renovate[bot] Oct 28, 2025
87daaac
release: v2.38.4
okaryo Oct 28, 2025
f98201b
Merge pull request #539 from okaryo/release/v2.38.4
okaryo Oct 28, 2025
6eb1361
fix: update Ruby version to 3.4.7 in release pull request workflow
okaryo Oct 28, 2025
5aa54ea
Merge pull request #538 from okaryo/renovate/tldts-7.x
okaryo Oct 28, 2025
bcc6729
fix: update node version to 24.10.0 in CI and release workflows
okaryo Oct 28, 2025
d94f4e1
chore(deps): update biome to v2
okaryo Oct 28, 2025
9e282a8
chore(refactor): apply new biome formatter
okaryo Oct 28, 2025
675198a
fix: exclude `fn` from dependency array to prevent unnecessary re-ren…
okaryo Oct 28, 2025
6def796
Merge pull request #540 from okaryo/fix/update-biome
okaryo Oct 28, 2025
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
4 changes: 4 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
changelog:
exclude:
labels:
- release

categories:
- title: 🎉 Features
labels:
Expand Down
25 changes: 6 additions & 19 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,16 @@
"prHourlyLimit": 0,
"packageRules": [
{
"groupName": "react",
"matchPackageNames": ["@types/react", "@types/react-dom"],
"matchPackagePrefixes": ["react"]
"matchDepTypes": ["devDependencies"],
"groupName": "devDependencies"
},
{
"groupName": "emotion",
"matchPackagePrefixes": ["@emotion"]
"matchFileNames": ["dependencies"],
"groupName": "dependencies"
},
{
"groupName": "mui",
"matchPackagePrefixes": ["@mui"]
},
{
"groupName": "vite",
"matchPackagePrefixes": ["vite", "@vitejs/"]
},
{
"groupName": "types",
"matchPackagePrefixes": ["@types/"]
},
{
"groupName": "dnd-kit",
"matchPackagePrefixes": ["@dnd-kit/"]
"matchManagers": ["github-actions"],
"groupName": "GitHub Actions"
}
]
}
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 20
node-version: 24.10.0
cache: npm
- uses: actions/cache@v4
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: node_modules_cache_id
env:
cache-name: cache-node-modules
Expand All @@ -30,5 +30,7 @@ jobs:
run: npm run test
- name: Run Lint and Formatter
run: npm run check:ci
- name: Run Type Check
run: npm run typecheck
- name: Run Locale Lint
run: npm run locale-lint
6 changes: 3 additions & 3 deletions .github/workflows/create-release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: ruby/setup-ruby@d5126b9b3579e429dd52e51e68624dda2e05be25 # v1.267.0
with:
ruby-version: 3.3
ruby-version: 3.4.7
- run: gem install --no-document git-pr-release
- run: git-pr-release --overwrite-description
env:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install jq
run: sudo apt-get install -y jq
- name: Get version from manifest.json
run: |
VERSION=$(jq -r '.version' dist/manifest.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Create tag and release note
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
with:
target_commitish: main
name: ${{ env.VERSION }}
Expand All @@ -31,12 +31,12 @@ jobs:
needs: create_tag_and_release_note
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 20
node-version: 24.10.0
cache: npm
- uses: actions/cache@v4
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: node_modules_cache_id
env:
cache-name: cache-node-modules
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Zip
run: zip -r dist.zip dist
- name: Upload to Chrome Web Store
uses: mnao305/chrome-extension-upload@v5.0.0
uses: mnao305/chrome-extension-upload@4008e29e13c144d0f6725462cbd49b7c291b4928 # v5.0.0
with:
file-path: dist.zip
extension-id: ${{ secrets.EXTENSION_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
check_manifest_version_update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install jq
run: sudo apt-get install jq
- name: Get latest tag from main branch
Expand Down
70 changes: 70 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
## Contributing to TabTabTab

Thank you for your interest in contributing to TabTabTab! Please follow the guidelines below to ensure a smooth contribution process.

### Setup

Follow these steps to set up your development environment.

#### 1. Install Dependencies
Install the necessary dependencies for the project.

```sh
npm install
```

#### 2. Start the Development Server
Start the development environment and verify that it works as expected.

```sh
npm run dev
```

#### 3. Load the Extension in the Browser
To run the development version of the Chrome extension in your browser:

1. Open Chrome and navigate to `chrome://extensions`.
2. Enable **Developer mode** (toggle in the upper right corner).
3. Click **Load unpacked** and select the `dist` directory where the extension files are located.
4. Verify that the extension is loaded and functioning as expected.
5. If the development server is running, changes to the code will be reflected by simply reloading the page. However, if changes are made to `manifest.json` or `background.js`, you will need to click the **Reload** button in `chrome://extensions` to update the extension.

![Load local extension](./docs/load_local_extension.png)

### Contribution Workflow

1. **Report Issues or Share Ideas**\
If you find a bug or have a feature suggestion, feel free to use [Issues](https://github.com/okaryo/TabTabTab/issues) or [Discussions](https://github.com/okaryo/TabTabTab/discussions). If your idea is not fully formed, posting in Discussions is recommended.\
- Before starting work, please create an Issue and discuss your implementation plan. This helps reduce the burden during review and minimizes unnecessary misunderstandings.
- For minor bug fixes or small changes like typos, creating an Issue is not necessary. However, if you are unsure, it is recommended to create an Issue.
- Declare your intent to work on the Issue to avoid duplicate efforts.

2. **Submit a Pull Request**\
When making changes, ensure you check out from the default `develop` branch and set the pull request's target branch to `develop`. Include the following in your pull request:

- Background or context of the issue or feature
- A brief description of the changes made

### Coding Guidelines

Follow the coding style and standards of this project.

- **Run Linting**: After making changes, run the linter to ensure there are no issues.

```sh
npm run lint
```

- **Run Tests**: Add or update tests for any changes you make and ensure all tests pass.

```sh
npm run test
```

---

## Additional Information

If you have any questions, feel free to reach out via [Discussions](https://github.com/okaryo/TabTabTab/discussions)!

We look forward to your contributions!
22 changes: 12 additions & 10 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true,
"ignore": ["node_modules/*", "dist/*"]
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"files": {
"ignoreUnknown": false,
"includes": ["**", "!**/node_modules", "!**/dist"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80,
"ignore": ["node_modules/*", "dist/*"]
"lineWidth": 80
},
"linter": {
"enabled": true,
Expand All @@ -21,14 +21,16 @@
"useHookAtTopLevel": "error"
},
"suspicious": {
"noConsoleLog": "error"
"noConsole": {
"level": "error",
"options": { "allow": ["error", "warn"] }
}
}
},
"ignore": ["node_modules/*", "dist/*"]
}
},
"overrides": [
{
"include": ["test/**"],
"includes": ["**/test/**"],
"linter": {
"rules": {
"suspicious": {
Expand Down
2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"short_name": "__MSG_app_name_short__",
"description": "__MSG_app_desc__",
"default_locale": "en",
"version": "2.38.3",
"version": "2.38.4",
"action": {
"default_title": "TabTabTab",
"default_icon": {
Expand Down
Binary file added docs/load_local_extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading