Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
121b693
[FEAT] Migrate frontend from Create React App to Vite
hari-kuriakose Oct 20, 2025
27e2d2d
fix(frontend): Restore vite-plugin-svgr for SVG-as-React-component im…
hari-kuriakose Oct 20, 2025
7d5c997
Merge branch 'main' into feat/vite
hari-kuriakose Oct 23, 2025
6e50886
docs(frontend): Fix HMR configuration example to match actual impleme…
hari-kuriakose Oct 23, 2025
1e40c66
docs(frontend): Fix proxy configuration example to match actual imple…
hari-kuriakose Oct 23, 2025
a07c856
Merge branch 'main' into feat/vite
jaseemjaskp Jan 29, 2026
fbe84c8
Merge branch 'main' into feat/vite
jaseemjaskp Jan 29, 2026
6977b9a
refactor: replace CommonJS require() with ES dynamic import() for Vit…
jaseemjaskp Jan 29, 2026
898e2da
fix: correct PropTypes for CombinedOutput and JsonViewBody
jaseemjaskp Jan 29, 2026
e3f266c
fix: correct PropTypes warnings across frontend components
jaseemjaskp Jan 29, 2026
408cdb9
Merge branch 'main' into feat/vite
jaseemjaskp Jan 29, 2026
e2e2796
fix: add Rollup plugin to resolve missing optional plugin imports
jaseemjaskp Jan 29, 2026
7064aaf
fix: set build target to esnext for top-level await support
jaseemjaskp Jan 29, 2026
fcb06ff
feat: replace npm with bun for frontend package management (#1770)
jaseemjaskp Jan 29, 2026
7bf24c2
fix: correct COPY path in frontend.Dockerfile for runtime config script
jaseemjaskp Jan 30, 2026
a6768ba
UN-3185 [MISC] : replace ESLint and Prettier with Biome for frontend …
jaseemjaskp Feb 3, 2026
202e2b9
ci: add GitHub Actions workflow for frontend Biome lint checks
jaseemjaskp Feb 4, 2026
16383d1
ci: pin Bun version to 1.1.38 in frontend lint workflow
jaseemjaskp Feb 4, 2026
d938048
ci: add sticky PR comment for frontend lint report
jaseemjaskp Feb 4, 2026
bfd4f9a
docs: update frontend README for Biome migration
jaseemjaskp Feb 4, 2026
c65d45d
docs: add Vite, Bun, and Biome badges to frontend README
jaseemjaskp Feb 4, 2026
6190489
docs: add Vite, Bun, and Biome badges to main README
jaseemjaskp Feb 4, 2026
5bcabb3
chore(frontend): upgrade to Vite 7 and Vitest 3
jaseemjaskp Feb 4, 2026
d9d782f
docs(frontend): update README for Vite 7 upgrade
jaseemjaskp Feb 4, 2026
2c33039
docs(frontend): update README to use Bun instead of npm
jaseemjaskp Feb 4, 2026
25f7768
docs(frontend): update migration note with Vite 7 upgrade date
jaseemjaskp Feb 4, 2026
195b990
docs(frontend): update VITE_MIGRATION.md for Vite 7 and Bun
jaseemjaskp Feb 4, 2026
3f60f73
fix(frontend): show API Hub branding on verticals pages in incognito …
jaseemjaskp Feb 10, 2026
84ca9b1
Merge branch 'main' into fix/UN-3219-verticals-branding-incognito
jaseemjaskp Feb 23, 2026
f5202d3
Merge branch 'main' into fix/UN-3219-verticals-branding-incognito
Deepak-Kesavan Feb 26, 2026
de0b1ca
Merge branch 'main' into fix/UN-3219-verticals-branding-incognito
Deepak-Kesavan Feb 26, 2026
38dff9a
Merge branch 'main' into fix/UN-3219-verticals-branding-incognito
Deepak-Kesavan Feb 26, 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
2 changes: 1 addition & 1 deletion docker/dockerfiles/frontend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN mkdir -p /usr/share/nginx/html/config && \
RUN sed -i 's|</head>| <script src="/config/runtime-config.js"></script>\n </head>|' /usr/share/nginx/html/index.html

# Copy the environment script
COPY ${BUILD_CONTEXT_PATH}/generate-runtime-config.sh /docker-entrypoint.d/40-env.sh
COPY frontend/generate-runtime-config.sh /docker-entrypoint.d/40-env.sh
RUN chmod +x /docker-entrypoint.d/40-env.sh

EXPOSE 80
Expand Down
9 changes: 7 additions & 2 deletions frontend/src/components/navigations/top-nav-bar/TopNavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,13 @@ function TopNavBar({ isSimpleLayout, topNavBarOptions }) {
return unstractSubscriptionPlan?.remainingDays <= 0;
}, [unstractSubscriptionPlan]);

const isUnstract = !(selectedProduct && selectedProduct !== "unstract");
const isAPIHub = selectedProduct && selectedProduct === "verticals";
// Detect product from URL path as a fallback when selectedProduct is not set
// (e.g., incognito/unauthenticated users visiting verticals pages)
const isVerticalsRoute = location.pathname.startsWith("/verticals");
const effectiveProduct =
selectedProduct || (isVerticalsRoute ? "verticals" : null);
const isUnstract = !(effectiveProduct && effectiveProduct !== "unstract");
const isAPIHub = effectiveProduct === "verticals";
const isStaff = sessionDetails?.isStaff || sessionDetails?.is_staff;
const isOpenSource = orgName === "mock_org";

Expand Down
Loading