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

[Vue] remove angularjs from Dashboard plugin #19442

Merged
merged 33 commits into from Aug 11, 2022

Conversation

diosmosis
Copy link
Member

Description:

This PR depends on #19391.

Changes:

  • Remove DashboardSettingsControl.php and replace w/ DashboardSettings Vue component.
  • Remove use of angularjs in twig templates
  • Remove use of angular services in vanilla JS files (no longer allowing angularjs in widget html, so this PR may cause some regressions).
  • Allow specifying a onClosed() function to ExpandOnClick to execute custom logic when a dropdown is closed.
  • Allow specifying more custom options for Tooltips directive.

Review

@diosmosis diosmosis added this to the 5.0.0 milestone Jun 29, 2022
@diosmosis diosmosis marked this pull request as draft June 29, 2022 20:38
…o-org/matomo into vue-remove-angularjs-SegmentEditor
…g/matomo into vue-remove-angularjs-Dashboard
@diosmosis diosmosis added the Needs Review PRs that need a code review label Jul 11, 2022
@diosmosis diosmosis marked this pull request as ready for review July 11, 2022 05:14
@github-actions
Copy link
Contributor

This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers

@github-actions github-actions bot added the Stale The label used by the Close Stale Issues action label Jul 19, 2022
@diosmosis diosmosis added the Do not close PRs with this label won't be marked as stale by the Close Stale Issues action label Jul 19, 2022
@github-actions github-actions bot removed the Stale The label used by the Close Stale Issues action label Jul 20, 2022
@github-actions
Copy link
Contributor

This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers

@github-actions github-actions bot added Stale The label used by the Close Stale Issues action and removed Stale The label used by the Close Stale Issues action labels Jul 28, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2022

This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers

@github-actions github-actions bot added Stale The label used by the Close Stale Issues action and removed Stale The label used by the Close Stale Issues action labels Aug 5, 2022
Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

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

Had a look at the code changes and clicked through the UI. Couldn't find any issues so far. Tests are also passing.

@sgiehl sgiehl merged commit a7b1f06 into 5.x-dev Aug 11, 2022
@sgiehl sgiehl deleted the vue-remove-angularjs-Dashboard branch August 11, 2022 14:16
@justinvelluppillai justinvelluppillai added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Sep 29, 2022
bx80 pushed a commit that referenced this pull request Nov 25, 2022
* remove use of angularjs from SegmentEditor plugin

* remove import added by phpstorm

* make sure to export comparison service instance not just class

* built vue files

* remove angularjs from Dashboard plugin

* built vue files

* fixing some issues

* fix initial value for segment definition

* treat null, undefined and empty string segment value the same

* Update expected screenshots

* try to fix timing error in test

* Allow composer plugins for dev dependency codesniffer to fix travis builds.

* get to load in UI

* getting dashboard settings control to work

* fixing UI test issues, reintroduce compileAngularComponents (will remove calls in CoreHome PR)

* fixing some more issues

* hide the dashboard manager on initial display as before

* update expected screenshots

* fixing DashboardManager UI test that previously used the uiControlObject property

* fix race condition in dashboard ajax requests/aborts

* remove duplicate translation

* remove use of html_attr escape

* remove unused use statements

* fix shown entity id in reporting menu

Co-authored-by: sgiehl <stefan@matomo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do not close PRs with this label won't be marked as stale by the Close Stale Issues action Needs Review PRs that need a code review 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

3 participants