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

Update locale_core::preferences to stakeholder alignment #5729

Merged
merged 7 commits into from
Nov 6, 2024

Conversation

zbraniecki
Copy link
Member

Address #419 feedback

@zbraniecki zbraniecki force-pushed the prefs_2 branch 4 times, most recently from bed1d48 to 9bcc486 Compare October 24, 2024 18:14
@zbraniecki
Copy link
Member Author

@sffc @robertbastian - can I get a high level thumbs up on that direction?

@robertbastian
Copy link
Member

Looks like what we agreed on

@zbraniecki
Copy link
Member Author

Added list format - @sffc @robertbastian - PTAL.

If you're good with that, I'll document it and we're gtg

@zbraniecki zbraniecki force-pushed the prefs_2 branch 3 times, most recently from 37921e8 to 0dab081 Compare October 26, 2024 03:48
components/list/examples/and_list.rs Outdated Show resolved Hide resolved
components/list/examples/and_list.rs Outdated Show resolved Hide resolved
components/list/src/list_formatter.rs Show resolved Hide resolved
Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

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

ListFormatterPreferences seems about right.

As written in a comment, I don't really see switching around how we do options right now. I guess it generates merge functions, which is nice, but can't we add those on later?

I also don't agree with changing all constructors to use options bags just because they can. The ones that don't take options bags use positional arguments instead and are named _with_foo or _with_foo_and_bar. That seems fine to me.

components/list/examples/and_list.rs Outdated Show resolved Hide resolved
components/list/src/list_formatter.rs Outdated Show resolved Hide resolved
@zbraniecki zbraniecki requested review from sffc, robertbastian and filmil and removed request for filmil November 2, 2024 20:39
@zbraniecki zbraniecki self-assigned this Nov 2, 2024
@zbraniecki zbraniecki force-pushed the prefs_2 branch 3 times, most recently from 95105d4 to 377185d Compare November 2, 2024 20:55
@zbraniecki zbraniecki marked this pull request as ready for review November 2, 2024 21:02
@zbraniecki zbraniecki requested review from Manishearth, filmil, nciric and a team as code owners November 2, 2024 21:02
@zbraniecki zbraniecki removed request for nciric and a team November 2, 2024 21:02
@zbraniecki zbraniecki force-pushed the prefs_2 branch 2 times, most recently from 69606a3 to 3ea2a5e Compare November 3, 2024 01:43
components/list/src/options.rs Show resolved Hide resolved
components/locale_core/src/preferences/mod.rs Outdated Show resolved Hide resolved
components/locale_core/src/preferences/mod.rs Outdated Show resolved Hide resolved
components/locale_core/src/preferences/mod.rs Show resolved Hide resolved
ffi/capi/src/list.rs Outdated Show resolved Hide resolved
ffi/capi/src/list.rs Show resolved Hide resolved
components/list/src/options.rs Outdated Show resolved Hide resolved
components/list/src/options.rs Outdated Show resolved Hide resolved
Manishearth pushed a commit that referenced this pull request Nov 5, 2024
components/list/src/options.rs Show resolved Hide resolved
@zbraniecki zbraniecki merged commit 6a63a1f into unicode-org:main Nov 6, 2024
28 checks passed
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.

3 participants