Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
682 commits
Select commit Hold shift + click to select a range
4a347a6
refactor: update imports to use centralized store for dashboard compo…
sanjaypinna Apr 30, 2025
94d75e9
refactor: update fallback logo of organization
sanjaypinna Apr 30, 2025
add2912
Merge pull request #238 from CivicDataLab/236-add-state-to-save-user-…
Deepthi-Chand Apr 30, 2025
e43a012
add user icons
sanjaypinna Apr 24, 2025
abe2467
update the User dashboard structure
sanjaypinna Apr 24, 2025
ec495ec
fix build issue
sanjaypinna Apr 24, 2025
04b845c
add settings icon
sanjaypinna Apr 29, 2025
861b442
fix index
sanjaypinna Apr 29, 2025
fe68a8a
add organization creation form
sanjaypinna Apr 29, 2025
7c143da
add fallback logo for publisher
sanjaypinna Apr 29, 2025
122dc9c
remove consumers and add profile page
sanjaypinna Apr 29, 2025
3f1dbbd
update profile image
sanjaypinna Apr 29, 2025
ec63d1b
export org types
sanjaypinna Apr 29, 2025
78a2693
add userprofile and orgprofile
sanjaypinna Apr 29, 2025
91f4287
make breadcrumbs sticky
sanjaypinna Apr 30, 2025
49039c8
make usecases as public page
sanjaypinna Apr 30, 2025
5b8f035
add hook for organizationtypes
sanjaypinna Apr 30, 2025
ca8ea6c
refactor UserDashboard to use dynamic user data and improve code form…
sanjaypinna Apr 30, 2025
a602001
use the global state all entities state to load org listing
sanjaypinna Apr 30, 2025
f00df97
refactor OrgDashboardLayout to integrate Zustand for state management…
sanjaypinna Apr 30, 2025
5a06e35
refactor DashboardNav to handle dynamic image sources based on entity…
sanjaypinna Apr 30, 2025
c4b2462
refactor MainNav to save user and organization details in global state
sanjaypinna Apr 30, 2025
0f1d387
refactor OrgProfile to utilize entity details from global state and s…
sanjaypinna Apr 30, 2025
b351abb
refactor UserProfile to enhance user details update handling and impr…
sanjaypinna Apr 30, 2025
f75fbe3
refactor store to implement DashboardStore for improved state managem…
sanjaypinna Apr 30, 2025
826b6a2
refactor: update imports to use centralized store for dashboard compo…
sanjaypinna Apr 30, 2025
ee72410
refactor: update fallback logo of organization
sanjaypinna Apr 30, 2025
f52e2a2
add StartedOn and CompletedOn date fields
sanjaypinna Apr 30, 2025
333dcdb
add logo in mutation response
sanjaypinna Apr 30, 2025
d830f4d
fix: add optional chaining to resource mapping for safer data access
sanjaypinna May 4, 2025
0e357ac
feat: add CustomCombobox component for enhanced option selection
sanjaypinna May 4, 2025
0102eac
feat: add PartnerModal component for adding new supporters
sanjaypinna May 4, 2025
101e127
feat: implement CustomCombobox for contributors and supporters with d…
sanjaypinna May 4, 2025
766c960
fix: correct filter function parameter names for contributors, suppor…
sanjaypinna May 4, 2025
b950371
integrate add and remove contributor mutations
sanjaypinna May 4, 2025
3e99b31
add entitySelection component
sanjaypinna May 6, 2025
92d1b06
integrate supporting organization mutation
sanjaypinna May 6, 2025
8310d89
integrate partners mutations to add and remove
sanjaypinna May 6, 2025
dcd0a48
move queries and mutations to query.ts
sanjaypinna May 6, 2025
7de9113
add contributors details in publish step
sanjaypinna May 6, 2025
021a4a3
add contributors section to usecase
sanjaypinna May 6, 2025
36d4536
Merge branch 'dev' into 234-update-usecase-creation-flow
sanjaypinna May 6, 2025
0ab871a
Merge pull request #239 from CivicDataLab/234-update-usecase-creation…
Deepthi-Chand May 6, 2025
168ce7e
move state to parent component
sanjaypinna May 7, 2025
9c9f710
create a context for dataset flow
sanjaypinna May 7, 2025
da3576d
add Titlebar in dataset layout and update the routes
sanjaypinna May 7, 2025
d487109
remove background color
sanjaypinna May 7, 2025
01956c5
update padding
sanjaypinna May 7, 2025
3498f2d
fix the condition
sanjaypinna May 7, 2025
ba09a5b
refactor MainNav component: reorganize imports, enhance data fetching…
sanjaypinna May 8, 2025
dba4197
refactor TitleBar component: reorder imports for better organization
sanjaypinna May 8, 2025
655333c
fix EditLayout component: update onSave handler to use value paramete…
sanjaypinna May 8, 2025
84122c8
feat(EditMetadata): enhance metadata form with license and access typ…
sanjaypinna May 8, 2025
2f6a994
fix: update router push path to redirect to metadata edit page after …
sanjaypinna May 8, 2025
f794db0
refactor(EditLayout): comment out unused 'Charts' navigation item
sanjaypinna May 8, 2025
27c8143
update labels to reflect 'Data Files' and improve layout
sanjaypinna May 8, 2025
7f5ce03
feat(EditResource): enhance resource editing with improved file handl…
sanjaypinna May 8, 2025
f29142c
feat(ResourceHeader): add resource header component with file selecti…
sanjaypinna May 8, 2025
cddfa8e
fix(ResourceListView): improve error handling and reset file state on…
sanjaypinna May 8, 2025
764bb53
feat(PreviewData): add initial PreviewData component with preview prop
sanjaypinna May 8, 2025
3efc2c4
Merge pull request #242 from CivicDataLab/240-update-dataset-creation…
bhavabhuthi May 9, 2025
fa1a7e5
add admin &members page
sanjaypinna May 9, 2025
6cd3de8
add autocomplete off
sanjaypinna May 9, 2025
390abc4
feat(AddUser): update user mutation and role assignment logic, enhanc…
sanjaypinna May 9, 2025
99d865b
feat(Admin): enhance user management with improved mutation handling …
sanjaypinna May 9, 2025
497cd47
update icons
sanjaypinna May 9, 2025
469d12b
Merge pull request #244 from CivicDataLab/241-add-admin-members-page-…
Deepthi-Chand May 9, 2025
5cff314
update query
sanjaypinna May 9, 2025
62af767
remove preview fetch in resource listing page
sanjaypinna May 9, 2025
99b2a2f
add resourceById query to get resource data
sanjaypinna May 9, 2025
a399bfa
Merge branch 'dev' into 243-revamp-resource-page-in-dataset-creation
sanjaypinna May 9, 2025
82a7a1c
fix(DatasetDetails): update GraphQL query and data handling for datas…
sanjaypinna May 9, 2025
a89f1ac
refactor(EditResource): streamline resource handling and enhance prev…
sanjaypinna May 10, 2025
e3a85a4
refactor(PreviewData): enhance data handling and improve rendering of…
sanjaypinna May 10, 2025
cc1123a
refactor(ResourceDropzone): improve error handling and streamline imp…
sanjaypinna May 10, 2025
f09e788
refactor(ResourceListView): improve error handling and reorganize imp…
sanjaypinna May 10, 2025
f3cadbe
refactor(DistibutionPage): remove unnecessary query refetch options
sanjaypinna May 10, 2025
9a12212
refactor(ResourceSchema): reorganize imports and streamline state upd…
sanjaypinna May 11, 2025
b0bef51
refactor(ResourceListView): reorganize imports, enhance data handling…
sanjaypinna May 11, 2025
aa3f442
refactor(EditResource): streamline imports, enhance state management,…
sanjaypinna May 11, 2025
77a976a
add refetch
sanjaypinna May 11, 2025
6523e68
Merge pull request #245 from CivicDataLab/243-revamp-resource-page-in…
bhavabhuthi May 12, 2025
31458fd
refactor(DashboardNav): improve image validation logic and enhance im…
sanjaypinna May 12, 2025
ea24c95
refactor(schema): add social media profiles and location fields to or…
sanjaypinna May 12, 2025
a43a803
refactor(OrgProfile, Page): add social media and location fields to o…
sanjaypinna May 12, 2025
482c604
refactor(UserProfile): add fields for GitHub, LinkedIn, Twitter profi…
sanjaypinna May 12, 2025
29fafa7
Merge pull request #247 from CivicDataLab/246-add-social-media-fields…
bhavabhuthi May 12, 2025
69ecbb0
refactor(DatasetDetailsPage): improve variable naming
sanjaypinna May 12, 2025
cbe9850
refactor(UseCaseDetailPage): adjust layout spacing for contributor im…
sanjaypinna May 12, 2025
d9dd0d8
refactor(FetchUsers): add profile picture field to user query
sanjaypinna May 12, 2025
16c6c1e
refactor(Publish): enhance contributor and organization details displ…
sanjaypinna May 12, 2025
d8f6670
refactor(EntitySelection): update contributor display to include imag…
sanjaypinna May 12, 2025
ad57f17
refactor(ContributorsPage): enhance contributor display with profile …
sanjaypinna May 12, 2025
6668026
Merge pull request #250 from CivicDataLab/249-add-images-in-usecases-…
bhavabhuthi May 13, 2025
3c68068
feat(Metadata): enhance metadata handling to include data types and l…
sanjaypinna May 13, 2025
68cf37a
chore: update opub-ui dependency to version 0.3.83
sanjaypinna May 13, 2025
457db8d
refactor(styles): remove unused Card styles for improved maintainability
sanjaypinna May 13, 2025
7a62414
refactor(Tabs): enhance TabList components with border and theme for …
sanjaypinna May 13, 2025
c7990cd
refactor(variables): replace violet color variables with orange secon…
sanjaypinna May 13, 2025
6b18b27
feat(svg): add Law And Justice SVG graphic for sector representation
sanjaypinna May 14, 2025
8404211
refactor(ListingComponent): streamline category header and improve fi…
sanjaypinna May 14, 2025
5177ddb
add optional chaining operator and fix color of sector description
sanjaypinna May 15, 2025
2364113
Merge branch 'dev' into 251-update-tabs-and-button-styling
sanjaypinna May 15, 2025
e4ce432
Merge pull request #252 from CivicDataLab/251-update-tabs-and-button-…
sanjaypinna May 16, 2025
ce54fe4
fix dataset sort
sanjaypinna May 19, 2025
fa4ff1e
add socialMedia links
sanjaypinna May 19, 2025
e86009f
remove description from resources
sanjaypinna May 19, 2025
1458a05
add getWebsiteTitle function to fetch and return the title of a webpage
sanjaypinna May 19, 2025
9ad9d59
add functionality to fetch and display website title in Metadata comp…
sanjaypinna May 19, 2025
9d6badd
refactor SectorsListingPage to improve sorting and search functionality
sanjaypinna May 19, 2025
d71c463
add dataset download count
sanjaypinna May 19, 2025
afb0652
update publicPages to include '/about-us' route
sanjaypinna May 20, 2025
bff3601
remove download count section
sanjaypinna May 20, 2025
c85b321
add download count in metadata
sanjaypinna May 20, 2025
d500414
refactor Resources component for improved styling and layout
sanjaypinna May 20, 2025
a3b5ca3
fix: adjust flex alignment in Metadata component for better layout
sanjaypinna May 20, 2025
c828d23
feat: update color variables and add primary/secondary text colors
sanjaypinna May 20, 2025
d312ab1
Merge pull request #254 from CivicDataLab/253-fix-bugs-and-ui-enhance…
sanjaypinna May 20, 2025
e2a7691
fix: update icon-warning variable to use orange secondary text
sanjaypinna May 20, 2025
25a75c6
fix: update Filter component styles for consistency and improved layout
sanjaypinna May 20, 2025
c3feb94
feat: enhance ListingComponent with loading state and improved layout…
sanjaypinna May 20, 2025
bfed774
fix icon imports - merge issue with dev branch
bhavabhuthi May 21, 2025
0e4c6c0
Move charts flow from datasets to dashboard level
bhavabhuthi May 21, 2025
75b3030
Add option for charts in dashboard layout
bhavabhuthi May 21, 2025
48421f6
Add a new screen to create image or generate visualization
bhavabhuthi May 21, 2025
71c7b7e
Add a chart specific page
bhavabhuthi May 21, 2025
c1db6ad
feat: add Initiatives component to About page with detailed descripti…
sanjaypinna May 21, 2025
9d4dfad
add about us page illustrations
sanjaypinna May 21, 2025
b44002a
fix: update PreviewData component to handle potential null values and…
sanjaypinna May 22, 2025
82b653d
fix: enhance error handling for missing metadata in dataset summary a…
sanjaypinna May 22, 2025
b36e104
update fallback logo
sanjaypinna May 22, 2025
acf1716
fix: update ListingComponent to display correct profile images for da…
sanjaypinna May 22, 2025
622795b
fix: update Datasets component to display correct profile images for …
sanjaypinna May 22, 2025
3da0720
fix: update opub-ui dependency to version 0.3.84
sanjaypinna May 22, 2025
9b6ab19
redirect chart preview page
bhavabhuthi May 22, 2025
5596452
Fix image add mutation and also add redirect to the mutation
bhavabhuthi May 22, 2025
732061a
add resource chart image details query
bhavabhuthi May 22, 2025
4dd0ba4
temp fix build issue
bhavabhuthi May 22, 2025
1dd920d
Merge pull request #258 from CivicDataLab/256-charts-flow-v2
sanjaypinna May 22, 2025
5b196b1
Merge branch 'dev' into 255-update-ui-as-per-the-designs
sanjaypinna May 22, 2025
9bbc1a1
Merge pull request #257 from CivicDataLab/255-update-ui-as-per-the-de…
sanjaypinna May 22, 2025
86c7fb2
Enhance Content component with metrics display and sector tags
sanjaypinna May 23, 2025
e0b81ff
add usecases
sanjaypinna May 23, 2025
7c72055
fix labels
sanjaypinna May 23, 2025
20232f2
Refactor layout and spacing in Content, Datasets, and Sectors compone…
sanjaypinna May 23, 2025
0207065
Update UseCases component to support pagination and improve layout
sanjaypinna May 23, 2025
622a7e4
Merge pull request #260 from CivicDataLab/259-update-landing-page-ui
sanjaypinna May 23, 2025
a83a599
Refactor form handling in Details component to save data on blur inst…
sanjaypinna May 24, 2025
5b5705a
Update heading styles in SectorsListingPage for improved typography
sanjaypinna May 24, 2025
cca5b76
Refactor layout and styling in ListingComponent for improved visual c…
sanjaypinna May 24, 2025
bfcefa1
Add SimilarDatasets component to display related datasets in DatasetD…
sanjaypinna May 24, 2025
cb54eff
Update text styles in Resources component for improved readability
sanjaypinna May 24, 2025
32d1ef9
Refactor MetadataComponent to streamline image handling and update la…
sanjaypinna May 24, 2025
b4d57fb
Enhance PrimaryData component by updating title style and improving t…
sanjaypinna May 24, 2025
5e2e969
Add SimilarDatasets component to display related datasets in DatasetD…
sanjaypinna May 24, 2025
0c05620
Merge pull request #262 from CivicDataLab/261-add-similar-datasets-se…
sanjaypinna May 24, 2025
0325b2d
Add 'Publishers' link to MainNav and update publicPages in middleware
sanjaypinna May 24, 2025
bc74771
Add PublishersListingPage component and related assets
sanjaypinna May 24, 2025
d92d56c
Add PublisherCard component to display publisher information and stat…
sanjaypinna May 24, 2025
0964e64
Enhance PublisherCard and PublishersListingPage components with impro…
sanjaypinna May 24, 2025
ff10471
Add icon-inherit variable to _variables.css for improved icon styling
sanjaypinna May 25, 2025
77fde80
Add location icon to Icons component
sanjaypinna May 25, 2025
90a9ac7
Refactor PublisherCard to improve link handling for organization types
sanjaypinna May 25, 2025
9df0a31
Add PublisherPage, ProfileDetails, and SidebarCard components for enh…
sanjaypinna May 25, 2025
a53bd12
Add UseCases component to display user-published use cases
sanjaypinna May 25, 2025
75ae747
Add toggle buttons for Use Cases and Datasets in ProfileDetails compo…
sanjaypinna May 25, 2025
242a191
Add Datasets component to display user-published datasets
sanjaypinna May 25, 2025
7b49b7a
Add OrgPage component
sanjaypinna May 25, 2025
6c662d0
Update opub-ui dependency to version 0.3.86
sanjaypinna May 26, 2025
002363b
Add type prop to SidebarCard and ProfileDetails components in Publish…
sanjaypinna May 27, 2025
664bc8e
Refactor ProfileDetails component to utilize type prop for conditiona…
sanjaypinna May 27, 2025
2f94969
Refactor OrgPage component to include SidebarCard and BreadCrumbs, en…
sanjaypinna May 27, 2025
96f5d95
Refactor SidebarCard component to utilize type prop for conditional r…
sanjaypinna May 27, 2025
fe67582
Refactor Datasets component to support conditional rendering based on…
sanjaypinna May 27, 2025
3528030
Refactor UseCases component to support conditional rendering based on…
sanjaypinna May 27, 2025
ef198d2
Merge pull request #264 from CivicDataLab/263-add-publishers-page
sanjaypinna May 27, 2025
53361d5
update publisher logo in usecase cards
sanjaypinna May 28, 2025
b1baabb
Remove commented-out followers section from PublisherCard component
sanjaypinna May 28, 2025
2598224
Refactor Metadata component to improve conditional rendering for publ…
sanjaypinna May 28, 2025
2120e46
Refactor GraphQL queries in DatasetPage to include entityType and ent…
sanjaypinna May 28, 2025
39353e8
Add bio and description fields to PublisherCard and GraphQL query for…
sanjaypinna May 28, 2025
e5611c3
Add '/publishers/(.*)' to publicPages in middleware for improved routing
sanjaypinna May 28, 2025
49eedf3
Refactor Content component to fetch and display dynamic stats with lo…
sanjaypinna May 28, 2025
d858b86
Refactor loading state styling in Datasets and UseCases components fo…
sanjaypinna May 28, 2025
53d27e6
Merge pull request #266 from CivicDataLab/265-update-org-and-publishe…
sanjaypinna May 28, 2025
9a88b2d
Update footer links to point to the About Us page
sanjaypinna May 29, 2025
dfea6ad
Refactor EditMetadata component to streamline data preparation and ha…
sanjaypinna May 29, 2025
aaad74d
fix padding
sanjaypinna May 29, 2025
c806fd8
Fix default value assignment in EditMetadata component to handle null…
sanjaypinna May 29, 2025
6851e60
Update SimilarDatasets component to adjust carousel item layout for b…
sanjaypinna May 29, 2025
6e72a0f
Enhance dataset edit page to fetch and display website title for URL …
sanjaypinna May 29, 2025
cc3cbd2
Add unpublish functionality for use cases with mutation and UI integr…
sanjaypinna May 30, 2025
4291b87
Refactor UserDashboard component to improve loading state handling an…
sanjaypinna May 30, 2025
1573327
Refactor error handling in DatasetPage to use toast notifications and…
sanjaypinna May 30, 2025
43b9589
Refactor Metadata component to improve code organization and handle e…
sanjaypinna May 30, 2025
3cd2cc5
Redirect to contributors page after successfully assigning datasets
sanjaypinna May 30, 2025
b4f1f8e
Add refetching of UseCaseData after successfully adding contributors,…
sanjaypinna May 30, 2025
9c8de63
fix typo
sanjaypinna May 30, 2025
71d934c
Add StepNavigation component for step-based navigation in the dashboard
sanjaypinna May 30, 2025
6c0998c
Add StepNavigation component to EditLayout and UseCase layout for imp…
sanjaypinna May 30, 2025
57b4f78
Merge pull request #268 from CivicDataLab/267-fix-bugs
sanjaypinna May 30, 2025
76f2546
Enhance Datasets and UseCases components with no-data states and impr…
sanjaypinna Jun 2, 2025
2fa1548
Comment out unused query definitions and calls
bhavabhuthi May 22, 2025
9467516
add small documentation of the compoenent
bhavabhuthi May 22, 2025
a132bdd
Restructure the chart preview page along with
bhavabhuthi May 22, 2025
92be9b2
Add status to chart list table
bhavabhuthi May 23, 2025
bb61b36
Add icons for chart types and also update the chartBar in layout sidebar
bhavabhuthi Jun 2, 2025
1b547ff
Add create viz section and also put the Chart type dialog in place fo…
bhavabhuthi May 27, 2025
ddf2643
Charts review, edit and publish features with auto save
bhavabhuthi Jun 2, 2025
f44eb84
Merge pull request #269 from CivicDataLab/256-charts-flow-v2
sanjaypinna Jun 2, 2025
f823b67
Enhance metadata update handling with success feedback and form data …
sanjaypinna Jun 5, 2025
d4ce981
Enhance logo display in footer with hover effect for improved user ex…
sanjaypinna Jun 5, 2025
4b878ec
Remove debug log statement from StepNavigation component
sanjaypinna Jun 5, 2025
9266268
Refactor Details component layout and enhance form fields for better …
sanjaypinna Jun 5, 2025
42b2349
enhance error handling with dismiss action
sanjaypinna Jun 5, 2025
64532fa
Enhance dataset mutation response structure and error handling in Edi…
sanjaypinna Jun 5, 2025
860cd72
Refactor MainNav component to enhance search functionality and improv…
sanjaypinna Jun 5, 2025
12cb2d0
Add loading state and improve empty dataset handling in ListingComponent
sanjaypinna Jun 5, 2025
3448b1b
add optional chaining operator
sanjaypinna Jun 5, 2025
d9d76d4
add optional chaining operator
sanjaypinna Jun 5, 2025
a601f45
add sector logo in dataset details page
sanjaypinna Jun 5, 2025
911cf67
update usecase query
sanjaypinna Jun 5, 2025
f466458
add contact us in footer
sanjaypinna Jun 5, 2025
8c6d779
update summary font size
sanjaypinna Jun 5, 2025
e22390d
update labels
sanjaypinna Jun 5, 2025
ee2c168
refactor: enhance error handling and success notifications for datase…
sanjaypinna Jun 5, 2025
068722a
fix: update labels to indicate required fields in metadata form
sanjaypinna Jun 5, 2025
a4a37b9
fix: correct dataset ID reference in router push after dataset creation
sanjaypinna Jun 5, 2025
967ec51
Add a required field in form and disable button based on conditions
sanjaypinna Jun 5, 2025
d30574f
add required fields
sanjaypinna Jun 5, 2025
c0a0c2d
update label
sanjaypinna Jun 5, 2025
a7cbc73
add required fields
sanjaypinna Jun 5, 2025
a14b5af
add checks to enable Publish button
sanjaypinna Jun 5, 2025
d882b8b
update label
sanjaypinna Jun 5, 2025
b054799
disable restricted access
sanjaypinna Jun 5, 2025
808b8c2
Merge pull request #271 from CivicDataLab/270-fix-bugs
sanjaypinna Jun 5, 2025
a2cdeeb
redirect user to datasets page
sanjaypinna Jun 6, 2025
1567721
add form validation to profile and org creation pages
sanjaypinna Jun 6, 2025
4b269f7
update fallback images
sanjaypinna Jun 6, 2025
74f351a
Merge pull request #272 from CivicDataLab/270-fix-bugs
sanjaypinna Jun 6, 2025
3359337
update router push to replace in listing pages
sanjaypinna Jun 6, 2025
d02b0cf
fix height in user dashboard
sanjaypinna Jun 6, 2025
2a3b230
fix preview startEntry
sanjaypinna Jun 6, 2025
95eacfa
remove location check and profile picture check in profile update
sanjaypinna Jun 6, 2025
5da3202
update branch in the workflow
sanjaypinna Jun 27, 2025
c8f3459
add deployment workflow for dev instance
sanjaypinna Jun 27, 2025
a110047
update mutation structure
sanjaypinna Jun 27, 2025
75941da
update workflows names
sanjaypinna Jun 27, 2025
92e4f23
update dev auth url
sanjaypinna Jun 27, 2025
b045982
replace secret with dev url
sanjaypinna Jun 27, 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
69 changes: 69 additions & 0 deletions .github/workflows/deploy-Dataspace-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Update DataSpace Dev

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/'
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}}
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}}

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: npm install

- name: Generate
run: npm run generate

- name: Build
run: npm run build

- name: Rename .next to .next2
run: mv .next .next2

- name: Rename public to public2
run: mv public public2

- name: Send .next2 to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST_DEV_DS }}
username: ${{ secrets.EC2_USERNAME_DS }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
source: .next2
target: DataExchange/DataExFrontend

- name: Send public2 to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST_DEV_DS }}
username: ${{ secrets.EC2_USERNAME_DS }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
source: public2
target: DataExchange/DataExFrontend

- name: Update with new Build
uses: appleboy/[email protected]
with:
host: ${{ secrets.EC2_HOST_DEV_DS }}
username: ${{ secrets.EC2_USERNAME_DS }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
script: rm -rf DataExchange/DataExFrontend/.next; rm -rf DataExchange/DataExFrontend/public; mv DataExchange/DataExFrontend/.next2 DataExchange/DataExFrontend/.next; mv DataExchange/DataExFrontend/public2 DataExchange/DataExFrontend/public; /home/ubuntu/.nvm/versions/node/v20.11.1/bin/pm2 restart dataspace
69 changes: 69 additions & 0 deletions .github/workflows/deploy-Dataspace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Update DataSpace Prod

on:
push:
branches: ['main']
env:
KEYCLOAK_CLIENT_ID: ${{secrets.KEYCLOAK_CLIENT_ID}}
KEYCLOAK_CLIENT_SECRET: ${{secrets.KEYCLOAK_CLIENT_SECRET}}
AUTH_ISSUER: ${{secrets.AUTH_ISSUER}}
NEXTAUTH_URL: ${{secrets.NEXTAUTH_URL_DS}}
NEXT_PUBLIC_NEXTAUTH_URL: ${{secrets.NEXT_PUBLIC_NEXTAUTH_URL_DS}}
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_DS}}
BACKEND_GRAPHQL_URL: ${{secrets.BACKEND_GRAPHQL_URL_DS}}
NEXT_PUBLIC_ENABLE_ACCESSMODEL: ${{secrets.NEXT_PUBLIC_ENABLE_ACCESSMODEL_DS}}
NEXT_PUBLIC_BACKEND_GRAPHQL_URL: ${{secrets.NEXT_PUBLIC_BACKEND_GRAPHQL_URL_DS}}
BACKEND_URL: ${{secrets.BACKEND_URL}}
NEXT_PUBLIC_PLATFORM_URL: ${{secrets.NEXT_PUBLIC_PLATFORM_URL}}

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: npm install

- name: Generate
run: npm run generate

- name: Build
run: npm run build

- name: Rename .next to .next2
run: mv .next .next2

- name: Rename public to public2
run: mv public public2

- name: Send .next2 to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST_DS }}
username: ${{ secrets.EC2_USERNAME_DS }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
source: .next2
target: DataExchange/DataExFrontend

- name: Send public2 to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST_DS }}
username: ${{ secrets.EC2_USERNAME_DS }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
source: public2
target: DataExchange/DataExFrontend

- name: Update with new Build
uses: appleboy/[email protected]
with:
host: ${{ secrets.EC2_HOST_DS }}
username: ${{ secrets.EC2_USERNAME_DS }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
script: rm -rf DataExchange/DataExFrontend/.next; rm -rf DataExchange/DataExFrontend/public; mv DataExchange/DataExFrontend/.next2 DataExchange/DataExFrontend/.next; mv DataExchange/DataExFrontend/public2 DataExchange/DataExFrontend/public; /home/ubuntu/.nvm/versions/node/v20.11.1/bin/pm2 restart dataspace
55 changes: 55 additions & 0 deletions .github/workflows/deploy-IDS-Dataspace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Update IDS-DRR Dataspace

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: ${{secrets.NEXTAUTH_URL}}
NEXT_PUBLIC_NEXTAUTH_URL: ${{secrets.NEXT_PUBLIC_NEXTAUTH_URL}}
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}}
BACKEND_GRAPHQL_URL: ${{secrets.BACKEND_GRAPHQL_URL}}
NEXT_PUBLIC_ENABLE_ACCESSMODEL: ${{secrets.NEXT_PUBLIC_ENABLE_ACCESSMODEL}}
NEXT_PUBLIC_BACKEND_GRAPHQL_URL: ${{secrets.NEXT_PUBLIC_BACKEND_GRAPHQL_URL}}
BACKEND_URL: ${{secrets.BACKEND_URL}}

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: npm install

- name: Generate
run: npm run generate

- name: Build
run: npm run build

- name: Rename .next to .next2
run: mv .next .next2

- name: Send .next2 to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
source: .next2
target: DataExchange/DataExFrontend
- name: Update with new Build
uses: appleboy/[email protected]
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
script: rm -rf DataExchange/DataExFrontend/.next; mv DataExchange/DataExFrontend/.next2 DataExchange/DataExFrontend/.next; /home/ubuntu/.nvm/versions/node/v18.17.0/bin/pm2 restart DataExFrontend
14 changes: 10 additions & 4 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ env:
KEYCLOAK_CLIENT_ID: ${{secrets.KEYCLOAK_CLIENT_ID}}
KEYCLOAK_CLIENT_SECRET: ${{secrets.KEYCLOAK_CLIENT_SECRET}}
AUTH_ISSUER: ${{secrets.AUTH_ISSUER}}
NEXTAUTH_URL: ${{secrets.NEXTAUTH_URL}}
NEXTAUTH_URL: ${{secrets.NEXTAUTH_URL_DS}}
NEXT_PUBLIC_NEXTAUTH_URL: ${{secrets.NEXT_PUBLIC_NEXTAUTH_URL_DS}}
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}}
BACKEND_GRAPHQL_URL: ${{secrets.BACKEND_GRAPHQL_URL}}
NEXT_PUBLIC_BACKEND_URL: ${{secrets.NEXT_PUBLIC_BACKEND_URL_DS}}
BACKEND_URL: ${{secrets.BACKEND_URL_DS}}
BACKEND_GRAPHQL_URL: ${{secrets.BACKEND_GRAPHQL_URL_DS}}
NEXT_PUBLIC_ENABLE_ACCESSMODEL: ${{secrets.NEXT_PUBLIC_ENABLE_ACCESSMODEL_DS}}
NEXT_PUBLIC_BACKEND_GRAPHQL_URL: ${{secrets.NEXT_PUBLIC_BACKEND_GRAPHQL_URL_DS}}
NEXT_PUBLIC_PLATFORM_URL: ${{secrets.NEXT_PUBLIC_PLATFORM_URL}}


jobs:
build:
Expand All @@ -25,7 +31,7 @@ jobs:
node-version: [20.x]

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

steps:
- uses: actions/checkout@v4
Expand Down
77 changes: 77 additions & 0 deletions app/[locale]/(user)/about-us/components/Initiatives.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
import React from 'react';
import Image from 'next/image';
import { Divider, Text } from 'opub-ui';

const Initiatives = () => {
const IntiativesList = [
{
name: 'Climate Action',
image: '/About/ca.png',
description:
'Asia is the world’s most disaster-prone region, with 80% of extreme weather events caused by floods and storms. To help better prepare Asia for climate change, we are actively working with frontline workers, government agencies and other stakeholders to strengthen climate action and disaster risk reduction. These efforts are spread across all our initiatives, including projects like Green budgeting, Disaster Modelling and Citizen-led Disaster Reporting.',
},
{
name: 'Digital Public Goods',
image: '/About/dpg.png',
description:
'We are co-creating people-centric Digital Public Goods (DPGs), especially Open Data Platforms, Data Exchanges, Data Science Models and Citizen-led Apps for improving participatory data-driven governance and attain the Sustainable Development Goals (SDGs) and do no harm by adhering to privacy practices and applicable laws. DPGs and Digital Public Infrastructure (DPI) are critical enablers of digital transformation and are helping to improve public service delivery at scale.',
},
{
name: 'Law and Justice',
image: '/About/l&j.png',
description:
'To better understand implementation of laws, judicial reforms and attainment of human rights, its essential to track timely data of our courts, police, correctional homes, legal aid and other institutions. We have co-created Justice Hub - a crowdsourcing open data platform to help various stakeholders publish, consume and analyse legal data in India. We are also working to publish and analyse data to improve child protection in the country.',
},
{
name: 'Open Contracting India',
image: '/About/oci.png',
description:
'Demystifying public finance helps in understanding government’s fiscal and development priorities, supports equitable public policymaking and enables citizen trust. We are working at the national, sub-national and local level to help publish, standardise and analyse public finance data at Open Budgets India and other platforms, for data-driven decision-making and citizen participation. We also collaborate with various stakeholders to set best practices for green and inclusive budgeting for our sustainable future.',
},
{
name: 'Public Finance',
image: '/About/pf.png',
description:
'Demystifying public finance helps in understanding government’s fiscal and development priorities, supports equitable public policymaking and enables citizen trust. We are working at the national, sub-national and local level to help publish, standardise and analyse public finance data at Open Budgets India and other platforms, for data-driven decision-making and citizen participation. We also collaborate with various stakeholders to set best practices for green and inclusive budgeting for our sustainable future.',
},
{
name: 'Urban Development',
image: '/About/ud.png',
description:
'With rapid urbanisation, cities are becoming constantly evolving complex clusters, presenting new challenges and opportunities of economic development, infrastructure growth, migration and sustainability. To better understand and shape the development of our cities, we are opening-up crucial urban data and building the capacity of urban governments and local stakeholders. We are co-creating solutions like - city data platforms, citizen-led disaster reporting platforms, data science models for effective urban service delivery and more.',
},
];
return (
<div className="container py-5 lg:py-10">
<div className="flex flex-col gap-5 lg:gap-10">
<div>
<Text variant="heading2xl">Our Initiatives</Text>
</div>
<div className=" grid w-fit gap-10 md:grid-cols-2 lg:grid-cols-3">
{IntiativesList.map((item, index) => (
<div key={index} className=" rounded-4 p-7 shadow-card ">
<div className="flex flex-col items-center gap-5">
<Image
src={item.image}
alt={'initiative logo'}
width={328}
height={200}
className=" h-full w-full"
priority
/>
<Text variant="headingLg">{item.name}</Text>
<div className="flex flex-col gap-2 border-t-2 border-solid border-greyExtralight">
<Text className="pt-3 text-[#545456]">
{item.description}
</Text>
</div>
</div>
</div>
))}
</div>
</div>
</div>
);
};

export default Initiatives;
84 changes: 84 additions & 0 deletions app/[locale]/(user)/about-us/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
import React from 'react';
import Image from 'next/image';
import { Text } from 'opub-ui';

import BreadCrumbs from '@/components/BreadCrumbs';
import Initiatives from './components/Initiatives';

const About = () => {
return (
<main>
<BreadCrumbs
data={[
{ href: '/', label: 'Home' },
{ href: '#', label: 'About' },
]}
/>
<div className="container py-5 lg:py-10 mb-5">
<div className=" flex flex-wrap justify-center gap-14 lg:flex-nowrap ">
<div className="flex flex-col gap-6">
<Text variant="heading2xl">About us</Text>
<Text
variant="headingLg"
fontWeight="regular"
className=" leading-5"
>
CivicDataLab (CDL) works at the intersection of data, technology,
design and social science to strengthen access to public
information, evidence-based decision-making and citizen
participation in governance. CDL harnesses the potential of open
knowledge movements to strengthen the data-for-public-good
ecosystem and enable citizens to engage in matters of public
reform. We work closely with governments, non-profits,
think-tanks, media houses and universities to enhance their data
and technology capacity to better data-driven decision-making at
scale.
</Text>
</div>
<Image
src={'/about-us-illustration.svg'}
alt={'about-us-illustration'}
width={536}
height={350}
className=" w-full"
priority
/>
</div>
</div>
<div className="bg-primaryBlue">
<div className=" container flex flex-col gap-6 py-5 lg:py-10">
<div>
<Text variant="headingLg" fontWeight="regular" color="onBgDefault">
Our current areas of expertise include digital public goods &
infrastructure (DPGs & DPI), climate change, public finance, urban
development, open contracting and law & justice. We have
co-created digital public goods like open data platforms, data
exchanges, data science models and citizen-led apps for improving
participatory data-driven governance in India and other countries.
</Text>
</div>
<div>
<Text variant="headingLg" fontWeight="regular" color="onBgDefault">
In the last five years, we have collected, cleaned and published
nearly 30,000+ public interest datasets and are catering to an
active user base of more than a million citizens. Some of our
publicly available open data initiatives include Open Budgets
India, Justice Hub, Open Contracting India, Open City, CogniCity
among others. We have co-created digital public goods with
National Informatics Center (NIC), Ministry of Electronic &
Information Technology (MeitY) and the Government of Assam.
Additionally, we actively build capacity for a diverse group of
partners working to enhance social impact, situated in India,
Indonesia, Philippines, Thailand, Panama and Scotland.
</Text>
</div>
</div>
</div>
<div>
<Initiatives />
</div>
</main>
);
};

export default About;
Loading