We're going to do this by using the existing notes polling, with the new note types @jarka has added, and use those to trigger a fetch of the JSON representation of the issue / MR.
As discussed in Slack, another possibility is to add a single endpoint that returns everything that we want to update in real-time (title, labels, milestone, assignee, ...), uses ETag caching and is invalidated when issuable changes.
@psimyn just a heads up, we are also going to get https://gitlab.com/gitlab-org/gitlab-ee/issues/1904 in this release so it might get a little crazy. It maybe a good idea to branch off of our review branch but there will be a lot of conflicts along the way.
I am refactoring the assignees part of the sidebar into a vue component, so just wanted to give you a heads up.
I also noticed that the time tracking part of the sidebar is also already a vue component. That component actually calls the JSON endpoint to get it's initial values, we will probably want to refactor that out so that we can do one JSON request and use that data to populate all the other initial values (assignee, milestone..etc) instead of passing it using inline javascript/data attributes. Depending on time, I might be passing initial values for assignees using inline javascript and that can be refactored on your MR as I assume you will be transforming the entire sidebar into a vue component
GitLab is moving all development for both GitLab Community Edition
and Enterprise Edition into a single codebase. The current
gitlab-ce repository will become a read-only mirror, without any
proprietary code. All development is moved to the current
gitlab-ee repository, which we will rename to just gitlab in the
coming weeks. As part of this migration, issues will be moved to the
current gitlab-ee project.
If you have any questions about all of this, please ask them in our
dedicated FAQ issue.
Using "gitlab" and "gitlab-ce" would be confusing, so we decided to
rename gitlab-ce to gitlab-foss to make the purpose of this FOSS
repository more clear
I created a merge requests for CE, and this got closed. What do I
need to do?
Everything in the ee/ directory is proprietary. Everything else is
free and open source software. If your merge request does not change
anything in the ee/ directory, the process of contributing changes
is the same as when using the gitlab-ce repository.
Will you accept merge requests on the gitlab-ce/gitlab-foss project
after it has been renamed?
No. Merge requests submitted to this project will be closed automatically.
Will I still be able to view old issues and merge requests in
gitlab-ce/gitlab-foss?
Yes.
How will this affect users of GitLab CE using Omnibus?
No changes will be necessary, as the packages built remain the same.
How will this affect users of GitLab CE that build from source?
Once the project has been renamed, you will need to change your Git
remotes to use this new URL. GitLab will take care of redirecting Git
operations so there is no hard deadline, but we recommend doing this
as soon as the projects have been renamed.
Where can I see a timeline of the remaining steps?