Implement UI::Configuration so users can customize Flipper UI text#306
Merged
AlexWheeler merged 1 commit intomasterfrom Nov 21, 2017
Merged
Implement UI::Configuration so users can customize Flipper UI text#306AlexWheeler merged 1 commit intomasterfrom
AlexWheeler merged 1 commit intomasterfrom
Conversation
jnunemaker
approved these changes
Nov 17, 2017
Collaborator
jnunemaker
left a comment
There was a problem hiding this comment.
I like it! I'm 100% down with shipping this as is. Some thoughts for this PR or a follow up:
feature_creation_enabledandapplication_breadcrumb_href- Should we move these into UI::Configuration? If we wanted backwards compatibility we could even make the current writer methods just update the configuration instance.
Collaborator
|
I hit submit too soon. Lol.
I like the way you did it. I'm a fan of pure/boring ruby over DSL's. |
2cec712 to
3deef8e
Compare
Collaborator
Author
|
@jnunemaker great idea, I'll add move feature_creation_enabled / application_breadcrumb_href to UI::Configuration in next PR. what do you think about the failing line length code climate issues for the strings. splitting them into multi lines to make code climate happy makes it messier imo |
3deef8e to
504fa91
Compare
Collaborator
|
I’m fine either way on line length. I usually don’t worry about stuff like
that.
…On Sat, Nov 18, 2017 at 1:25 PM Alex Wheeler ***@***.***> wrote:
@jnunemaker <https://github.com/jnunemaker> great idea, I'll add move
feature_creation_enabled / application_breadcrumb_href to UI::Configuration
in next PR.
what do you think about the failing line length code climate issues for
the strings. splitting them into multi lines to make code climate happy
makes it messier imo
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#306 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAA68Rmy4BdHgvr6UTJgrtYv1YNEhWyks5s3yEFgaJpZM4QiG2V>
.
|
504fa91 to
3ced5fb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
spike on #63 to allow users to customize the Flipper UI text, curious what everyone thinks.
results in:

I also played with the idea of making the configuration have a bit cleaner dsl something like. the latter is cleaner, but the above is simpler, would be cool to hear thoughts on this: