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: support 3rd party dashboard plugins (DHIS2-17283) #3051

Open
wants to merge 96 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f0c0334
chore: use alpha versions of platform and runtime
edoardo Jun 22, 2023
e636371
refactor: use generic Plugin component from the platform
edoardo Jun 22, 2023
e6d6110
chore: update app-runtime, cli-app-scripts deps
edoardo Oct 4, 2023
8e8af7c
refactor: handle recording on first load, pass width and height
edoardo Oct 9, 2023
08b2b61
fix: regenerate yarn.lock file
edoardo Oct 9, 2023
beed98f
chore: update app-runtime and cli-app-scripts to latest
edoardo May 24, 2024
f58f82d
fix: replace deprecated prop with new one
edoardo May 27, 2024
e167e9d
fix: avoid warning about nested a tags
edoardo May 27, 2024
e8f11ef
fix: silence linter warning
edoardo May 27, 2024
d9748f2
refactor: simplify communication for offline caching
edoardo May 27, 2024
62a47d1
chore: bump cli-app-scripts dependency
edoardo Jun 3, 2024
61afc0c
chore: bump cli-app-scripts
edoardo Jun 7, 2024
2f4e642
chore: remove unused post-robot dependency
edoardo Jul 1, 2024
05a652b
chore: fix duplicate app-runtime
edoardo Jul 5, 2024
c5b94ae
chore: resolve i18next to <21 to avoid plural strings issues
edoardo Jul 5, 2024
008e832
chore: remove i18next direct dep, resolve i18next-scanner
edoardo Jul 5, 2024
1113168
chore: cleanup deps to fix failing build
edoardo Jul 10, 2024
4088228
chore: add missing cli-style dep, remove ui resolution
edoardo Jul 10, 2024
d4d8162
fix: fix linting error
edoardo Jul 10, 2024
eda8671
chore: run prettier to fix linting errors
edoardo Jul 10, 2024
e2fccbe
test: update snapshots
edoardo Jul 10, 2024
e2efb09
fix: move visualization fetch in try/catch
edoardo Jul 11, 2024
ef8de94
chore: update cli-app-scripts, remove resolution for i18next-scanner
edoardo Jul 29, 2024
5c40e73
chore: restore lost deps
edoardo Aug 2, 2024
ee8624e
chore(deps): bump the security group with 3 updates (#3046)
dependabot[bot] Aug 6, 2024
14d6de5
chore(deps): bump ansi-regex from 3.0.0 to 3.0.1 (#3047)
dependabot[bot] Aug 6, 2024
4ef7006
chore: use alpha versions of platform and runtime
edoardo Jun 22, 2023
f88216c
chore: update app-runtime, cli-app-scripts deps
edoardo Oct 4, 2023
4132585
fix: regenerate yarn.lock file
edoardo Oct 9, 2023
6186102
chore: update app-runtime and cli-app-scripts to latest
edoardo May 24, 2024
9d40c02
feat: support custom dashboard plugins (DHIS2-17283)
edoardo Aug 9, 2024
5281d44
chore: fix linting errors
edoardo Aug 15, 2024
4a58dba
chore: restore @dhis2/ui dep that got lost
edoardo Aug 15, 2024
1a42f9e
Merge remote-tracking branch 'origin/master' into feat/support-custom…
edoardo Aug 15, 2024
f90d9db
Merge remote-tracking branch 'origin/master' into refactor/use-platfo…
edoardo Aug 16, 2024
84d44af
Merge branch 'refactor/use-platform-plugin-components' into feat/supp…
edoardo Aug 16, 2024
fe16adf
chore: remove direct dependency for @dhis2/ui
edoardo Aug 19, 2024
1fc9af9
fix: avoid crash if app details are not available
edoardo Aug 19, 2024
722f644
refactor: make the missing plugin error more generic
edoardo Aug 22, 2024
81f81f1
fix: pass dashboard filters to custom plugins
edoardo Aug 22, 2024
c840b95
refactor: use same styles for error messages
edoardo Aug 22, 2024
32aac8b
refactor: move item size logic to GridItem
edoardo Aug 30, 2024
d3a3bad
refactor: pass width/height to AppItem to fix resize/refresh issue (D…
edoardo Aug 30, 2024
2f971ce
fix: force fixed dimensions (DHIS2-17947)
edoardo Aug 30, 2024
b6b1f20
refactor: use cached callback to avoid re-render
edoardo Aug 30, 2024
a2be2f6
chore: regenerate pot file
edoardo Aug 30, 2024
a4cbdd9
fix: extend compatible version check to DV/Maps
edoardo Sep 3, 2024
c8c970e
chore: regenerate pot file
edoardo Sep 3, 2024
0935585
Merge remote-tracking branch 'origin/master' into refactor/use-platfo…
edoardo Sep 3, 2024
d283611
test: fix test for version compatibility
edoardo Sep 3, 2024
82359d8
chore: regenerate yarn.lock
edoardo Sep 3, 2024
ee9a44e
refactor: move error screen to component for easier reuse
edoardo Sep 3, 2024
269545e
Merge remote-tracking branch 'origin/refactor/use-platform-plugin-com…
edoardo Sep 4, 2024
43509c0
refactor: move fullscreen functions together in Item folder
edoardo Sep 4, 2024
e54d5a5
refactor: move FatalErrorBoundary and memoizeOne in Item folder
edoardo Sep 4, 2024
7918a23
refactor: adjust imports and use shared fullscreen functions
edoardo Sep 4, 2024
4da285e
feat: enable View fullscreen and Open in for custom plugin items
edoardo Sep 4, 2024
9deef76
chore: regenerate pot file
edoardo Sep 4, 2024
6dfc103
refactor: update resize logic
edoardo Sep 5, 2024
3628645
fix: remove unused prop
edoardo Sep 5, 2024
63899c6
chore: update deps
edoardo Sep 5, 2024
b594313
chore: regenerate pot file
edoardo Sep 5, 2024
5472ff5
test: update snapshots
edoardo Sep 5, 2024
b5ff702
test: update imports and use of data from cached data query
edoardo Sep 5, 2024
1c948a6
chore: fix linting error
edoardo Sep 5, 2024
a03b39c
test: update test for AppItem
edoardo Sep 6, 2024
27f259a
fix: update app-runtime with fix for item resize
edoardo Sep 11, 2024
437c52b
refactor: set custom title also in edit mode
edoardo Oct 10, 2024
df72351
Merge remote-tracking branch 'origin/master' into feat/support-custom…
edoardo Oct 10, 2024
10208be
fix: convert CSS for rtl support
edoardo Oct 10, 2024
927bf34
chore: regenerate yarn.lock
edoardo Oct 10, 2024
eaeb759
fix: update next app versions
edoardo Oct 15, 2024
2efc6c9
feat: pass dashboardMode to plugins
edoardo Oct 21, 2024
9aed74e
refactor: update message about missing plugin
edoardo Oct 21, 2024
d3a85c3
fix: fix URL to App management app
edoardo Oct 31, 2024
9a89866
Merge remote-tracking branch 'origin/master' into feat/support-custom…
edoardo Oct 31, 2024
27c6cbe
test: fix app-runtime resolution for Jest, updated snapshot
edoardo Nov 4, 2024
d6df695
chore: regenerate yarn.lock
edoardo Nov 11, 2024
b7b7708
chore: remove debug log
edoardo Nov 15, 2024
c501ece
chore: use latest analytics build for testing
edoardo Nov 15, 2024
65d4371
feat: use delete callback from plugins
edoardo Nov 22, 2024
79d9716
test: fix failing test
edoardo Nov 25, 2024
60806c5
fix: fix bug which caused 3rd party plugins to not always load
edoardo Dec 2, 2024
01e86dd
Merge remote-tracking branch 'origin/master' into feat/support-custom…
edoardo Dec 2, 2024
181fff6
refactor: wrap ref callback in useCallback
edoardo Dec 2, 2024
712c24c
refactor: fix sonarcloud issues
edoardo Dec 2, 2024
a6032ff
fix: fix arguments order
edoardo Dec 3, 2024
b2e7e6e
test: fix tests after refactoring
edoardo Dec 3, 2024
13a91fe
refactor: remove unnecessary filterVersion prop
edoardo Dec 6, 2024
5ee3205
fix: make filterVersion actually change
edoardo Dec 6, 2024
06c5965
Merge branch 'master' into feat/support-custom-plugin-DHIS2-17283
edoardo Dec 6, 2024
43bee37
refactor: use same style for errors
edoardo Dec 11, 2024
e37ec76
test: fix test snapshot
edoardo Dec 11, 2024
6ae05be
chore: remove unused code
edoardo Dec 12, 2024
578ade1
chore: remove unused import
edoardo Dec 12, 2024
1c2fe8f
chore: update ui dependency
edoardo Dec 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: fix failing test
edoardo committed Nov 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 79d9716067d2fcbfc5ad148634762ee13b73ba5e
1 change: 1 addition & 0 deletions src/components/Item/AppItem/__tests__/Item.spec.js
Original file line number Diff line number Diff line change
@@ -119,6 +119,7 @@ test('renders a valid App item with filter in view mode', () => {

test('renders a valid App item with filter in edit mode', () => {
const store = {
editDashboard: {},
itemFilters: {
ou: [{ path: '/rainbow' }],
editDashboard: {
Loading