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

Portal Quick Start refactor #7117

Merged
merged 6 commits into from
Jan 5, 2024
Merged

Conversation

sjpadgett
Copy link
Member

@sjpadgett sjpadgett commented Dec 20, 2023

Fixes #7116

Short description of what this resolves:

Refactor landing quickstart to prepare for plugin integration

Changes proposed in this pull request:

  • Pull quickstart dashboard from iFrame embed in home page twig
  • fix nav topNav syntax

- Pull quickstart dashboard from iFrame embed in home page twig
- fix nav topNav syntax
@sjpadgett sjpadgett marked this pull request as draft December 21, 2023 00:37
@sjpadgett sjpadgett marked this pull request as ready for review December 26, 2023 17:21
- add events to inject new cards in dashboard
- modify existing portal render event class to include new events for cards.
@sjpadgett
Copy link
Member Author

My plan is to create a portal addon module with first addon of patient upload images/documents. Currently that feature is already in portal code but I will move it to the new module.

I'm a little apprehensive concerning event firing for JS injection but I think moving the dashboard to render and fire dashboard events last instead of first will better manage DOMs notice. Could be wrong and if so let me know.

I'll merge this before doing module in case others want to take advantage.

@sjpadgett
Copy link
Member Author

Merging so I can create a new portal module to allow easy plugin additions to dashboard and homepage SPA and Robert Jones can test his ideas.
First module manager.

@sjpadgett sjpadgett merged commit f6b4fef into openemr:master Jan 5, 2024
24 checks passed
@sjpadgett sjpadgett deleted the portal_dashboard branch January 5, 2024 21:01
@bradymiller
Copy link
Member

nice!

2DV-2

sjpadgett added a commit to sjpadgett/openemr that referenced this pull request Feb 21, 2024
* Portal Quick Start refactor
- Pull quickstart dashboard from iFrame embed in home page twig
- fix nav topNav syntax

* refactor quickstart cardto twig

* - Move Dasboard template to render last on page
- add events to inject new cards in dashboard
- modify existing portal render event class to include new events for cards.

* - add me to authorship

* - delete obsalete quickstart page.

(cherry picked from commit f6b4fef)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Twigify Portal Quick Start landing page. Prep for plugin support.
2 participants