Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
fb348c7
add docker files
sanjaypinna Mar 4, 2025
efe135b
Remove entity in chart data query in case of individual dashboard
bhavabhuthi Jun 6, 2025
53b9b62
Disable three chart viz types along with simple validation for both t…
bhavabhuthi Jun 27, 2025
5d88f69
Make the visualization stick while scrolling the chart options along …
bhavabhuthi Jun 27, 2025
6c235f1
Clear columns on changing resource along with form validation in y ax…
bhavabhuthi Jun 30, 2025
5bdf9dd
style: update headings and text styles for improved readability acros…
sanjaypinna Jul 2, 2025
e995dea
bump up opub version
sanjaypinna Jul 4, 2025
152c8bc
update date format
sanjaypinna Jul 9, 2025
0ba76fb
fix: add refetch functionality to entity details query in OrgDashboar…
sanjaypinna Jul 9, 2025
934ba89
fix: update maximum file size limit to 50 MB in ResourceDropzone comp…
sanjaypinna Jul 9, 2025
5d4a628
fix: update character limit help texts to display current input lengt…
sanjaypinna Jul 9, 2025
1984670
fix: correct spelling of 'Initiated' in running status labels
sanjaypinna Jul 9, 2025
28bb625
add optional chaining operator
sanjaypinna Jul 10, 2025
0b527d9
fix: improve resource details query handling for empty/invalid resour…
sanjaypinna Jul 11, 2025
d06900a
fix: optimize metadata update handling by tracking changed fields
sanjaypinna Jul 14, 2025
1b265ac
fix: add title attribute for entity name to improve accessibility and…
sanjaypinna Jul 14, 2025
63a3e85
Merge pull request #283 from CivicDataLab/282-fix-bugs
sanjaypinna Jul 14, 2025
c6a2929
update chartTypes
sanjaypinna Jul 14, 2025
d8f623d
Merge pull request #278 from CivicDataLab/256-charts-flow-v2
sanjaypinna Jul 14, 2025
1379a9a
replace kc secrets with hard coded values
sanjaypinna Jul 14, 2025
51bd33e
update workflow
sanjaypinna Jul 14, 2025
ec85049
Merge branch 'dev' into 284-seo-setup
sanjaypinna Jul 15, 2025
8bb9ef1
add seo planning doc
sanjaypinna Jul 15, 2025
fe55eb5
update seo docs
sanjaypinna Jul 18, 2025
1478360
add facet search for usecase
Deepthi-Chand Jul 21, 2025
67d994f
show download count if it more than zero
sanjaypinna Jul 21, 2025
e543d24
remove bg color
sanjaypinna Jul 21, 2025
6be683e
Merge pull request #285 from CivicDataLab/usecase_filter
sanjaypinna Jul 22, 2025
5c2b26e
refactor: update ListingComponent to use dynamic placeholder and redi…
sanjaypinna Jul 23, 2025
0496362
feat: add redirection URL and placeholder to ListingComponent
sanjaypinna Jul 23, 2025
b6255b9
add metadata generation function
sanjaypinna Jul 24, 2025
ad54d17
update Open Graph image
sanjaypinna Jul 24, 2025
2c2100a
refactor: comment out unused generateMetadata function
sanjaypinna Jul 24, 2025
50bff86
feat: add dataset details page and metadata generation
sanjaypinna Jul 24, 2025
3fb561b
Merge pull request #287 from CivicDataLab/284-seo-setup
sanjaypinna Jul 24, 2025
131ba26
feat: add 'profile' type to openGraph metadata options
sanjaypinna Jul 25, 2025
5a924be
refactor: generalize fetchData function to handle different types
sanjaypinna Jul 25, 2025
ce860f5
fix: correct grammatical inconsistencies in metadata descriptions and…
sanjaypinna Jul 25, 2025
995ecec
feat: enhance metadata for About CivicDataSpace page with detailed de…
sanjaypinna Jul 25, 2025
939d75a
feat: refactor ListingComponent to use fetchData function and update …
sanjaypinna Jul 25, 2025
18088cc
feat: update DatasetsListing to include generateMetadata function and…
sanjaypinna Jul 25, 2025
ecf8e41
feat: implement Use Cases listing and details pages with metadata gen…
sanjaypinna Jul 25, 2025
73f7236
feat: implement SectorsListing and SectorDetailsClient components wit…
sanjaypinna Jul 25, 2025
7a568aa
feat: create OrgPageClient component for organization details and met…
sanjaypinna Jul 25, 2025
d49c965
feat: implement PublishersListing and PublisherPage components with m…
sanjaypinna Jul 25, 2025
c9f81a7
feat: enhance dataset metadata generation with additional tags and im…
sanjaypinna Jul 25, 2025
cf9505e
Merge pull request #288 from CivicDataLab/284-seo-setup
sanjaypinna Jul 25, 2025
bf28a5f
feat: add JsonLd component for structured data rendering
sanjaypinna Jul 30, 2025
b143c9b
feat: add support for additional metadata options and implement JSON-…
sanjaypinna Jul 30, 2025
ba1d27e
add json-ld schema in all consumer pages
sanjaypinna Jul 30, 2025
4b17474
convert the entries to links
bhavabhuthi Aug 19, 2025
ee13d50
Redesign footer: updated layout and social icons order
UdayRajSahai2 Aug 22, 2025
aad245a
Merge pull request #294 from CivicDataLab/292-redesign-footer
bhavabhuthi Aug 25, 2025
24600e2
Add client-side URL validation for social media fields
UdayRajSahai2 Aug 28, 2025
0060a22
chore: ignore GraphQL generated files
UdayRajSahai2 Aug 28, 2025
3bcc643
Update .gitignore
UdayRajSahai2 Aug 28, 2025
d4745eb
Removed team section in About us
UdayRajSahai2 Aug 28, 2025
d1695fd
Merge pull request #300 from CivicDataLab/299-remove-team-section-in-…
bhavabhuthi Aug 29, 2025
2245bb5
Add total orgs to stats
bhavabhuthi Sep 1, 2025
488716e
npm audit fixes
bhavabhuthi Sep 1, 2025
1381992
add .env local example
Deepthi-Chand Sep 1, 2025
ff0d8c9
update repo links and path
Deepthi-Chand Sep 1, 2025
bbce655
Merge pull request #302 from CivicDataLab/291-stats-not-interactable-…
bhavabhuthi Sep 1, 2025
4fc266a
add all github templates
Deepthi-Chand Sep 1, 2025
a52743c
add badges
Deepthi-Chand Sep 1, 2025
4e8ac1f
update opub-ui version
bhavabhuthi Sep 1, 2025
95dfa69
Merge pull request #289 from CivicDataLab/284-seo-setup
bhavabhuthi Sep 2, 2025
4d5b4f7
Implement client-side URL validation for social media fields; retain …
UdayRajSahai2 Sep 2, 2025
4b48c4c
Merge pull request #298 from CivicDataLab/297-add-client-side-url-val…
Deepthi-Chand Sep 10, 2025
629cd5c
setup crawler SEO for application
bhavabhuthi Aug 19, 2025
51c378a
Move isSitemapEnabled to utils, restructure the current dynamic entit…
bhavabhuthi Sep 11, 2025
e5c8220
hard code env urls
Deepthi-Chand Sep 15, 2025
08708f0
fix type
Deepthi-Chand Sep 15, 2025
ff81f5b
hardcode env on pre-merge
Deepthi-Chand Sep 15, 2025
8dbebce
align cards, make cards same size, and add hover effect
UdayRajSahai2 Sep 16, 2025
b060ae0
Merge pull request #311 from CivicDataLab/309-align-cards-make-cards-…
Deepthi-Chand Sep 16, 2025
389f228
Merge pull request #204 from CivicDataLab/203-add-dockerfile
Deepthi-Chand Sep 16, 2025
8a49237
Updated logo image and changed background color of profile avatar
UdayRajSahai2 Sep 17, 2025
2f23985
Merge pull request #313 from CivicDataLab/312-change-civicdataspace-l…
Deepthi-Chand Sep 17, 2025
8c8d9d8
Updated Website Content,Enlarged logo and redesigned footer and repla…
UdayRajSahai2 Sep 18, 2025
25b0840
Merge pull request #317 from CivicDataLab/314-update-website-content
Deepthi-Chand Sep 18, 2025
737e4aa
Added ToolTip
UdayRajSahai2 Sep 18, 2025
e8ec52c
Merge pull request #320 from CivicDataLab/319-add-tooltip-in-sector
Deepthi-Chand Sep 18, 2025
67ae62b
Merge pull request #308 from CivicDataLab/286-implement-dynamic-seo-s…
Deepthi-Chand Sep 18, 2025
d9c6155
process slug with backward compatibility
bhavabhuthi Sep 1, 2025
cc4720d
Move extract publisher id to utils
bhavabhuthi Sep 1, 2025
521d6d1
Add extract publsher ID in relevant places in organization page
bhavabhuthi Sep 1, 2025
00859f8
Add links for metadata in dataset details page
bhavabhuthi Sep 1, 2025
a06d9dd
Add links for organization and individuals in use case details page
bhavabhuthi Sep 1, 2025
fa7bab4
Merge pull request #305 from CivicDataLab/303-clickable-contributors-…
Deepthi-Chand Sep 18, 2025
ad4fb31
move utility functions to seperate util file
Deepthi-Chand Sep 18, 2025
3119f09
add gql generate specific to ci and remove conflicting environment va…
Deepthi-Chand Sep 18, 2025
fda39be
Fixed footer ,it was not responsive
UdayRajSahai2 Sep 19, 2025
22e7939
Merge pull request #322 from CivicDataLab/321-fix-footer
Deepthi-Chand Sep 19, 2025
7a283bd
use serverside session handler and add retry logic for usecase loading
Deepthi-Chand Sep 19, 2025
8629c8f
load usecase details without auth and add debug statements
Deepthi-Chand Sep 19, 2025
8aaf413
remove query type for usecase details
Deepthi-Chand Sep 19, 2025
1b42223
cast usecasedetails
Deepthi-Chand Sep 19, 2025
0242ba9
remove debugging
Deepthi-Chand Sep 19, 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
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
.next
.git
.env
Dockerfile
docker-compose.yml
29 changes: 29 additions & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Authentication System variables
KEYCLOAK_CLIENT_ID='keycloakid'
KEYCLOAK_CLIENT_SECRET='keycloaksecret'
AUTH_ISSUER=https://keycloakdomain.com/auth/realms/keycloakrealm
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET='nextauthsecret'
END_SESSION_URL=https://keycloakdomain.com/auth/realms/keycloakrealm/protocol/openid-connect/logout
REFRESH_TOKEN_URL=https://keycloakdomain.com/auth/realms/keycloakrealm/protocol/openid-connect/token

# # Backend System variables
NEXT_PUBLIC_BACKEND_URL= https://backendurl
BACKEND_URL= https://backendurl

NEXT_PUBLIC_BACKEND_GRAPHQL_URL=https://backendurl/api/graphql
BACKEND_GRAPHQL_URL=https://backendurl/api/graphql

NEXT_PUBLIC_ENABLE_ACCESSMODEL = 'false'
NEXT_PUBLIC_ANALYTICS_URL ='https://analyticsurl'


# # Sentry feature related env varibale
SENTRY_FEATURE_ENABLED='true'
SENTRY_AUTH_TOKEN='sentryauthtoken'
SENTRY_DSN_URL=https://sentrydsnurl
NEXT_PUBLIC_SENTRY_DSN_URL=https://sentrydsnurl
SENTRY_ORG_NAME='orgname'
SENTRY_PROJECT_NAME='projectname'
NEXT_PUBLIC_PLATFORM_URL = 'https://platformurl'

84 changes: 84 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Bug Report
description: File a bug report to help us improve
title: "[Bug]: "
labels: ["bug", "triage"]
assignees: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. [email protected]
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to Reproduce
description: Please provide detailed steps to reproduce the issue
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: dropdown
id: version
attributes:
label: Version
description: What version of our software are you running?
options:
- main (latest)
- dev
- Other (please specify in description)
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
- Other
- type: dropdown
id: device
attributes:
label: What device are you using?
multiple: true
options:
- Desktop
- Mobile
- Tablet
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output from browser console. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/CivicDataLab/DataSpaceFrontend/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
url: https://github.com/CivicDataLab/DataSpaceFrontend/discussions
about: Ask questions and discuss ideas with the community
- name: Security Issues
url: mailto:[email protected]
about: Please report security vulnerabilities via email
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Feature Request
description: Suggest an idea for this project
title: "[Feature]: "
labels: ["enhancement", "triage"]
assignees: []
body:
- type: markdown
attributes:
value: |
Thanks for suggesting a new feature!
- type: textarea
id: problem
attributes:
label: Is your feature request related to a problem?
description: A clear and concise description of what the problem is.
placeholder: I'm always frustrated when [...]
validations:
required: false
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: dropdown
id: component
attributes:
label: Which component does this relate to?
multiple: true
options:
- UI/UX
- Authentication
- Data Visualization
- Search
- Navigation
- Performance
- Accessibility
- Documentation
- Testing
- Other
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/CivicDataLab/DataSpaceFrontend/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
79 changes: 79 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Pull Request

## Description

Brief description of the changes introduced by this PR.

## Type of Change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring
- [ ] Test improvements
- [ ] UI/UX improvements

## Related Issues

Fixes #(issue number)
Closes #(issue number)
Relates to #(issue number)

## Changes Made

- [ ] Change 1
- [ ] Change 2
- [ ] Change 3

## Testing

- [ ] I have tested this change manually
- [ ] I have added/updated tests for my changes
- [ ] All existing tests pass
- [ ] I have tested on multiple browsers (if applicable)
- [ ] I have tested on mobile devices (if applicable)

### Test Instructions

Please describe how reviewers can test your changes:

1. Step 1
2. Step 2
3. Step 3

## Screenshots (if applicable)

Add screenshots to help explain your changes, especially for UI changes.

## Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have run `npm run lint` and fixed any issues
- [ ] I have run `npm run build` successfully
- [ ] I have tested the changes in development mode
- [ ] Any dependent changes have been merged and published in downstream modules

## Performance Impact

- [ ] No performance impact
- [ ] Positive performance impact
- [ ] Negative performance impact (please explain)

## Accessibility

- [ ] I have tested keyboard navigation
- [ ] I have tested with screen readers (if applicable)
- [ ] I have ensured proper color contrast
- [ ] I have added appropriate ARIA labels (if applicable)

## Additional Notes

Add any additional notes or context about the PR here.
24 changes: 12 additions & 12 deletions .github/workflows/deploy-Dataspace-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ on:
push:
branches: ['dev']
env:
KEYCLOAK_CLIENT_ID: ${{secrets.KEYCLOAK_CLIENT_ID}}
KEYCLOAK_CLIENT_SECRET: ${{secrets.KEYCLOAK_CLIENT_SECRET}}
AUTH_ISSUER: ${{secrets.AUTH_ISSUER}}
NEXTAUTH_URL: 'https://dev.civicdataspace.in/'
NEXT_PUBLIC_NEXTAUTH_URL: 'https://dev.civicdataspace.in/'
KEYCLOAK_CLIENT_ID: 'dataspace'
KEYCLOAK_CLIENT_SECRET: 'Q2iHhyXNOqOu7Xaln7Z45QrDnbff13eu'
AUTH_ISSUER: 'https://opub-kc.civicdatalab.in/auth/realms/DataSpace'
NEXTAUTH_URL: 'https://dev.civicdataspace.in'
NEXT_PUBLIC_NEXTAUTH_URL: 'https://dev.civicdataspace.in'
NEXTAUTH_SECRET: ${{secrets.NEXTAUTH_SECRET}}
END_SESSION_URL: ${{secrets.END_SESSION_URL}}
REFRESH_TOKEN_URL: ${{secrets.REFRESH_TOKEN_URL}}
NEXT_PUBLIC_BACKEND_URL: ${{secrets.NEXT_PUBLIC_BACKEND_URL_DEV_DS}}
BACKEND_GRAPHQL_URL: ${{secrets.BACKEND_GRAPHQL_URL_DEV_DS}}
END_SESSION_URL: 'https://opub-kc.civicdatalab.in/auth/realms/DataSpace/protocol/openid-connect/logout'
REFRESH_TOKEN_URL: 'https://opub-kc.civicdatalab.in/auth/realms/DataSpace/protocol/openid-connect/token'
NEXT_PUBLIC_BACKEND_URL: 'https://dev.api.civicdataspace.in'
BACKEND_GRAPHQL_URL: 'https://dev.api.civicdataspace.in/api/graphql'
NEXT_PUBLIC_ENABLE_ACCESSMODEL: ${{secrets.NEXT_PUBLIC_ENABLE_ACCESSMODEL_DS}}
NEXT_PUBLIC_BACKEND_GRAPHQL_URL: ${{secrets.NEXT_PUBLIC_BACKEND_GRAPHQL_URL_DEV_DS}}
BACKEND_URL: ${{secrets.BACKEND_URL_DEV}}
NEXT_PUBLIC_PLATFORM_URL: ${{secrets.NEXT_PUBLIC_PLATFORM_URL_DEV}}
NEXT_PUBLIC_BACKEND_GRAPHQL_URL: 'https://dev.api.civicdataspace.in/api/graphql'
BACKEND_URL: 'https://dev.api.civicdataspace.in'
NEXT_PUBLIC_PLATFORM_URL: 'https://dev.civicdataspace.in'
NEXT_PUBLIC_ANALYTICS_URL: ${{secrets.NEXT_PUBLIC_ANALYTICS_URL}}


Expand Down
41 changes: 34 additions & 7 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ env:
NEXT_PUBLIC_PLATFORM_URL: ${{secrets.NEXT_PUBLIC_PLATFORM_URL_DEV}}
NEXT_PUBLIC_ANALYTICS_URL: ${{secrets.NEXT_PUBLIC_ANALYTICS_URL}}


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -31,9 +30,6 @@ jobs:
matrix:
node-version: [20.x]

env:
BACKEND_GRAPHQL_URL: ${{secrets.BACKEND_GRAPHQL_URL_DS}}

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -42,6 +38,37 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci --force
- run: npm run generate
- run: npm run build --if-present
- name: Install dependencies
run: npm ci --force

- name: Generate GraphQL types (CI-safe)
run: |
# Ensure generated directory exists
mkdir -p ./gql/generated

# Try to generate with timeout and fallback
timeout 60s npm run generate:ci || {
echo "GraphQL codegen failed or timed out, checking for existing files..."
if [ -d "./gql/generated" ] && [ "$(ls -A ./gql/generated 2>/dev/null)" ]; then
echo "Using existing generated files"
else
echo "Creating minimal generated files for build to proceed"
echo "// Auto-generated fallback file for CI builds" > ./gql/generated/index.ts
echo "export type Maybe<T> = T | null;" >> ./gql/generated/index.ts
echo "export type Scalars = {" >> ./gql/generated/index.ts
echo " ID: string;" >> ./gql/generated/index.ts
echo " String: string;" >> ./gql/generated/index.ts
echo " Boolean: boolean;" >> ./gql/generated/index.ts
echo " Int: number;" >> ./gql/generated/index.ts
echo " Float: number;" >> ./gql/generated/index.ts
echo "};" >> ./gql/generated/index.ts
echo "export {};" >> ./gql/generated/index.ts
echo "Created fallback generated files"
fi
}
env:
BACKEND_GRAPHQL_URL: ${{secrets.BACKEND_GRAPHQL_URL_DEV_DS}}
NODE_ENV: 'production'

- name: Build application
run: npm run build --if-present
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env*.local*
.env*.local

# vercel
.vercel
Expand All @@ -39,4 +39,5 @@ next-env.d.ts

# generated graphql files
/gql/generated/gql.ts
/gql/generated/graphql.ts
/gql/generated/graphql.ts
/gql/generated/
Loading