Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile Page Feature Flag #743

Merged
merged 2 commits into from
Oct 27, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added profile feature flag
  • Loading branch information
zachary-kent committed Oct 27, 2022
commit a206065fb46310188d2026933741a7097218525f
4 changes: 2 additions & 2 deletions src/containers/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ export default defineComponent({
},

openProfile() {
if (featureFlagCheckers.isToolsEnabled()) {
this.showToolsPage = false;
if (featureFlagCheckers.isProfileEnabled()) {
this.isProfileOpen = true;
this.showToolsPage = false;
} else {
this.editProfile();
}
Expand Down
6 changes: 4 additions & 2 deletions src/feature-flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ type FeatureFlagName =
| 'RequirementConflicts'
| 'RequirementDebugger'
| 'ToggleRequirementsBarBtn'
| 'Tools';
| 'Tools'
| 'Profile';
/* | 'AddYourFeatureFlagNameHere' */
const featureFlagCheckers: FeatureFlagCheckers = registerFeatureFlagChecker(
'APIBFulfillment',
'Case',
'RequirementConflicts',
'RequirementDebugger',
'ToggleRequirementsBarBtn',
'Tools'
'Tools',
'Profile'
/* 'AddYourFeatureFlagNameHere' */
);
export default featureFlagCheckers;
Expand Down