summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes
Commit message (Collapse)AuthorAgeFilesLines
* Remove reply_to_individual_notes feature flag58644-remove-reply_to_individual_notes-feature-flagHeinrich Lee Yu2019-04-031-4/+1
| | | | Also removes specs related to the flag
* Add line type class to diff line num cellsDouwe Maan2019-03-261-2/+2
|
* Add .code to all tables holding diffsDouwe Maan2019-03-261-2/+2
| | | | | We need this to be able to distinguish between Markdown tables and diff tables.
* Add .md to immediate parent of Markdown contentDouwe Maan2019-03-261-1/+0
|
* Expand discussion when opening link to commentHeinrich Lee Yu2019-03-261-16/+10
| | | | Makes discussion expansion depend on `discussion.expanded`
* Merge branch 'winh-toggle-comment-draft' into 'master'Kushal Pandya2019-03-222-23/+34
|\ | | | | | | | | | | | | Display draft when toggling replies Closes #48211 and #56364 See merge request gitlab-org/gitlab-ce!25563
| * Remove autosave logic from NoteableDiscussion componentWinnie Hellmann2019-03-211-17/+4
| |
| * Pass autosaveKey from NoteableDiscussion to NoteFormWinnie Hellmann2019-03-211-0/+5
| |
| * Use autosave utilities in NoteForm componentWinnie Hellmann2019-03-211-1/+20
| |
| * Rename initialDiscussion to firstNote in NoteableDiscussionWinnie Hellmann2019-03-121-7/+7
| |
* | Move reply to comment tooltip to the topWinnie Hellmann2019-03-201-1/+1
| |
* | Initialize discussion filter after notes appHeinrich Lee Yu2019-03-193-11/+11
| | | | | | | | Also sets default selectedValue for discussion filter when not logged in
* | Remove icon in activity only message on smaller screen widthsAnnabel Dunstone Gray2019-03-121-1/+1
| |
* | Keep inline as much as possible in system notes on issuableTakuya Noguchi2019-03-121-21/+19
|/ | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Fix gl-loading-icon bug before gitlab-ui updateBrandon Labuschagne2019-03-081-1/+0
|
* Handle transformed notes from polling responseHeinrich Lee Yu2019-03-061-0/+4
| | | | Transforms notes when the note was transformed in some other tab
* Move EE differences in CE diff files into CEPhil Hughes2019-03-013-8/+13
| | | | 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
* CE port of noteable-discussion-ee-differencesPhil Hughes2019-02-282-1/+14
|
* Merge branch 'qa-fix-import-github-repo-spec-2' into 'master'Ramya Authappan2019-02-271-1/+1
|\ | | | | | | | | | | | | Fix `import_github_repo_spec.rb` Closes #55700 See merge request gitlab-org/gitlab-ce!25133
| * Update GitHub Import testSanad Liaquat2019-02-251-1/+1
| | | | | | | | | | | | Removes the unnecessary :orchestrated tag and updates a few selectors. Also wait_for_success for import before proceeding. The test is currently placed in quarantine because of a bug.
* | Add support for toggling discussion filter from notes sectionKushal Pandya2019-02-264-2/+83
| | | | | | | | | | | | Adds discussion note style section under notes app from where user can toggle discussion when they have selected a filter to show only system notes.
* | Extract ResolveWithIssueButton from NoteableDiscussion componentWinnie Hellmann2019-02-252-10/+43
|/
* CE backport of design-management-issue-tabPhil Hughes2019-02-201-0/+7
| | | | Backports template and Vue changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9632 to CE
* Remove noteId prop from ReplyButton componentWinnie Hellmann2019-02-185-31/+33
| | | | Move convertToDiscussion call from ReplyButton to NoteApp component
* Cancelling reply reverts comment to initial stateConstance Okoghenun2019-02-184-0/+16
| | | | | | 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
* Replaced part of diff file properties with diff viewerNatalia Tepluhina2019-02-151-7/+11
| | | | | | - replaced file.too_large - replaced file.text - replaced file.collapsed
* Merge branch '55206-discussion-text-alignment' into 'master'Annabel Dunstone Gray2019-02-151-24/+26
|\ | | | | | | | | | | | | Correctly align resolved discussion text Closes #55206 See merge request gitlab-org/gitlab-ce!25001
| * Correctly align resolved discussion textMark Florian2019-02-121-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The header of the `NoteableDiscussion` component is really a media object[1], but it didn't have the right DOM or styling to correctly achieve it. This change wraps all the children of the media object (except the floated image) in a dedicated `.timeline-content` element, which is styled to establish its own block formatting context[2]. This ensures *all* of its children sit left-aligned to the right edge of the float. In short, the DOM used to look like this: .discussion-header .timeline-icon note-header note-edited-text and now it looks like this: .discussion-header .timeline-icon .timeline-content (with own formatting context) note-header note-edited-text This is also now more consistent with the DOM of `NoteableNote`, in that `.timeline-icon` and `.timeline-content` seem to want to be siblings. [1]: http://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/ [2]: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
* | Add fix for suggested changes syntax highlightingAnnabel Dunstone Gray2019-02-141-0/+1
| | | | | | | | Removed the `note-text` class since it conflicted other classes.
* | Fix polling for replies to individual notesHeinrich Lee Yu2019-02-146-24/+49
| | | | | | | | | | Sets `updated_at` so that the transformed note is returned together with the new reply
* | Merge branch '55209-tool-tip-hides-menu-item' into 'master'Phil Hughes2019-02-121-0/+6
|\ \ | |/ |/| | | | | | | | | Resolve "Tool Tip Hides Menu Item" Closes #55209 See merge request gitlab-org/gitlab-ce!24285
| * Hide More Actions tooltip when the menu opens55209-tool-tip-hides-menu-itemSimon Knox2019-02-121-0/+6
| |
* | Refactor draft_note_spec.js to Vue test utils (CE backport)Winnie Hellmann2019-02-081-0/+1
| |
* | Changed default tooltip position to be top, instead of bottomtooltips-to-topDimitrie Hoekstra2019-02-062-7/+4
|/ | | | | | - Tooltips, by default, will display at the top of the element, instead of at the bottom - Note actions and emoji awards tooltips are now top-positioned
* Add reply to notes to turn into discussionsHeinrich Lee Yu2019-02-068-2/+97
|
* Merge branch 'jprovazn-remove-redcarpet' into 'master'Grzegorz Bizon2019-02-055-26/+1
|\ | | | | | | | | | | | | Remove Redcarpet markdown engine Closes #51374 See merge request gitlab-org/gitlab-ce!24819
| * Remove Redcarpet markdown engineJan Provaznik2019-02-045-26/+1
| | | | | | | | | | This engine was replaced with CommonMarker in 11.4, it was deprecated since then.
* | Extract ReplyPlaceholder from NoteableDiscussion componentWinnie Hellmann2019-02-052-8/+20
|/
* refactor(NoteableDiscussion): Extracted ResolveDiscussionButton fromMartin Hobert2019-01-282-10/+36
|
* Merge branch 'refactor/56369-extract-jump-to-next-discussion-button' into ↵Phil Hughes2019-01-282-10/+34
|\ | | | | | | | | | | | | | | | | 'master' Refactor/56369 extract jump to next discussion button Closes #56369 See merge request gitlab-org/gitlab-ce!24506
| * refactor(NoteableDiscussion): Extracted JumpToNextDiscussionButton to its ↵Martin Hobert2019-01-282-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | own component fix #56369 chore(changelog): Added changelog entry chore(prettier): Formated with prettier test(JumpToNextDiscussionButton): Added test for new component test(Refactored tests to use vue test-utils): chore(translations): Added newly generated locales Update spec/javascripts/notes/components/discussion_jump_to_next_button_spec.js chore(prettier): Formated with prettier test(JumpToNextDiscussionButton): Updated tests to use a local vue instance test(JumpToNextDiscussionButton): Running tests in async to prevent maximum stack overflow
* | Adjusts suggestions unable to be appliedOswaldo Ferreira2019-01-251-5/+6
| | | | | | | | | | | | | | | | | | | | 1. Presents the system error message when available, when applying suggestions 2. Adjusts target branch updates affecting MRs pointing to it when there are previously created suggestions in the MR. We just need to compare the HEAD shas from position and MR source branch.
* | Merge branch '53950-commit-comments-displayed-on-a-merge-request' into 'master'56221-spec-features-projects-clusters-gcp_spec-rb-appears-to-be-making-real-google-api-requestsMike Greiling2019-01-242-7/+37
|\ \ | | | | | | | | | | | | | | | | | | Resolve "Commit comments displayed on a merge request that contains that commit no longer specify which commit they come from" Closes #53950 See merge request gitlab-org/gitlab-ce!24427
| * | Updated i18n format for note header commit linkConstance Okoghenun2019-01-241-11/+4
| | | | | | | | | | | | Unified commit link in note header action text
| * | Updated i18n for discussion note commit SHAConstance Okoghenun2019-01-231-6/+18
| | | | | | | | | | | | Ensured that sentence order is preserved when translating
| * | Added i18n to discussion note commit SHAConstance Okoghenun2019-01-221-2/+3
| | |
| * | Refactored implementation of discussion note headerConstance Okoghenun2019-01-181-23/+10
| | | | | | | | | | | | | | | - Removed use of v-html - Removed HTML content from the computed property
| * | Display "commented" only for commit discussions on merge requestsConstance Okoghenun2019-01-172-2/+39
| |/ | | | | | | | | Add commit prop to NoteableNote component and pass it from NoteableDiscussion
* | Trim first char of diff line text on diff discussionsDouwe Maan2019-01-224-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'fix-note-i18n' into 'master'Phil Hughes2019-01-211-1/+2
|\ \ | |/ |/| | | | | Add a string externalisation in note form See merge request gitlab-org/gitlab-ce!24514