-
Notifications
You must be signed in to change notification settings - Fork 52
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
Added image-builder-frontend repository as a Cockpit package #2424
Open
mgold1234
wants to merge
7
commits into
osbuild:main
Choose a base branch
from
mgold1234:first_cockpit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,326
−124
Commits on Sep 23, 2024
-
Configure Webpack and add Cockpit compatibility
changes that allow to build and run in both onPremise (Cockpit) and Saas environments. Configured webpack with necessary loaders and plugins. `AppCockpit` file and `cockpit:build` script were added for Cockpit compatibility.
Configuration menu - View commit details
-
Copy full SHA for fa0f6a2 - Browse repository at this point
Copy the full SHA fa0f6a2View commit details -
create new store and define single reducer
We need to integrate a new API service for managing blueprints and update the Redux store to handle blueprint-related data in a Cockpit environment. This will allow us to fetch, store, and manage blueprints effectively within the application. Created a new 'cockpitApi' service to handle the API calls related to blueprints in cockpit env. Added a 'blueprintsReducer' to the Redux store to manage blueprint state. Added a new 'emptyCockpitApi' file for the blueprint API setup, including type definitions and query configurations.
Configuration menu - View commit details
-
Copy full SHA for 05f5989 - Browse repository at this point
Copy the full SHA 05f5989View commit details -
fix relevant component to be able to support onPrem environment.
- define isOnPremise boolean variable to check if its onPrem env. - define useGetFeatureFlag hook to return false in on-premise environments and dynamically call the appropriate hook (useFlag or useFlagWithEphemDefault) based on the feature flag name. Improved structure by avoiding hook calls inside conditionals to adhere to React rules
Configuration menu - View commit details
-
Copy full SHA for a91034d - Browse repository at this point
Copy the full SHA a91034dView commit details -
we have issue when running the cockpit:build script- the symbolic link was not created for everyone. fix it by adding a condition that check where the cockpit definition exist in the machine and create the symbolic link there.
Configuration menu - View commit details
-
Copy full SHA for b6e1d35 - Browse repository at this point
Copy the full SHA b6e1d35View commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d3d915e - Browse repository at this point
Copy the full SHA d3d915eView commit details
Commits on Sep 30, 2024
-
add alias to webpack config 1) api alias defines the path to onPrem cockpitAp file 2) pathRes alias define path for onPrem env 3) getFeatureFlag alias define the path to file with flags
Configuration menu - View commit details
-
Copy full SHA for 4be467d - Browse repository at this point
Copy the full SHA 4be467dView commit details
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 04e6f5b - Browse repository at this point
Copy the full SHA 04e6f5bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.