From e415c5f6e7e21d51b5b07ffe833967fe40cbc492 Mon Sep 17 00:00:00 2001 From: afiapreety Date: Thu, 5 Feb 2026 16:08:43 +0600 Subject: [PATCH 1/5] fix: /oidc --- .env.dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.dev b/.env.dev index 86af6a8c..0d49aea7 100644 --- a/.env.dev +++ b/.env.dev @@ -6,7 +6,7 @@ VITE_CAPTCHA_TYPE=reCaptcha VITE_PROJECT_SLUG = ddoxpd VITE_BLOCKS_OIDC_CLIENT_ID = d45f37a6-7f4a-4f38-9a13-06d74531d7ef -VITE_BLOCKS_OIDC_REDIRECT_URI = https://dev-construct.seliseblocks.com/login +VITE_BLOCKS_OIDC_REDIRECT_URI = https://dev-construct.seliseblocks.com/oidc # Build configuration GENERATE_SOURCEMAP=false From 13b30d316baa72d619275a9b666c1843c49022cf Mon Sep 17 00:00:00 2001 From: afiapreety Date: Thu, 5 Feb 2026 18:39:31 +0600 Subject: [PATCH 2/5] feat: oidc for stg construct --- .env.stg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.stg b/.env.stg index c36f2dda..beb9edfe 100644 --- a/.env.stg +++ b/.env.stg @@ -4,6 +4,7 @@ VITE_X_BLOCKS_KEY = eb87bd227c3d45a196de6956ecb93cd0 VITE_CAPTCHA_SITE_KEY=6LckI90qAAAAAK8RP2t0Nohwii1CeKOETsXPVNQA VITE_CAPTCHA_TYPE=reCaptcha VITE_PROJECT_SLUG = dboxup - +VITE_BLOCKS_OIDC_CLIENT_ID = 019dd8a4-ce76-4159-b275-2de5ebe16729 +VITE_BLOCKS_OIDC_REDIRECT_URI = https://stg-construct.seliseblocks.com/oidc # Build configuration GENERATE_SOURCEMAP=false From c15cd0e08689ea7fc48da6645870d35ed93a3a3c Mon Sep 17 00:00:00 2001 From: Sangay Thinley <59992112+sangayt1997@users.noreply.github.com> Date: Thu, 5 Feb 2026 19:33:13 +0600 Subject: [PATCH 3/5] fix(construct): fixed sonarQube issue on time complexity in logics --- src/components/core/org-switcher/org-switcher.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/core/org-switcher/org-switcher.tsx b/src/components/core/org-switcher/org-switcher.tsx index 34592ef5..5d073da9 100644 --- a/src/components/core/org-switcher/org-switcher.tsx +++ b/src/components/core/org-switcher/org-switcher.tsx @@ -44,8 +44,8 @@ export const OrgSwitcher = () => { const userOrganizations = useMemo(() => { if (!data?.memberships?.length) return enabledOrganizations; - const membershipOrgIds = data.memberships.map((m) => m.organizationId); - return enabledOrganizations.filter((org) => membershipOrgIds.includes(org.itemId)); + const membershipOrgIds = new Set(data.memberships.map((m) => m.organizationId)); + return enabledOrganizations.filter((org) => membershipOrgIds.has(org.itemId)); }, [data, enabledOrganizations]); const selectedOrg = currentOrgId From 772b9bf1bb4cd7721c7097523e4b26cf606b971e Mon Sep 17 00:00:00 2001 From: sojeebakhtar <155369921+sojeebakhtar@users.noreply.github.com> Date: Thu, 5 Feb 2026 19:47:57 +0600 Subject: [PATCH 4/5] Disable SonarQube Quality Gate check step Comment out SonarQube Quality Gate check step in workflow. --- .github/workflows/2_sonar.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/2_sonar.yml b/.github/workflows/2_sonar.yml index bb26dfd8..5772038f 100644 --- a/.github/workflows/2_sonar.yml +++ b/.github/workflows/2_sonar.yml @@ -87,10 +87,10 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ env.SONARQUBE_HOST }} - - name: SonarQube Quality Gate check - uses: sonarsource/sonarqube-quality-gate-action@v1.2.0 - # Force to fail step after specific time. - timeout-minutes: 5 - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ env.SONARQUBE_HOST }} + # - name: SonarQube Quality Gate check + # uses: sonarsource/sonarqube-quality-gate-action@v1.2.0 + # # Force to fail step after specific time. + # timeout-minutes: 5 + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # SONAR_HOST_URL: ${{ env.SONARQUBE_HOST }} From 8d6696667fdce7e76973e18be2e7383ac253c13f Mon Sep 17 00:00:00 2001 From: afiapreety Date: Sun, 8 Feb 2026 13:55:03 +0600 Subject: [PATCH 5/5] fix: removed login with blocks button --- src/modules/auth/components/signin/signin.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/auth/components/signin/signin.tsx b/src/modules/auth/components/signin/signin.tsx index 86188e1d..773b7bb7 100644 --- a/src/modules/auth/components/signin/signin.tsx +++ b/src/modules/auth/components/signin/signin.tsx @@ -8,7 +8,6 @@ import darklogo from '@/assets/images/construct_logo_dark.svg'; import lightlogo from '@/assets/images/construct_logo_light.svg'; import { Link } from 'react-router-dom'; import { useGetLoginOptions } from '../../hooks/use-auth'; -import { SigninOidc } from '../signin-oidc'; export const Signin = () => { const { data: loginOption } = useGetLoginOptions(); @@ -58,7 +57,6 @@ export const Signin = () => { {passwordGrantAllowed && } {isDivider && } {socialGrantAllowed && loginOption && } - {oidcGrantAllowed && loginOption && } );