Commit Graph

50 Commits

Author SHA1 Message Date
GitLab Bot 524e972622 Add latest changes from gitlab-org/gitlab@master 2022-02-15 12:14:49 +00:00
GitLab Bot e0277d5393 Add latest changes from gitlab-org/gitlab@master 2022-02-10 18:18:16 +00:00
GitLab Bot 4481a56a94 Add latest changes from gitlab-org/gitlab@master 2021-11-15 18:12:21 +00:00
GitLab Bot e5f2a04e9d Add latest changes from gitlab-org/gitlab@master 2021-06-29 12:08:48 +00:00
GitLab Bot be8b477154 Add latest changes from gitlab-org/gitlab@master 2021-06-29 03:07:32 +00:00
GitLab Bot 0eeb173641 Add latest changes from gitlab-org/gitlab@master 2021-03-30 06:09:35 +00:00
GitLab Bot cd40f83527 Add latest changes from gitlab-org/gitlab@master 2021-02-23 09:10:45 +00:00
GitLab Bot b4e854a900 Add latest changes from gitlab-org/gitlab@master 2021-02-16 15:09:50 +00:00
GitLab Bot bc872593ce Add latest changes from gitlab-org/gitlab@master 2021-02-16 00:09:01 +00:00
GitLab Bot dcacb5daf7 Add latest changes from gitlab-org/gitlab@master 2021-01-11 18:10:43 +00:00
GitLab Bot db3acec198 Add latest changes from gitlab-org/gitlab@master 2021-01-04 18:10:11 +00:00
GitLab Bot d15aa4cf2e Add latest changes from gitlab-org/gitlab@master 2020-12-29 12:10:19 +00:00
GitLab Bot b4ddc24045 Add latest changes from gitlab-org/gitlab@master 2020-12-08 00:09:45 +00:00
GitLab Bot e701659ba3 Add latest changes from gitlab-org/gitlab@master 2020-12-03 21:09:35 +00:00
GitLab Bot ca7bdd871e Add latest changes from gitlab-org/gitlab@master 2020-10-23 09:08:41 +00:00
GitLab Bot 419f9c0ac3 Add latest changes from gitlab-org/gitlab@master 2020-10-07 09:09:13 +00:00
GitLab Bot 83fc2f3dc8 Add latest changes from gitlab-org/gitlab@master 2020-07-08 21:09:09 +00:00
GitLab Bot 3aaaf9cd8e Add latest changes from gitlab-org/gitlab@master 2020-06-29 15:08:56 +00:00
GitLab Bot 34e72e5412 Add latest changes from gitlab-org/gitlab@master 2020-05-21 18:08:27 +00:00
GitLab Bot e33f87ac0f Add latest changes from gitlab-org/gitlab@master 2020-04-21 15:21:10 +00:00
GitLab Bot dc003cd08b Add latest changes from gitlab-org/gitlab@master 2020-03-26 18:08:03 +00:00
GitLab Bot 33795139ea Add latest changes from gitlab-org/gitlab@master 2020-02-19 18:09:10 +00:00
GitLab Bot 2399724614 Add latest changes from gitlab-org/gitlab@master 2020-01-21 03:08:37 +00:00
GitLab Bot cd4cb29b2c Add latest changes from gitlab-org/gitlab@master 2019-12-03 12:06:34 +00:00
GitLab Bot 7515ec41c5 Add latest changes from gitlab-org/gitlab@master 2019-10-28 18:06:15 +00:00
GitLab Bot b3e4ec8e8a Add latest changes from gitlab-org/gitlab@master 2019-10-23 09:06:03 +00:00
GitLab Bot dea6ebd31a Add latest changes from gitlab-org/gitlab@master 2019-09-30 12:06:01 +00:00
GitLab Bot a93dfc1b7e Add latest changes from gitlab-org/gitlab@master 2019-09-14 00:06:25 +00:00
Patrick Derichs a13abd6731 Add edit_note and spec for editing quick actions
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
2019-08-26 09:20:00 +00:00
Heinrich Lee Yu 7a6ecbcb18 Improve quick action error messages
Standardize punctuation and format
2019-08-13 00:40:39 +00:00
🙈 jacopo beschi 🙉 c96e125700 Make quick action "commands applied" banner more useful
Extends the quick actions "commands applied" banner to show
the quick action preview text, but with everything in past tense.
2019-07-29 22:35:29 +00:00
Felipe Artur 61bca6222c Move some quick actions feature specs to unit tests
Move some feature specs for issues/merge requests quick actions
to unit tests. They are taking too long to run on the pipelines.
2019-06-18 14:26:48 +00:00
Heinrich Lee Yu 96ed5a8bd7 Upgrade to Capybara 3
Fix whitespace in specs because normalize_ws is slightly
different from Capybara 2 behavior
2019-06-12 18:40:18 +08:00
Lin Jen-Shin 52b9797af2 Avoid quick action prompt blocking preview button 2019-05-07 01:07:23 +08:00
Victor Wu f4089e1e02 Replace `No due date` with `None` 2019-04-17 17:17:59 +00:00
Alexandru Croitor 116a220ca2 Extract move quick action spec to shared example 2019-04-15 19:24:22 +03:00
Alexandru Croitor 8fdfd521b2 Extract due quick action to shared example 2019-04-08 13:22:20 +03:00
Alexandru Croitor 6cb58cdb0a Extract create merge request quick action spec 2019-04-08 11:30:54 +03:00
Sean McGivern 435c492bac Merge branch '59570-wip-quick-action' into 'master'
Extract w-i-p quick action to a shared example

Closes #59570

See merge request gitlab-org/gitlab-ce!26923
2019-04-08 07:54:25 +00:00
Alexandru Croitor 42fe7e91b3 Extract wip quick action to a shared example 2019-04-05 23:10:31 +03:00
Alexandru Croitor 5b64beca82 Extract duplicate quick action spec to a shared example 2019-04-05 23:07:02 +03:00
Sean McGivern ca72809cb0 Merge branch '59570-remove-due-date-quick-action' into 'master'
Extract remove due date spec to shared example

Closes #59570

See merge request gitlab-org/gitlab-ce!26922
2019-04-05 09:29:10 +00:00
Sean McGivern e301cc535c Merge branch '59570-target-branch-quick-action' into 'master'
Extract target branch quick action to shared example

Closes #59570

See merge request gitlab-org/gitlab-ce!26933
2019-04-05 09:02:09 +00:00
Alexandru Croitor 08e2bc390f Extract remove due date spec to shared example 2019-04-05 00:25:34 +03:00
Alexandru Croitor 8bf88876b8 Extract confidential quick action spec to a shared example 2019-04-04 15:40:49 +03:00
Alexandru Croitor 5ec780f431 Extract target branch quick action to shared example 2019-04-04 15:32:40 +03:00
Sean McGivern e9699cd930 Merge branch '59570-tag-quick-action' into 'master'
Move tag quick action spec to shared example

Closes #59570

See merge request gitlab-org/gitlab-ce!26904
2019-04-04 10:30:09 +00:00
Alexandru Croitor 79fdee35ec Extract merge quick action to a shared example 2019-04-03 15:00:18 +03:00
Alexandru Croitor b87b4d75b3 Move tag quick action spec to shared example 2019-04-03 12:28:07 +03:00
Alexandru Croitor 4b9ff4d2fe Extend quick actions dsl
* Extend quick actions dsl to allow specifying model types
to which given quick action applies
* Rename issuable attribute to noteable in interpret_service.rb
* Refactor and reorder quick action specs
* Create a shared example spec for each quick action to be used for
issue, merge request and commit specs.

https://gitlab.com/gitlab-org/gitlab-ce/issues/50199
2019-03-29 12:53:28 +02:00