Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ODA: intuitive default ordered direction + README#21

Merged
mytkom merged 3 commits intomasterventcode/orderable:masterfrom
ODA-README-update-and-intuitive-orderingventcode/orderable:ODA-README-update-and-intuitive-orderingCopy head branch name to clipboard
Jun 28, 2023
Merged

ODA: intuitive default ordered direction + README#21
mytkom merged 3 commits intomasterventcode/orderable:masterfrom
ODA-README-update-and-intuitive-orderingventcode/orderable:ODA-README-update-and-intuitive-orderingCopy head branch name to clipboard

Conversation

@mytkom
Copy link
Contributor

@mytkom mytkom commented Jun 27, 2023

Like rodzena said: It don't feel intuitive for ordered scope without argument to sort by descending positioning field. Since we have provided sequence incremental/decremental and auto_set options, it is imo a good idea to don't change scope's default direction. Then incremental sequence + auto_set would mean default_push_back and decremental + auto_set would mean default_push_front. This solution provides more possibilities in comparision to current implementation, where it is always default_push_front.

@mytkom mytkom requested review from mattlata and mr-kruczek June 27, 2023 16:53
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
spec/features/reset_function_spec.rb Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@mytkom mytkom force-pushed the ODA-README-update-and-intuitive-ordering branch from e59aa12 to 164712b Compare June 28, 2023 15:41
@mytkom mytkom merged commit 444f355 into master Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.