Skip to content

Commit

Permalink
NONE: remove FF (#2527)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgvozdev authored Nov 1, 2023
1 parent 5ac73fe commit 4023f3d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/config/feature-flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export enum BooleanFlags {
LOG_CURLV_OUTPUT = "log-curlv-output",
ENABLE_SUBSCRIPTION_DEFERRED_INSTALL = "enable-subscription-deferred-install",
EARLY_EXIT_ON_VALIDATION_FAILED = "early-exit-on-validation-failed",
ENABLE_CONNECTED_REPOS_VIEW="enable-connected-repos-view",
USE_REST_API_FOR_DISCOVERY = "use-rest-api-for-discovery-again",
ENABLE_GITHUB_SECURITY_IN_JIRA = "enable-github-security-in-jira",
DELETE_MESSAGE_ON_BACKFILL_WHEN_OTHERS_WORKING_ON_IT = "delete-message-on-backfill-when-others-working-on-it",
Expand Down
2 changes: 0 additions & 2 deletions src/routes/jira/jira-get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { GitHubServerApp } from "models/github-server-app";
import { sendAnalytics } from "utils/analytics-client";
import { AnalyticsEventTypes, AnalyticsScreenEventsEnum } from "interfaces/common";
import { Errors } from "config/errors";
import { booleanFlag, BooleanFlags } from "config/feature-flags";
import {
countNumberSkippedRepos,
countStatus,
Expand Down Expand Up @@ -71,7 +70,6 @@ const renderJiraCloudAndEnterpriseServer = async (res: Response, req: Request):
hasCloudServers: !!(successfulCloudConnections.length || failedCloudConnections.length),
hasConnections,
APP_URL: process.env.APP_URL,
enableRepoConnectedPage: await booleanFlag(BooleanFlags.ENABLE_CONNECTED_REPOS_VIEW, jiraHost),
csrfToken: req.csrfToken(),
nonce
});
Expand Down
2 changes: 0 additions & 2 deletions views/jira-configuration.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@
csrfToken=csrfToken
successfulConnections=ghCloud.successfulCloudConnections
failedConnections=ghCloud.failedCloudConnections
enableRepoConnectedPage=enableRepoConnectedPage
}}
</div>
</div>
Expand Down Expand Up @@ -273,7 +272,6 @@
successfulConnections=app.successfulConnections
failedConnections=app.failedConnections
gitHubAppId=app.id
enableRepoConnectedPage=../../enableRepoConnectedPage
}}
{{else}}
<div class="jiraConfiguration__collapsibleBody">
Expand Down
8 changes: 0 additions & 8 deletions views/partials/jira-configuration-table.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,13 @@
</td>
{{! Repos Synced }}
<td class="jiraConfiguration__table__cell">
{{#if ../enableRepoConnectedPage}}
<a href="#" class="jiraConfiguration__table__repo_access" data-subscription-id="{{subscriptionId}}">
{{#if connection.isGlobalInstall}}
<span>All repos</span>
{{else}}
<span>Only select repos</span>
{{/if}}
</a>
{{else}}
{{#if connection.isGlobalInstall}}
<span>All repos</span>
{{else}}
<span>Only select repos</span>
{{/if}}
{{/if}}

{{#if (checkRepoCount connection.totalNumberOfRepos)}}
<span class="jiraConfiguration__table__syncCount">
Expand Down

0 comments on commit 4023f3d

Please sign in to comment.