Skip to content

feat: migrate Segment core mechanism [split of 8387]#8573

Merged
NicolasMassart merged 2 commits into
feat/batch_1129_segmentfrom
feat/1461_migrate_segment_1_core
Feb 14, 2024
Merged

feat: migrate Segment core mechanism [split of 8387]#8573
NicolasMassart merged 2 commits into
feat/batch_1129_segmentfrom
feat/1461_migrate_segment_1_core

Conversation

@NicolasMassart

@NicolasMassart NicolasMassart commented Feb 13, 2024

Copy link
Copy Markdown
Contributor

Description

Note

#8387 is too big for review, splitting it into contextual/domain scoped smaller PRs.
you can refer to #8387 for global view

This is the part of #8387 related to the core code of the Segment work.

update metrics system for missing features when migrating all app

  • add getMetaMetricsId
  • add exports
  • fix/update tests
  • fix HOC types

Related issues

Related to MetaMask/mobile-planning/issues/1461

Manual testing steps

NA

Screenshots/Recordings

Before

NA

After

NA

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@github-actions

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@NicolasMassart NicolasMassart added team-mobile-platform Mobile Platform team No QA Needed Apply this label when your PR does not need any QA effort. labels Feb 13, 2024
@NicolasMassart NicolasMassart force-pushed the feat/1461_migrate_segment_1_core branch from f83d5e7 to f6a6c78 Compare February 13, 2024 17:56
- add getMetaMetricsId
- add exports
- fix/update tests
- fix HOC types
@NicolasMassart NicolasMassart force-pushed the feat/1461_migrate_segment_1_core branch from f6a6c78 to f3b45cc Compare February 13, 2024 17:56
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6b5cc4c) 41.23% compared to head (f3b45cc) 41.23%.

Additional details and impacted files
@@                   Coverage Diff                    @@
##           feat/batch_1129_segment    #8573   +/-   ##
========================================================
  Coverage                    41.23%   41.23%           
========================================================
  Files                         1251     1251           
  Lines                        30299    30301    +2     
  Branches                      2926     2927    +1     
========================================================
+ Hits                         12494    12496    +2     
  Misses                       17097    17097           
  Partials                       708      708           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@NicolasMassart NicolasMassart marked this pull request as ready for review February 13, 2024 18:11
@NicolasMassart NicolasMassart requested a review from a team as a code owner February 13, 2024 18:11
@NicolasMassart NicolasMassart self-assigned this Feb 13, 2024
@github-actions

Copy link
Copy Markdown
Contributor

E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/ca748ecb-75f4-43ea-b1df-b2d21f19f1ad
You can also kick off another Bitrise E2E smoke test by removing and re-applying the (Run Smoke E2E) label

detected by sonar
@sonarqubecloud

Copy link
Copy Markdown

@tommasini tommasini left a comment

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.

LGTM!

@MarioAslau MarioAslau left a comment

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.

Looks good Nico!

@NicolasMassart NicolasMassart merged commit 80b9408 into feat/batch_1129_segment Feb 14, 2024
@NicolasMassart NicolasMassart deleted the feat/1461_migrate_segment_1_core branch February 14, 2024 19:12
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

No QA Needed Apply this label when your PR does not need any QA effort. team-mobile-platform Mobile Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants