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

Edit button #210

Closed
pierreozoux opened this issue Oct 15, 2016 · 2 comments
Closed

Edit button #210

pierreozoux opened this issue Oct 15, 2016 · 2 comments
Labels
feature Wants to add a new feature

Comments

@pierreozoux
Copy link

Once #114 is solved, we can create an amazing workflow for content as code.

The problem to solve is how to let a non tech user edit an html page that is originally based on MD and saved in git.

With your solution that looks very promising, we could imagine the following workflow:

  • I click on an edit button on an html page
  • I get redirected to a hackmd server
  • the git repo and the file get passed as arg in url
  • the server import the git, and show the file to modify
  • when the user is done, he clicks on "propose the change"
  • it creates a PR on the associated git

It means the UI would be simplified in this process, as the application should understand that this is a specific task, and there is no need to show the user all the possibilities (like when you checkout in amazon, you don't have menu any more).

In this particular process, there is not much need about the collaboration part also.

About the PR part, it is tricky as it involves specific API (github, gitlab...).

I'm sharing this more like an idea. Probably #114 is more than enough (the edit button would just link to the specified page.).

And I wanted to share with you the project content as code that a lot of people are following.

Thanks for your work and feel free to close if it doesn't fit your project :)

@jackycute
Copy link
Member

Hi @pierreozoux !
I really like this content as code idea, that's also the core value of HackMD.
And it would be wonderful if HackMD can be part of the workflows.

Thanks to your thinking and suggestion, I would love to take this 😄
But we're focusing on other issue for now, I will add this issue to milestone while the time has come.

@ccoenen
Copy link
Contributor

ccoenen commented Jun 26, 2018

I'm not seeing this in the near future. It is a tempting suggestion, but There's just so many things to work on that It I don't believe this will get picked up in any time soon.

@ccoenen ccoenen closed this as completed Jun 26, 2018
JJediny pushed a commit to 18F/codimd-cloudgov-template that referenced this issue Dec 16, 2020
Fix compatibility with MathJax 2.7.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Wants to add a new feature
Projects
None yet
Development

No branches or pull requests

4 participants