Skip to content

Add storage issues#540

Merged
joseivanlopez merged 12 commits intoagama-project:issuesfrom
joseivanlopez:storage-issues
May 4, 2023
Merged

Add storage issues#540
joseivanlopez merged 12 commits intoagama-project:issuesfrom
joseivanlopez:storage-issues

Conversation

@joseivanlopez
Copy link
Contributor

@joseivanlopez joseivanlopez commented Apr 19, 2023

Problem

The validation mechanism of Agama is being replaced by a more generic approach based on the issues concept, see #548. Till now, only the storage service is using issues. But the UI is not adapted yet.

Solution

Adapt UI to work with storage issues. Moreover, a new page is added to show all the current issues. The sidebar also shows a notification mark if there are issues.

Note that the probing issues are now listed in the new issues page.

Testing

  • Added new unit tests
  • Tested manually

NOTE: there is a failing integration test. It is not clear why the test is faililng, but the problem should not be related to the changes in this PR. The fix for that integration tests will be done in a separate PR, see #553.

Screenshots

Show/hide

Screenshot from 2023-05-05 16-46-09

Screenshot from 2023-05-03 14-49-04

@coveralls
Copy link

coveralls commented Apr 19, 2023

Coverage Status

coverage: 73.786%. remained the same
when pulling 746638e on joseivanlopez:storage-issues
into a2da998 on openSUSE:issues.

@joseivanlopez joseivanlopez changed the base branch from issues to master April 19, 2023 15:43
@joseivanlopez joseivanlopez changed the base branch from master to issues April 19, 2023 15:44
@joseivanlopez joseivanlopez force-pushed the storage-issues branch 4 times, most recently from eb41979 to 71f25c5 Compare April 20, 2023 15:59
@dgdavid

This comment was marked as resolved.

@joseivanlopez joseivanlopez marked this pull request as ready for review May 2, 2023 16:10
- Description from YaST storage issues usally refers to YaST
  features like the Expert Partitioner. It would be weird to
  show that kind of messages in Agama.
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.

Looks good, just a few minor comments. Once again, I'd ask for another review from someone less involved than me in the PR.

@joseivanlopez joseivanlopez merged commit 541bc83 into agama-project:issues May 4, 2023
@joseivanlopez joseivanlopez mentioned this pull request May 4, 2023
dgdavid added a commit that referenced this pull request Jun 2, 2025
The `toValidationError` function is no longer in use. It was originally
introduced in the storage area implementation (#540, commit 1fc1f6f)
but its usage was gradually phased out across later changes (e.g., #1112),
until it became fully unused in commit 9cfc9c7 (part of #1972).

Removing it to reduce dead code and simplify the utils namespace.
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.

3 participants