Skip to content

Commit

Permalink
Enhance pull request template and update version to 3.1.0; improve ES…
Browse files Browse the repository at this point in the history
…Lint configuration and clean up code formatting
  • Loading branch information
Sandakan committed Feb 21, 2025
1 parent 33492ff commit e58443d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

- ### 🔨 Fixes and Improvements

- ### 🚀 Development updates

- ### 🐜 Known Issues and Bugs

## Other Issues:
Expand Down
Binary file modified build/installer_assets/sidebar.bmp
Binary file not shown.
6 changes: 3 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import tsLint from 'typescript-eslint';
import reactRefresh from 'eslint-plugin-react-refresh';
import react from 'eslint-plugin-react';
import reactHooks from 'eslint-plugin-react-hooks';
import electronToolkit from '@electron-toolkit/eslint-config-ts/recommended.js';
import electronToolkit from '@electron-toolkit/eslint-config-ts';
import importPlugin from 'eslint-plugin-import';
import jsxA11y from 'eslint-plugin-jsx-a11y';
import promiseConfigs from 'eslint-plugin-promise';
Expand All @@ -27,14 +27,14 @@ export default tsLint.config(
ignores: [...data.ignores, 'prettier.config.cjs', 'postcss.config.cjs', 'eslint.config.mjs']
},
eslint.configs.recommended,
electronToolkit.configs.recommended,
{
files: ['**/**/*.{js,ts,jsx,tsx}'],
plugins: {
'react-refresh': reactRefresh,
'jsx-a11y': jsxA11y,
react: react,
'react-hooks': reactHooks,
'electron-toolkit': electronToolkit
'react-hooks': reactHooks
},
extends: [importPlugin.flatConfigs.recommended],
settings: {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nora",
"version": "3.0.0-stable",
"version": "3.1.0-stable",
"type": "module",
"description": "An Electron application with React and TypeScript",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,7 @@ const StorageSettings = () => {
<ul className="mt-10 flex flex-wrap items-center justify-center px-8">
<li className="mb-4 mr-8 flex items-center">
<div className="mr-4 h-4 w-4 rounded-full bg-[#ffbe76]" />
{t(
'settingsPage.otherAppFiles'
)} :{' '}
{t('settingsPage.otherAppFiles')} :{' '}
<span className="ml-2 text-font-color-highlight dark:text-dark-font-color-highlight">
{
parseByteSizes(
Expand All @@ -278,27 +276,21 @@ const StorageSettings = () => {
</li>
<li className="mb-4 mr-8 flex items-center">
<div className="mr-4 h-4 w-4 rounded-full bg-[#4834d4]" />
{t(
'settingsPage.internalAppFiles'
)} :{' '}
{t('settingsPage.internalAppFiles')} :{' '}
<span className="ml-2 text-font-color-highlight dark:text-dark-font-color-highlight">
{parseByteSizes(storageMetrics?.appFolderSize)?.size}
</span>
</li>
<li className="mb-4 mr-8 flex items-center">
<div className="mr-4 h-4 w-4 rounded-full bg-[#55efc4]" />
{t(
'settingsPage.artworkCache'
)} :{' '}
{t('settingsPage.artworkCache')} :{' '}
<span className="ml-2 text-font-color-highlight dark:text-dark-font-color-highlight">
{parseByteSizes(storageMetrics?.appDataSizes.artworkCacheSize)?.size}
</span>
</li>
<li className="mb-4 mr-8 flex items-center">
<div className="mr-4 h-4 w-4 rounded-full bg-[#00b894]" />
{t(
'settingsPage.tempArtworkCache'
)} :{' '}
{t('settingsPage.tempArtworkCache')} :{' '}
<span className="ml-2 text-font-color-highlight dark:text-dark-font-color-highlight">
{parseByteSizes(storageMetrics?.appDataSizes.tempArtworkCacheSize)?.size}
</span>
Expand Down

0 comments on commit e58443d

Please sign in to comment.