Skip to content

Commit

Permalink
[v1.1.0] Code cleanup and add settings UI
Browse files Browse the repository at this point in the history
  • Loading branch information
GriefMoDz committed Jan 26, 2023
1 parent 3833102 commit 0602f93
Show file tree
Hide file tree
Showing 18 changed files with 768 additions and 544 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:

- uses: ncipollo/release-action@v1
with:
artifacts: "*.asar"
artifacts: "bundle/"
makeLatest: true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ dist
# TernJS port file
.tern-port

/*.asar
/bundle
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Formally known as "Online Friends Count", this is a Replugged plug-in that has b
- Auto rotation with a customizable interval - useful for switching between counters without the need of clicking.

## Planned Features
- [ ] Add a settings page
- [x] Add a settings page
- [ ] Display a real-time preview under the settings page
- [ ] Implement a context menu to quickly change settings

## Settings
Expand All @@ -21,7 +22,7 @@ To customize the counter, you will need to manually set your preferences by ente
| Key | Description | Default |
| ------------------------ | ------------------------------ | ------- |
| `autoRotation` | Rotate between counters | `false` |
| `autoRotationDelay` | Delay between rotations | `3e4` |
| `autoRotationDelay` | Delay between rotations | `5e3` |
| `autoRotationHoverPause` | Pause the rotation upon hover | `true` |
| `preserveLastCounter` | Remember the last counter | `false` |
| `online` | Enable online counter | `true` |
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"discordID": "350227339784880130",
"github": "griefmodz"
},
"version": "1.0.2",
"version": "1.1.0",
"updater": {
"type": "github",
"id": "griefmodz/statistic-counter"
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "statistic-counter",
"version": "1.0.2",
"version": "1.1.0",
"description": "A Replugged plug-in that has been ported from Powercord which introduces an interchangeable statistic counter in-between the home button and servers list.",
"engines": {
"node": ">=14.0.0"
Expand All @@ -22,18 +22,18 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@electron/asar": "^3.2.1",
"@types/node": "^18.11.2",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"esbuild": "^0.15.11",
"eslint": "^8.25.0",
"@electron/asar": "^3.2.3",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"esbuild": "^0.15.18",
"eslint": "^8.32.0",
"eslint-config-dmitmel": "github:dmitmel/eslint-config-dmitmel",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.31.10",
"prettier": "^2.8.1",
"replugged": "4.0.0-beta0.20",
"tsx": "^3.10.3",
"typescript": "^4.8.4"
"eslint-plugin-react": "^7.32.1",
"prettier": "^2.8.3",
"replugged": "4.0.0-beta0.22",
"tsx": "^3.12.2",
"typescript": "^4.9.4"
}
}
Loading

0 comments on commit 0602f93

Please sign in to comment.