Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

SemanticsUpdateBuilder migration: introduce identifier #48882

Merged
merged 2 commits into from
Dec 11, 2023
Merged

SemanticsUpdateBuilder migration: introduce identifier #48882

merged 2 commits into from
Dec 11, 2023

Conversation

bartekpacia
Copy link
Member

@bartekpacia bartekpacia commented Dec 11, 2023

This PR adds String? identifier to SemanticsUpdateBuilder (currently it's only available in the temproary SemanticsUpdateBuilderNew API.

This is mainly targeted at flutter/flutter#17988

Steps:
part 1: [engine] add SemanticsUpdateBuilderNew #47961
part 2: [flutter] use SemanticsUpdateBuilderNew flutter/flutter#138331
part 3: [engine] update SemanticsUpdateBuilder to be the same as SemanticsUpdateBuilderNew <-- we are here
part 4: [flutter] use (now updated) SemanticsUpdateBuilder again flutter/flutter#139942
part 5: [engine] remove SemanticsBuilderNew #49139

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides].
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is [test-exempt]. See [testing the engine] for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the [CLA].
  • All existing and new tests are passing.

@github-actions github-actions bot added the platform-web Code specifically for the web engine label Dec 11, 2023
Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

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

LGTM

@bartekpacia bartekpacia added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 11, 2023
@auto-submit auto-submit bot merged commit b864fdf into flutter:main Dec 11, 2023
@bartekpacia bartekpacia deleted the chore/semantics_update_builder_migration branch December 11, 2023 22:51
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 12, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 12, 2023
…139948)

flutter/engine@d001419...ea1a306

2023-12-11 [email protected] Roll Skia from bd5941d727be to 461256aac224 (1 revision) (flutter/engine#48897)
2023-12-11 [email protected] Move `third_party/yapf` to `flutter/third_party/yapf`. (flutter/engine#48847)
2023-12-11 [email protected] Roll Skia from 17bd70326a49 to bd5941d727be (1 revision) (flutter/engine#48896)
2023-12-11 [email protected] SemanticsUpdateBuilder migration: introduce `identifier` (flutter/engine#48882)
2023-12-11 [email protected] Add support for exposing accessibility identifier as accessibilityIdentifier on iOS (flutter/engine#48858)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 16, 2023
…y `SemanticsUpdateBuilderNew` (#139942)

This PR removes all usages of the temporary `SemanticsUpdateBuilderNew` API in favor of `SemanticsUpdateBuilder`. These two APIs are the same as of now.

This is mainly targeted at #17988

Steps:
part 1: [engine] add `SemanticsUpdateBuilderNew` flutter/engine#47961
part 2: [flutter] use `SemanticsUpdateBuilderNew` #138331
part 3: [engine] update `SemanticsUpdateBuilder` to be the same as `SemanticsUpdateBuilderNew` flutter/engine#48882
**part 4: [flutter] use (now updated) `SemanticsUpdateBuilder` again** <-- we are here
part 5: [engine] remove `SemanticsBuilderNew`
auto-submit bot pushed a commit that referenced this pull request Dec 18, 2023
)

This PR completest the migration by removing `SemanticsUpdateBuilderNew` from the engine.

This is mainly targeted at flutter/flutter#17988

Steps:
part 1: [engine] add `SemanticsUpdateBuilderNew` #47961
part 2: [flutter] use `SemanticsUpdateBuilderNew` flutter/flutter#138331
part 3: [engine] update `SemanticsUpdateBuilder` to be the same as `SemanticsUpdateBuilderNew` #48882
part 4: [flutter] use (now updated) `SemanticsUpdateBuilder` again flutter/flutter#139942
**part 5: [engine] remove `SemanticsBuilderNew`** <-- we are here
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants