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

Resetting sheet marks on reset format based on current sheet #1531

Conversation

abdelr
Copy link
Member

@abdelr abdelr commented Mar 4, 2022

Fix #1503 (Resetting sheet marks on reset format based on current sheet)

@abdelr abdelr added the Importer Observed data importer label Mar 4, 2022
@abdelr abdelr self-assigned this Mar 4, 2022

public void ClearTabMarks()
{
SetTabMarks(new Cache<string, TabMarkInfo>(onMissingKey: _ => new TabMarkInfo(errorMessage: null, isLoaded: false)));
Copy link
Member

Choose a reason for hiding this comment

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

the info on how the cache is created is leaking here. Probably the presenter should be the one to call SetTabMarks with the right init (or just clear the cache that it has locally presumably),. This can be merged but this could be optimized a bIT

Copy link
Member Author

Choose a reason for hiding this comment

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

I think you are right... It will be enough with setting the marks again from the presenter.

Copy link
Member

@msevestre msevestre left a comment

Choose a reason for hiding this comment

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

suggestion for improvement. If you don't see it like that, please merge

@abdelr abdelr requested review from msevestre and Yuri05 March 4, 2022 15:45
@msevestre msevestre merged commit e691c2c into develop Mar 5, 2022
@msevestre msevestre deleted the 1503_Reset_sheet_marks_on_reset_format_based_on_current_sheet branch March 5, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Importer Observed data importer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Importer: Sheet status does not get updated
2 participants