Skip to content

Commit d190264

Browse files
authoredFeb 24, 2025
Merge pull request #2193 from cardstack/CS-7979-flip-playground-feature-flag
Remove playground feature flag
2 parents b704048 + db49c65 commit d190264

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed
 

‎.github/workflows/pr-boxel-host.yml

-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
AWS_S3_BUCKET: boxel-host-preview.stack.cards
6464
AWS_REGION: us-east-1
6565
AWS_CLOUDFRONT_DISTRIBUTION: EU4RGLH4EOCHJ
66-
ENABLE_PLAYGROUND: true
6766
AI_ASSISTANT_EXPERIMENTAL_ATTACHING_FILES_ENABLED: true
6867
with:
6968
package: boxel-host
@@ -94,7 +93,6 @@ jobs:
9493
AWS_S3_BUCKET: boxel-host-preview.boxel.ai
9594
AWS_REGION: us-east-1
9695
AWS_CLOUDFRONT_DISTRIBUTION: E2PZR9CIAW093B
97-
ENABLE_PLAYGROUND: true
9896
AI_ASSISTANT_EXPERIMENTAL_ATTACHING_FILES_ENABLED: true
9997
with:
10098
package: boxel-host

‎packages/host/app/components/operator-mode/code-submode.gts

-7
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ import RecentFiles from '@cardstack/host/components/editor/recent-files';
4141
import CodeSubmodeEditorIndicator from '@cardstack/host/components/operator-mode/code-submode/editor-indicator';
4242
import SyntaxErrorDisplay from '@cardstack/host/components/operator-mode/syntax-error-display';
4343

44-
import ENV from '@cardstack/host/config/environment';
45-
4644
import { getCard } from '@cardstack/host/resources/card-resource';
4745
import { isReady, type FileResource } from '@cardstack/host/resources/file';
4846
import {
@@ -88,8 +86,6 @@ import DetailPanel from './detail-panel';
8886
import NewFileButton from './new-file-button';
8987
import SubmodeLayout from './submode-layout';
9088

91-
const isPlaygroundEnabled = ENV.featureFlags?.ENABLE_PLAYGROUND;
92-
9389
interface Signature {
9490
Args: {
9591
saveSourceOnClose: (url: URL, content: string) => void;
@@ -469,9 +465,6 @@ export default class CodeSubmode extends Component<Signature> {
469465
}
470466

471467
private get shouldDisplayPlayground() {
472-
if (!isPlaygroundEnabled) {
473-
return false;
474-
}
475468
return isCardDef(this.selectedCardOrField?.cardOrField);
476469
}
477470

‎packages/host/app/config/environment.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ declare const config: {
2929
assetsURL: string;
3030
stripePaymentLink: string;
3131
featureFlags?: {
32-
ENABLE_PLAYGROUND: boolean;
3332
AI_ASSISTANT_EXPERIMENTAL_ATTACHING_FILES_ENABLED: boolean;
3433
};
3534
};

‎packages/host/config/environment.js

-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ module.exports = function (environment) {
4242
resolvedBaseRealmURL:
4343
process.env.RESOLVED_BASE_REALM_URL || 'http://localhost:4201/base/',
4444
featureFlags: {
45-
ENABLE_PLAYGROUND: process.env.ENABLE_PLAYGROUND || false,
4645
AI_ASSISTANT_EXPERIMENTAL_ATTACHING_FILES_ENABLED:
4746
process.env.AI_ASSISTANT_EXPERIMENTAL_ATTACHING_FILES_ENABLED || false,
4847
},
@@ -55,7 +54,6 @@ module.exports = function (environment) {
5554
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
5655
// ENV.APP.LOG_VIEW_LOOKUPS = true;
5756
ENV.featureFlags = {
58-
ENABLE_PLAYGROUND: true,
5957
AI_ASSISTANT_EXPERIMENTAL_ATTACHING_FILES_ENABLED: true,
6058
};
6159
}
@@ -78,7 +76,6 @@ module.exports = function (environment) {
7876
ENV.minSaveTaskDurationMs = 0;
7977
ENV.sqlSchema = sqlSchema;
8078
ENV.featureFlags = {
81-
ENABLE_PLAYGROUND: true,
8279
AI_ASSISTANT_EXPERIMENTAL_ATTACHING_FILES_ENABLED: true,
8380
};
8481
}

0 commit comments

Comments
 (0)