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
Gate links to teacher application on gatekeeper flag #42615
Conversation
@tim-dot-org I'm seeing a bit of a disconnect between the conclusion in the slack thread and the description here. the thread seemed to suggest making the teacher application url keep working:
question 1: am I misunderstanding the thread? and/or is there more recent guidance your following which says to make the teacher application itself 404? |
another top-level comment here is that it seems like we could really use a doc, similar to Shipping curriculum for 2021/2022, to document what needs to happen each year. Question 2: Does anything like this exist (@tess323 maybe)? usual caveat: I'm new to this part of the codebase, so if this seems over the top please feel free to say so... I just get a bit worried when an old slack thread is the only form of documentation for an annual change like this. |
Question 3: are we in a situation where certain code gets added / removed on an annual basis? again I'm not super familiar with the details here, but I'm not sure I understand why there is so much code change for something that seems more like an annual config change. |
Thanks for your thoughts! |
Thank you Tim, this is super helpful! Thanks for entertaining my semi-uneducated questions. I feel good about 1 and 3. as for the doc, I think it is a major problem we have across the eng team that there's no standard way to store documentation in a way that is easily discoverable. a markdown file in the codebase is great if only engineers need to interact with it, and I love how it can be updated as part of a PR. however, if partners need to be able to edit and comment, then it could be better to have a google doc, though, and we can figure out as we go where best to link to it from. I'm not sure if this applies to things on the PLC side, but you can see from Shipping curriculum for 2021/2022 that we have a fair bit of discussion in there with non-eng stakeholders. If the PLC world is similar, then I'd suggest going with a google doc -- but you probably have best perspective here and I'd be kind of interested to try out the markdown file in github option if that seems better to you. cc @tess323 again for input on the format of any new documentation here. |
… year instead of the current year constant (tho those will usually be the same)
911b385
to
2136edf
Compare
I took out the actual archiving commit (bumping the current application year constant) because it'll be difficult to do that without the application refactor PR. So order of operations now:
|
nominated={this.state.nominated} | ||
priorityDeadlineDate={appsPriorityDeadlineDate} | ||
/> | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like while the ajax request is pending, or if it fails, we'll show the StartApplicationButton, even if applications are closed. Is that correct? If so, I would suggest a solution which never indicates that applications are open when they are actually closed. one idea would be to invert the api logic to be applications_open
instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch! changed
@davidsbailey @tim-dot-org - weighing in on the documentation side. This is my first rodeo on archiving applications so I don't think that there is heavy process around this yet. I agree this is probably a good one for a google doc until we get everything locked in. Thank you for starting that @tim-dot-org! |
This PR adds some conditional logic to the regional partner search page, which is where all the links to the application are. When we flip the pd_teacher_application Gatekeeper flag, the teacher application is a 404 to non-workshop admins, so we shouldn't link to it anywhere.
Links
Testing story
Tested locally with hardcoded flags.
Flag off:
Flag turned on: