Skip to content

Commit 53cd380

Browse files
simonhampclaude
andcommitted
Add Flux Pro CI auth and consolidate onboarding status messages
- Configure Flux Pro Composer auth in GitHub Actions workflows using FLUX_EMAIL and FLUX_LICENSE_KEY secrets - Remove duplicate onboarding incomplete message from hero card text - Move warning callout to top of page for better visibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4dac846 commit 53cd380

3 files changed

Lines changed: 15 additions & 13 deletions

File tree

.github/workflows/linting.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
3838
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
3939

40+
- name: Configure Flux Pro auth
41+
run: composer config http-basic.composer.fluxui.dev "${{ secrets.FLUX_EMAIL }}" "${{ secrets.FLUX_LICENSE_KEY }}"
42+
4043
- name: Install Dependencies
4144
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
4245

.github/workflows/tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
4848
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
4949

50+
- name: Configure Flux Pro auth
51+
run: composer config http-basic.composer.fluxui.dev "${{ secrets.FLUX_EMAIL }}" "${{ secrets.FLUX_LICENSE_KEY }}"
52+
5053
- name: Install Dependencies
5154
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
5255

resources/views/livewire/customer/developer/onboarding.blade.php

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
@endif
2525

2626
<div class="mx-auto max-w-3xl space-y-8">
27+
{{-- Status for existing account --}}
28+
@if ($this->hasExistingAccount && $this->developerAccount)
29+
<flux:callout variant="warning" icon="exclamation-triangle">
30+
<flux:callout.heading>Onboarding Incomplete</flux:callout.heading>
31+
<flux:callout.text>Your Stripe account requires additional information before you can receive payouts.</flux:callout.text>
32+
</flux:callout>
33+
@endif
34+
2735
{{-- Hero Card --}}
2836
<flux:card>
2937
<div class="p-4 text-center">
@@ -38,11 +46,7 @@
3846
@endif
3947
</flux:heading>
4048
<flux:text class="mt-2">
41-
@if ($this->hasExistingAccount)
42-
You've started the onboarding process. Complete the remaining steps to start receiving payouts.
43-
@else
44-
Connect your Stripe account to receive payments when users purchase your plugins.
45-
@endif
49+
Connect your Stripe account to receive payments when users purchase your plugins.
4650
</flux:text>
4751
</div>
4852

@@ -69,14 +73,6 @@
6973
</ul>
7074
</div>
7175

72-
{{-- Status for existing account --}}
73-
@if ($this->hasExistingAccount && $this->developerAccount)
74-
<flux:callout variant="warning" icon="exclamation-triangle" class="mt-6">
75-
<flux:callout.heading>Onboarding Incomplete</flux:callout.heading>
76-
<flux:callout.text>Your Stripe account requires additional information before you can receive payouts.</flux:callout.text>
77-
</flux:callout>
78-
@endif
79-
8076
{{-- Country & Currency Selection --}}
8177
<div class="mt-6 rounded-lg border border-gray-200 bg-gray-50 p-6 dark:border-gray-700 dark:bg-gray-700/50">
8278
<flux:heading>Your Country</flux:heading>

0 commit comments

Comments
 (0)