-
Notifications
You must be signed in to change notification settings - Fork 37
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
Create a 1.2.0 release #272
Comments
@annekainicUSDS @jbalboni For the record, the code related changes made since 1.1 are:
I've created a @jbalboni do you want to test a bit with this branch? It has built files so you should be able to pull the hash. Note that since #209/#242 is there you'll need to add that section to your `formConfig. |
That looks good to me. Is #258 a breaking change? Doesn't need to be in the release either way, but I am definitely looking forward to it. I will test this out tomorrow. Thanks @dmethvin-gov and @annekainicUSDS |
I don't think #258 is a breaking change and it makes things smaller. If you're not using |
Actually I know at least some of the forms do use |
We're also missing these PRs related to definitions I think @dmethvin-gov, which I assume we don't want to include in the 1.x stable branch: |
It looks like |
@dmethvin-gov Yeah, we have an item on our side to update that checkbox to the default required field notation and tweak the error message. It's probably a general enough change to be in USFS, but that would mean another PR to submit and merge. Seems like including #209 would be easier, though if not I can submit a PR for my change. |
@jbalboni no problem putting it in, I just wanted to make sure you really wanted it so I won't have to take it out. Sometimes there are conflicts in these cherry picks , especially while we're still committing built files, so I just want to commit what's really needed. If it's not working right when you test we can update it of course. |
Makes sense. We do want it in. Let me know when the branch is updated and I'll take a look. |
Okay, 1.x-stable has been updated. It was a bit of a tough fight because #267 was landed as a merge commit and it was a little messy to cherry pick against 1.1.0. I tried merging it but that didn't work well. I ended up cherry picking the individual commits and then rebasing to create a single commit. Most of the problem was due to all the build artifacts, I now wish I'd prioritized fixing that sooner! Since nobody was using the branch yet and it wasn't at all what we're going to end up with, I forced-pushed it (the git equivalent of the five-second rule for food that falls on the floor). If there are minor changes from here we should be able to avoid further force-pushes. Ready for your team's review @jbalboni! |
Oops, I'm sorry, that was my fault. I knew I would forget to switch back to the squash button. |
So far testing is going pretty well: department-of-veterans-affairs/vets-website#8503 I did realize a couple things:
|
@dmethvin-gov It looks like something about the pre-submit change isn't working. It appears that it just never shows up. It looks like the |
The reason master looks different is because the 1.x-stable branch is missing f6edfe6 which was a followup. I don't think it changed the logic (mostly it was docs and test cleanup) but that really should be put into the branch if #209 stays. However, that is the correct behavior if you totally leave out a |
You can drop in the follow up commit. I'm fine with updating all the configs, but it looks you all changed the logic so that at least the checkbox will always show up, which isn't currently happening. |
Yeah, it sounds like there may have been some code things then. I've added that commit (which includes documentation) so let us know if it's working. |
@dmethvin-gov The checkboxes show up now, but it looks like some of the It looks like this is because |
Looking into this now. |
Okay, it should be ready to try again. It only took me 10 minutes to fix the problem but then I decided to write a test for it and it took me 2 hours among other things to rediscover how to fake out the tests without Redux involved. |
@dmethvin-gov I think it's missing updates to the |
@jbalboni sorry! I have been switching between branches too much. |
@dmethvin-gov Thanks! That fixed the console error, though there is a warning that says:
I don't think that's an issue right now, but something to note for later. The other thing I'm seeing now is an errant The pre submit config I'm using is: {
required: true,
notice: (
<div>
<strong>Note:</strong> According to federal law, there are criminal penalties, including a fine and/or imprisonment for up to 5 years, for withholding information or for providing incorrect information. (See 18 U.S.C. 1001)
</div>
),
field: 'privacyAgreementAccepted',
label: <span>I have read and accept the <a target="_blank" href="/privacy/">privacy policy</a></span>,
error: 'You must accept the privacy policy before continuing.'
} I thought maybe it was using JSX in the label, but looks like that's not the issue. |
That errant brace is here leftover from an earlier commit. I removed it in the first attempt at this branch but forgot on the second. Let me look at the ErrorableCheckbox message to see if I can figure out why it has the vapors over that, and see if I can fix them both at once. |
OK, both problems should be gone now. |
It looks like it's working correctly so far, but I need to update some more tests on our side and I haven't had time to do that today. Hopefully tomorrow I can give you a full answer on if it's all set on our side. |
Just to confirm, we're waiting on @jbalboni to call this good on the Vets.gov side, then we can cut this release -- correct? |
Yes. I will probably push it manually since we don't have a release script in place that can do it and the chances are that a new script wouldn't get it right the first time. |
@dmethvin-gov Great - just wanted to make sure I was reading everything right. |
@dmethvin-gov This has been in production on vets.gov for a couple days and I haven't seen any issues come through, so I think we can call this good. |
@jbalboni I just published |
This has been on npm for a while now, I just published the GitHub release so they're not out of sync anymore. |
There are a couple of changes the Vets.gov team needs more urgently than the next 2.0.0 release. Create a stable 1.2.0 branch with the following PRs:
The text was updated successfully, but these errors were encountered: