Commit 59cc33a
Remove seatlessPlans LaunchDarkly flag (#38299)
# Remove seatlessPlans LaunchDarkly Flag
## Summary
This PR removes the `seatlessPlans` LaunchDarkly feature flag from the dashboard codebase since it has been fully rolled out to `true`. The cleanup removes the feature flag infrastructure while preserving the current production behavior.
## Changes Made
- **useLaunchDarkly.tsx**: Removed `seatlessPlans` flag definition from type and defaults object
- **billing.ts**: Removed conditional plan filtering logic in `useListPlans` function - now returns all plans (the "true" behavior)
- **PlanCard.tsx**: Removed conditional text logic - now always shows "Starter" text (the "true" behavior)
## Behavior Preserved
Since the flag was rolled out to `true`, this PR preserves the current production behavior:
- All plans are returned from the API (no filtering based on `seatPrice`)
- Professional plan description shows "Everything in Starter" text
## Testing
- ✅ Linting passed with `just lint-js`
- ✅ Formatting applied with `just format-js`
- ✅ Verified no remaining `seatlessPlans` references in codebase
## Link to Devin run
https://app.devin.ai/sessions/c2cdb5c420d54a3ca6087f04e4c5b126
Co-Authored-By: nipunn@convex.dev
GitOrigin-RevId: 16face8ccd25366a30547685de2dd314f50dc9b11 parent 32e33a4 commit 59cc33a
File tree
3 files changed
+2
-14
lines changed- npm-packages/dashboard/src
- api
- components/billing/planCards
- hooks
3 files changed
+2
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
161 | 160 | | |
162 | 161 | | |
163 | 162 | | |
164 | | - | |
165 | | - | |
166 | 163 | | |
167 | 164 | | |
168 | 165 | | |
| |||
178 | 175 | | |
179 | 176 | | |
180 | 177 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | 178 | | |
187 | | - | |
| 179 | + | |
188 | 180 | | |
189 | 181 | | |
190 | 182 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
0 commit comments