Skip to content
Closed
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
5e24a6d
Fix homepage container flexibility
OUMIMANDAL Aug 19, 2025
caea551
Restore pnpm-lock.yaml
OUMIMANDAL Aug 19, 2025
7e7c88e
Merge branch 'main' into fix-homepage-container-flexibility
OUMIMANDAL Aug 19, 2025
026ee9a
refactor: fix layout duplication and styling issues
OUMIMANDAL Aug 19, 2025
305d246
Merge branch 'fix-homepage-container-flexibility' of https://github.c…
OUMIMANDAL Aug 19, 2025
8a73963
fix: merge duplicate :root block in globals.css
OUMIMANDAL Aug 19, 2025
8917f7c
fix: mark layout props as read-only
OUMIMANDAL Aug 19, 2025
3789e3d
fix: correctly mark RootLayout props as read-only
OUMIMANDAL Aug 19, 2025
5e0536e
refactor: unify dark-mode map-tiles filter under .dark class
OUMIMANDAL Aug 19, 2025
f565947
Merge branch 'main' into fix-homepage-container-flexibility
kasya Aug 20, 2025
37fa65b
refactor: remove redundant @media wrapper for .dark .map-tiles
OUMIMANDAL Aug 20, 2025
4b93f3e
Merge branch 'fix-homepage-container-flexibility' of https://github.c…
OUMIMANDAL Aug 20, 2025
adb2e32
refactor: use IssueMetadata across components to reduce duplication
OUMIMANDAL Aug 20, 2025
64ffd22
fix: rename tailwind.config.ts → .js to avoid import issues
OUMIMANDAL Aug 20, 2025
058cdd7
fix: rename tailwind.config.ts to .js to avoid import issues
OUMIMANDAL Aug 20, 2025
41d79c1
fix: restore tailwind.config.ts and fix CJS wrapper
OUMIMANDAL Aug 20, 2025
fdd40ea
chore: remove duplicate tailwind.config.js
OUMIMANDAL Aug 20, 2025
3419a80
fix: allow className in Footer and fix release link
OUMIMANDAL Aug 21, 2025
2e76459
Merge branch 'main' into fix-homepage-container-flexibility
OUMIMANDAL Aug 25, 2025
891dd58
Merge branch 'main' into fix-homepage-container-flexibility
OUMIMANDAL Aug 26, 2025
2cd43f6
Merge branch 'main' into fix-homepage-container-flexibility
OUMIMANDAL Aug 26, 2025
d87feba
Merge branch 'main' into fix-homepage-container-flexibility
OUMIMANDAL Aug 27, 2025
03f7dcc
Merge branch 'main' into fix-homepage-container-flexibility
kasya Aug 28, 2025
b952945
Bump github/codeql-action from 3.29.8 to 3.29.9 (#2064)
dependabot[bot] Aug 13, 2025
ec0d606
Resolve merge conflict in pnpm-lock.yaml
OUMIMANDAL Aug 21, 2025
23facd8
fix: resolve conflicts and update layout/tailwind
OUMIMANDAL Aug 27, 2025
558aa6f
chore: resolve merge conflicts
OUMIMANDAL Aug 27, 2025
48f79f1
Update pre-commit: add pyproject-fmt
arkid15r Aug 13, 2025
5892607
Add id field to graphql entities (#2045)
rudransh-shrivastava Aug 14, 2025
7352a18
Run make update
arkid15r Aug 14, 2025
df7aff0
test- inmproved test coverage of github internal nodes more than 80% …
trucodd Aug 15, 2025
c425484
Run make update
arkid15r Aug 15, 2025
6ee3cd5
Using default message
arkid15r Aug 16, 2025
dc5ed1d
removed leader and suggested leader, introduced entity_member model (…
abhayymishraa Aug 17, 2025
690fe21
Update entity member admin mixin
arkid15r Aug 17, 2025
f4d49ea
Using default message
arkid15r Aug 18, 2025
10082d5
Using default message
arkid15r Aug 19, 2025
f17b2e7
Using default message
dependabot[bot] Aug 19, 2025
e483c63
Bump github/codeql-action from 3.29.9 to 3.29.10 (#2099)
dependabot[bot] Aug 19, 2025
e625c12
fix: merge duplicate :root block in globals.css
OUMIMANDAL Aug 19, 2025
8b5e522
fix: mark layout props as read-only
OUMIMANDAL Aug 19, 2025
1117ef3
fix: correctly mark RootLayout props as read-only
OUMIMANDAL Aug 19, 2025
2f37ee0
refactor: unify dark-mode map-tiles filter under .dark class
OUMIMANDAL Aug 19, 2025
0bdde86
refactor: remove redundant @media wrapper for .dark .map-tiles
OUMIMANDAL Aug 20, 2025
ba63156
Fix #1882: Added test for RecentIssues Component (#2087)
anurag2787 Aug 20, 2025
c5e0993
Integrate Lighthouse CI (#2079)
rudransh-shrivastava Aug 20, 2025
b083a8a
refactor: use IssueMetadata across components to reduce duplication
OUMIMANDAL Aug 20, 2025
4bbc988
Using default message
OUMIMANDAL Aug 20, 2025
b0627fe
fix: rename tailwind.config.ts to .js to avoid import issues
OUMIMANDAL Aug 20, 2025
a735bd5
fix: restore tailwind.config.ts and fix CJS wrapper
OUMIMANDAL Aug 20, 2025
2f6d0e7
Using default message
OUMIMANDAL Aug 20, 2025
3fcd9f9
Using default message
OUMIMANDAL Aug 21, 2025
dc248c0
Merge branch 'main' into fix-homepage-container-flexibility
OUMIMANDAL Aug 28, 2025
9641262
Merge branch 'main' into fix-homepage-container-flexibility
OUMIMANDAL Aug 29, 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
20 changes: 15 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"build:tailwind": "ts-node --project tsconfig.tsnode.json scripts/generate-tailwind-config.ts",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify referenced generator files exist.

Ensure tsconfig.tsnode.json and scripts/generate-tailwind-config.ts are present.


🏁 Script executed:

#!/bin/bash
fd -a 'tsconfig.tsnode.json' frontend || true
fd -a 'generate-tailwind-config.ts' frontend || true

Length of output: 131


Add or fix generate-tailwind-config.ts path The file frontend/scripts/generate-tailwind-config.ts is missing; ensure it’s added or update the "build:tailwind" command to point to the correct script path.

🤖 Prompt for AI Agents
In frontend/package.json around line 6 the "build:tailwind" script references
frontend/scripts/generate-tailwind-config.ts which is missing; either add the
script file at that exact path (frontend/scripts/generate-tailwind-config.ts) or
update the package.json entry to point to the real location of the generator
(e.g., where the existing generate-tailwind-config.ts lives), and verify the
ts-node project config (tsconfig.tsnode.json) and file extension are correct so
the script executes successfully.

"build": "next build",
"build:turbo": "next build --turbo",
"dev": "next dev --port 3000",
Expand All @@ -11,11 +12,12 @@
"lint": "eslint . --config eslint.config.mjs --fix --max-warnings=0",
"lint:check": "eslint . --config eslint.config.mjs --max-warnings=0",
"start": "next start",
"test:e2e": "npx playwright test",
"test:unit": "tsc --noEmit && NODE_OPTIONS='--experimental-vm-modules --no-warnings=DEP0040' jest"
"test": "pnpm test:unit",
"test:unit": "tsc --noEmit && cross-env NODE_OPTIONS=--experimental-vm-modules --no-warnings=DEP0040 jest",
"test:e2e": "playwright test",
"test:all": "pnpm test:unit && pnpm test:e2e"
Comment on lines +17 to +20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

cross-env is used in scripts but not declared — tests will fail.

test:unit references cross-env, but it is missing from devDependencies. CI/local runs without a global install will error with “cross-env: command not found”.

Add cross-env to devDependencies:

   "devDependencies": {
+    "cross-env": "^7.0.3",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"test": "pnpm test:unit",
"test:unit": "tsc --noEmit && cross-env NODE_OPTIONS=--experimental-vm-modules --no-warnings=DEP0040 jest",
"test:e2e": "playwright test",
"test:all": "pnpm test:unit && pnpm test:e2e"
// frontend/package.json
{
// …
"scripts": {
"test": "pnpm test:unit",
"test:unit": "tsc --noEmit && cross-env NODE_OPTIONS=--experimental-vm-modules --no-warnings=DEP0040 jest",
"test:e2e": "playwright test",
"test:all": "pnpm test:unit && pnpm test:e2e"
},
"devDependencies": {
"cross-env": "^7.0.3",
// …other devDependencies…
}
}
🤖 Prompt for AI Agents
In frontend/package.json around lines 15 to 18, the test:unit script uses
cross-env but cross-env is not listed in devDependencies causing CI/local runs
to fail with “cross-env: command not found”; add cross-env to devDependencies in
package.json (pick a stable version or use latest caret range), run your package
manager to install/update lockfile, and ensure CI pipeline installs
devDependencies so the script can run.

},
"dependencies": {
"@apollo/client": "^3.13.9",
"@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-brands-svg-icons": "^6.7.2",
"@fortawesome/free-regular-svg-icons": "^6.7.2",
Expand Down Expand Up @@ -45,7 +47,6 @@
"dompurify": "^3.2.6",
"eslint-plugin-import": "^2.32.0",
"framer-motion": "^12.23.12",
"graphql": "^16.11.0",
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
"lodash": "^4.17.21",
Expand All @@ -58,9 +59,12 @@
"react-apexcharts": "^1.7.0",
"react-dom": "^19.1.1",
"react-icons": "^5.5.0",


"react-router-dom": "^7.8.1",
"tailwind-merge": "^3.3.1",
"tailwindcss-animate": "^1.0.7"

},
"devDependencies": {
"@axe-core/react": "^4.10.2",
Expand All @@ -70,7 +74,11 @@
"@swc/core": "^1.13.3",
"@swc/jest": "^0.2.39",
"@tailwindcss/postcss": "^4.1.12",
Comment on lines 79 to 80
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Pick a single Jest transformer.

Both @swc/jest and ts-jest are present; using both can conflict. Prefer @swc/jest for speed, or keep ts-jest — but not both in config.

Run to see what your config uses:

If only one is referenced, remove the unused package.

Also applies to: 117-117


🏁 Script executed:

#!/bin/bash
rg -nP -C2 '(jest\.config|setupFiles|setupFilesAfterEnv|jest":\s*{)'
rg -nP -C3 '"transform"\s*:\s*{[^}]*}'
rg -nP -C2 '(ts-jest|@swc/jest)'

Length of output: 5414


Remove unused ts-jest dependency

transform in frontend/jest.config.ts only references @swc/jest, so ts-jest in package.json (line 117) isn’t used and should be removed.

🤖 Prompt for AI Agents
In frontend/package.json (noting the current diff at lines 78-79 and the unused
"ts-jest" entry around line 117), remove the "ts-jest" dependency entry from the
dependencies/devDependencies block so only @swc/jest remains; after editing, run
the package manager (npm/yarn/pnpm) to update node_modules and the lockfile to
keep manifests in sync.


"@testing-library/jest-dom": "^6.7.0",



"@testing-library/react": "^16.3.0",
"@types/jest": "^29.5.14",
"@types/leaflet": "^1.9.20",
Expand All @@ -83,6 +91,7 @@
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.40.0",
"autoprefixer": "^10.4.21",
"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint-config-next": "^15.4.7",
"eslint-config-prettier": "^10.1.8",
Expand All @@ -103,7 +112,8 @@
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"require-in-the-middle": "^7.5.2",
"tailwindcss": "^3.4.17",
"tailwindcss": "^4.1.12",
"tailwindcss-animate": "^1.0.7",
"ts-jest": "^29.4.1",
"ts-node": "^10.9.2",
"typescript": "~5.8.3",
Expand Down
1,055 changes: 294 additions & 761 deletions frontend/pnpm-lock.yaml

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions frontend/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ignoredBuiltDependencies:
- '@heroui/shared-utils'
- '@sentry/cli'
- core-js
- unrs-resolver
onlyBuiltDependencies:
- '@swc/core'
- '@tailwindcss/oxide'
- sharp
2 changes: 1 addition & 1 deletion frontend/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
"@tailwindcss/postcss": {},
autoprefixer: {},
tailwindcss: {},
},
}
22 changes: 22 additions & 0 deletions frontend/scripts/generate-tailwind-config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

// scripts/generate-tailwind-config.ts
import fs from 'fs';
import path from 'path';
import tailwindConfig from '../tailwind.config.js'; // ← now .js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Incorrect import target: this script imports .js while the config uses TypeScript-only syntax.

../tailwind.config.js contains TS-only syntax and ESM export; importing it will throw under ts-node/CommonJS. If you keep the config in TS, import the TS file instead.

-import tailwindConfig from '../tailwind.config.js';  // ← now .js
+// Import the TS config directly; ts-node project should enable allowImportingTsExtensions
+import tailwindConfig from '../tailwind.config.ts';
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
import tailwindConfig from '../tailwind.config.js'; // ← now .js
// Import the TS config directly; ts-node project should enable allowImportingTsExtensions
import tailwindConfig from '../tailwind.config.ts';
🤖 Prompt for AI Agents
In frontend/scripts/generate-tailwind-config.ts around line 5, the script
imports ../tailwind.config.js but that file contains TypeScript-only syntax and
ESM export which will throw under ts-node/CommonJS; update the import to point
to the TypeScript source (../tailwind.config.ts) or otherwise load the config
via a TS-aware loader (e.g., register ts-node or compile the config to JS) so
the runtime can parse the TS/ESM syntax — ensure the import path, runtime
loader, and any build scripts are adjusted consistently.


const configStr = JSON.stringify(tailwindConfig, (key, value) => {
if (typeof value === 'function') {
return `Function:${value.name || 'anonymous'}`;
}
return value;
}, 2);

const cjsContent = `
// Auto-generated from tailwind.config.ts
// DO NOT EDIT MANUALLY
module.exports = ${configStr};
`;

const outputPath = path.resolve(__dirname, '../tailwind.config.generated.js');
fs.writeFileSync(outputPath, cjsContent);
console.log('✅ Generated: tailwind.config.generated.js');
10 changes: 2 additions & 8 deletions frontend/src/app/about/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import { Metadata } from 'next'
import React from 'react'
import { getStaticMetadata } from 'utils/metaconfig'

export const metadata: Metadata = getStaticMetadata('about', '/about')

export default function AboutLayout({ children }: { children: React.ReactNode }) {
return children
}
return children;
}
Loading