apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

Feedback issues should be threads #2265

Closed kyyberi closed 6 years ago

kyyberi commented 7 years ago

Current look and feel

screenshot at maaliskuuta 08 22-07-09

Need

As API owner I have no opportunity to respond to feedback. In addition I would love to see that feedback list behave like a threaded discussion so that there can be back-traced discussions, not just notes. This came to my mind when I was thinking to ask my developer network to give feedback about the API design by putting feedback with our tools in the feedback tab. I really would like to respond and discuss the item there, not just remove it. Responding would be engaging.

Goal

added by @bajiat 2017-10-06

Mockups

Archive includes desktop and mobile views. feedback.zip

Here you can see basic prototype: https://invis.io/SYDU0V94C

kyyberi commented 7 years ago

To make it short, like Github issues.

Nazarah commented 7 years ago

1+ with the feedback thread. To me, it can also be GitHub issues. The same can be considered for backlogs. API consumer of a particular API would be eager to follow what new features, changes, etc. would be added to the API and might express what they wish to see in future development. Maintaining such thread to GitHub is a good place to start. I wish to know more cases on how this can be maintained in case of private APIs.

kyyberi commented 7 years ago

This is side note, but I'll add it here anyway so I don't forget it. Commenting in place would be awesome feature: paint text in documentation and leave a note (much like in Google Docs). I don't know how to handle it UX wise or technically. And would it become a mess (probably to some level.) Anyway, jumping to separate place to add feedback is not best possible solution anyway.

kyyberi commented 7 years ago

Not all use Github, so we can not rely on that. Adding opportunity to sort of sync the "issue" discussion on APInf and github issue list would add complexity for the admins but also in implementation (perhaps). Since all do not use Github there has to be alternative. Opinions from @brylie @philippeluickx would be appreciated.

brylie commented 7 years ago

I can see a desire to comment on Feedback, as well as other 'entities' in our platform. E.g. users might want to comment on any of the following:

For flexibility, we could have a structure such as:

Then, we could feasibly have a relatedComments component that

  1. takes two arguments
    • entityType
    • entityId
  2. renders related comments, possibly with pagination, etc

In that case, comments could also have comments (recursion/nesting).

philippeluickx commented 7 years ago

In all fairness, I've often said that we should have "the github for APIs". Not sure what Swagger Hub's role is here.

kyyberi commented 7 years ago

Imho feedback is not only about Design, thus copy Github issues.

Swaggerhub is atm the only online usable tool to do API design (with swagger) and keep them in one place. Our current model is to support API creation from start to end. Anything less is swimming against the mainstream.

There can be different opinions about the swaggerhub's usability, but it fulfils for example my needs pretty well and I'm ready to forgive shortcomings in UX for now. Is it really worth the effort to replicate swaggerhub functionality to APInf even with better UX. I know there is API design editor stub in our repos, but IMHO that's waste of time and resources. IF we can find simple way to avoid for example another login to swagger to give feedback, then the comments could and should live there. Requiring another login (and account) to give feedback about API design is a barrier and will drop feedback significantly.

kyyberi commented 7 years ago

Clicking title row (or at least the feedback title text) should open/close the feedback.

55 commented 7 years ago

@saransh-dev please check mockups section in description and let me know ASAP if you have any questions.

saransh-dev commented 7 years ago

@55, Do i need to change the UI of feedback? Currently we have following feedback UI.

feedback

Please advise.

55 commented 7 years ago

@saransh-dev correct, take a look at mockups in archive I attached.

saransh-dev commented 7 years ago

@55 Yeah, I have checked it. Ok then i am going to change UI of feedback as you provided.

55 commented 7 years ago

@saransh-dev if you have any questions, please don't hesitate to contact me here or in chat.

saransh-dev commented 7 years ago

Hi @55 , I have some confusions :-

1.Why we need to provide two reply buttons?

feedback

  1. Do i need to common layout for comments (because user might also comment on API/Organizaiton related media, API Backlog items, APIs, Organizations and etc) or i need to different comment layout for feedback?

Please advise.

55 commented 7 years ago
  1. Second reply is to the comment (reply to the reply). Also there is only one level of nesting, means replies to replies should be on the same level. Reply to the reply has name of the user he replies to.

feedback

  1. Use the provided layout, other places will inherit current layout in the future if needed.
marla-singer commented 7 years ago

@55 @Nazarah I have a lot of questions about these part

  1. What about edit/delete Reply?

make all feedback private

  1. What about "make all feedbacks public"? The early implementation has logic for that joxi_screenshot_1507710205636

  2. The reply of reply must be as nested element. Because it isn't obviously that it is a reply of reply and what is the parent of current reply.

Look at the screen below. The numbers mean the order I added the items. joxi_screenshot_1507710274902

  1. As for me the lock icon needs a help text like "Make all feedbacks private" because it isn't obviously

  2. Also I don't like that we have an additional step for control visibility as Modal form. Does it really need? joxi_screenshot_1507710687014

  3. API owner and admin can make all feedback private make an individual feedback private delete a feedback item

What about feedback author permissions? The early implementation has logic for that joxi_screenshot_1507711364022

55 commented 7 years ago

@marla-singer @saransh-dev sorry for the lack of the description for the provided mockups. I will add a more prominent description during today. Also, can we move the rest of the discussion to the opened PR? (including your comment)