Skip to content

[core] Refactor frontend code of plugins #238

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Dec 17, 2021

Conversation

ricoberger
Copy link
Member

@ricoberger ricoberger commented Dec 16, 2021

  • We are going back to the implementation based on "useEffect" for the
    options handling, instead of the "useMemo" handling, introduced in [core] Change options handling for various plugins #232.
  • We had a mixed usage of "setDetails" and "showDetails" across plugins.
    To clean this up we are now only using "setDetails".
  • To have the same nameing as for the panel implementation we renamed
    options to pluginOptions for the page implementation of a plugin.

We are going back to the implementation based on "useEffect" for the
options handling, instead of the "useMemo" handling, introduced in #232.
We had a mixed usage of "setDetails" and "showDetails" across plugins.
To clean this up we are now only using "setDetails".
To have the same nameing as for the panel implementation we renamed
options to pluginOptions for the page implementation of a plugin.
@ricoberger ricoberger marked this pull request as ready for review December 17, 2021 19:51
@ricoberger ricoberger merged commit 033d938 into main Dec 17, 2021
@ricoberger ricoberger deleted the core-refactor-frontend-code branch December 17, 2021 20:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant