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

Rename BaseState to WidgetState #969

Merged
merged 1 commit into from
May 22, 2020
Merged

Rename BaseState to WidgetState #969

merged 1 commit into from
May 22, 2020

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented May 21, 2020

This is motivated by a desire to avoid some confusion with a
future patch that adds a RootState struct to unify some of the
other stuff shared between various contexts.

@luleyleo luleyleo added the S-waiting-on-author waits for changes from the submitter label May 21, 2020
@cmyr cmyr added S-needs-review waits for review and removed S-waiting-on-author waits for changes from the submitter labels May 21, 2020
@cmyr cmyr mentioned this pull request May 21, 2020
@cmyr cmyr force-pushed the base-state-to-widget-state branch from 7cf7b60 to 66db763 Compare May 21, 2020 19:01
CHANGELOG.md Outdated
@@ -70,6 +70,7 @@ This means that druid no longer requires cairo on macOS and uses Core Graphics i
- `SHOW_WINDOW` and `CLOSE_WINDOW` commands now only use `Target` to determine the affected window. ([#928] by [@finnerale])
- Replaced `NEW_WINDOW`, `SET_MENU` and `SHOW_CONTEXT_MENU` commands with methods on `EventCtx` and `DelegateCtx`. ([#931] by [@finnerale])
- Replaced `Command::one_shot` and `::take_object` with a `SingleUse` payload wrapper type. ([#959] by [@finnerale])
- Renamed `BaseState` to `WidgetState` ([#969] by [@cmyr])
Copy link
Collaborator

Choose a reason for hiding this comment

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

BaseState / WidgetState are not public API right? In that case this is not really a change for users.
I believe it should go into the Maintenance section instead.

Copy link
Member Author

Choose a reason for hiding this comment

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

cool, I think this should be ready to go now, pending CI.

@luleyleo luleyleo added S-waiting-on-author waits for changes from the submitter and removed S-needs-review waits for review labels May 22, 2020
@cmyr cmyr force-pushed the base-state-to-widget-state branch from 66db763 to ddeeca5 Compare May 22, 2020 14:07
@cmyr cmyr added S-needs-review waits for review and removed S-waiting-on-author waits for changes from the submitter labels May 22, 2020
This is motivated by a desire to avoid some confusion with a
future patch that adds a RootState struct to unify some of the
other stuff shared between various contexts.
@cmyr cmyr force-pushed the base-state-to-widget-state branch from ddeeca5 to 5d1aa86 Compare May 22, 2020 14:47
Copy link
Collaborator

@luleyleo luleyleo left a comment

Choose a reason for hiding this comment

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

Looks good!

@luleyleo luleyleo removed the S-needs-review waits for review label May 22, 2020
@cmyr cmyr merged commit e024f60 into master May 22, 2020
@cmyr cmyr deleted the base-state-to-widget-state branch May 22, 2020 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants