-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feat/cli/personsidesheet #1635
Feat/cli/personsidesheet #1635
Conversation
🦋 Changeset detectedLatest commit: 27a4440 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Coverage Report
File CoverageNo changed files found. |
- commenting out the feature api plugin so the app will work oob - using the getFeatureFlags to list all app features
const azureId: string | undefined = useMemo(() => { | ||
if (currentUser) { | ||
return currentUser.localAccountId; | ||
} | ||
}, [currentUser]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const azureId: string | undefined = useMemo(() => { | |
if (currentUser) { | |
return currentUser.localAccountId; | |
} | |
}, [currentUser]); | |
const azureId = currentUser?.localAccountId |
no need to memorized
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we have this?
in the future this will be a widget
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we should remove unused code
* chore(useFeatureFlags): adding hook for getting all feature flags * feat(cli): adding personsidesheet with feature flags * chore(package): supporting new node versions * chore(cli): commenting out for test * chore: lockfile * chore(feature-flag): fixing useFeatureFlags hook * docs: changeset * chore: lint errors * chore(node): only support latest LTS node version * feat(featuretoggler): adds hook for getting useCurrentAppFeatureFlags * feat(cli-feature): personsidesheet uses hook useCurrentAppFeatureFlags * chore(react-app): unnessesary export of internal helper function * chore(cookbook): adapting cookbook to new featureflag hooks. - commenting out the feature api plugin so the app will work oob - using the getFeatureFlags to list all app features * chore(cli): styles for switches in featuretoggler sidesheet * docs(tsdocs): tsdocs for hook useCurrentAppFeatureFlags * docs(tsdocs): tsdocs for hook useFeatureFlags * fix(feature-flag): add missing arrow_back icon * fix(cli): enable feature flag cgi module plugin * fix(feature-flag): add testing flags for app and portal * fix(feature-flag): update localStorage name for cookbook and cli * style(app-react-feature-flag): fix lint errors * docs(feature-flag): add docs for feature-flag * fix(feature-flag): hook useFrameworkFeatureFlag moved to fusion-framework-react/app * docs(feature-flag): move docs from module to guide * fix: simplify configurator * fix(cookbook|cli): update to use simplified configurator for feature flag * docs(feature-flag): update to use simplified configurator for feature flag * fix(feature-flag): remove unused imports * chore(framework-feature-flag): moving feature-flag hoooks to own folder * chore(cli-feature-flag): new framework feature-flag hook location * chore(cli): removing obsolete dependency * chore(react-app): @equinor/fusion-framework-module-feature-flag as dev and peer dep * chore(react-app): feature-flag hook refractoring * docs(module-feature-flag): readme meeting notes * chore(pnpm): lockfile * fix(eslint): minor linting in featue-flag hooks * docs(feature-flag): readme completet done task * fix(cli): remove unneded useMemo for azureId * fix(cli): removing unused sidesheet tabs --------- Co-authored-by: Asbjørn Håland <[email protected]> Co-authored-by: Odin Thomas Rochmann <[email protected]>
* chore(useFeatureFlags): adding hook for getting all feature flags * feat(cli): adding personsidesheet with feature flags * chore(package): supporting new node versions * chore(cli): commenting out for test * chore: lockfile * chore(feature-flag): fixing useFeatureFlags hook * docs: changeset * chore: lint errors * chore(node): only support latest LTS node version * feat(featuretoggler): adds hook for getting useCurrentAppFeatureFlags * feat(cli-feature): personsidesheet uses hook useCurrentAppFeatureFlags * chore(react-app): unnessesary export of internal helper function * chore(cookbook): adapting cookbook to new featureflag hooks. - commenting out the feature api plugin so the app will work oob - using the getFeatureFlags to list all app features * chore(cli): styles for switches in featuretoggler sidesheet * docs(tsdocs): tsdocs for hook useCurrentAppFeatureFlags * docs(tsdocs): tsdocs for hook useFeatureFlags * fix(feature-flag): add missing arrow_back icon * fix(cli): enable feature flag cgi module plugin * fix(feature-flag): add testing flags for app and portal * fix(feature-flag): update localStorage name for cookbook and cli * style(app-react-feature-flag): fix lint errors * docs(feature-flag): add docs for feature-flag * fix(feature-flag): hook useFrameworkFeatureFlag moved to fusion-framework-react/app * docs(feature-flag): move docs from module to guide * fix: simplify configurator * fix(cookbook|cli): update to use simplified configurator for feature flag * docs(feature-flag): update to use simplified configurator for feature flag * fix(feature-flag): remove unused imports * chore(framework-feature-flag): moving feature-flag hoooks to own folder * chore(cli-feature-flag): new framework feature-flag hook location * chore(cli): removing obsolete dependency * chore(react-app): @equinor/fusion-framework-module-feature-flag as dev and peer dep * chore(react-app): feature-flag hook refractoring * docs(module-feature-flag): readme meeting notes * chore(pnpm): lockfile * fix(eslint): minor linting in featue-flag hooks * docs(feature-flag): readme completet done task * fix(cli): remove unneded useMemo for azureId * fix(cli): removing unused sidesheet tabs --------- Co-authored-by: Asbjørn Håland <[email protected]> Co-authored-by: Odin Thomas Rochmann <[email protected]>
* chore(useFeatureFlags): adding hook for getting all feature flags * feat(cli): adding personsidesheet with feature flags * chore(package): supporting new node versions * chore(cli): commenting out for test * chore: lockfile * chore(feature-flag): fixing useFeatureFlags hook * docs: changeset * chore: lint errors * chore(node): only support latest LTS node version * feat(featuretoggler): adds hook for getting useCurrentAppFeatureFlags * feat(cli-feature): personsidesheet uses hook useCurrentAppFeatureFlags * chore(react-app): unnessesary export of internal helper function * chore(cookbook): adapting cookbook to new featureflag hooks. - commenting out the feature api plugin so the app will work oob - using the getFeatureFlags to list all app features * chore(cli): styles for switches in featuretoggler sidesheet * docs(tsdocs): tsdocs for hook useCurrentAppFeatureFlags * docs(tsdocs): tsdocs for hook useFeatureFlags * fix(feature-flag): add missing arrow_back icon * fix(cli): enable feature flag cgi module plugin * fix(feature-flag): add testing flags for app and portal * fix(feature-flag): update localStorage name for cookbook and cli * style(app-react-feature-flag): fix lint errors * docs(feature-flag): add docs for feature-flag * fix(feature-flag): hook useFrameworkFeatureFlag moved to fusion-framework-react/app * docs(feature-flag): move docs from module to guide * fix: simplify configurator * fix(cookbook|cli): update to use simplified configurator for feature flag * docs(feature-flag): update to use simplified configurator for feature flag * fix(feature-flag): remove unused imports * chore(framework-feature-flag): moving feature-flag hoooks to own folder * chore(cli-feature-flag): new framework feature-flag hook location * chore(cli): removing obsolete dependency * chore(react-app): @equinor/fusion-framework-module-feature-flag as dev and peer dep * chore(react-app): feature-flag hook refractoring * docs(module-feature-flag): readme meeting notes * chore(pnpm): lockfile * fix(eslint): minor linting in featue-flag hooks * docs(feature-flag): readme completet done task * fix(cli): remove unneded useMemo for azureId * fix(cli): removing unused sidesheet tabs --------- Co-authored-by: Asbjørn Håland <[email protected]> Co-authored-by: Odin Thomas Rochmann <[email protected]>
* chore(useFeatureFlags): adding hook for getting all feature flags * feat(cli): adding personsidesheet with feature flags * chore(package): supporting new node versions * chore(cli): commenting out for test * chore: lockfile * chore(feature-flag): fixing useFeatureFlags hook * docs: changeset * chore: lint errors * chore(node): only support latest LTS node version * feat(featuretoggler): adds hook for getting useCurrentAppFeatureFlags * feat(cli-feature): personsidesheet uses hook useCurrentAppFeatureFlags * chore(react-app): unnessesary export of internal helper function * chore(cookbook): adapting cookbook to new featureflag hooks. - commenting out the feature api plugin so the app will work oob - using the getFeatureFlags to list all app features * chore(cli): styles for switches in featuretoggler sidesheet * docs(tsdocs): tsdocs for hook useCurrentAppFeatureFlags * docs(tsdocs): tsdocs for hook useFeatureFlags * fix(feature-flag): add missing arrow_back icon * fix(cli): enable feature flag cgi module plugin * fix(feature-flag): add testing flags for app and portal * fix(feature-flag): update localStorage name for cookbook and cli * style(app-react-feature-flag): fix lint errors * docs(feature-flag): add docs for feature-flag * fix(feature-flag): hook useFrameworkFeatureFlag moved to fusion-framework-react/app * docs(feature-flag): move docs from module to guide * fix: simplify configurator * fix(cookbook|cli): update to use simplified configurator for feature flag * docs(feature-flag): update to use simplified configurator for feature flag * fix(feature-flag): remove unused imports * chore(framework-feature-flag): moving feature-flag hoooks to own folder * chore(cli-feature-flag): new framework feature-flag hook location * chore(cli): removing obsolete dependency * chore(react-app): @equinor/fusion-framework-module-feature-flag as dev and peer dep * chore(react-app): feature-flag hook refractoring * docs(module-feature-flag): readme meeting notes * chore(pnpm): lockfile * fix(eslint): minor linting in featue-flag hooks * docs(feature-flag): readme completet done task * fix(cli): remove unneded useMemo for azureId * fix(cli): removing unused sidesheet tabs --------- Co-authored-by: Asbjørn Håland <[email protected]> Co-authored-by: Odin Thomas Rochmann <[email protected]>
* chore(useFeatureFlags): adding hook for getting all feature flags * feat(cli): adding personsidesheet with feature flags * chore(package): supporting new node versions * chore(cli): commenting out for test * chore: lockfile * chore(feature-flag): fixing useFeatureFlags hook * docs: changeset * chore: lint errors * chore(node): only support latest LTS node version * feat(featuretoggler): adds hook for getting useCurrentAppFeatureFlags * feat(cli-feature): personsidesheet uses hook useCurrentAppFeatureFlags * chore(react-app): unnessesary export of internal helper function * chore(cookbook): adapting cookbook to new featureflag hooks. - commenting out the feature api plugin so the app will work oob - using the getFeatureFlags to list all app features * chore(cli): styles for switches in featuretoggler sidesheet * docs(tsdocs): tsdocs for hook useCurrentAppFeatureFlags * docs(tsdocs): tsdocs for hook useFeatureFlags * fix(feature-flag): add missing arrow_back icon * fix(cli): enable feature flag cgi module plugin * fix(feature-flag): add testing flags for app and portal * fix(feature-flag): update localStorage name for cookbook and cli * style(app-react-feature-flag): fix lint errors * docs(feature-flag): add docs for feature-flag * fix(feature-flag): hook useFrameworkFeatureFlag moved to fusion-framework-react/app * docs(feature-flag): move docs from module to guide * fix: simplify configurator * fix(cookbook|cli): update to use simplified configurator for feature flag * docs(feature-flag): update to use simplified configurator for feature flag * fix(feature-flag): remove unused imports * chore(framework-feature-flag): moving feature-flag hoooks to own folder * chore(cli-feature-flag): new framework feature-flag hook location * chore(cli): removing obsolete dependency * chore(react-app): @equinor/fusion-framework-module-feature-flag as dev and peer dep * chore(react-app): feature-flag hook refractoring * docs(module-feature-flag): readme meeting notes * chore(pnpm): lockfile * fix(eslint): minor linting in featue-flag hooks * docs(feature-flag): readme completet done task * fix(cli): remove unneded useMemo for azureId * fix(cli): removing unused sidesheet tabs --------- Co-authored-by: Asbjørn Håland <[email protected]> Co-authored-by: Odin Thomas Rochmann <[email protected]>
adding sidebar feature toggler in cli header.
See the cli package for the PersonSideSheet component.
Issue, The hook does not get app features only portal features.
Fixes: AB#46155