Skip to content

Make adding/editing/deleting comments as if they were instant

Resources

PM @victorwu | UX @dimitrieh | FE @kushalpandya

Description

  • Make adding comments on issues and merge requests appear as if they were added instantly.
  • Same for editing comments.
  • Same for deleting comments.

Design

Original description

GL is slower than GH and BB at the moment. We are working on it. But in the mean time there are a few things we could do to make ourselves appear faster.

The main idea is to just do things as if they worked right away and show the status after.

For example. Take the comment as a first example.

This is the current way it works.

cooooldude

That slight delay is the difference between ok and awesome.

What if we just show the comment right away. Put up some sort of small status to show it is loading. Add the tiniest little animation to show it going into place.

The idea that it already went through I think is more satisfying then waiting for it to go through.

We would need to render markdown in JS to do it.

It's the difference between stopping someone from doing something and allowing them to do something.

Start with comments.

cc @awhildy @tauriedavis @iamphill @fatihacet