Skip to content

feat(col): new order property#18805

Closed
marcjulian wants to merge 9 commits into
ionic-team:mainfrom
marcjulian:order
Closed

feat(col): new order property#18805
marcjulian wants to merge 9 commits into
ionic-team:mainfrom
marcjulian:order

Conversation

@marcjulian

Copy link
Copy Markdown
Contributor

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

A grid has 3 columns and they are all displayed in the same order on each screen size. The second column is very important so it is in the middle on larger screens and it should be on the top, reordered, on smaller screens. The reordering is currently not supported

What is the new behavior?

  • Supports reordering columns based on screen sizes
  • Moving columns around with order 1 to 12
  • Moving columns to first and last position

Does this introduce a breaking change?

  • Yes
  • No

Other information

@ionitron-bot ionitron-bot Bot added package: angular @ionic/angular package package: core @ionic/core package labels Jul 15, 2019
@marcjulian

Copy link
Copy Markdown
Contributor Author

@brandyscarney any feedback on this PR?

@liamdebeasi

Copy link
Copy Markdown
Contributor

Thank you for the PR! We appreciate your contribution to Ionic.

After discussing with the team, we have decided this is not the direction we want to take with this feature. While we see the value in customizing the order of the columns based on breakpoints, we do not think that adding a property for each breakpoint is the correct approach. We would likely want to do more research as to the preferred approach, but for now we are unable to accept this PR.

If you still wish to see this feature get added to Ionic, we recommend creating a new feature request and providing a use case. Thank you!

@marcjulian marcjulian deleted the order branch January 31, 2022 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants