Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

japie1235813
Copy link
Contributor

  • Motivation for features / changes
    Re-arrange metrics state order to make it clear those states might affect what aspect.

@japie1235813 japie1235813 requested a review from bmd3k March 8, 2023 14:13

export interface MetricsNamespacedState {
/*
* Date-related states: states below are drived from the server.
Copy link
Contributor

Choose a reason for hiding this comment

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

Date => Data.
drived => derived.

// A map of card ids that previously pinned by the user.
cardToPinnedCopyCache: CardToPinnedCard;
pinnedCardToOriginal: PinnedCardToCard;
cardStateMap: CardStateMap;
Copy link
Contributor

Choose a reason for hiding this comment

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

cardStateMap has both data-related (dataMinMax) and ui-related states (everything else).

Might be worth separating it out into a third category here and then similarly organizing it to clearly separate data-related and ui-related states.

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.