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: file menu upgrade (DHIS2-9821) #1474

Merged
merged 12 commits into from
Feb 19, 2021
Merged

chore: file menu upgrade (DHIS2-9821) #1474

merged 12 commits into from
Feb 19, 2021

Conversation

turban
Copy link
Contributor

@turban turban commented Feb 15, 2021

Fixes: https://jira.dhis2.org/browse/DHIS2-9821

This PR upgrades the file menu to the latest version. It required some code changes as we didn't use 'access', 'update', 'manage' and 'delete' fields for analytical objects.

The PR also adds a missing translation.

Before this PR:

Screenshot 2021-02-16 at 10 11 15

After this PR:

Screenshot 2021-02-16 at 10 10 44

@turban turban changed the title chore: file menu upgrade chore: file menu upgrade (DHIS2-9821) Feb 16, 2021
@turban turban requested a review from edoardo February 16, 2021 09:16
@turban turban marked this pull request as draft February 16, 2021 10:51
@turban
Copy link
Contributor Author

turban commented Feb 16, 2021

We get an error when using "Rename" and "Delete" in the File menu, so this PR can't be merged yet:

Screenshot 2021-02-16 at 11 38 18

@turban
Copy link
Contributor Author

turban commented Feb 16, 2021

Upgraded @dhis2/app-runtime to ^2.7.0

ran npx yarn-deduplicate --packages @dhis2/app-runtime to make sure the same version is used,

@turban
Copy link
Contributor Author

turban commented Feb 16, 2021

Upgraded @dhis2/ui to ^6.2.2

@turban turban marked this pull request as ready for review February 18, 2021 15:01
@turban
Copy link
Contributor Author

turban commented Feb 18, 2021

The above issue was solved by upgrading to @dhis2/analytics 15.0.0.
It also required styled-jsx to be installed, which is now a peer dependency of @dhis2/analytics.

@turban turban merged commit 235ed1c into master Feb 19, 2021
@turban turban deleted the chore/file-menu branch February 19, 2021 15:36
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants