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

Allow feed/flavor assignment in devices view & cleanups/fixes #41

Merged

Conversation

tsagadar
Copy link
Collaborator

@tsagadar tsagadar commented Aug 1, 2024

This PR should wrap up the initial rollout functionality: devices can be assigned to feeds/flavors, and the rollout selection got fixed. UI got cleaned-up to make it easier to use.

Also contains cleanups and bug fixes.

The one thing missing around rollouts is the automatic abort (pause) which will follow in a later PR.

Copy link
Contributor

@b-rowan b-rowan left a comment

Choose a reason for hiding this comment

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

Just a small question about this -

        stateLoadParams: (settings, data) => {
            // if save state is older than last breaking code change...
            if (data.time <= 1722434386000) {
                // ... delete it
                for (const key of Object.keys(data)) {
                    delete data[key];
                }
            }
        },

This is just a form of cache busting right? Keeps the table state from becoming invalid?

Do we maybe want to move the timestamp from there to a constant stored in another js file then included, which could then be referenced? Something like LAST_TABLE_BREAKING_CHANGE?

@b-rowan b-rowan merged commit e26b33e into UpstreamDataInc:master Aug 1, 2024
@tsagadar tsagadar deleted the mm/further-rollout-work branch October 24, 2024 12:01
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