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

feat(web): adapt to HTTP API of DASD operations #1549

Merged
merged 62 commits into from
Sep 5, 2024
Merged

feat(web): adapt to HTTP API of DASD operations #1549

merged 62 commits into from
Sep 5, 2024

Conversation

jreidinger
Copy link
Contributor

@jreidinger jreidinger commented Aug 21, 2024

Trello: https://trello.com/c/2LC8JEZR/3743-8-agama-adapt-dasd-configuration-to-current-architecture

This PR is the following step to support for DASD devices on s390x architectures. It includes:

@coveralls
Copy link

coveralls commented Aug 21, 2024

Coverage Status

coverage: 71.801% (-0.002%) from 71.803%
when pulling e896085 on web-dasd
into a6926d6 on master.

@jreidinger jreidinger changed the base branch from master to http-dasd August 22, 2024 08:41
web/src/types/dasd.ts Outdated Show resolved Hide resolved
web/src/queries/dasd.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, check the new mutations.

web/src/components/storage/DASDTable.tsx Outdated Show resolved Hide resolved
web/src/components/storage/DASDTable.tsx Show resolved Hide resolved
Copy link
Contributor

@dgdavid dgdavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, but pease check the log entry.

Great job 👍 👍 👍 BTW

web/src/queries/dasd.ts Outdated Show resolved Hide resolved
web/package/agama-web-ui.changes Show resolved Hide resolved
element: <DASDPage />,
handle: { name: N_("DASD") },
loader: async () => {
if (!DASDSupported()) return redirect(PATHS.root);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if worth mentioning that loader will not be executed until loading the route. Probably not.

Also, we should add a mechanism to avoid the application crashing because trying to go to the route before login but in another round of routes improvements, not now 😉

BTW, thanks a lot for taking the time of doing manual testing of this part and catching such a bug.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can improve the message or add a note in the ZFCP PR just for not delay this one.

@teclator teclator merged commit f38e15b into master Sep 5, 2024
6 checks passed
@teclator teclator deleted the web-dasd branch September 5, 2024 09:38
@imobachgs imobachgs mentioned this pull request Sep 20, 2024
imobachgs added a commit that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants