diff --git a/.github/workflows/studio-e2e-test.yml b/.github/workflows/studio-e2e-test.yml index 42eb11cf90642..dccb143223758 100644 --- a/.github/workflows/studio-e2e-test.yml +++ b/.github/workflows/studio-e2e-test.yml @@ -28,8 +28,8 @@ jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest - # Require approval only for external contributors - environment: ${{ github.event.pull_request.author_association != 'MEMBER' && 'Studio E2E Tests' || '' }} + # Require approval only for pull requests from forks + environment: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork && 'Studio E2E Tests' || '' }} env: EMAIL: ${{ secrets.CI_EMAIL }} diff --git a/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx b/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx index 0ba0062ea149c..2da5ec03eaf7b 100644 --- a/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx +++ b/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx @@ -59,7 +59,11 @@ export const StatCard = ({ : 'text-brand' : getChangeColor(previous) const formattedCurrent = - suffix === 'ms' ? current.toFixed(2) : suffix === '%' ? current.toFixed(1) : Math.round(current) + suffix === 'ms' + ? current.toFixed(2) + : suffix === '%' + ? current.toFixed(1) + : Math.round(current).toLocaleString() const signChar = previous > 0 ? '+' : previous < 0 ? '-' : '' return ( diff --git a/apps/studio/components/interfaces/Organization/HeaderBanner.tsx b/apps/studio/components/interfaces/Organization/HeaderBanner.tsx index 0754cc2c2c5c1..9da5f4e65bda4 100644 --- a/apps/studio/components/interfaces/Organization/HeaderBanner.tsx +++ b/apps/studio/components/interfaces/Organization/HeaderBanner.tsx @@ -50,6 +50,7 @@ export const HeaderBanner = ({ type === 'incident' && 'hover:bg-brand-300', 'flex-shrink-0' )} + layout="position" >