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

chore: use @dhis2/d2-ui-analytics package for shared components #242

Merged
merged 10 commits into from
Apr 15, 2019

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Apr 9, 2019

The internal "shared" package is removed. Instead, get ItemSelector from @dhis2/d2-ui-analytics, and move the colors file back to app since it is only used there, and not in the plugin.

This PR does not introduce any functional changes.

The next step is to use the DataDimension and DynamicDimension from @dhis2/d2-ui-analytics, but that will be done as a separate commit.

Test cases:

  • check that DataDimension and DynamicDimension selectors work as before
  • cursory check that colors in the app are as before.

@jenniferarnesen jenniferarnesen changed the title chore: use @dhis2/d2-ui-analytics package for shared components WIP: chore: use @dhis2/d2-ui-analytics package for shared components Apr 9, 2019
@edoardo
Copy link
Member

edoardo commented Apr 11, 2019

DimensionsPanel and the various dialogs can also be imported from d2-ui-analytics now, similarly to how it's done in dashboards-app.
This requires some changes to adapt the app's DialogManager and possibly other parts.

@jenniferarnesen
Copy link
Collaborator Author

DimensionsPanel and the various dialogs can also be imported from d2-ui-analytics now, similarly to how it's done in dashboards-app.

Yes, I thought I would do that as a separate step. This PR is mostly about removing the "shared" package.

@edoardo
Copy link
Member

edoardo commented Apr 11, 2019

Right. I should have read the PR description better 😉

@jenniferarnesen jenniferarnesen changed the title WIP: chore: use @dhis2/d2-ui-analytics package for shared components chore: use @dhis2/d2-ui-analytics package for shared components Apr 12, 2019
@jenniferarnesen jenniferarnesen merged commit 6d1d25d into master Apr 15, 2019
@jenniferarnesen jenniferarnesen deleted the chore/use-d2-ui-analytics branch April 15, 2019 06:51
jenniferarnesen added a commit that referenced this pull request Apr 15, 2019
The internal "shared" package is removed. Instead, get ItemSelector from @dhis2/d2-ui-analytics, and move the colors file back to app since it is only used there, and not in the plugin.

This PR does not introduce any functional changes.
jenniferarnesen added a commit that referenced this pull request Apr 15, 2019
#256)

The internal "shared" package is removed. Instead, get ItemSelector from @dhis2/d2-ui-analytics, and move the colors file back to app since it is only used there, and not in the plugin.

This commit does not introduce any functional changes.
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 33.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 33.1.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants