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

feature flag and remove settings page for mvp #296

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

christianvogt
Copy link
Contributor

Fixes


Description

Adds a feature flag for mvp using the flags extension point.

Feature flagged the settings page route as well as the navigation link. Unfortunately there seems to be a bug with the navigation links not obeying feature flags. Therefore these links were simply commented out.

The mvp feature flag can be controlled by the developer using the query string param ?mvp=true|false as well as through the local storage by setting mvp=true|false. By default the flag is enabled.

Type of change

  • Feature
  • Bugfix
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Screen shots / Gifs for design review

image

How to test or reproduce?

The flag can be tested by going directly to the url /hac/stonesoup/workspace-settings with the mvp feature flag set to true or false using the query param or local storage.

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

@christianvogt christianvogt changed the title feature flat settings page for mvp feature flag and remove settings page for mvp Dec 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 22, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christianvogt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 22, 2022

@christianvogt: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@codecov
Copy link

codecov bot commented Dec 22, 2022

Codecov Report

Merging #296 (ea5c3f1) into main (29c78a1) will decrease coverage by 0.05%.
The diff coverage is 22.22%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #296      +/-   ##
==========================================
- Coverage   74.15%   74.10%   -0.06%     
==========================================
  Files         430      430              
  Lines        9066     9075       +9     
  Branches     2438     2440       +2     
==========================================
+ Hits         6723     6725       +2     
- Misses       2207     2214       +7     
  Partials      136      136              
Impacted Files Coverage Δ
src/utils/flag-utils.ts 68.00% <22.22%> (-25.75%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29c78a1...ea5c3f1. Read the comment docs.

@karthikjeeyar
Copy link
Contributor

karthikjeeyar commented Dec 26, 2022

therefore these links were simply commented out.

Okay, once HAC-2703 ticket is resolved, we can uncomment the settings code 👍🏻

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 26, 2022
@christianvogt
Copy link
Contributor Author

/retest

@christianvogt christianvogt merged commit 8d80cfb into openshift:main Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants