-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/v2 #26
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
Merged
Merged
Feature/v2 #26
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
eec51d8
feat: building blocks for v2
CodeDead 21c16f2
feat: dependency upgrades, refactoring, ui changes
CodeDead 6f82716
feat: added design for deadhash and advanced passgen, dependency upgr…
CodeDead 0c312c7
feat: added Advanced PortChecker pages, improved upon the UI, depende…
CodeDead 5c5393c
feat: added pk finder and memplus pages, dependency upgrades
CodeDead 283f370
feat: added navbar collapsible, reformatting
CodeDead d92780c
feat: added pages for opal, deadpix, aniview, deadlock
CodeDead f47e522
feat: Yarn upgrade, dependency upgrades
CodeDead b27f497
feat: added software metadata
CodeDead 55eccb5
feat: added dockerfile, nginx config
CodeDead f7de021
feat: improved accessibility and caching
CodeDead fd651df
feat: improved accessibility
CodeDead dc88f57
feat: improved mobile design
CodeDead 60f1069
feat: improved mobile compatibility, fixed some bugs, dependency upgr…
CodeDead ed9e18d
feat: removed unused components, set color scheme to auto
CodeDead 7145890
feat: added ability to generate sitemaps
CodeDead 72b6d90
feat: fixes for yarn
CodeDead 1eeac2b
feat: improved navbar design
CodeDead f2ec2fd
feat: dependency upgrades
CodeDead 0d0b4a0
feat: Yarn upgrade, dependency upgrades
CodeDead 2de3a51
feat: dependency upgrades
CodeDead 7113398
feat: dependency upgrades
CodeDead 1de7413
Merge branch 'master' into feature/v2
CodeDead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| node_modules | ||
| build | ||
| .yarn/* | ||
| .yarnrc.yml | ||
| .eslintignore | ||
| .eslintcache | ||
| .eslintrc.json | ||
| .prettierignore | ||
| eslint.config.mjs | ||
| .idea | ||
| .vscode | ||
| dist | ||
| .github/* | ||
| .stylelintcache | ||
| out | ||
| .next | ||
| .cache/* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: test | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| - development | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| test_pull_request: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version-file: '.nvmrc' | ||
| cache: 'yarn' | ||
| cache-dependency-path: '**/yarn.lock' | ||
| - name: Install dependencies | ||
| run: yarn | ||
| - name: Run build | ||
| run: yarn build | ||
| - name: Run tests | ||
| run: yarn test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| v22.14.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| /** @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} */ | ||
| const config = { | ||
| printWidth: 100, | ||
| singleQuote: true, | ||
| trailingComma: 'es5', | ||
| plugins: ['@ianvs/prettier-plugin-sort-imports'], | ||
| importOrder: [ | ||
| '.*styles.css$', | ||
| '', | ||
| 'dayjs', | ||
| '^react$', | ||
| '^next$', | ||
| '^next/.*$', | ||
| '<BUILTIN_MODULES>', | ||
| '<THIRD_PARTY_MODULES>', | ||
| '^@mantine/(.*)$', | ||
| '^@mantinex/(.*)$', | ||
| '^@mantine-tests/(.*)$', | ||
| '^@docs/(.*)$', | ||
| '^@/.*$', | ||
| '^../(?!.*.css$).*$', | ||
| '^./(?!.*.css$).*$', | ||
| '\\.css$', | ||
| ], | ||
| overrides: [ | ||
| { | ||
| files: '*.mdx', | ||
| options: { | ||
| printWidth: 70, | ||
| }, | ||
| }, | ||
| ], | ||
| }; | ||
|
|
||
| export default config; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import type { StorybookConfig } from '@storybook/nextjs'; | ||
|
|
||
| const config: StorybookConfig = { | ||
| core: { | ||
| disableWhatsNewNotifications: true, | ||
| disableTelemetry: true, | ||
| enableCrashReports: false, | ||
| }, | ||
| stories: ['../components/**/*.(stories|story).@(js|jsx|ts|tsx)'], | ||
| addons: ['storybook-dark-mode'], | ||
| framework: { | ||
| name: '@storybook/nextjs', | ||
| options: {}, | ||
| }, | ||
| }; | ||
| export default config; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| import '@mantine/core/styles.css'; | ||
|
|
||
| import React, { useEffect } from 'react'; | ||
| import { addons } from '@storybook/preview-api'; | ||
| import { DARK_MODE_EVENT_NAME } from 'storybook-dark-mode'; | ||
| import { MantineProvider, useMantineColorScheme } from '@mantine/core'; | ||
| import { theme } from '../theme'; | ||
|
|
||
| export const parameters = { | ||
| layout: 'fullscreen', | ||
| options: { | ||
| showPanel: false, | ||
| }, | ||
| }; | ||
|
|
||
| const channel = addons.getChannel(); | ||
|
|
||
| function ColorSchemeWrapper({ children }: { children: React.ReactNode }) { | ||
| const { setColorScheme } = useMantineColorScheme(); | ||
| const handleColorScheme = (value: boolean) => setColorScheme(value ? 'dark' : 'light'); | ||
|
|
||
| useEffect(() => { | ||
| channel.on(DARK_MODE_EVENT_NAME, handleColorScheme); | ||
| return () => channel.off(DARK_MODE_EVENT_NAME, handleColorScheme); | ||
| }, [channel]); | ||
|
|
||
| return <>{children}</>; | ||
| } | ||
|
|
||
| export const decorators = [ | ||
| (renderStory: any) => <ColorSchemeWrapper>{renderStory()}</ColorSchemeWrapper>, | ||
| (renderStory: any) => <MantineProvider theme={theme}>{renderStory()}</MantineProvider>, | ||
| ]; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| .next | ||
| out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "extends": ["stylelint-config-standard-scss"], | ||
| "rules": { | ||
| "custom-property-pattern": null, | ||
| "selector-class-pattern": null, | ||
| "scss/no-duplicate-mixins": null, | ||
| "declaration-empty-line-before": null, | ||
| "declaration-block-no-redundant-longhand-properties": null, | ||
| "alpha-value-notation": null, | ||
| "custom-property-empty-line-before": null, | ||
| "property-no-vendor-prefix": null, | ||
| "color-function-notation": null, | ||
| "length-zero-no-unit": null, | ||
| "selector-not-notation": null, | ||
| "no-descending-specificity": null, | ||
| "comment-empty-line-before": null, | ||
| "scss/at-mixin-pattern": null, | ||
| "scss/at-rule-no-unknown": null, | ||
| "value-keyword-case": null, | ||
| "media-feature-range-notation": null, | ||
| "selector-pseudo-class-no-unknown": [ | ||
| true, | ||
| { | ||
| "ignorePseudoClasses": ["global"] | ||
| } | ||
| ] | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ordering of the MantineProvider and ColorSchemeWrapper may prevent the useMantineColorScheme hook from accessing its context. Consider wrapping ColorSchemeWrapper inside MantineProvider to ensure proper context availability.