Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
0795be1
dep issues
shashank-kenpath May 20, 2026
9ef883a
Merge pull request #70 from OpenAgriNet/OD-1711-PxD-Weather-Advisory
akshatrana02 May 22, 2026
02239ab
build issues
shashank-kenpath May 22, 2026
5c26a09
ts conf
shashank-kenpath May 22, 2026
4e67fa5
tsconf build issue
shashank-kenpath May 22, 2026
80b7a86
build changes for lock issue
shashank-kenpath May 22, 2026
c19f61c
build issues
shashank-kenpath May 22, 2026
190ddc2
package logfile issue
shashank-kenpath May 22, 2026
53ced29
feat: route chat telemetry through backend
shashank-kenpath May 25, 2026
7b3e8c6
Use real geolocation with error handling
akshatrgb May 25, 2026
0c40cd3
fix: update guest token public key
shashank-kenpath May 25, 2026
df27a40
Enhance NotificationsPopover with Localization Support
akshatrgb May 25, 2026
3af2174
Add pnpm lockfile
shashank-kenpath May 26, 2026
e34f706
Revert "Add pnpm lockfile"
shashank-kenpath May 26, 2026
8441bb6
loader and location issues
shashank-kenpath May 26, 2026
daffe5f
Resolve bh-dev chat conflicts and drop lock files
shashank-kenpath May 26, 2026
6e311a4
Merge branch 'bh-dev' into feat/OD-1713-NPSS
shashank-kenpath May 26, 2026
48cb34b
Merge pull request #69 from OpenAgriNet/feat/OD-1713-NPSS
shashank-kenpath May 26, 2026
b8418c9
build trigger
shashank-kenpath May 26, 2026
95f3179
workflow dispach
shashank-kenpath May 26, 2026
72d727a
fix: remove frontend telemetry relay remnants
shashank-kenpath May 27, 2026
2cf1b5c
dispatch changes
shashank-kenpath May 28, 2026
b376e43
Merge remote-tracking branch 'origin/bh-dev' into feat/OD-1892-single…
shashank-kenpath May 28, 2026
55c3a33
Merge pull request #71 from OpenAgriNet/feat/OD-1892-single-API
shashank-kenpath May 28, 2026
8a4db77
fix: generate docker lockfile during build
shashank-kenpath May 28, 2026
928e58e
Merge pull request #72 from OpenAgriNet/feat/OD-1892-single-API
shashank-kenpath May 28, 2026
bd95a69
public key changes
shashank-kenpath May 28, 2026
aa189da
Merge pull request #73 from OpenAgriNet/feat/OD-1892-single-API
shashank-kenpath May 28, 2026
38cfa41
Refactor NotificationsPopover to Handle Newline Characters
akshatrgb May 28, 2026
5cc63d9
UI event capturing and api integration
digpalsinghk Jun 1, 2026
75d7d1a
Merge pull request #74 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 1, 2026
6ead8d8
Updating Notification feedback modal changes
digpalsinghk Jun 1, 2026
df1550e
Merge pull request #75 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 1, 2026
f35e674
Capture notification resposne body
digpalsinghk Jun 1, 2026
870e020
Merge pull request #78 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 1, 2026
5d0914c
Added sid in metadata
digpalsinghk Jun 2, 2026
801186e
Merge pull request #81 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 2, 2026
13a4ee3
Updating changes for UI Events being captured
digpalsinghk Jun 4, 2026
7a768b0
Merge pull request #82 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 4, 2026
3bf2863
Notification feedback text limit length
digpalsinghk Jun 4, 2026
616e4f2
Merge pull request #83 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 4, 2026
ebe111a
Bug fix - Bot name in english fix
digpalsinghk Jun 5, 2026
e60688f
Merge pull request #87 from OpenAgriNet/fix/OD-1967
digpalsinghk Jun 5, 2026
171b4a0
Bug fix for botname in all languages.
digpalsinghk Jun 8, 2026
2cab0a8
Merge pull request #88 from OpenAgriNet/fix/OD-1967
digpalsinghk Jun 8, 2026
75a3354
Browser based location events tracking.
digpalsinghk Jun 8, 2026
a5c83fe
Merge pull request #89 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 8, 2026
62810f1
Location event firing fix.
digpalsinghk Jun 8, 2026
0c3c238
Merge pull request #90 from OpenAgriNet/feat/OD-1884
digpalsinghk Jun 8, 2026
1aaf577
Add fetchNotifications call on language selection and improve notific…
akshatrgb Jun 9, 2026
da5cada
Add fetchNotifications call on language selection and improve notific…
akshatrgb Jun 9, 2026
e9ff2a6
Update chat and voice assistant name
digpalsinghk Jun 10, 2026
451eb72
Merge pull request #95 from OpenAgriNet/fix/OD-1967
digpalsinghk Jun 10, 2026
293d0dc
Enable all configured languages
shashank-kenpath Jun 23, 2026
30a02ea
Add beta language disclaimer
shashank-kenpath Jun 23, 2026
543234d
Ui change for language disclaimer
shashank-kenpath Jun 23, 2026
5761645
Map beta disclaimer to response language
shashank-kenpath Jun 23, 2026
23d5d21
Update beta language disclaimer copy
shashank-kenpath Jun 23, 2026
31f5683
Auto Detect language
digpalsinghk Jun 26, 2026
3ac0070
Merge pull request #110 from OpenAgriNet/bh-dev-clone
digpalsinghk Jun 26, 2026
7958f7a
Revert "Auto Detect language"
digpalsinghk Jun 26, 2026
a0f68c8
Merge pull request #111 from OpenAgriNet/revert-110-bh-dev-clone
digpalsinghk Jun 26, 2026
de13475
Disable custom location permission dialog
akshatrgb Jul 2, 2026
d9b3c24
Merge pull request #112 from OpenAgriNet/feat-OD-2283-disable-custom-…
akshatrgb Jul 2, 2026
292ea1b
updated Notification events
digpalsinghk Jul 14, 2026
7757253
Merge pull request #116 from OpenAgriNet/update/notifi-events
digpalsinghk Jul 14, 2026
69c0229
Capture initial notification dislike
digpalsinghk Jul 16, 2026
2503a38
Merge pull request #124 from OpenAgriNet/update/OD-2668-notification-…
digpalsinghk Jul 16, 2026
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
38 changes: 31 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
name: Build and Push to GCP Artifact Registry

on:
workflow_dispatch:
inputs:
target_environment:
description: Branch/environment name to use for image tags and GitHub environment
required: true
default: bh-dev
type: choice
options:
- bh-dev
- bh-main
push_image:
description: Push the built Docker image to Artifact Registry
required: true
default: true
type: boolean
push:
branches:
- bh-main
Expand All @@ -16,7 +31,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
environment: ${{ github.ref_name }}
environment: ${{ github.event_name == 'workflow_dispatch' && inputs.target_environment || github.base_ref || github.ref_name }}

steps:
- name: Checkout repository
Expand All @@ -28,7 +43,9 @@ jobs:
node-version: '22'

- name: Install dependencies
run: npm install --legacy-peer-deps
run: |
rm -rf node_modules package-lock.json
npm install --legacy-peer-deps --include=optional --force

- name: Build project
run: npm run build
Expand All @@ -45,8 +62,8 @@ jobs:
docker-push:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push'
environment: ${{ github.ref_name }}
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.push_image)
environment: ${{ github.event_name == 'workflow_dispatch' && inputs.target_environment || github.base_ref || github.ref_name }}

permissions:
contents: read
Expand All @@ -62,12 +79,19 @@ jobs:
- name: Set image name and tags based on branch
id: set-tags
run: |
BRANCH="${{ github.ref_name }}"
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
BRANCH="${{ inputs.target_environment }}"
else
BRANCH="${{ github.ref_name }}"
fi

ENV_PREFIX=$(echo "$BRANCH" | cut -d'-' -f1)
BUILD_TYPE=$(echo "$BRANCH" | cut -d'-' -f2)
BRANCH_TAG=$(echo "$BRANCH" | sed 's/\//-/g')

echo "IMAGE_NAME=${{ env.BASE_IMAGE_NAME }}" >> $GITHUB_OUTPUT
echo "BUILD_TAG=${BUILD_TYPE}" >> $GITHUB_OUTPUT
echo "BRANCH_TAG=${BRANCH_TAG}" >> $GITHUB_OUTPUT
echo "LATEST_TAG=${BUILD_TYPE}-latest" >> $GITHUB_OUTPUT

- name: Download build artifacts
Expand Down Expand Up @@ -100,7 +124,7 @@ jobs:
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_ARTIFACT_REPO }}/${{ steps.set-tags.outputs.IMAGE_NAME }}:${{ steps.set-tags.outputs.LATEST_TAG }}
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_ARTIFACT_REPO }}/${{ steps.set-tags.outputs.IMAGE_NAME }}:${{ steps.package-version.outputs.VERSION }}-${{ steps.set-tags.outputs.BUILD_TAG }}
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_ARTIFACT_REPO }}/${{ steps.set-tags.outputs.IMAGE_NAME }}:${{ github.sha }}
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_ARTIFACT_REPO }}/${{ steps.set-tags.outputs.IMAGE_NAME }}:${{ steps.set-tags.outputs.BRANCH_TAG }}
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_ARTIFACT_REPO }}/${{ steps.set-tags.outputs.IMAGE_NAME }}:${{ steps.set-tags.outputs.BUILD_TAG }}
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max
no-cache: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ node_modules
dist
dist-ssr
*.local
bun.lock
package-lock.json
yarn.lock
pnpm-lock.yaml

# Editor directories and files
.vscode/*
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Stage 1: Build
FROM node:22-alpine AS build
WORKDIR /usr/local/app
COPY package.json package-lock.json ./
RUN npm install --legacy-peer-deps
COPY package.json ./
RUN rm -f package-lock.json && npm install --legacy-peer-deps --include=optional --force
COPY ./ ./
RUN npm run build

Expand All @@ -15,4 +15,4 @@ RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 8081
CMD ["nginx", "-g", "daemon off;"]
# docker buildx build --platform linux/amd64 -t asia-south1-docker.pkg.dev/s-0-000236-99/moa-bharatvistaar-repo/oan-ui-dev:latest --push .
# docker buildx build --platform linux/amd64 -t asia-south1-docker.pkg.dev/s-0-000236-99/moa-bharatvistaar-repo/oan-ui-dev:latest --push .
1,727 changes: 0 additions & 1,727 deletions bun.lock

This file was deleted.

3 changes: 0 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Bharat-VISTAAR</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/auth-token-generator.min.js"></script>
<script type="text/javascript" src="js/telemetry.min.js"></script>
</head>
<body>
<div id="root"></div>
Expand Down
Loading
Loading