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

[Feature] Functionality to create new backlog item from the frontend #54

Open
chesthar opened this issue Sep 14, 2022 · 3 comments
Open
Labels
question Further information is requested

Comments

@chesthar
Copy link

As an end-user exploring the system and checking what's happening in the backend and the DB I would like to have the functionality to create a backlog item(let's say only type bug is enough) from the front-end. Currently performed some basic operations from the swagger and seems to be working(on the local instance) but was hard to guess the payload that I have to pass to /api/BacklogItems/bug. So I think this functionality will make this project and of course the magnificent ravendDB more and more attractive to new users like me.

SUT details:
RavenDB 5.4.2 local instance(windows)
yabt latest master: 6a6d72c
browser Chrome: 105.0.5195.102
OS: Windows 10 Enterprise
Visual Studio 2022 Pro

@AKlaus
Copy link
Collaborator

AKlaus commented Sep 15, 2022

Hey @chesthar,

Not sure I understand where's the problem. The swagger API is well-documented (screenshot below) and you can try it not only locally but also on the website itself (yabt.ravendb.net/swagger). The database gets recreated weekly.

Getting one level down from API to the services, you can check out the automated tests for creating of backlog items at BacklogItem_Crud_Tests.

There's also a TicketImporter tool that calls those services for creating new backlog items from a chosen GitHub repo (line of code)

Based on that, there's not much need in the front-end functionality to create backlog items as it's deemed pretty trivial (editing is more complex and provided on the UI).

image

@AKlaus AKlaus added the question Further information is requested label Sep 15, 2022
@PureKrome
Copy link

PureKrome commented Jan 23, 2024

@AKlaus I believe the question asked, is: Can we add a bug via the UI and not the (Swagger) API?

EDIT: I came here to ask the exact same question as I hit the UI website first. not the swagger API.

@AKlaus
Copy link
Collaborator

AKlaus commented Jan 23, 2024

Hi @PureKrome,
Adding a bug (or any other ticket type) via the UI hasn't been implemented, as the API is already there and the UI part was deemed a trivial task compared to editing.
Of course, if someone submits a PR with the implementation, the team wouldn't mind 😊

BTW, all the existing tickets have been created by running the TicketImporter (under tools/TicketImporter) that copied 50,000 tickets from 2 public repos: dotnet/aspnetcore, dotnet/runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants