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

feat: support app flows APIs #1138

Merged
merged 32 commits into from
Apr 19, 2024
Merged

feat: support app flows APIs #1138

merged 32 commits into from
Apr 19, 2024

Conversation

abdelhamid-f-nasser
Copy link
Contributor

@abdelhamid-f-nasser abdelhamid-f-nasser commented Feb 19, 2024

Description of the change

  • Support thew App Flows feature and it's below APIs:
    • APM.startFlow
    • APM.endFlow
    • APM.setTraceAttribute
  • Deprecate the following execution traces APIs in favor of the new app flow APIs:
    • APM.startExecutionTrace
    • Trace.end()
    • Trace.setAttribute

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Jira ID: APM-19535

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests

Code review

  • This pull request has a descriptive title and information useful to a reviewer
  • Issue from task tracker has a link to this pull request

@mnoseir
Copy link

mnoseir commented Feb 19, 2024

Warnings
⚠️

You have not included a CHANGELOG entry!
You can find it at CHANGELOG.md.

Coverage Report

Label Coverage Status
JavaScript 96.2%
Android 47.2%
iOS 41.3%

Generated by 🚫 dangerJS against 65fcb14

@abdelhamid-f-nasser abdelhamid-f-nasser changed the title chore(android): deprecate execution traces APIs feat: support app flows APIs Feb 19, 2024
@abdelhamid-f-nasser abdelhamid-f-nasser added pending-android Waiting for Android release pending-ios Waiting for iOS release labels Feb 19, 2024
@abdelhamid-f-nasser abdelhamid-f-nasser marked this pull request as ready for review February 19, 2024 11:08
@abdelhamid-f-nasser abdelhamid-f-nasser self-assigned this Feb 20, 2024
Copy link
Contributor

@a7medev a7medev left a comment

Choose a reason for hiding this comment

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

Great job @abdelhamid-f-nasser 👏🏼 Please check the comments added. 🙏🏼

CHANGELOG.md Outdated Show resolved Hide resolved
examples/default/ios/InstabugTests/InstabugAPMTests.m Outdated Show resolved Hide resolved
src/models/Trace.ts Outdated Show resolved Hide resolved
@abdelhamid-f-nasser
Copy link
Contributor Author

Great catch @a7medev 🎣 👍 , please recheck and let me know if you have any further suggestions.

Deprecate execution traces in favor of AppFlows APIs.
Deprecate execution traces in favor of AppFlows APIs.
Deprecate execution traces in favor of AppFlows APIs.
@abdelhamid-f-nasser abdelhamid-f-nasser force-pushed the feat/support-app-flows branch 2 times, most recently from 3a328b7 to 03d2baa Compare February 21, 2024 09:53
CHANGELOG.md Outdated Show resolved Hide resolved
src/models/Trace.ts Outdated Show resolved Hide resolved
Co-authored-by: Ahmed Mahmoud <68241710+a7medev@users.noreply.github.com>
Copy link
Contributor

@ahmedAlaaInstabug ahmedAlaaInstabug left a comment

Choose a reason for hiding this comment

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

Good job

ahmedAlaaInstabug and others added 3 commits February 28, 2024 19:48
* feat(example): add nested complex views (#1111)

Jira ID: MOB-13737

* fix hybrid mode code push version init (#1108)

* chore(android): ignore jetbrains ide run configurations (#1110)

Jira ID: MOB-13736

* ci: migrate macos machines to m1 (#1114)

* feat: support identify user by id (#1115)

Jira ID: MOB-13746

* ci: replace  d11 cluster url in UploadSourcemaps (#1122)

* fix(android): resolve private views through UI manager directly (#1121)

* feat: support switching to native network interception (#1120)

* feat(example): Add more sdk crashes buttons

* chore(android): ignore jetbrains ide run configurations (#1110)

Jira ID: MOB-13736

* feat(example): Add more sdk crashes buttons

* fix dev merge issue

* feat_add_crash_buttons

* feat_add_crash_buttons

* feat_add_crash_buttons

* fix: PlatformListTile typo  name

---------

Co-authored-by: Abdelhamid Nasser <38096011+abdelhamid-f-nasser@users.noreply.github.com>
Co-authored-by: Ahmed Mahmoud <68241710+a7medev@users.noreply.github.com>
Co-authored-by: AbdElHamid Nasser <anasser@instabug.com>
* feat_add_setNDKCrashesEnabled

* fix android_testing issue

* rename_test_cases

* fix_pr_comments

* feat/add-ndk-demo-crash-buttons

* chore: add ChangeLog changes

* Update CHANGELOG.md

Co-authored-by: Abdelhamid Nasser <38096011+abdelhamid-f-nasser@users.noreply.github.com>

* feat: add more crash scenarios to example app (#1131)

* feat(example): add nested complex views (#1111)

Jira ID: MOB-13737

* fix hybrid mode code push version init (#1108)

* chore(android): ignore jetbrains ide run configurations (#1110)

Jira ID: MOB-13736

* ci: migrate macos machines to m1 (#1114)

* feat: support identify user by id (#1115)

Jira ID: MOB-13746

* ci: replace  d11 cluster url in UploadSourcemaps (#1122)

* fix(android): resolve private views through UI manager directly (#1121)

* feat: support switching to native network interception (#1120)

* feat(example): Add more sdk crashes buttons

* chore(android): ignore jetbrains ide run configurations (#1110)

Jira ID: MOB-13736

* feat(example): Add more sdk crashes buttons

* fix dev merge issue

* feat_add_crash_buttons

* feat_add_crash_buttons

* feat_add_crash_buttons

* fix: PlatformListTile typo  name

---------

Co-authored-by: Abdelhamid Nasser <38096011+abdelhamid-f-nasser@users.noreply.github.com>
Co-authored-by: Ahmed Mahmoud <68241710+a7medev@users.noreply.github.com>
Co-authored-by: AbdElHamid Nasser <anasser@instabug.com>

* feat_add_setNDKCrashesEnabled

* fix android_testing issue

* rename_test_cases

* fix_pr_comments

* feat/add-ndk-demo-crash-buttons

* chore: add ChangeLog changes

* Update CHANGELOG.md

Co-authored-by: Abdelhamid Nasser <38096011+abdelhamid-f-nasser@users.noreply.github.com>

* fix:lint issue

* fix:  CHANGELOG typo issue

Co-authored-by: Abdelhamid Nasser <38096011+abdelhamid-f-nasser@users.noreply.github.com>

---------

Co-authored-by: Abdelhamid Nasser <38096011+abdelhamid-f-nasser@users.noreply.github.com>
Co-authored-by: Ahmed Mahmoud <68241710+a7medev@users.noreply.github.com>
Co-authored-by: AbdElHamid Nasser <anasser@instabug.com>
* chore(android): bump sdk to v12.7.1 (#1134)

* feat:add-upload-so-files-command

* feat:add-upload-so-files-command

* fix: add file path check

* feat: add file validations

* feat: add file validations

* chore: format UploadSoFiles.ts

* chore: add changes in changeLog

---------

Co-authored-by: Ahmed Mahmoud <68241710+a7medev@users.noreply.github.com>
ahmedAlaaInstabug and others added 4 commits February 28, 2024 19:49
* feat(example): add survey with token action

* refactor: export onPress functions to methods
* feat(example): customize chat settings

* feat(example): customize chat settings

* fix: pr comments
@abdelhamid-f-nasser abdelhamid-f-nasser added the READY FOR MERGE Reviewed and ready for merge (after release request) label Mar 6, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
src/modules/APM.ts Outdated Show resolved Hide resolved
abdelhamid-f-nasser and others added 2 commits April 3, 2024 15:00
Co-authored-by: Ahmed Mahmoud <68241710+a7medev@users.noreply.github.com>
Co-authored-by: Ahmed Mahmoud <68241710+a7medev@users.noreply.github.com>
Base automatically changed from dev to master April 14, 2024 19:42
@mzelzoghbi mzelzoghbi dismissed ahmedAlaaInstabug’s stale review April 14, 2024 19:42

The base branch was changed.

@mrashed98 mrashed98 added this to the 24Q1C2 milestone Apr 16, 2024
@abdelhamid-f-nasser abdelhamid-f-nasser changed the base branch from master to dev April 16, 2024 13:16
@InstabugCI
Copy link
Collaborator

Coverage Report

Label Coverage Status
JavaScript 96.3%
Android 48.3%
iOS 42.3%

Generated by 🚫 dangerJS against 6aa71cb

Copy link
Contributor

@a7medev a7medev left a comment

Choose a reason for hiding this comment

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

LGTM 👌🏼

@ahmedAlaaInstabug ahmedAlaaInstabug merged commit 567f9fc into dev Apr 19, 2024
10 of 13 checks passed
@ahmedAlaaInstabug ahmedAlaaInstabug deleted the feat/support-app-flows branch April 19, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-android Waiting for Android release pending-ios Waiting for iOS release READY FOR MERGE Reviewed and ready for merge (after release request)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants