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

Feature/#98 feedbackonbuttons #99

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

TheRealAgentK
Copy link
Contributor

Description 📝

Fixes #98

Adds some Snackbar notification on actions in the sample app.

Type of change

Delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Updates

👉 Added Material UI lib
👉 Added Snackbars on button actions, resource strings in strings.xml

Author to check 👓

  • Project and all contained modules build
  • Tested on appropriate devices/emulators and SDK versions
    - [] Reviewed by another developer
    N/A
  • Appropriate documentation written (code comments, internal docs)

Reviewer to check ✔️

  • Change has been tested on a device/emulator
  • Code is written to standards
    - [ ] Appropriate tests have been written (code comments, internal docs)
    N/A

@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
tools:context=".SecondActivity">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch 👍🏽

Comment on lines +14 to +19
<string name="you_have_just_sent_an_error_with_raygun4android">You have just sent an error with Raygun4Android.</string>
<string name="you_just_created_and_caught_an_exception">You just created and caught an exception.</string>
<string name="user_is_now_set_to_anonymous_for_future_raygun_reports">User is now set to \'Anonymous\' for future Raygun reports.</string>
<string name="user_is_now_set_to_user_a_for_future_raygun_reports">User is now set to \'User A\' for future Raygun reports.</string>
<string name="user_is_now_set_to_user_b_for_future_raygun_reports">User is now set to \'User B\' for future Raygun reports.</string>
<string name="we_re_now_on_the_second_activity_screen">We\'re now on the second activity screen.</string>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nitpick: some long string names, is that usual in this space? wondering if it's ok to shorten them or does it not make sense?

import com.raygun.raygun4android.RaygunClient
import com.raygun.raygun4android.messages.crashreporting.RaygunBreadcrumbLevel
import com.raygun.raygun4android.messages.crashreporting.RaygunBreadcrumbMessage
import com.raygun.raygun4android.messages.shared.RaygunUserInfo
import java.util.*
import java.util.WeakHashMap
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where is this used?

import android.util.Log
import android.widget.Button
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.snackbar.Snackbar
Copy link
Collaborator

Choose a reason for hiding this comment

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

Love it 💯 Do you have screenshots/gif/screen recording of how it looks?

Copy link
Collaborator

@sumitramanga sumitramanga left a comment

Choose a reason for hiding this comment

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

Just some comments to address but otherwise mostly looks good! Thank you for implementing this change ⭐

@sumitramanga
Copy link
Collaborator

Hi @TheRealAgentK ! Just wanted to check in to see if you'll have time to work on this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants