-
Notifications
You must be signed in to change notification settings - Fork 10
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
Default draft pulls toggle to off #397
Comments
JK we switched from cookies to local storage for light/dark mode. |
After thinking it over, I messaged @danielbeardsley and he recommends using useBoolUrlState to preserve "drafts" in the URL instead of using cookies for user preferences. I agree since it'll stay consistent with the other attributes in the nav bar, but I'm still open to anything. |
I wanted this to be something that persists, but after thinking about it, this is probably fine as a url param. Persisting the user preference over just defaulting to off with url params benefits those who want to always see all draft pulls. I don't know if anyone cares about enough about that state. |
The intent behind using url params is so you can bookmark your desired views. This also allows you to have multiple tabs open with different views. |
I created a pull request: #399 |
@erinemay Re. the rationale: I'm on-board with this now. That makes sense. |
Pulldasher has the ability to show/hide draft pulls. Right now, it defaults to show.
Context: This came up after a conversation about dev managers checking the dev_blocked column at a glance as well as going through the dev_blocked column to remind and poke at forgotten pulls. Drafts bloated the dev_blocked column, and turning drafts off every time was annoying.
@kwiens suggested auto-closing or auto-cryoing drafts after a certain amount of time.
@sterlinghirsh
@sctice-ifixit
The text was updated successfully, but these errors were encountered: