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

Make it possible to show cell updates that are newer than a setting #1020

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

Conversation

fosJoddie
Copy link
Collaborator

I pushed the rest of these code changes in by accident (and nobody seems to notice).

This PR adds a new setting in madmin map that allows users to only show cell updates that are newer than a number of milliseconds (I want to change this to minutes or hours before mergin this PR)

@sn0opy sn0opy added the hacktoberfest-accepted this PR is an acceptable Hacktoberfest entry PR label Oct 7, 2020
@sn0opy sn0opy added the Meta: Don't merge Don't merge this PR yet label Oct 7, 2020
@sn0opy sn0opy self-requested a review October 7, 2020 09:12
@sn0opy sn0opy removed their request for review October 22, 2020 18:57
@sn0opy
Copy link
Collaborator

sn0opy commented Nov 17, 2020

Works just fine, but I think either the sidebar option needs a proper explanation or the default value should be changed to something like 48h.

It wasn't 100% clear to me what kind of changes I should expect on the map when chaning the value in the input. Changing the value in the input box doesn't trigger any changes on the map either. Not sure if we should just trigger a redraw of all the cells here.

@fosJoddie
Copy link
Collaborator Author

Needs better wording for sure, maybe even a little [?] with tooltip.

Also should redraw on change, I didn't add it cause the whole madmin map js code is 🍝 and hard to follow

@fosJoddie fosJoddie marked this pull request as draft December 28, 2020 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted this PR is an acceptable Hacktoberfest entry PR Meta: Don't merge Don't merge this PR yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants