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

Sort attributes inside a group based on how important the attribute is for the user. #657

Closed
Tracked by #655
monsieurtanuki opened this issue Nov 14, 2021 · 1 comment · Fixed by #658 or #665
Closed
Tracked by #655
Assignees

Comments

@monsieurtanuki
Copy link
Contributor

No description provided.

@monsieurtanuki monsieurtanuki self-assigned this Nov 14, 2021
monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Nov 14, 2021
…d and filtered attributes

Impacted file:
* `summary_card.dart`: new methods `_getMandatoryAttributeIds` and `_getOrderedAndFilteredAttributes`
monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Nov 16, 2021
…tes, then groups

Impacted file:
* `summary_card.dart`: put back nutriscore and ecoscore on top; added environment group (so far, only forest_footprint); added a virtual group for mandatory attributes on top of the "normal" attribute groups
monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Nov 16, 2021
monsieurtanuki added a commit that referenced this issue Nov 16, 2021
…ups and important attributes (#658)

Impacted file:
* `summary_card.dart`: new methods `_getMandatoryAttributeIds` and `_getOrderedAndFilteredAttributes`; added environment group (so far, only forest_footprint); added a virtual group for mandatory attributes on top of the "normal" attribute groups
monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Nov 16, 2021
…mandatory or not

Impacted file:
* `summary_card.dart`: compute the list of label attributes, to be used in both mandatory and label groups
monsieurtanuki added a commit that referenced this issue Nov 17, 2021
…not (#665)

Impacted file:
* `summary_card.dart`: compute the list of label attributes, to be used in both mandatory and label groups
@monsieurtanuki
Copy link
Contributor Author

Done in #658 and #665.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment