Commit graph

188 commits

Author SHA1 Message Date
Cockpit Project
b960c21749 package.json: Update @redhat-cloud-services/frontend-components
Closes #228
2021-06-10 10:09:59 +02:00
github-actions[bot]
be4aaf8859
package.json: Update @babel/runtime (#233)
Closes #233

Co-authored-by: Cockpit Project <cockpituous@gmail.com>
2021-06-10 10:05:57 +02:00
Gianluca Zuccarelli
3132e19d80
devtools: Update readme
Detail how to make uploads work.
2021-06-09 14:40:50 +02:00
Jacob Kozol
043b775ced CreateImageWizard: only enable registration for rhel images 2021-06-08 13:37:03 +02:00
Jacob Kozol
120398be8c CreateImageWizard: display release in review screen 2021-06-08 13:37:03 +02:00
Jacob Kozol
0e5ec4fb7e CreateImageWizard: use your image instead of the image 2021-06-03 17:04:54 +02:00
Sanne Raymaekers
d45ee17aca src: Rename RHEL 8.3 to just RHEL 8
We should pull these labels/descriptions from the service, but let's do
that separately.
2021-06-03 17:04:22 +02:00
Cockpit Project
9b3e5ffbd8 package.json: Update @redhat-cloud-services/frontend-components
Closes #225
2021-06-03 11:28:05 +02:00
Sanne Raymaekers
b648ffaca4 store: Insert new composes on top of the table
Fixes #161
2021-06-02 17:56:47 +02:00
Jacob Kozol
6db456a17c ImagesTable: data-testid should be lowercase 2021-06-02 15:45:35 +02:00
Jacob Kozol
93d0fdb6fc CreateImageWizard: alphabetize upload destinations
The upload destinations now display in alphabetical order.
2021-06-02 15:45:08 +02:00
Jacob Kozol
ebdfbbf57d ImagesTable: add gcp info
When a gcp image is successfully uploaded the user needs to know the
project id, image name, and account the image is shared with. These are
now displayed in a popover accessible from the status section of the
images table.
2021-06-02 15:44:38 +02:00
Jacob Kozol
3571a7b3c6 ImagesTable: add azure image link
When an azure image is successfully uploaded the user is provided a link
to view the image in the azure web portal.
2021-06-01 17:55:53 +02:00
Cockpit Project
d40a783fc9 package.json: Update @redhat-cloud-services/frontend-components
Closes #220
2021-06-01 17:00:39 +02:00
Cockpit Project
1bbb00d650 package.json: Update @redhat-cloud-services/frontend-components-notifications
Closes #215
2021-05-27 12:28:20 +02:00
Jacob Kozol
6cd58557c5 CreateImageWizard: improve packages step
Update the text description and replace "options" with "packages". Also,
add styling to increase the size of the available and chosen packages
list.
2021-05-26 17:02:31 +02:00
Jacob Kozol
cea9808c91 CreateImageWizard: add spacing before azure fields 2021-05-26 16:28:32 +02:00
Cockpit Project
2904af1b47 package.json: Update @redhat-cloud-services/frontend-components
Closes #209
2021-05-26 11:12:32 +02:00
Jacob Kozol
e624c9a1fe CreateImageWizard: improve google step
The Google Cloud Platform step's description is improved, the radio
fields have more space seperating them, and the text input is width
limited now.
2021-05-25 11:39:30 +02:00
Cockpit Project
1a7350e750 package.json: Update @redhat-cloud-services/frontend-components
Closes #207
2021-05-25 11:18:54 +02:00
Tom Gundersen
886bd768dc devel: add full-stack development environment
This integrates all the Image Builder components needed by the
cloud.redhat.com frontend and allows them to be developed and run
locally using `docker compose`.

This should make it simple to make patches across the different
components and develop them in tandem.

Thanks to Achilleas Koutsou for the initial idea and implementation
in osbuild-composer.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-05-21 19:23:14 +02:00
Tom Gundersen
082894e9dd distribution: add Dockerfile
This is meant for development only, and attempts to mimick how
the app is deployed.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-05-21 19:23:14 +02:00
Tom Gundersen
3b2a91d174 package/start: don't bind only to localhost
Bind instead to ANY_ADDR, which allows the service to be used
remotely. This is useful when running it in a docker container,
and wanting to connect from the outside.

This only affects the developer environment, in production this
is not used.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-05-21 19:23:14 +02:00
Tom Gundersen
46fbb53e46 travis: upgrade to npm 12
This is what the starter app uses, and what most of us use locally,
so let's stay consistent.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-05-21 19:23:14 +02:00
Cockpit Project
f629e38a65 package.json: Update @redhat-cloud-services/frontend-components
Closes #205
2021-05-21 12:25:21 +02:00
Jacob Kozol
066c29128e CreateImageWizard: fix OAuth info link style 2021-05-20 20:16:21 +02:00
Sanne Raymaekers
c7e8fc57ec src: Update documentation links 2021-05-20 11:00:02 +02:00
Sanne Raymaekers
b11fbe42df CreateImageWizard: Pass organization as a number
This should be changed in the api. But will take some more work. For now
just pass it as a number, that is what the api expects at this point in time.
2021-05-20 10:49:37 +02:00
Jacob Kozol
564a875dd9 CreateImageWizard: fix target environment titles 2021-05-19 16:08:53 +02:00
Cockpit Project
5d670b18ff package.json: Update @patternfly/react-core, @patternfly/react-table, @patternfly/patternfly
Closes #197
2021-05-19 14:24:58 +02:00
Jacob Kozol
7cd775cfb3 ImagesTable: add link to launch uploaded aws image
The images list now contains a link to the ec2 launch wizard for a
successfully uploaded aws image.
2021-05-17 19:37:15 +02:00
Cockpit Project
5261dae56b package.json: Update @redhat-cloud-services/frontend-components
Closes #180
2021-05-17 10:03:38 +02:00
Sanne Raymaekers
2e9352bcf9 src: Have separate AppEntry points for dev and prod
The production AppEntry shouldn't pass any middlewares to the store.
2021-05-12 17:20:45 +02:00
Yuxin Sun
0ca457715a
OAuth permissions text shortening
Fix #170 
Related: rhbz#1954598

Signed-off-by: Yuxin Sun <yuxisun@redhat.com>
2021-05-12 11:49:47 +02:00
Sanne Raymaekers
cff45e5948 Revert "config: Skip chrome2 until the configuration is in place in csc"
This reverts commit 688291386a.
2021-05-11 14:11:49 +02:00
Sanne Raymaekers
688291386a config: Skip chrome2 until the configuration is in place in csc 2021-05-10 14:08:18 +02:00
Tom Gundersen
bbf5bf8642 README: split frontend and backend instructions
Spinning up the frontend is a lot simpler than the backend, so have dedicated
instructions to just do that.
2021-05-08 22:27:51 +02:00
Cockpit Project
9a29e4dd32 package.json: Update @redhat-cloud-services/frontend-components
Closes #172
2021-05-07 11:20:55 +02:00
Sanne Raymaekers
4658f59d0b src: Adapt to insights-chrome 2.0 2021-05-06 11:26:41 +02:00
Jacob Kozol
e85e51e574 ImagesTable: display date created
The date an image was created at should be displayed in the format:
Month Day, Year. i.e. Apr 28, 2021.
2021-05-03 13:58:25 +02:00
Jacob Kozol
3cf9f8c3a3 ImageBuildStatus: refactor image status
Remove excessive status elements since there only needs to be one status
statement for each image in the list. Also, replace the pending spinner
with a pending icon.
2021-05-03 13:58:25 +02:00
Jacob Kozol
f8abe70004 ImagesTable: refactor list of images
Remove unnecessary styling on the rows in the images list. Reorder the
columns to put the target and status next to each other. Use upload_type
instead of upload_status. Stop storing columns in state since they are a
constant.
2021-05-03 13:58:25 +02:00
Yuxin Sun
a10e1746e5 Correct the text to match the button text label
Signed-off-by: Yuxin Sun <yuxisun@redhat.com>
2021-04-30 20:08:48 +02:00
Jacob Kozol
14a7c7e39d ImagesTable: add compose pagination
The list of composes is now paginated. The default is 10 composes per
page. This quantity can be changed. When the page or the quantity per
page is changed then the next set of composes will be fetched.
2021-04-30 17:58:14 +02:00
Jacob Kozol
df39b6915c ImagesTable: switch to patternfly toolbar
Patternfly's toolbar component is now used. Also remove the ToolbarGroup
component since we do yet need to group our toolbar items.
2021-04-30 17:58:14 +02:00
Jacob Kozol
82c0615aab store: add compose count
When we get composes we also get the count of total composes stored in
image-builder. We now store this quantity in our store.
2021-04-30 17:58:14 +02:00
Jacob Kozol
4f58f6202a store: get composes using limit and offset
The composeGetAll action is refactored to composesGet. It now uses
passes limit and offset as params so that pagination can be used. Also,
the COMPOSE_ADDED reducer case only adds new compose ids to allIds if
the id is new/unique.
2021-04-30 17:58:14 +02:00
Cockpit Project
122c392ca3 package.json: Update @babel/runtime
Closes #166
2021-04-30 14:09:38 +02:00
Sanne Raymaekers
106f867e97 CreateImageWizard: Show previously selected packages
This should fix the bug where chosen packages would disappear from the
ui when switching steps and returning to the packages step.
2021-04-28 12:46:55 +02:00
Cockpit Project
49ff7eaaa0 package.json: Update @patternfly/patternfly, @patternfly/react-table, @patternfly/react-core
Closes #158
2021-04-26 12:00:40 +02:00