diff options
author | Peter Zhang <peter@innocraft.com> | 2021-11-13 02:49:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 02:49:08 +0300 |
commit | bf341b7c0ba46691bf3e475ebaa58391363cd7ec (patch) | |
tree | 232d4a0ec7aa3b8c801592872eb2d2523dc66f0e /plugins/Feedback/tests/Fixtures | |
parent | 9c58f4e71db9133b2c83d51cf700e818ec5ff7e4 (diff) |
add feedback question, remove other related. (#18262)
* remove feedback links
remove feedback links
* update screen shot
update screen shot
* add feedback question
add feedback question
* update close to icon
update close to icon
* built vue files
* remove in line css
remove in line css, change to less file
* move translation key to plugin
move translation key to plugin
* remove feedback popup
remove feedback popup
* update remove some test and feedback related
update remove some test and feedback related
* add draft tests
add draft tests
* update feedback add php and UI tests
update feedback add php and UI tests
* update test screen shots
update test screen shots
* Update demo.twig
add heart to demo page
* add feedback back in extend the modal
add feedback back in extend the modal
* update coreHome
update coreHome
* update screen shots
update screen shots
* Update FeedbackQuestion_spec.js
update js tests
* update test
update test
* built vue files
* update screenshot and js tests
update screenshot and js tests
* Update FeedbackQuestion_spec.js
test success
* update screenshot
update screenshot
* update tests
update tests
* fix test error
fix test error
* Removing the refer us popup
* Readding accidentally removed language files
* update test
* update test
* remove refer us
* update feedback umd js
update feedback umd js
* merge Andy branch
merge Andy branch and update screen shots
* revert language changes
revert language changes
* revert language changes
revert language changes
* revert language file
revert language file
* revert unrelated lang change
revert unrelated lang change
* revert lang change
revert lang change
* revert lang change
revert lang change
* Delete ControllerTest.php
remove controller test not in used
* Update core/Piwik.php
Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
* Update plugins/Morpheus/javascripts/piwikHelper.js
Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
* update a big that cancel and reopen it again
update a bug that cancel and reopen it again
* update compare error
update compare error
* Update plugins/Feedback/FeedbackReminder.php
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* update feedback show logic
update feedback show logic
* Update FeedbackQuestion_spec.js
update tests
* Update Feedback.php
remove comments
* Update .gitignore
* update vue build file
update vue build file
* built vue files
* update vue build file
update vue build file
* add close button
add close button
* add close button
add close button
* update screenshot
update screenshot
* remove umd
remove umd
* git add corehome
git add corehome
* revert all the umd file
revert all the umd file
* built vue files
* built vue files
* Update plugins/Feedback/lang/en.json
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* update per review
update per review
* built vue files
* set auto focus on modal open
set auto focus on modal open
* built vue files
* Update FeedbackQuestion.vue
add please write in english
* built vue files
* remove please write in English
remove please write in English
* built vue files
* update tests and question tests
update tests and question tests
* set cookie in the test
set cookie in the test
* Update page-renderer.js
add setCookie to tests
* update test only load 1
update test only load 1
* built vue files
* Update FeedbackQuestion_feedback_popup.png
update screen shot
* Update piwikHelper.js
update button css
* update screen shot
update screen shot
* Update plugins/Feedback/Feedback.php
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* Update plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQuestion.vue
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* Update plugins/Feedback/API.php
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* Update plugins/Feedback/API.php
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* Update core/Plugin/API.php
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* update cookie and tests
update cookie and tests
* built vue files
* test setcookie in tests
test setcookie in tests
* update tests
update tests
* update tests
update tests
* Update FeedbackQuestion_spec.js
update cookie test
* extend setCookie in test
extend setCookie in test
* update elints format
update elints format
* built vue files
* test set cookie
test set cookie
* built vue files
* Update FeedbackQuestion_spec.js
set cookie after goto URL
* Update FeedbackQuestion_spec.js
int to string
* update set cookie
update set cookie
* update test URL
update test URL
Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
Co-authored-by: Andrew Davis <andrew.affinity@gmail.com>
Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'plugins/Feedback/tests/Fixtures')
-rw-r--r-- | plugins/Feedback/tests/Fixtures/FeedbackQuestionBannerFixture.php (renamed from plugins/Feedback/tests/Fixtures/FeedbackPopupFixture.php) | 2 | ||||
-rw-r--r-- | plugins/Feedback/tests/Fixtures/ReferBannerFixture.php | 25 |
2 files changed, 1 insertions, 26 deletions
diff --git a/plugins/Feedback/tests/Fixtures/FeedbackPopupFixture.php b/plugins/Feedback/tests/Fixtures/FeedbackQuestionBannerFixture.php index 182582034c..9ea2e8a204 100644 --- a/plugins/Feedback/tests/Fixtures/FeedbackPopupFixture.php +++ b/plugins/Feedback/tests/Fixtures/FeedbackQuestionBannerFixture.php @@ -7,7 +7,7 @@ use Piwik\Date; use Piwik\Option; use Piwik\Tests\Fixtures\UITestFixture; -class FeedbackPopupFixture extends UITestFixture +class FeedbackQuestionBannerFixture extends UITestFixture { public function setUp(): void { diff --git a/plugins/Feedback/tests/Fixtures/ReferBannerFixture.php b/plugins/Feedback/tests/Fixtures/ReferBannerFixture.php deleted file mode 100644 index 7e461bdb48..0000000000 --- a/plugins/Feedback/tests/Fixtures/ReferBannerFixture.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php - - -namespace Piwik\Plugins\Feedback\tests\Fixtures; - -use Piwik\Date; -use Piwik\Option; -use Piwik\Tests\Fixtures\UITestFixture; - -class ReferBannerFixture extends UITestFixture -{ - public function setUp(): void - { - parent::setUp(); - $yesterday = Date::yesterday(); - Option::set('Feedback.nextReferReminder.superUserLogin', $yesterday->toString('Y-m-d')); - } - - public function tearDown(): void - { - parent::tearDown(); - Option::delete('Feedback.nextReferReminder.superUserLogin'); - } - -}
\ No newline at end of file |