Skip to content
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

[PR] Creating nextra with auth #2

Merged
merged 75 commits into from
Jul 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
32a578b
feat: Intro to README.
LuchoTurtle Jun 18, 2024
988e160
feat: Add set up project.
LuchoTurtle Jun 18, 2024
8ea0574
feat: Adding organized pages.
LuchoTurtle Jun 18, 2024
e709a4f
feat: Finishing up organization.
LuchoTurtle Jun 18, 2024
427cc49
chore: Adding intro to the authentication.
LuchoTurtle Jun 18, 2024
7556c8b
feat: Intro to auth.
LuchoTurtle Jun 18, 2024
c319097
feat: Adding auth configuration.
LuchoTurtle Jun 18, 2024
989c463
feat: Adding script that generates private routes based on `_meta.jso…
LuchoTurtle Jun 19, 2024
088f5e9
refactor: Formatting script.
LuchoTurtle Jun 19, 2024
4ef1fcb
feat: Adding sign in and sign out.
LuchoTurtle Jun 19, 2024
1e1c157
feat: Adding documentation of authentication (missing `generateMiddle…
LuchoTurtle Jun 20, 2024
cf1d82d
chore: Renaming `api_reference` to `reference_api`.
LuchoTurtle Jun 20, 2024
7276c89
fix: Fixing generate private routes script.
LuchoTurtle Jun 21, 2024
f498a58
feat: Adding script to generate routes and documenting it.
LuchoTurtle Jun 21, 2024
11e3d1e
feat: Adding note about error when compiling.
LuchoTurtle Jun 21, 2024
5d2537a
test: Setup Playwright for E2E testing.
LuchoTurtle Jun 21, 2024
96b359a
test: Adding E2E testing infrastructure.
LuchoTurtle Jun 21, 2024
da80741
chore: Deleting test-results folder that shouldn't be versioned in th…
LuchoTurtle Jun 21, 2024
24c66e2
test: Adding E2E tests for authentication with Playwright.
LuchoTurtle Jun 21, 2024
96bd19f
chore: Renaming e2e testing scripts in package.json
LuchoTurtle Jun 21, 2024
b1f0088
fix: Fixing CI
LuchoTurtle Jun 21, 2024
f42de88
fix: Trying to fix env var issue on CI
LuchoTurtle Jun 21, 2024
2f03eff
chore: misc.
LuchoTurtle Jun 24, 2024
ee78b27
feat: Adding component testing with Jest.
LuchoTurtle Jun 25, 2024
b96c0d2
refactor: Moving source files to `src` folder.
LuchoTurtle Jun 25, 2024
6caba61
test: Adding component testing to components.
LuchoTurtle Jun 25, 2024
8ae1cff
test: Adding way to test script for generating private routes.
LuchoTurtle Jun 25, 2024
d09d36e
fix: Fixing jest tests to run mocks differently in-between tests.
LuchoTurtle Jun 26, 2024
9b11135
test: Testing middleware changing script.
LuchoTurtle Jun 26, 2024
0fb44e9
refactor: Refactoring test.
LuchoTurtle Jun 26, 2024
e46f811
test: Testing when file doesn't exist, so it removes from private rou…
LuchoTurtle Jun 26, 2024
3649579
fix: Finishing generating private routes test.
LuchoTurtle Jun 26, 2024
de64ba1
fix: Fixing CI
LuchoTurtle Jun 27, 2024
7c4663c
fix: Fix CI pnpm version install.
LuchoTurtle Jun 27, 2024
c302f70
fix: Trying to fix frozen pnpm-lock in CI.
LuchoTurtle Jun 27, 2024
d81311d
fix: Fix frozen lock file command on CI.
LuchoTurtle Jun 27, 2024
3c9fb4e
fix: Installing next to run webserver when playwright tests execute.
LuchoTurtle Jun 27, 2024
407e7a7
fix: Re-adding next to package.json and fixing CI.
LuchoTurtle Jun 27, 2024
c7229fd
refactor: Renaming test.
LuchoTurtle Jun 27, 2024
21ef858
test: Getting coverage to 100%.
LuchoTurtle Jun 27, 2024
9a6d086
feat: Adding theme from nextra-theme-docks.
LuchoTurtle Jun 28, 2024
350df7c
feat: Successfully adding custom-theme
LuchoTurtle Jul 1, 2024
51f821c
feat: Adding nextra components.
LuchoTurtle Jul 2, 2024
57d871d
feat: Adding missing nextra styles.
LuchoTurtle Jul 2, 2024
75c1ebf
chore: Removing unneeded tailwind imports in global.css
LuchoTurtle Jul 2, 2024
f09c934
feat: Updating README inside `theme` and removing `constants.tsx`
LuchoTurtle Jul 2, 2024
cd3c3ea
fix: Removing `reexported as` not found warning.
LuchoTurtle Jul 2, 2024
c16471f
test: Adding test for `_app`
LuchoTurtle Jul 2, 2024
e70fd0c
refactor: Switching TailwindCSS from theme to root.
LuchoTurtle Jul 3, 2024
680443f
chore: Converting theme config to .tsx
LuchoTurtle Jul 3, 2024
34a6327
chore: Using .tsx config theme
LuchoTurtle Jul 3, 2024
9a4724e
feat: Conditionally rendering in navbar and documenting it.
LuchoTurtle Jul 4, 2024
ce13b7a
chore: Revert role in auth.
LuchoTurtle Jul 4, 2024
22ee53d
fix: Finishing switching "api_reference" to "reference_api"
LuchoTurtle Jul 4, 2024
fd8f09a
feat: Conditionally rendering the sidebar.
LuchoTurtle Jul 4, 2024
27c820f
readme: Documenting sidebar conditional rendering.
LuchoTurtle Jul 4, 2024
4706820
chore: Adding "star repo" CTA.
LuchoTurtle Jul 4, 2024
1123c11
chore: Updating README with new information about why we used the cus…
LuchoTurtle Jul 4, 2024
8794efd
fix: Fixing callout, clipboard and pre components icon imports
LuchoTurtle Jul 5, 2024
120b73d
fix: Fixing production build process.
LuchoTurtle Jul 6, 2024
cd460d9
test: Adding types test.
LuchoTurtle Jul 7, 2024
719aa70
tests: Normalizing tests
LuchoTurtle Jul 7, 2024
8816b89
chore: Adding types check in package.json
LuchoTurtle Jul 7, 2024
b38fe8e
ci: Adding build and unit testing to CI.
LuchoTurtle Jul 7, 2024
29498d3
readme: Adding badges.
LuchoTurtle Jul 7, 2024
5f258b2
chore: Removing erronous ; symbol
LuchoTurtle Jul 8, 2024
00e353c
tweak README.md intro, fix typos & cut excess words #1
nelsonic Jul 8, 2024
110d17f
shift bulk of instructions to tutorial.md #1
nelsonic Jul 13, 2024
853d40b
git mv src/pages/reference_api.mdx src/pages/reference_api/index.mdx #1
nelsonic Jul 13, 2024
ad71967
"user" -> "person" https://github.com/dwyl/app/issues/33 #1
nelsonic Jul 13, 2024
47ff499
remove "user" from person.mdx https://github.com/dwyl/app/issues/33 #1
nelsonic Jul 13, 2024
b25653b
add realistic env var examples to .env.local-example #1
nelsonic Jul 13, 2024
3e1a6f6
tidy page formatting #1
nelsonic Jul 13, 2024
8f692df
split private routes into one-per-line #1
nelsonic Jul 13, 2024
8271442
tidy components #1
nelsonic Jul 13, 2024
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
Prev Previous commit
Next Next commit
chore: Renaming api_reference to reference_api.
LuchoTurtle committed Jun 20, 2024
commit cf1d82df384af1cc48528d9e76457137a421734f
4 changes: 2 additions & 2 deletions pages/_meta.json
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
"type": "page",
"display": "hidden"
},
"api_reference": {
"reference_api": {
"title": "API Reference",
"type": "page",
"private": {
"private": true,
"roles": ["role1", "role2"]
"roles": ["user"]
}
},
"about": {
Original file line number Diff line number Diff line change
@@ -6,6 +6,9 @@
"users": "users",
"mega_private": {
"title": "Mega Private Section",
"private": true
"private": {
"private": true,
"roles": ["cant_enter"]
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.