Skip to content

add initial app state for development with redux/theming set up #165

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 77 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
f5fde81
set up next.js app and static build
DaltheCow May 9, 2025
fa5db74
convert to .eslintrc to match current state of project
DaltheCow May 9, 2025
8b16db5
update .eslintrc, tsconfig.json
DaltheCow May 9, 2025
15e867d
update eslint, tsconfig, husky, and dependencies
DaltheCow May 12, 2025
f7837ca
update file type
DaltheCow May 12, 2025
59ff861
merge
DaltheCow May 12, 2025
834cc1a
remove .eslintrc
DaltheCow May 12, 2025
3ae85e2
final updates
DaltheCow May 12, 2025
50a39ec
sort eslintrc
DaltheCow May 13, 2025
e1fd9ed
merge base
DaltheCow May 13, 2025
119f05a
sort extensions
DaltheCow May 13, 2025
56f89e2
merge base
DaltheCow May 13, 2025
d923f4a
sort
DaltheCow May 13, 2025
a515e12
resort
DaltheCow May 13, 2025
ded66cd
add extension
DaltheCow May 13, 2025
fe4d91a
merge base
DaltheCow May 13, 2025
544899a
add dev workflow
DaltheCow May 13, 2025
026a13f
remove testing pieces
DaltheCow May 13, 2025
fca89c5
navigate to ui directory for operations
DaltheCow May 13, 2025
b276f17
navigate to directory
DaltheCow May 13, 2025
32e95e9
add makefile
DaltheCow May 13, 2025
9faebcf
upgrade eslint-plugin-prettier, run make style
DaltheCow May 13, 2025
d69dc95
add unit/integration/e2e testing
DaltheCow May 13, 2025
f876edb
get testing set up fully functional
DaltheCow May 14, 2025
472141b
get things working
DaltheCow May 14, 2025
d98b411
remove e2e testing from dev workflow since it is confirmed to work
DaltheCow May 14, 2025
23ce95f
clean readme, add developing doc
DaltheCow May 15, 2025
a7b89f1
add initial app state for development with redux/theming set up
DaltheCow May 19, 2025
699eb9b
add test mocks
DaltheCow May 19, 2025
41345f4
move svg typing
DaltheCow May 19, 2025
35a0726
Merge branch 'main' into implement-base-ui-app
DaltheCow May 20, 2025
8413655
run linting
DaltheCow May 20, 2025
c23c674
replace speculators with GuideLLM
DaltheCow May 21, 2025
1d5bd73
remove speculators from docs
DaltheCow May 21, 2025
43fdeb0
update tox.ini to exclude github view files (blobs) that break the li…
DaltheCow May 21, 2025
1e29968
not to ignore more than markdown for rich display mode
DaltheCow May 21, 2025
d09f685
Merge branch 'update-docs' into implement-base-ui-app
DaltheCow May 21, 2025
328b872
Merge branch 'implement-base-ui-app' into core-framework-setup
DaltheCow May 21, 2025
1fc4d40
merge core-framework-setup
DaltheCow May 21, 2025
fbc8821
merge testing-tooling
DaltheCow May 21, 2025
4b8b65a
run precommit
DaltheCow May 22, 2025
8d10bd5
precommit check
DaltheCow May 22, 2025
5043cdb
precommit check
DaltheCow May 22, 2025
247d1cf
undo alteration of link checks, instead remove from workflows tempora…
DaltheCow May 22, 2025
4de602a
Merge branch 'update-docs' into implement-base-ui-app
DaltheCow May 22, 2025
bf52aa0
Merge branch 'implement-base-ui-app' into core-framework-setup
DaltheCow May 22, 2025
20fba13
merge core-framework-setup
DaltheCow May 22, 2025
4057c9c
Merge branch 'testing-tooling' into implement-app-tooling
DaltheCow May 22, 2025
57e5c0a
Merge branch 'main' into implement-base-ui-app
DaltheCow May 27, 2025
aece79d
Merge branch 'main' into implement-base-ui-app
markurtz May 29, 2025
fd473fb
Merge branch 'implement-base-ui-app' into core-framework-setup
DaltheCow May 29, 2025
af1a0eb
Merge branch 'core-framework-setup' into testing-tooling
DaltheCow May 29, 2025
fa46413
Merge branch 'testing-tooling' into implement-app-tooling
DaltheCow May 29, 2025
cde932f
merge main
DaltheCow Jun 2, 2025
c7d115d
fix all the configs and get things working again
DaltheCow Jun 3, 2025
9441f7f
update workflow, DEVELOPING.md, add cypress to scripts
DaltheCow Jun 3, 2025
798c37d
remove .eslintignore
DaltheCow Jun 3, 2025
bdef8dc
correct script usage in workflow
DaltheCow Jun 3, 2025
b805721
move code to prep for merge with base
DaltheCow Jun 3, 2025
cc99e3f
merge updated base
DaltheCow Jun 3, 2025
46e5cad
remove unwanted files
DaltheCow Jun 3, 2025
db6ab10
remove merge conflict remnant
DaltheCow Jun 3, 2025
a90b430
get everything working
DaltheCow Jun 5, 2025
aaa6aeb
change working directory for ui workflows
DaltheCow Jun 5, 2025
83d6f44
add test coverage setup
DaltheCow Jun 5, 2025
1f27e59
Merge branch 'main' into testing-tooling
DaltheCow Jun 5, 2025
313ca9f
move code in prep of merging the base
DaltheCow Jun 5, 2025
1308ea3
merge base into branch, fix new issues
DaltheCow Jun 6, 2025
88509a1
Update src/ui/app/layout.tsx
DaltheCow Jun 6, 2025
002f926
push up simple requested changes
DaltheCow Jun 6, 2025
1b04fb0
Merge branch 'implement-app-tooling' of github.com:neuralmagic/guidel…
DaltheCow Jun 6, 2025
f29d89b
push up fixed to layout component
DaltheCow Jun 7, 2025
33375fc
fix accidentally broken test running, remove uneeded type
DaltheCow Jun 7, 2025
43c7163
add some basic generated documentation for some util methods
DaltheCow Jun 7, 2025
ec10b92
add any type to next config
DaltheCow Jun 7, 2025
058fb6a
merge main and fix conflicts
DaltheCow Jun 10, 2025
eeafc1e
remove ts-jest again since it snuck back in
DaltheCow Jun 10, 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
34 changes: 31 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,40 @@
"import/order": [
"error",
{
"groups": [["builtin", "external", "internal"]],
"newlines-between": "always"
"groups": [
["builtin", "external"],
["internal", "parent", "sibling", "index"]
],
"newlines-between": "always-and-inside-groups",
"pathGroups": [
{
"pattern": "@{app,assets,classes,components,hooks,lib,pages,store,tests,types,utils}/**",
"group": "internal",
"position": "before"
},
{
"pattern": "{.,..}/**",
"group": "internal",
"position": "after"
}
],
"pathGroupsExcludedImportTypes": ["builtin"],
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
],
"import/no-extraneous-dependencies": ["error"],
"no-secrets/no-secrets": ["error", { "additionalRegexes": {}, "ignoreContent": [] }]
},
"settings": { "next": { "rootDir": ["src/ui/", "tests/ui/"] } }
"settings": {
"next": { "rootDir": ["src/ui/", "tests/ui/"] },
"import/resolver": {
"typescript": {
"project": [
"src/ui/tsconfig.json",
"tsconfig.test.json",
"tsconfig.cypress.json"
]
}
}
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,5 @@ src/ui/next-env.d.ts
!.eslintrc.json
!tsconfig.json
!tsconfig.*.json
!src/ui/lib
!src/ui/public/manifest.json
9 changes: 7 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const path = require('path');
const nextJest = require('next/jest');

const createJestConfig = nextJest({
dir: './src/ui',
dir: path.resolve(__dirname, 'src/ui'),
});

const customJestConfig = {
Expand All @@ -12,7 +13,11 @@ const customJestConfig = {
coverageReporters: ['json', 'text-summary', 'lcov'],
moduleFileExtensions: ['ts', 'tsx', 'js'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/$1',
'^.+\\.(svg)$': '<rootDir>/tests/ui/__mocks__/svg.js',
'^@/(.*)$': '<rootDir>/src/$1',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'<rootDir>/tests/ui/__mocks__/fileMock.js',
'\\.(css|less|scss|sass)$': '<rootDir>/tests/ui/__mocks__/styleMock.js',
},
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
testEnvironment: 'jest-environment-jsdom',
Expand Down
Loading