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

Allow adding new projects just from URL #1750

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NyuydineBill
Copy link
Contributor

Description:
This pull request addresses issue #1742 by implementing the functionality to retrieve project data based on provided homepage URLs and autofill the UI forms with the retrieved data. The key features and changes included in this pull request are as follows:

Data Retrieval Enhancement:

Added functionality to retrieve project data based on provided homepage URLs.
Implemented rapidfuzz for efficient string matching during URL-based project search.
Autofilling of UI Forms:

Enhanced user experience by automatically populating form fields with relevant project data.
Integrated autofilling functionality into the UI forms for seamless data entry.
Backend Integration:

Created new Flask views and methods to handle URL submission and data retrieval.
Ensured consistency and reliability in data retrieval and autofilling processes across different backends.
Code Refactoring:

Refactored codebase for improved readability and maintainability.
Implemented best practices to enhance code quality and performance.
Testing:

Thoroughly tested the implemented features to ensure proper functionality and user experience.
Conducted unit tests to validate the correctness of data retrieval and autofilling processes.
Reviewed and addressed any reported issues or bugs related to the new functionality.
Impact:

This pull request significantly improves the user experience by simplifying the process of adding projects to Anitya.
Users can now provide project URLs, and the system will automatically fetch relevant data, reducing manual input and potential errors.
Enhances the overall efficiency and usability of the Anitya platform for users.
Related Issue:

Resolves issue 1742: #1742

Description:
This commit introduces significant enhancements to the Anitya UI, focusing on data retrieval and autofilling functionalities within UI forms.

Changes:
- Implemented functionality to retrieve project data based on provided homepage URLs
- Added autofilling of project creation form fields with retrieved data
- Integrated rapidfuzz library for efficient string matching during URL-based project search
- Enhanced user experience by automatically populating form fields with relevant project data
- Ensured consistency and reliability in the data retrieval and autofilling processes
- Conducted code refactoring for improved readability and maintainability

This update addresses issue fedora-infra#1742
@NyuydineBill NyuydineBill requested a review from a team as a code owner March 27, 2024 05:45
Copy link

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/fc5fef6ff9164efb846c9c32d13a37a6

✔️ fi-tox-mypy SUCCESS in 4m 48s
✔️ fi-tox-lint SUCCESS in 4m 29s
✔️ fi-tox-format SUCCESS in 4m 35s
✔️ fi-tox-python38 SUCCESS in 8m 29s
✔️ fi-tox-python39 SUCCESS in 9m 12s
✔️ fi-tox-python310 SUCCESS in 8m 22s
✔️ fi-tox-python311 SUCCESS in 8m 11s
✔️ fi-tox-docs SUCCESS in 6m 10s
✔️ fi-tox-bandit SUCCESS in 4m 35s
fi-tox-diff-cover FAILURE in 9m 47s

Copy link

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/8fe6273315a54ac285ed606f6a3487ba

✔️ fi-tox-mypy SUCCESS in 4m 53s
✔️ fi-tox-lint SUCCESS in 4m 44s
✔️ fi-tox-format SUCCESS in 4m 19s
✔️ fi-tox-python38 SUCCESS in 8m 47s
✔️ fi-tox-python39 SUCCESS in 8m 55s
✔️ fi-tox-python310 SUCCESS in 8m 26s
✔️ fi-tox-python311 SUCCESS in 8m 45s
✔️ fi-tox-docs SUCCESS in 6m 04s
✔️ fi-tox-bandit SUCCESS in 4m 46s
fi-tox-diff-cover FAILURE in 9m 13s

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.

None yet

1 participant