Skip to content

[ToBF] 18.04.23 Refinement#457

Merged
nausharipov merged 15 commits intotobf-all-tasks-28-03-23from
tobf-refinement-18-04-23
Apr 24, 2023
Merged

[ToBF] 18.04.23 Refinement#457
nausharipov merged 15 commits intotobf-all-tasks-28-03-23from
tobf-refinement-18-04-23

Conversation

@nausharipov
Copy link
Copy Markdown
Collaborator

Clearing TODOs.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI.

children: [
ContentTreeWidget(controller: tourNotifier.contentTreeController),
Expanded(
child: DefaultTabController(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Make

enum TourView {
  content,
  playground,
}

Use the stuff from keyed_collection_widgets with those keys.

@nausharipov nausharipov requested a review from alexeyinkin April 19, 2023 09:50
child: DefaultTabController(
length: 2,
child: DefaultKeyedTabController.fromKeys(
keys: const [TourView.content, TourView.playground],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
keys: const [TourView.content, TourView.playground],
keys: TourView.values,

Tab(text: 'Playground'),
],
KeyedTabBar.withDefaultController<TourView>(
tabs: {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Use enum_map for compile-time guarantee that all values are present.
Same for TabBarView.children.

String _sdkId;
Sdk _sdk;
List<String> _treeIds;
// TODO(nausharipov) review: delete the todo?
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Delete, keep it nullable.

import 'path.dart';

class WelcomeNotifier extends ChangeNotifier with PageStateMixin<void> {
// TODO(nausharipov) review: delete the todo?
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Delete, keep it stateful.

complexity: result.complexity,
files: result.files,
name: 'User Snippet',
// TODO(nausharipov) review: delete the todo?
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yes.

@nausharipov nausharipov requested a review from alexeyinkin April 21, 2023 15:53
@nausharipov nausharipov marked this pull request as ready for review April 21, 2023 15:53
Copy link
Copy Markdown

@alexeyinkin alexeyinkin left a comment

Choose a reason for hiding this comment

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

LGTM (internal review).

@nausharipov nausharipov merged commit 885a7c3 into tobf-all-tasks-28-03-23 Apr 24, 2023
@nausharipov nausharipov deleted the tobf-refinement-18-04-23 branch April 24, 2023 10:41
Amar3tto added a commit that referenced this pull request Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants