Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds a refresh button #19261

Merged
merged 2 commits into from May 30, 2022
Merged

Conversation

korve
Copy link
Contributor

@korve korve commented May 24, 2022

Description:

this commit introduces a refresh button to every page in the CoreHome module. When the user clicks the button, the data of the current page is refreshed without reloading the page.

I've added a shortcut. So if this PR makes it into production, i think the documentation needs to be upgraded at https://matomo.org/faq/how-to/faq_24340/

Refs #11047

Screencast_from_05-24-2022_09.01.27_PM.mp4

Review

this commit introduces a refresh button to every page in the CoreHome module. When the user clicks the button, the data of the current page is refreshed without reloading the page.

Refs matomo-org#11047
@sgiehl sgiehl added the Needs Review PRs that need a code review label May 26, 2022
Copy link
Contributor

@peterhashair peterhashair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we use reload icon, I believe other places are using that one, a couple of test screenshots needs to be updated which I can do, plugins/CoreHome/lang/en.json should be reverted, it does translate automatically by the system but other than that looks good.

plugins/CoreHome/templates/_headerMessage.twig Outdated Show resolved Hide resolved
plugins/CoreHome/templates/_headerMessage.twig Outdated Show resolved Hide resolved
@peterhashair
Copy link
Contributor

@justinvelluppillai I feels like this one is good to merge, I will fix the UI tests and lang in another PR.

@justinvelluppillai
Copy link
Contributor

Sounds good @peterhashair - you can go ahead and do that. It might be better to create a branch off this branch and fix the UI tests and remove the de translation before merging if you know how.

@peterhashair
Copy link
Contributor

@justinvelluppillai sounds good.

@peterhashair peterhashair merged commit c49e44e into matomo-org:4.x-dev May 30, 2022
peterhashair pushed a commit that referenced this pull request May 30, 2022
* feat: adds a refresh button

this commit introduces a refresh button to every page in the CoreHome module. When the user clicks the button, the data of the current page is refreshed without reloading the page.

Refs #11047

* Update _headerMessage.twig

update icon and some css

* revert de lang

revert de lang

* update screenshots

update screenshots

* update screenshots

update screenshots

Co-authored-by: Andre <aeckardt@outlook.com>
@justinvelluppillai justinvelluppillai added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. and removed Needs Review PRs that need a code review labels Jul 8, 2022
@sgiehl sgiehl added this to the 4.11.0 milestone Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants