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

Convert hybrid nav to starboard extension #1930

Conversation

iuriionishchenko
Copy link
Collaborator

@iuriionishchenko iuriionishchenko commented Nov 7, 2023

Refactoring to move the AppleTV hybrid nav implementation from a Starboard API to a Starboard extension

b/299481829

@iuriionishchenko iuriionishchenko force-pushed the Convert_Hybrid_Nav_to_Starboard_Extension branch 2 times, most recently from ac34d5f to 638529d Compare November 8, 2023 08:46
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (980c2a5) 58.54% compared to head (4bbfa76) 58.55%.

Files Patch % Lines
cobalt/ui_navigation/interface.cc 22.58% 24 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1930      +/-   ##
==========================================
+ Coverage   58.54%   58.55%   +0.01%     
==========================================
  Files        1912     1911       -1     
  Lines       94578    94585       +7     
==========================================
+ Hits        55370    55386      +16     
+ Misses      39208    39199       -9     

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

Copy link
Contributor

@gbournou gbournou left a comment

Choose a reason for hiding this comment

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

This is a good start - thanks for working on this

cobalt/ui_navigation/interface.cc Outdated Show resolved Hide resolved
starboard/elf_loader/exported_symbols.cc Outdated Show resolved Hide resolved
starboard/extension/ui_navigation.h Outdated Show resolved Hide resolved
starboard/nplb/extern_c_test.cc Outdated Show resolved Hide resolved
starboard/nplb/include_all.c Outdated Show resolved Hide resolved
starboard/nplb/ui_navigation_test.cc Outdated Show resolved Hide resolved
@gbournou gbournou requested review from y4vor and removed request for haozheng-cobalt November 22, 2023 04:45
@iuriionishchenko iuriionishchenko force-pushed the Convert_Hybrid_Nav_to_Starboard_Extension branch 3 times, most recently from 43cf532 to 3e57774 Compare November 27, 2023 14:53
@iuriionishchenko iuriionishchenko force-pushed the Convert_Hybrid_Nav_to_Starboard_Extension branch from 3e57774 to 3360679 Compare December 21, 2023 09:23
Copy link
Contributor

@gbournou gbournou left a comment

Choose a reason for hiding this comment

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

The code here looks good (just a couple nits).

Do you already have the corresponding Gerrit change for the internal files (e.g. //internal/starboard/shared/uikit/ui_nav_get_interface.mm)? We'll need to submit them roughly at the same time so things don't break. Also, if you do have the internal Gerrit change ready, we should make a temporary change that include both that and this Github change so we can run the Apple TV builds/tests on it and verify nothing broke.

cobalt/ui_navigation/interface.cc Outdated Show resolved Hide resolved
cobalt/ui_navigation/interface.cc Outdated Show resolved Hide resolved
@iuriionishchenko
Copy link
Collaborator Author

CL for internal files was created - 272340

cobalt/ui_navigation/interface.cc Outdated Show resolved Hide resolved
cobalt/ui_navigation/interface.cc Outdated Show resolved Hide resolved
@gbournou
Copy link
Contributor

CL for internal files was created - 272340

Great, as mentioned in my other comment, let's make a temporary internal CL that includes the changes in this GH PR as well as the changes in 272340. We can then use that temporary internal CL to run our tvOS tests to ensure everything works together.

…board API to a Starboard extension

b/299481829

Change-Id: I0ffdb96cfc90ab4aee1f73be1ad724008f69c956
@iuriionishchenko iuriionishchenko force-pushed the Convert_Hybrid_Nav_to_Starboard_Extension branch from 0099e9f to 4bbfa76 Compare December 29, 2023 10:22
@iuriionishchenko
Copy link
Collaborator Author

A temporary CL 272580 was added. There are changes of internal files and GH files.

@gbournou
Copy link
Contributor

A temporary CL 272580 was added. There are changes of internal files and GH files.

Great - it looks like tvOS builds worked successfully there.

@kaidokert kaidokert merged commit 375fbfc into youtube:main Dec 29, 2023
368 of 374 checks passed
@iuriionishchenko iuriionishchenko deleted the Convert_Hybrid_Nav_to_Starboard_Extension branch March 15, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants