summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes/stores/mutation_spec.js
Commit message (Collapse)AuthorAgeFilesLines
* Cancelling reply reverts comment to initial stateConstance Okoghenun2019-02-181-0/+19
| | | | | | When converting a comment to a discussion if the "Cancel" button is used to exit the new discussion note, the comment would revert back to its initial state
* Fix polling for replies to individual notesHeinrich Lee Yu2019-02-141-7/+3
| | | | | Sets `updated_at` so that the transformed note is returned together with the new reply
* Add reply to notes to turn into discussionsHeinrich Lee Yu2019-02-061-0/+23
|
* Trim first char of diff line text on diff discussionsDouwe Maan2019-01-221-5/+11
| | | | | | | | | | | | Before, diff file `higlighted_diff_lines`/`parallel_diff_lines` and diff discussion `truncated_diff_lines` were inconsistent: `text` and `rich_text` on the latter included the leading +/-/<space> character, like on the backend, while the former had no `text` and its `rich_text` had dropped this char. This resulted in a bug when the suggestions feature expected these diff line objects to be identical in format and thus interchangeable, which was not the case.
* Fix MR discussion counts being offPaul Slaughter2018-12-101-27/+44
| | | | | | | | | **What was the issue?** Notes can be unresolved, but not resolvable. Without this, the unresolvedDiscussionsCount was inflated. **References** https://gitlab.com/gitlab-org/gitlab-ce/issues/55138
* Updated variable name to forceExpandedPhil Hughes2018-12-041-1/+1
|
* Fixed multiple diff line discussions not expandingPhil Hughes2018-12-041-0/+10
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53600
* Improve discussion rendering performancePhil Hughes2018-11-271-0/+47
| | | | | | | | | | | Improve the renderign of new and existing discussions by reducing the number of watchers on each object & array. Previously every discussion change would trigger an update for every discussion component. Also tidied up some components to get them closer to our docs. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51506
* Add 'only history' option to notes filterFelipe Artur2018-11-051-0/+10
|
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-1/+1
|
* enable jasmine/new-line-before-expectJohann Hubert Sonntagbauer2018-10-171-0/+15
|
* Added test for adding `truncated_diff_lines` to discussionPhil Hughes2018-09-201-0/+35
|
* Fixed resolved discussions not toggling expandedPhil Hughes2018-09-131-1/+35
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51370
* Merge branch 'master' into 48237-toggle-file-commentsFilipa Lacerda2018-07-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | * master: (38 commits) Update bitbucket.md to fix typo and small grammar touchups. Update time_helper.rb to fix output for exact minutes. Document update for GitLab Pages users. Support manually stopping any environment from the UI Fix link to frontend in handbook Shorten CHANGELOG filename to avoid breaking ecryptfs users Replace 48976-rails5-invalid-single-table-inheritance-type-group-is-not-a-subclass-of-gitlab-backgroundmigration-fixcrossprojectlabellinks-namespace.yml Fix mountComponent helper path in docs Fix #48537 - Update avatar only via the projects API Add additional headline for Adding SSH keys to GitLab Request to be a proofreader. Fix specs Fix search bar text input alignment Fix API docs on unauthenticated projects return Adds with_projects optional parameter to /groups/:id API endpoint Docs: make it clear that you need a completely separate domain for Pages Document that we don't want to wait in tests Removes unused store in diffs mr refactor Removes double export for actions in diffs module in mr refactor Remove useless return Use latest gitlab-styles ...
* Prevent fetching diffs and discussions data unnecessarily on MR pageFatih Acet2018-06-291-0/+11
|
* Changes tab VUE refactoringFelipe Artur2018-06-211-40/+64
|
* Merge branch 'master' into 44149-issue-comment-buttonsFilipa Lacerda2018-03-131-2/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (29 commits) Fix provider server URL used when listing repos to import Fix inconsistent punctuation on MR form Update dependency for svgs Fix timestamp to include %M instead of %I for post-deploy migrations. Use Gitaly 0.89.0 Resolve "Hover style for sidebar dropdowns is wrong" fixed spec Respect the protocol in `expose_url` Fix removes source branch text being rendered in merged state Fix code and wiki search results when filename is non-ASCII Include the ee/ directory in backtraces Use GitLab fork of zaproxy Updates file extensions on Vue docs fixed note polling not sending updated last fetched at date added spec for polling Add changelog entry Use `list.id` for `:key` added mutation spec Bump parser and unparser gems to remove warnings fix polling not working correctly Fixed issue notes being duplicated ...
| * added mutation specPhil Hughes2018-03-101-2/+13
| |
* | Fix loading icon being visible in the wrong button44149-issue-comment-buttonsFilipa Lacerda2018-03-121-0/+66
|/
* Render MR Notes with Vue with behind a cookieFatih Acet2018-02-281-2/+3
|
* issue note storeSimon Knox2017-11-301-5/+5
|
* Fix rendering double note issue.Fatih Acet2017-09-221-9/+21
|
* Adds tests for mutations and gettersFilipa Lacerda2017-08-111-14/+122
|
* [ci skip] Adds tests casesFilipa Lacerda2017-08-041-0/+99