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

feat: 4628 - new "reorder Knowledge Panels" feature from dev mode #4778

Merged
merged 3 commits into from
Dec 8, 2023

Commits on Nov 11, 2023

  1. feat: 4628 - new "reorder KP" feature from dev mode

    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
    monsieurtanuki committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    396eaf5 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Configuration menu
    Copy the full SHA
    5779e2d View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    8e1f2f3 View commit details
    Browse the repository at this point in the history