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

fix: Wave generator UI changes #1957

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

neel1998
Copy link
Member

@neel1998 neel1998 commented Aug 22, 2019

Fixes #1956

Changes:

  1. Added separate buttons for digital/analog mode
  2. Remove wave titles as mentioned in the issue
  3. Added left/right arrows instead of up/down arrows for seekbar
  4. Added switching effect to freq/phase/duty buttons
  5. Added separate buttons for sin and triangular wave
  6. Removed decimals from values of freq/phase/duty
  7. removed toast when changing to digital mode
  8. Made status bar visible

Screenshot/s for the changes:
20190823_201757

Checklist: [Please tick following check boxes with [x] if the respective task is completed]

  • I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • My code does not contain any extra lines or extra spaces
  • I have requested reviews from other members

APK for testing:
wave.zip

@neel1998 neel1998 added the In Progress Developer is working on the problem label Aug 22, 2019
@neel1998 neel1998 self-assigned this Aug 22, 2019
@CloudyPadmal
Copy link
Collaborator

@adityastic it's WIP

@neel1998 neel1998 force-pushed the wave_gen_ui branch 2 times, most recently from 6797b02 to 0711c76 Compare August 23, 2019 13:23
@neel1998 neel1998 added Enhancement Improvement to an existing feature and removed In Progress Developer is working on the problem labels Aug 23, 2019
@neel1998 neel1998 requested a review from CloudyPadmal August 23, 2019 13:26
Copy link
Collaborator

@CloudyPadmal CloudyPadmal left a comment

Choose a reason for hiding this comment

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

  1. Apply the switching behavior to "Freq" and "Phase" buttons.
  2. Remove decimals from from both "Frequency" and "Phase". Use whole number; no decimals
  3. No need to show "Wave Pins will be disabled" toast as it was something used in the older UI
  4. Add two buttons (half the size of what it is now) instead of one "Sine" button in analog mode and use switching behavior (active one is red) to both of them. Otherwise user have to click and see what that button do. (Discussed in meeting)

Copy link
Collaborator

@CloudyPadmal CloudyPadmal left a comment

Choose a reason for hiding this comment

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

Android status bar is missing from Wave Generator UI. Compare with Power Source UI.

@neel1998
Copy link
Member Author

@CloudyPadmal I have made the requested changes

@neel1998
Copy link
Member Author

@mariobehling @CloudyPadmal please review and merge so that I can start working on wave preview issue #1938

@CloudyPadmal CloudyPadmal merged commit 2a05ced into fossasia:development Aug 26, 2019
@neel1998 neel1998 deleted the wave_gen_ui branch August 27, 2019 13:57
makoteq pushed a commit to makoteq/pslab-android that referenced this pull request Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wave generator main Screen UI changes
3 participants