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

Contiguous blocks tolerance tags #3231

Merged
merged 3 commits into from
Mar 11, 2021
Merged

Contiguous blocks tolerance tags #3231

merged 3 commits into from
Mar 11, 2021

Conversation

willgearty
Copy link
Member

@willgearty willgearty commented Mar 1, 2021

This adds two globalprogram tags which allow for admins to adjust how tolerant we are of classes' contiguousness (in minutes) for visual purposes ('availability_group_tolerance') and for functional/scheduling purposes ('timeblock_contiguous_tolerance'). I imagine the former will be more useful, but I guess there are some weird edge cases for the latter, so I included it.

I also made a little fix to the tag settings forms where if you saved the form with a blank answer, it would show as blank after the form was submitted, even though the website would then be using the default for the tag (so now we show that default after successful form submission).

First step towards fixing #246

@willgearty willgearty added this to the Stable Release 13 milestone Mar 1, 2021
@willgearty willgearty requested review from kkbrum and nrjean March 1, 2021 17:06
@willgearty willgearty changed the title Contiguous tolerance Contiguous blocks tolerance tags Mar 1, 2021
Copy link
Contributor

@kkbrum kkbrum left a comment

Choose a reason for hiding this comment

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

This is so much fun to use! Love it.

I personally expected to find these tags under program tags though and think it might make more sense. One example of why it might be a program tag instead of global is that the timeblock setup for Splash vs Sprout at Yale is very different and one uses a larger chunk of campus requiring more time between things, etc. so I can see why they might set different values for the programs.

@willgearty
Copy link
Member Author

Good point! I've converted them to program tags!

@willgearty willgearty requested a review from kkbrum March 7, 2021 16:21
Copy link
Contributor

@kkbrum kkbrum left a comment

Choose a reason for hiding this comment

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

Splendid!

@willgearty willgearty merged commit 2dd7c8f into main Mar 11, 2021
@willgearty willgearty deleted the contiguous-tolerance branch March 11, 2021 01:43
willgearty added a commit that referenced this pull request May 27, 2021
* Initial docs for stable release 13

* Docs for #3116, #3117, and #3118

* Added docs about django upgrade

* Docs for #3128

* Docs for #3129, #3133, #3134, and #3137

* Docs for #3156 and #3153

* Docs for #3174, #3163, and #3184

* Docs for #3139, #3140, and #3141

* Docs for #3143, #3150, #3154, #3160, #3162, and #3168

* Docs for #3171, #3185, #3186, and #3188

* Docs for #3131 and #3189

* Docs for #3149 and #3190

* Docs for #3193, #3194, #3195, #196, and #3197

* Clarification

* Docs for #3192, #3201, #3209, and #2248

* Docs for #3204, #3212, #3214, #3205, 9fd073c, and #3226

* Docs for #3232, de5861c, #3231, #3233, #3234, #3237, #3238, and #3239

* Fix indent

* Docs for #3227 and #3235

* Add missing word

* spelling

* Docs for e57581f, #3255, #3253, #3257, and #3249

* Docs for #3254, #3260, and #3262

* Docs for #3263, #3272, #3240, #3264, #3266, and #3270

* clarifications

* Docs for #3283 and #3252

* Docs for #3288 and misc commits

* Docs for #3292, #3311, #3286, #3289, and #3279

* Docs for a377f0d; move note

* Docs for #3315, #3290, and #3322

* Docs for #3273 and #3317

* Final edits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants