-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for Payment 2024-08-26][$400] Accounting - NetSuite - No error message if no option is selected for segment display #46536
Comments
Triggered auto assignment to @slafortune ( |
We think this issue might be related to the #wave-control. |
This comment was marked as outdated.
This comment was marked as outdated.
Job added to Upwork: https://www.upwork.com/jobs/~015eb22121c664b750 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
This comment has been minimized.
This comment has been minimized.
@cretadn22 Thank you for the proposal. Unfortunately, your proposed solution does not attempt to address the issue as per the Expected result since it's proposing changing the type of form / form functionality instead of fixing the I will ask the design team their take on this and once we have a more detailed idea of what we want to do here from a visual POV, then you can update your proposal to match the expectations if still interested 🙂 @Expensify/design Do we have a specific design / behaviour for a form of this type when clicking If there's no predefined / expected behaviour, I'm wondering: what if when clicking The main idea here is to fulfil the Expected result which says:
Which, as a developer I translate to: Wdyt ? Screen.Recording.2024-08-02.at.18.35.52.mov |
We generally have the first option pre-selected, but in this case I'm not sure that's desirable. I'd at least want the error message to simply just say "Please select an option above" or something like that. Keen to hear @Expensify/design thoughts too |
Yeah, I agree with Jon's suggestion here. |
@shawnborton @dubielzyk-expensify Should we follow the same procedure as in step one? Please review this comment |
I'm uncertain about the need to show the Next button in step 5. For consistency with step 1, I believe we should hide the Next button in step 5. |
I forget where we landed with this, but I thought we always wanted to show a Next button for selection lists when we are in one of these sequential stepper flows. |
@shawnborton There are many places where landed with this. |
@shawnborton Got it. Do you think we should add the Next button to the step 1 page? If so, I'll include that into my updated proposal. |
Edited by proposal-police: This proposal was edited at 2024-08-06 14:57:37 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?New logic (we haven't implemented the error message for this case) What changes do you think we should make in order to solve the problem?We need to show a new message such as "Please select an option above" and hide the old message "Please fix the errors....." Currently, this functionality is supported only for TextInput fields. We need to extend this logic to display an error message in NetSuiteCustomFieldMappingPicker. Step 1: Lines 124 to 125 in 1eef6f5
In the validate function, a new error message should be added to the validate function when the value is empty.
Step 2: Since errorText is already passed to the child component by FormProvider, we only need to use the errorText prop in NetSuiteCustomFieldMappingPicker and display the new message. Note: As mentioned earlier, errorText is automatically provided by FormProvider.
Additionally, add the shouldHideFixErrorsAlert prop to FormProvider to hide the old error message What alternative solutions did you explore? (Optional)The first option to be pre-selected. In NetSuiteCustomFieldMappingPicker, I recommend using the same logic as we applied on other pages. |
@ikevin127 I've posted a new proposal and hidden the old one. Could you please review it? |
@cretadn22 I don't see any clear statement from @Expensify/design confirming which way we should go with the implementation. Given this, please drop a video of the behaviour from your existing proposals for us to see and decide which version is desirable here. Note: The reason why I suggested not rushing in a new proposal / assuming a decision before we have a clear response from the design team is because it might end up not being the desired behaviour. In the future you can simply post a few vids of the behaviour of different versions - as that might be easier to review by design, and once confirmed you can safely update / post a new proposal. |
I think that would be my vote, since this is a sequential stepper flow, I like having the Next button at the bottom. Curious what the rest of the @Expensify/design team thinks though! |
Makes sense to me to treat them the same!
We may want to go ahead and make this The Law™: Stepper flows always use a next button at the bottom and never auto-advance upon selection. |
I'm okay with that. Just be aware that in another flow around workspace cards we break this The Law™ then 😅 We can take that separate though. |
@shawnborton @dannymcclain @dubielzyk-expensify Could someone assist in confirming the Spanish translation for the error message: "Please select an option above"? |
Usually design doesn't handle translation requests, cc @blimpich My best guess would be |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
responded in thread |
PR is in |
This is being worked on, it will have a 7-day regression period, so I don't feel the need to add another BZ person to this. |
cc @slafortune |
Request to increase payment amountThe PR extends beyond the scope of the original bug and the additional fix represents a significant modification. Below is my summary: The original fix: adding a new error message on step 5 of the "Add Custom Segment" page The additional fix (the issue description does not mention this): |
@cretadn22 I agree, and I'm happy that we fixed a lot of small issues in addition to the original issue here. How about we bump it up to $400? |
cc @slafortune |
Upwork job price has been updated to $400 |
@ikevin127 please complete the checklist -
|
@cretadn22 paid via Upworks |
Regression Test Proposal
Do we agree 👍 or 👎. cc @slafortune |
@ikevin127 paid via Upworks |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.14-2
Reproducible in staging?: Y
Reproducible in production?: Y
Found when validating PR : #46155
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
There should be an error message to choose Tags or Report fields.
Actual Result:
No error message given if no option is selected for segment display. Nothing happens if I click on "fix the errors".
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6557338_1722345767013.bandicam_2024-07-30_15-19-57-971.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ikevin127The text was updated successfully, but these errors were encountered: