Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
13281b5
refactor: reorder tailwind class names for consistency
Apr 23, 2025
4db2b44
build: add @parcel/watcher to onlyBuiltDependencies and update ESLint…
sanjaysah101 Apr 23, 2025
8c7b2df
chore: remove pnpm overrides and update workspace configuration
sanjaysah101 Apr 24, 2025
bb37456
refactor(ui): update Tailwind CSS classes and configurations
sanjaysah101 Apr 24, 2025
6288ba6
refactor(ui): convert components to function components and add data-…
sanjaysah101 Apr 24, 2025
f3e309d
refactor: improve code quality and accessibility
sanjaysah101 Apr 24, 2025
bacccd9
refactor(quizzes): update button variant types and improve type safety
sanjaysah101 Apr 24, 2025
5eb6d4a
refactor: update component props and styles for consistency
sanjaysah101 May 1, 2025
d7729f0
feat(NavBar): enhance navigation bar with theme toggle, search, and u…
sanjaysah101 May 2, 2025
bdf469d
feat: add axios library and setup axios instance with interceptors
sanjaysah101 May 7, 2025
75830fa
temp
sanjaysah101 May 8, 2025
95e14b3
feat(auth): add logout functionality to auth slice and logout page
sanjaysah101 May 9, 2025
6cd0bb1
refactor: clean up and simplify code across multiple components
sanjaysah101 May 12, 2025
82e7467
refactor(blog): enhance blog filtering and data fetching logic
sanjaysah101 May 16, 2025
04d3c92
refactor(services): consolidate API services into a unified service l…
sanjaysah101 May 16, 2025
e117482
feat(auth): add OTP verification flow with input-otp component
sanjaysah101 May 16, 2025
5faa1d8
feat(auth): add OTP verification flow with modal and context management
sanjaysah101 May 21, 2025
5f05733
temp
sanjaysah101 May 22, 2025
c969ddf
feat(auth): implement auth flow improvements and refactor api respons…
sanjaysah101 May 26, 2025
4c8b772
refactor(api): centralize API response types and improve service imports
sanjaysah101 May 28, 2025
93106c0
refactor(auth): move AuthProvider to root layout and improve auth flow
sanjaysah101 May 30, 2025
ed7f0e4
refactor(auth): replace auth context with session storage and redux
sanjaysah101 Jun 3, 2025
97bbdfc
feat(auth): enhance authentication flow with token handling
sanjaysah101 Jun 4, 2025
7be9e19
refactor(NavBar): improve navbar structure and state management
sanjaysah101 Jun 4, 2025
25ed4eb
refactor(ui): replace custom toast implementation with sonner library
sanjaysah101 Jun 5, 2025
741e453
refactor(ui): replace raw HTML elements with Typography component
sanjaysah101 Jun 5, 2025
9118952
refactor: improve image handling and component structure
sanjaysah101 Jun 6, 2025
9235bf8
feat(dashboard): add new dashboard layout with command menu and searc…
sanjaysah101 Jun 6, 2025
f250fe4
feat(sidebar): implement collapsible navigation groups and team switcher
sanjaysah101 Jun 6, 2025
f86c014
feat(settings): add profile and account settings pages with forms
sanjaysah101 Jun 21, 2025
caaf366
feat(auth): add NavBar component to login and signup pages (#39)
abhishek-nexgen-dev Jun 22, 2025
515abb5
feat(auth): restructure auth and protected routes with new layouts an…
sanjaysah101 Jun 23, 2025
c0aab5a
feat(username): implement username availability check with input comp…
abhishek-nexgen-dev Jul 2, 2025
122cbdc
fix(auth): correct signup endpoint and improve auth validation
sanjaysah101 Jul 3, 2025
cbe09a2
fix: update api end point
sanjaysah101 Sep 9, 2025
93ddf96
fix useMutation types inside useUserInput
sanjaysah101 Oct 4, 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
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NEXT_PUBLIC_USER_SERVICE_BASE_URL=
NEXT_PUBLIC_ACS_API_URL
NEXT_PUBLIC_APP_URL=
NEXT_PUBLIC_AI_SERVICE_BASE_URL=
NEXT_PUBLIC_USER_SERVICE_BASE_URL=http://localhost:8001 # base URL for the user service
NEXT_PUBLIC_ACS_API_URL=http://localhost:8002 # base URL for the ACS API
NEXT_PUBLIC_APP_URL=http://localhost:3000 # base URL for the application where the frontend is running
NEXT_PUBLIC_AI_SERVICE_BASE_URL=http://localhost:8003 # base URL for the AI service
NODE_ENV=development
34 changes: 0 additions & 34 deletions .eslintrc.json

This file was deleted.

84 changes: 42 additions & 42 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ name: "CodeQL Advanced"

on:
push:
branches: [ "dev" ]
branches: ["dev"]
pull_request:
branches: [ "dev" ]
branches: ["dev"]
schedule:
- cron: '32 4 * * 1'
- cron: "32 4 * * 1"

jobs:
analyze:
Expand All @@ -43,8 +43,8 @@ jobs:
fail-fast: false
matrix:
include:
- language: javascript-typescript
build-mode: none
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
Expand All @@ -54,45 +54,45 @@ jobs:
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1
# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ next-env.d.ts

.idea
.history

.early.coverage
10 changes: 3 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@
"source.organizeImports": "always",
"source.fixAll.eslint": "always"
},
"files.associations": {
"*.css": "tailwindcss"
},
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.requireConfig": true,
"eslint.options": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
},
"eslint.options": {},
"eslint.useFlatConfig": true,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.words": ["Ansopedian", "hookform", "tanstack", "trivago"],
"cSpell.words": ["Ansopedian", "hookform", "Sonner", "tanstack", "trivago"],
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,4 @@ We have a [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md) that outlines our expectati

We welcome and recognize all contributors to the Ansopedia Creator Studio.

<a href="https://github.com/ansopedia/creator-studio/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ansopedia/creator-studio" />
</a>
![Contributors](https://contrib.rocks/image?repo=ansopedia/creator-studio)
5 changes: 3 additions & 2 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"config": "",
"css": "src/app/globals.css",
"baseColor": "zinc",
"cssVariables": true,
Expand All @@ -16,5 +16,6 @@
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
},
"iconLibrary": "lucide"
}
30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { FlatCompat } from "@eslint/eslintrc";
import eslintPluginJsxA11y from "eslint-plugin-jsx-a11y";
import { dirname } from "path";
import { fileURLToPath } from "url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
});

const eslintConfig = [
{
ignores: ["**/.next/**", "**/node_modules/**", "**/dist/**", "**/build/**", "**/out/**"],
},
{ plugins: { "jsx-a11y": eslintPluginJsxA11y } },
...compat.config({
extends: ["plugin:jsx-a11y/strict", "next", "prettier"],
rules: {
semi: ["error"],
"no-console": ["warn"],
"prefer-const": ["error"],
"jsx-quotes": ["error", "prefer-double"],
quotes: ["error", "double"],
},
}),
];

export default eslintConfig;
12 changes: 0 additions & 12 deletions next.config.mjs

This file was deleted.

20 changes: 20 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
pathname: "/u/**",
},
{
protocol: "https",
hostname: "picsum.photos",
pathname: "/**",
},
],
},
};

export default nextConfig;
Loading