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

Added deprecation decorator #419

Merged
merged 8 commits into from
Apr 27, 2021

Conversation

rubenthoms
Copy link
Collaborator

  • Sending deprecation warnings to frontend
  • Implemented deprecation in documentation
  • Added manual to CONTRIBUTING.md

@rubenthoms
Copy link
Collaborator Author

Requires equinor/webviz-core-components#114 to be taken in.

Copy link
Collaborator

@anders-kiaer anders-kiaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @rubenthoms 👍 This would be valuable, especially in the upcoming weeks/months when plugins in https://github.com/equinor/webviz-subsurface will be consolidated ✂️ Some feedback/suggestions below.

@rubenthoms rubenthoms requested a review from anders-kiaer April 21, 2021 07:04
Copy link
Collaborator

@anders-kiaer anders-kiaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great @rubenthoms! 🍾 Important new functionality in less than 600 lines of code.

LGTM! 🌞 I think we are close of merging this in. Some comments below you can consider, most/all are minor only.

@rubenthoms rubenthoms force-pushed the add-deprecation-warning branch from 9109fbb to 7d4ae3a Compare April 26, 2021 13:08
- Added deprecation decorators
- Added deprecation store
- Added deprecation to auto documentation
- Added deprecation to be shown in `WebvizPluginPlaceholder` component
@rubenthoms rubenthoms force-pushed the add-deprecation-warning branch from 7d4ae3a to 76aa599 Compare April 26, 2021 13:45
@rubenthoms rubenthoms force-pushed the add-deprecation-warning branch from 5943072 to 56260e5 Compare April 26, 2021 14:35
Copy link
Collaborator

@anders-kiaer anders-kiaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final three comments. This looks fantastic 👏 - ready to go 🚀🚢

- Changed import of deprecation_store
- Renamed `webviz_deprecated` to `deprecation_decorators`
@rubenthoms rubenthoms requested a review from anders-kiaer April 27, 2021 08:36
@rubenthoms rubenthoms changed the title Added deprecated decorator Added deprecation decorator Apr 27, 2021
@rubenthoms rubenthoms force-pushed the add-deprecation-warning branch from 1bf274c to 6f3710e Compare April 27, 2021 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants