summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes/stores
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-021-37/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-101-911/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-202-972/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-131-4/+35
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-091-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-151-10/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-261-2/+15
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-141-101/+20
|
* Add edit_note and spec for editing quick actionsPatrick Derichs2019-08-261-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call QuickActionsService on Note update Add support for notes which just contain commands after editing Return http status gone (410) if note was deleted Temporary frontend addition so it is not failing when a note is deleted Move specs to shared examples Fix rubocop style issue Deleting note on frontend when status is 410 Use guard clause for note which got deleted Simplified condition for nil note This method should no longer be called with nil note Refactoring of execute method to reduce complexity Move errors update to delete_note method Note is now deleted visually when it only contains commands after update Add expectation Fix style issues Changing action to fix tests Add tests for removeNote and update deleteNote expectations
* Refactor nextUnresolvedDiscussionId and previousUnresolvedDiscussionId gettersArun Kumar Mohan2019-08-151-41/+89
|
* Add kbd shortcuts for discussion navigationSam Bigelow2019-08-121-0/+48
| | | | Add keyboard shortcuts `p` and `n` to navigate duscussions.
* Do not persist notes filter when auto-switchingHeinrich Lee Yu2019-08-071-0/+27
| | | | | | Send a `persist_filter: false` param to backend when opening links to notes and auto-switching to show all notes
* Remove deleteNote from notes serviceWinnie Hellmann2019-07-101-11/+9
|
* Remove applySuggestion from notes serviceWinnie Hellmann2019-07-051-4/+4
|
* Fix typo in updateResolvableDiscussionsCounts actionWinnie Hellmann2019-07-021-8/+8
|
* Rearrange discussion resolve buttons & update button displaySamantha Ming2019-06-281-0/+20
| | | | | - next-discuss button is always show unless there is only 1 discussion - regroup buttons arrangements
* Add failing test for saveNote error handlingWinnie Hellmann2019-05-071-0/+45
|
* Resolve discussion when suggestion is applied54405-resolve-discussion-when-applying-a-suggested-changePaul Slaughter2019-05-071-16/+114
| | | | | | | | | - Adds color and a tooltip to describe this new behavior - Does not resolve if discussion is already resolved - Adds an action `resolveDiscussion` to simplify `toggleResolveNote` - Updates docs https://gitlab.com/gitlab-org/gitlab-ce/issues/54405
* Handle transformed notes from polling responseHeinrich Lee Yu2019-03-061-0/+13
| | | | Transforms notes when the note was transformed in some other tab
* Move EE differences in CE diff files into CEPhil Hughes2019-03-011-0/+8
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9974, https://gitlab.com/gitlab-org/gitlab-ee/issues/9973, https://gitlab.com/gitlab-org/gitlab-ee/issues/9969
* Fix misspellings in app/spec executable linesTakuya Noguchi2019-02-271-2/+2
| | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Cancelling reply reverts comment to initial stateConstance Okoghenun2019-02-182-0/+33
| | | | | | 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-142-7/+141
| | | | | 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-062-0/+37
|
* 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
* Resolve "Navigating unresolved discussions on Merge Request page"André Luís2018-12-081-1/+1
|
* 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-273-15/+118
| | | | | | | | | | | 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
* Fixed failing note actions specPhil Hughes2018-11-091-0/+3
|
* Add 'only history' option to notes filterFelipe Artur2018-11-052-0/+23
|
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-1/+1
|
* Prettify all spec filesMike Greiling2018-10-171-6/+7
|
* enable jasmine/new-line-before-expectJohann Hubert Sonntagbauer2018-10-172-0/+16
|
* Added test for adding `truncated_diff_lines` to discussionPhil Hughes2018-09-201-0/+35
|
* Merge branch 'mr-widget-discussion-state-fix' into 'master'Filipa Lacerda2018-09-171-0/+192
|\ | | | | | | | | Fixed MR widget unresolved discussions state See merge request gitlab-org/gitlab-ce!21705
| * Use MR widget event_hub to dispatch update eventPhil Hughes2018-09-131-4/+3
| | | | | | | | | | Instead of relying on a global method, we now emit an event on the MR widget that tells it to check the status
| * Fixed MR widget unresolved discussions statePhil Hughes2018-09-121-0/+193
| | | | | | | | | | | | | | | | After resolving a discussion on a merge request page the merge request widget state would not get updated meaning users would need to refresh the page to merge (if that option is enabled in the projects settings) https://gitlab.com/gitlab-org/gitlab-ce/issues/42882
* | Fixed resolved discussions not toggling expandedPhil Hughes2018-09-131-1/+35
|/ | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51370
* Reapply "Merge branch '48817-fix-mr-changes-discussion-navigation' into ↵André Luís2018-08-011-0/+155
| | | | | | 'master'" This reverts commit e0fe97ca4a506405af8e85368f2c69cda637e192.
* Revert "Merge branch '48817-fix-mr-changes-discussion-navigation' into 'master'"André Luís2018-08-011-155/+0
| | | | | This reverts commit ced005f330419ec81657e852c5cb9124fdb29fbb, reversing changes made to 9b01b293ce5ddbaeedaf014cdc804af2c5e86416.
* Resolve ""Jump to first/next unresolved discussion" jumps to resolved ↵André Luís2018-07-201-0/+155
| | | | discussions"
* Merge branch 'master' into 48237-toggle-file-commentsFilipa Lacerda2018-07-102-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
* Resolve "MRs are showing some discussions as unresolved"Simon Knox2018-07-051-0/+18
|
* Prevent fetching diffs and discussions data unnecessarily on MR pageFatih Acet2018-06-293-0/+31
|
* Changes tab VUE refactoringFelipe Artur2018-06-213-57/+107
|
* Support smarter system notesJose Ivan Vargas2018-06-052-1/+64
|
* Add dispatch mock to the test helpervuex-action-helper-correctly-failFilipa Lacerda2018-03-291-2/+11
|
* fixed failinng tests after helper changePhil Hughes2018-03-291-69/+121
|