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

Add multi column decorator support in CardTable #1959

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

DarkSide666
Copy link
Member

@DarkSide666 DarkSide666 commented Dec 29, 2022

previously value was typecasted to UI string wrongly when building the data, but the data for later formatting are expected to in native datatype (like bool)

TODO render country name in flag tooltip and add test asserting the format and asserting no reload

@mvorisek mvorisek force-pushed the feature/flag-cardtable branch from cab3579 to 2a2bb5f Compare January 2, 2023 15:54
@mvorisek mvorisek marked this pull request as draft January 2, 2023 15:55
@mvorisek mvorisek force-pushed the feature/flag-cardtable branch 10 times, most recently from a3b7c34 to 21d0613 Compare January 4, 2023 19:00
@mvorisek mvorisek changed the title Using flag decorator in card table Fix CountryFrag decorator in CardTable Jan 4, 2023
@mvorisek mvorisek changed the title Fix CountryFrag decorator in CardTable Fix CountryFlag decorator in CardTable Jan 4, 2023
@mvorisek mvorisek changed the title Fix CountryFlag decorator in CardTable Add CountryFlag decorator support in CardTable Jan 4, 2023
@mvorisek mvorisek changed the title Add CountryFlag decorator support in CardTable Add multi column decorator support in CardTable Jan 4, 2023
@mvorisek mvorisek force-pushed the feature/flag-cardtable branch from 21d0613 to 31d5af5 Compare January 6, 2023 10:43
@mvorisek mvorisek force-pushed the feature/flag-cardtable branch 3 times, most recently from 6a61ef6 to c9f060f Compare January 6, 2023 13:45
@mvorisek mvorisek force-pushed the feature/flag-cardtable branch from c9f060f to 9dc8705 Compare January 6, 2023 19:06
@mvorisek
Copy link
Member

@DarkSide666 please rebase this PR

CardTable::addTo($app)->setModel($entity);

// CardTable uses internally atk4_local_object type which uses weak references,
// force GC to test the data are kept referenced correctly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fow what purpose?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants