Skip to content

moved logs from drawer menu to the settings - #1552

Merged
AndyScherzinger merged 3 commits into
masterfrom
1432_logs_to_settings_screen
May 18, 2016
Merged

AndyScherzinger merged 3 commits into
masterfrom
1432_logs_to_settings_screen

Conversation

@AndyScherzinger

Copy link
Copy Markdown
Contributor

As discussed in #1432 the Logs menu item from the drawer has been moved to the settings screen.

@jancborchardt I moved it to the "more" section instead of the "advanced" section - is this correct or should I move it to the "advanced section?
device-2016-03-22-145222

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @davivel, @tobiasKaminsky and @jabarros to be potential reviewers

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

@jancborchardt I can also move the settings item in the drawer to the bottom, or separate it with a line like ather apps do it. Whatever floats your boat 😉

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

Google apps just separate it with a line:
Gmail
device-2016-03-22-150703
Drive
device-2016-03-22-150808
Hangout
device-2016-03-22-150738

Dropbox - top right
device-2016-03-22-150846

Amaze file manager like Google bat as a sticky footer
device-2016-03-22-150908

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

@jancborchardt having done a local implementation using the Support Library for the drawer's content implementation the menu items would look like this...
device-2016-03-22-200828
with an item "active":
device-2016-03-22-200848
The difference is very, very subtile since the unactive grey is quite close to the primary color (dark blue).
The Drawer width has also increased to our actual one since this is the standard with in material...

What do you think? Moving on with this has it's benefits since checked/unchecked state, items via native menu.xml files/groups would then be available :)

@jancborchardt

Copy link
Copy Markdown
Contributor

I'd say either we stick it to the bottom or we leave it as it is. The line just increases the focus on settings more, which is not what we want. ;)

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

Okay :9 So when the reliable uploads are in place (on master) with the new drawer it would then look like this:
device-2016-03-22-224635

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

I removed the new drawer implementation here and started a new PR for the drawer over here: #1559
So this PR is basically a move of the logs to the settings screen and a removal from the drawer so you can forget about the latest screenshots since this won't be part of this PR anymore.

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

@rperezb @jancborchardt @davivel @tobiasKaminsky This is DONE and can be reviewed...

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

👍 code is fine!

@AndyScherzinger
AndyScherzinger force-pushed the 1432_logs_to_settings_screen branch 2 times, most recently from 55fbfba to 9c2c936 Compare April 14, 2016 07:46
@ghost ghost mentioned this pull request Apr 14, 2016
@AndyScherzinger
AndyScherzinger force-pushed the 1432_logs_to_settings_screen branch from 9c2c936 to 363878b Compare April 14, 2016 11:56
@AndyScherzinger
AndyScherzinger force-pushed the 1432_logs_to_settings_screen branch 3 times, most recently from 249ae77 to ae69363 Compare April 26, 2016 20:48
@AndyScherzinger
AndyScherzinger force-pushed the 1432_logs_to_settings_screen branch from ae69363 to 85d862c Compare May 3, 2016 17:27
@AndyScherzinger

AndyScherzinger commented May 3, 2016 •

Copy link
Copy Markdown
Contributor Author

pinging @davivel and @malkomich -> minor change, freshly rebased, community reviewed, resolving #1432 raised by @jancborchardt

@rperezb

rperezb commented May 6, 2016

Copy link
Copy Markdown

@jancborchardt @AndyScherzinger we will check this after the team week thx

@AndyScherzinger
AndyScherzinger force-pushed the 1432_logs_to_settings_screen branch 2 times, most recently from c1500d9 to 56e7fdb Compare May 9, 2016 11:24
@jabarros

Copy link
Copy Markdown
Contributor

👍

Comment thread res/values/setup.xml Outdated
<bool name="imprint_enabled">false</bool>
<bool name="recommend_enabled">true</bool>
<bool name="feedback_enabled">true</bool>
<bool name="logger_enabled">true</bool>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For the same reason the other are there ;) --> with this flag you can decide if the log part will be rendered in the settings screen or not. We can take it out if you want to. I just thought like with imprint, feedback etc. you would like to be able to have to feature toggle for logging also since I discussed the move to the settings screen with @jancborchardt and we agreed that after moving it to the settings screen it will also be visible in the official release.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, I understand now. I totally oversaw the intention of making the menu available in the official release of the app, not only in debug mode. In this case, having this option here makes a lot of sense.

The point is, I'm not so sure we should have this is the official app. I will follow this up in #1432

@davivel

davivel commented May 11, 2016

Copy link
Copy Markdown
Contributor

👎 ; please, see my question

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

😉 please see my answer 😃

@davivel

davivel commented May 11, 2016

Copy link
Copy Markdown
Contributor

Thanks, @AndyScherzinger .

Blocked until a decision is taken about make the logs available in release mode or not.

cc @rperezb

@jancborchardt

Copy link
Copy Markdown
Contributor

Ok – let’s make it available in debug mode / beta only maybe for now. And just move the place of it. We’re doing 2 separate steps here (moving, and making it visible for normal users), that’s the problem.

@davivel

davivel commented May 12, 2016

Copy link
Copy Markdown
Contributor

Thanks, @jancborchardt.

Proposal: let's keep the option in settings.xml, but with default value to false. Besides, let's modify the condition in Preferences.java so that the option is available if (loggerEnabled || BuildConfig.DEBUG). Seems to me more comfortable.

@AndyScherzinger , what do you think?

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

Yeah, sounds good to me! I can make the change during the next days! :)

@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

@davivel added the changes as discussed :)

@AndyScherzinger
AndyScherzinger force-pushed the 1432_logs_to_settings_screen branch from bb7c08e to 35d59a0 Compare May 15, 2016 15:53
@davivel

davivel commented May 16, 2016

Copy link
Copy Markdown
Contributor

Great job :)

👍

@jesmrec , your turn.

@jesmrec

jesmrec commented May 18, 2016

Copy link
Copy Markdown
Member

@davivel @AndyScherzinger @jabarros

Approved 👍

@jabarros

Copy link
Copy Markdown
Contributor

Cool, so it is prepared to be merged :)
@AndyScherzinger could you rebase it on master and merge it by yourself? Thanks!!

@AndyScherzinger
AndyScherzinger force-pushed the 1432_logs_to_settings_screen branch from 5c1a989 to 919fe91 Compare May 18, 2016 10:36
@AndyScherzinger AndyScherzinger added this to the 2.0.1-current milestone May 18, 2016
@AndyScherzinger
AndyScherzinger merged commit 1f0fa0a into master May 18, 2016
@AndyScherzinger

Copy link
Copy Markdown
Contributor Author

DONE! 👍

@AndyScherzinger
AndyScherzinger deleted the 1432_logs_to_settings_screen branch May 18, 2016 10:43
@rperezb

rperezb commented May 23, 2016

Copy link
Copy Markdown

Thanks!
Good to know that there is a new variable on the setup file ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants