-
Notifications
You must be signed in to change notification settings - Fork 43
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
Improve mount point selector #932
Comments
## Problem The file system type cannot be selected when adding or editing a file system. The file system is always created with its default file system type. * https://trello.com/c/JnSKpQnu/3418-3-storage-modify-basic-attributes-fstype-snapshots-etc-for-pre-defined-volumes ## Solution Add a selector for the file system type. * If the product allows configuring snapshots, then the selector includes both *Btrfs* and *Btrfs with snapshots* (and the rest of possible types). * If there is only an option for the file system type (e.g., *swap*), then the selector is not offered. A plain text with the unique value is shown. Follow-up: #932 ## Testing * Added new unit tests * Tested manually ## Screenshots [Screencast from 2023-12-15 14-52-33.webm](https://github.com/openSUSE/agama/assets/1112304/feac328d-8ffd-4485-be5b-997b2aad49b6)
Hi @joseivanlopez, I would like to work on the issue. |
Sure, go ahead with a pull request. Do you need help to start moving on? Thanks a lot! |
Thank you @joseivanlopez for your quick response! I'm eager to get started on contributing to the project. |
Hi @joseivanlopez, Apologies for reaching out at this moment. I'm facing challenges while setting up the project, encountering errors like "Cannot connect to the Cockpit server" (attached the photos for reference). Since I'm new to this, I would greatly appreciate your guidance and assistance. |
For running Agama you need to start both the Agama services (backend) and the web UI. Are you running the Agama services? I would suggest to create a virtual machine and use it to run our live iso image. Once the Agama live image is booted in your virtual machine, you can run the web UI from your git clone:
Then point your browser to https://localhost:8080/. Probably you will be requested to enter username/password. If so, use root/linux. Please, try it and let me know if it works. We can try another approach if it does not work. Thanks! |
Hey, I am working on this issue and I don't completely understand the first part you mentioned and am stuck on how to proceed there |
Hi @nagu165, thanks a lot and welcome aboard!
It's actually simple, the However, I admit that
Just go ahead and open the PR if you have the change ready. During the code review we are gonna make suggestions and help you to move it on. The only thing I can suggest at this time is to make atomic, self-explanatory commits and to try to not forget about the tests 😇 but if you have doubts, just open the PR and let's work on it together.
Anytime! It's our pleasure to help you to make a contribution to Agama... and try to keep you engaged 😜 |
Hello @dgdavid sir, I tried setting up the local environment and reached the login page of Agama. But for username - root and password - Linux, it's showing the wrong username or password. |
Hi @rohit9625
|
I'd choose openSUSE Tumbleweed (64-bit)
Please, just open the PR if you don't mind. Making a picture-driven review is not the way we work. It will require a lot of effort from our side and, honestly, will be a full mess. Moreover, we have set some automated checks that help with the process by running linters and test suite. So, don't be shy and go ahead with the PR once you think you have everything in place: changes in the code, tests up-to-date, and ideally you have checked it manually too. From that point on, the YaST team could help you to move it on by making needed suggestions.
Thanks to you for the time invested on contributing to Agama. |
Issue agama-project#932 Fixed
Hello sir, Really sorry for the trouble but I needed a little clarification on the issue. |
That's right.
Quite expected. Tests must be updated to the new behavior too. Do you need help understanding and updating the VolumeForm.test.jsx? |
Thinking it twice, maybe we can collaborate in this first contribution for speeding up the PR and continue helping you to get familiar with both, the Agama project and React Testing Library. The idea is that you can update the PR with changes done in Once we have it ready, you should add the entry in the changes file and finally we can go ahead by merging your first contribution to Agama. What do you think? |
Thank you so much for the suggestion sir, I would be glad to receive your help. |
As said above, you can go ahead by updating your PR with your latest changes. I assume you're already familiar with both, git and Github, rigth?
Sadly I cannot tell you a specific time slot. I could be either, busy or away of the keyboard. Just go ahead and raise your questions. I'll answer them ASAP. |
Hello sir, This issue was solved with the PR 1007. And really sorry for asking like this but could you assign some small bugs to me that were not yet mentioned in the issues section I am a beginner and the current issues seem either too difficult or of some technology I don't know yet. Thank you. |
Hey @nagu165, Right, this issue can be closed now. Thanks for the reminder. In regard to looking for a small issue, while it's true I told you we can do it, sadly it is also a fact that I'm a bit busy at this moment helping the team to move a bunch of things on. I do not know when exactly I could take a break for creating well-defined good-first-issues. Maybe at the end of the second week of February. However, I really appreciate your interest in the project and I wouldn't like to lose your willingness to help here :) So, I'd like to encourage you to contribute differently until you/we find a task you can tackle: by providing feedback. The idea is simple, you can go through the Agama UI and give us your feedback from the user perspective, especially what you find confusing or difficult to understand. I know, at first sight it can look boring or not interesting from a developer perspective, but believe me: it would be a great contribution and even a good learning opportunity since you can go through the related source code for having the complete picture before opening an issue or discussion. Also, you can check open PRs (like this one I'm working on) and, apart from learning something from them, make suggestions or ask questions about the code before it gets merged. Last but not least, you can also give us your view in open discussions, or even open a new one. But they are just ideas for contributing without the need of making a PR for solving a specific issue. Of course, you can simply wait until we create more issues and find one that suits your expectations. Or maybe someone inside the @openSUSE/yast team have a clear idea of something small for you this week. What do you think? Regards. |
Hi @nagu165, As @dgdavid we are reorganizing some things but we plan to come up with some good first issues in a few weeks. Contributing to a project is not just writing code but giving feedback, opening issues, etc. We appreciate that 😉 However, if you want to try some coding, you could give issue #860 a try. What do you think? |
Thank you for the response sir, I will look through the project as you have mentioned. |
Thank you sir, I will try my best. |
When editing a file system, the form shows a disabled selector for the mount point field. Using a disabled widget does not make sense in this case because the mount point will never be editable. The disabled widget should be replaced by plain text.
Moreover, the selector currently uses a
FormSelect
component. It should be replaced by theSelect
component, similar to the file system type selector.The text was updated successfully, but these errors were encountered: