Commit graph

22 commits

Author SHA1 Message Date
Jacob Kozol
cea9808c91 CreateImageWizard: add spacing before azure fields 2021-05-26 16:28: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
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
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
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
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
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
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
Jacob Kozol
9b08788fd2 store: add get all composes api call
The ImagesTable will now trigger a thunk to fetch all of users composes
on load. The response of the /composes api call does not include status
so we currently only fetch the first 10 composes and fetch the status
for each of them.
2021-04-23 15:53:43 +02:00
Jacob Kozol
1f962b44ae store: move status polling to redux
Updating a composes status is no longer done from the ImagesTable
component. Instead the composeGetStatus thunk is used to make the api
call and dispatch the COMPOSE_UPDATED_STATUS action. The polling still
occurs from the component.
2021-04-23 15:53:43 +02:00
Jacob Kozol
29b684599b store: add request field to compose object
The compose object should have the initial compose request stored in a
field called request. The id and image_status are independent of the
request so should not be set within it.
2021-04-23 15:53:43 +02:00
Jacob Kozol
e8192ad3f7 CreateImageWizard: remove nested p tag
The patternfly Wizard component's description is wrapped in a p tag. The
patternfly Text component also uses a p tag. A p tag should not be
nested inside another p tag.
2021-04-22 11:19:53 +02:00
Sanne Raymaekers
1b9cf6df7b src: Remove SmartComponents/PresentationalComponents split
Just have a directory per component.
2021-04-22 10:23:51 +02:00