Skip to content

Conversation

@li-pbhadour
Copy link
Contributor

Summary

  • In bottomsheet flow, users can choose between Report a bug and Send app feedback.
  • Per previous flow (when user was navigated to Form/Draw screen as per option selected in bottomsheet), it was required to send title that would identify which option is being selected in the bottomsheet.
  • Currently, only attachments are being sent in Result, while no value is set for the title field.

Support Added:

  • Added support BottomSheetFeedbackItem#getTitleResId to get title based on BottomSheetFeedbackItem feedback type.
  • Added a new key BottomSheetFeedbackTypeAdapter#EXTRA_FEEDBACK_TITLE to pass the value of title in intent using the newly added method.
  • Added support to fetch value of feedback title when bottomsheet flow is active upon receiving the broadcast in Shaky#createReceiver.
  • Further, the value of feedback title is set in safeResult.setTitle, before the result is submitted.
  • Also, removed key BottomSheetFeedbackTypeAdapter#EXTRA_FEEDBACK_TYPE as it has no usage in the bottomsheet flow.

Testing Done

  • Tested locally.

Summary: In bottomsheet flow, users can choose between `Report a bug` and `Send app feedback`. Per previous flow it was mandatory to send title that would identify which option was being selected in the bottomsheet. Currently, only attachments are bring sent in `safeResult` and title field is empty.

Support Added:
- Added support `BottomSheetFeedbackItem#getTitleResId` to get title based on `BottomSheetFeedbackItem` feedback type.
- Added a new key `BottomSheetFeedbackTypeAdapter#EXTRA_FEEDBACK_TITLE` to pass the value of title in intent using the newly added method.
- Added support to fetch the value of feedback title when bottomsheet flow is active upon receiving the broadcast in `Shaky#createReceiver`.
- Further, support added to set value of title in `safeResult` to submit it in feedback.
- Also, removed the key ‘BottomSheetFeedbackTypeAdapter#EXTRA_FEEDBACK_TYPE’ as it has no usage in the bottomsheet flow.
@li-advait li-advait merged commit 91d4e02 into linkedin:main Sep 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants