-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 4628 - new "reorder KP" feature from dev mode (#4778)
New files: * `reorderable_knowledge_panel_page.dart`: Page where the user can reorder the Knowledge Panel Cards. * `reordered_knowledge_panel_cards.dart`: Knowledge Panel Cards as reordered by the user. * `standard_knowledge_panel_page.dart`: Knowledge Panel Cards as provided by the server. Impacted files: * `app_en.arb`: added a "reorder the attributes" label * `knowledge_panel_card.dart`: added an `isClickable` parameter to be get rid of the click icon+effect when reordering attributes * `knowledge_panel_expanded_card.dart`: added an `isClickable` parameter * `knowledge_panel_group_card.dart`: added an `isClickable` parameter * `knowledge_panel_page.dart`: explicitly setting `isClickable: true` * `knowledge_panels_builder.dart`: added an `isClickable` parameter * `new_product_page.dart`: now using a dev-mode flag to determine if we display the reorder feature; moved code to new class `StandardKnowledgePanelCards` * `pubspec.lock`: wtf * `score_card.dart`: unrelated minor refactoring * `user_preferences.dart`: added the user ordered attribute list as preference * `user_preferences_dev_mode.dart`: added a flag for user reordered attribute feature
- Loading branch information
1 parent
0629e55
commit 60971d1
Showing
13 changed files
with
328 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.