Commit Graph

14 Commits

Author SHA1 Message Date
Phil Hughes f9c58d9388 Refactored diff notes Vue app
It now relies on its Vue bundle rather than the window. Fixes some reactivity issues that was happening in EE
2017-02-09 15:54:19 +00:00
Luke Bennett 634d003e9c
Changed to hash rocket and string 'true' 2016-09-27 23:50:09 +01:00
Jacob Schatz ab496d82ec Merge branch 'resolve-buttons-path' into 'master'
Pass the full project path for resolve buttons

## What does this MR do?

The full project path is passed from the HTML into the JS rather than the resolve button JS generating the URL based on the the namespaces.

@smcgivern @stanhu Do we have anyway of adding tests for installs with relative URLs?

## What are the relevant issue numbers?

Closes #21704

See merge request !6129
2016-09-26 23:00:55 +00:00
Luke Bennett 51c04a2f35
Added v-cloak to resolve disc button 2016-09-26 22:50:01 +01:00
Phil Hughes 5461a5d10a Pass the full project path for resolve buttons
This fixes an issue that would stop the resolve buttons working when GitLab is installed with a relative URL

Closes #21704
2016-09-21 10:07:24 +01:00
Douwe Maan 33edde50ab Don’t show “Resolve discussion” for non-author/members 2016-08-12 15:10:05 -05:00
Phil Hughes c51cbc1f2f Updated issues with jump tp button
Fixed styling bugs
2016-08-01 10:06:31 +01:00
Phil Hughes efb74875cf Moved most of the data handling into discussion & notes models
Reduced some duplicated code with compiling components
Fixed bug with resolve button tooltip not updating after resolving discussion
2016-07-29 11:19:56 +01:00
Douwe Maan 1c2eefef3f Backend tweaks 2016-07-28 20:09:36 -06:00
Phil Hughes e786c2b21c Comment & resolve button text is done through VueJS 2016-07-26 17:45:48 +01:00
Phil Hughes a678fef836 Added resolved by users name into tooltip 2016-07-26 15:47:19 +01:00
Phil Hughes 6537a4a8fe Correctly resolves/unresolves discussions 2016-07-26 13:44:51 +01:00
Douwe Maan 3b06987c34 Hide resolve button when not allowed 2016-07-25 22:48:15 -06:00
Douwe Maan 2ac0099923 Fix discussion partials 2016-07-24 13:17:16 -06:00