-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Clean up FeatureFlagService #167
Clean up FeatureFlagService #167
Conversation
* Remove unused deps (mailer, live dashboard) * Clean up compilation warnings * Remove unused code * Rename function to more Elixir-like Featureflagservice.FeatureFlags.list_feature_flags/0 * Remove phoenix branding from UI * Add buttons and nicer links
ty for submitting @maciej-szlosarczyk. I'll check out the portal experience. @open-telemetry/demo-webstore-approvers anyone have familiarity with phoenix? From a quick review it looks like a clean up to me but I can't comment on the finer details. Adding @tsloughter to take a quick look too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
For anyone else reading this, I believe there is still more that can be cleaned up, so pls send PRs if you see anything :). Main stuff I'm thinking of that can probably go is stuff out of |
@tsloughter I think both have to stay - LiveView is used to render .heex templates, and session plug is required to use flash messages ( |
One thing to note is we're rebranding the front end. So maybe hold off on making this too aligned or detailed with the existing front end |
@maciej-szlosarczyk ah! Thanks, I would have broken that :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* Remove unused deps (mailer, live dashboard) * Clean up compilation warnings * Remove unused code * Rename function to more Elixir-like Featureflagservice.FeatureFlags.list_feature_flags/0 * Remove phoenix branding from UI * Add buttons and nicer links
* Remove unused deps (mailer, live dashboard) * Clean up compilation warnings * Remove unused code * Rename function to more Elixir-like Featureflagservice.FeatureFlags.list_feature_flags/0 * Remove phoenix branding from UI * Add buttons and nicer links
This is a cleanup of feature flag service from unused code, unwanted dependencies and some minor UI/code standard fixes.
For now the UI looks like this, I plan to update it to use the same styles as
frontend
in a separate PR.Changes
Featureflagservice.FeatureFlags.list_feature_flags/0