-
Notifications
You must be signed in to change notification settings - Fork 49
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
Show question & reply in the code #109
Comments
The PR you did was so nice. it wasn't complete, but i am so happy to see it! Thank you very much (that was very near from what i was envisioning) and great work! :) |
I have been experimenting with the editor and i think it is a good direction to go, but it is not complete and do need some iterations. Here are some of my thoughts.
|
I agree.
once we have the all the component working adding UI will be easier. (I hope) |
Making the questions hidden by default is definitely the way to go. To simplify things, I like the idea of preventing overlapping questions. If this becomes a thing people really want then we can come back to it. I kinda like the idea of being able to reply to questions and see the replies without leaving the page and having that as something that toggles underneath the question. But that may only be feasible for short threads. /question/{questionId} makes sense, but how do you see the questionId and commentId working? |
+1 for that. I am convinced that the code addition should be done with as simple form as possible.
A first draft proposal for some of the possible pages (order not relevant):
One detail to consider for the pages: At this time the routing is done with the commitID as a 'namespace', but it is kind of ugly. One should consider using some kind of SEO-friendly URL, like slugs. The commit message and the repo name can be considered for that. |
i. sounds good, and we can always link back to the repo from that page We don't need the commitId in the url at all, we can just use the postId/questionId. But that's still ugly, so I think creating a slug of some kind is a good idea. |
There are different alternatives.
+1. Just used the /repo/ for ease of explaining the idea. |
I hope to push an update to pr #115 tomorrow |
See screenshot of a patch i'm working on

The text was updated successfully, but these errors were encountered: