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

'Activate' Changes #11

Open
brendanthomas1 opened this issue Aug 24, 2017 · 0 comments
Open

'Activate' Changes #11

brendanthomas1 opened this issue Aug 24, 2017 · 0 comments

Comments

@brendanthomas1
Copy link
Owner

brendanthomas1 commented Aug 24, 2017

Changes are allowed to (and probably should) be written before a feature is shipped. We should have some way to denote that a change is now 'active'

active_at attr and button that sets it from nil -> Time.current
days or duration column that says how long we should display this change as 'active' (or new?) (maybe active is a misnomer?)

(Maybe 'active' is that is just has been activated) (Current, new, recent, or something could be what we scope by?)

def current?
  active_at > Time.current - duration.days
end

Scoped index page for active (or whatever it's called) changes. This would ideally be for regular users to see new changes while the regular index page would be for admins. (how should show view be handled?)

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

No branches or pull requests

1 participant