\n\n**Describe the solution you'd like**\n1. Display All Questions and Sub-Questions: Expand and show all questions and their respective sub-questions (if any) by default, so users can view the entire structure of the form.\n\n2. Highlight Active Question: As the user focuses on or begins typing in a question, highlight the current question block to give clear feedback about where they are in the form.\n\n\n**Describe alternatives you've considered**\nA clear and concise description of any alternative solutions or features you've considered.\n\n**Additional context**\nAdd any other context or screenshots about the feature request here.\n\n---\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[3053,3056],{"name":3054,"color":3055},"question","d876e3",{"name":3057,"color":3058},"needs-triage","ededed",12548,"Improve Questionnaire Filling UX: Show All Questions and Highlight Current Question","2025-06-10T06:09:58Z","https://github.com/ohcnetwork/care_fe/issues/12548",0.78170574,{"description":3065,"labels":3066,"number":3067,"owner":3019,"repository":3020,"state":3068,"title":3069,"updated_at":3070,"url":3071,"score":3072},"**Is your feature request related to a problem? Please describe.**\n- Currently, there's only an option to import a questionnaire from a URL, and the only way to export a questionnaire is as a file. This means we need to upload the file somewhere, generate a link, and then use that link to import it\n\n**Describe the solution you'd like**\nRename the \"Import from URL\" button to simply \"Import\". When clicked, it should provide options to:\n1. Import from URL (existing functionality).\n2. Import from File (new option, ideally with drag-and-drop support).\n\n**Alternative Solution**\nAdd another button to import from file.\n\n**Additional context**\n\n\n\n\n---\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12491,"closed","Add support for importing questionnaire from json file","2025-06-09T11:09:38Z","https://github.com/ohcnetwork/care_fe/issues/12491",0.67280364,{"description":3074,"labels":3075,"number":3076,"owner":3019,"repository":3020,"state":3068,"title":3077,"updated_at":3078,"url":3079,"score":3080},"**Describe the bug**\nWhen importing questionnaire, existing data if any would get overwritten (questions and/or properties of questionnaire)\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to questionnaire create\n2. Fill some info partially\n3. Import a questionnaire JSON\n4. Observe that all existing filled information was lost\n\n**Expected behavior**\nQuestionnaire's state should be smartly merged.\n\n- Existing questions if any should be merged along with the imported questionnaire's questions.\n- Properties if any present in the importing JSON should get precedence over the existing info. But if not present, should retain what was previously present.\n- When importing, it should show a preview of what's being imported in a dialog that would show which all properties would be changed (a compare diff kind of view) comparing the existing state and the imported state and also show a mini preview of all the questions that'd be appended.\n\n\ncc: @amjithtitus09 @nihal467 ",[],12709,"Improving questionnaire import","2025-07-10T08:10:11Z","https://github.com/ohcnetwork/care_fe/issues/12709",0.6865977,{"description":3082,"labels":3083,"number":3084,"owner":3019,"repository":3020,"state":3068,"title":3085,"updated_at":3086,"url":3087,"score":3088},"**Describe the bug**\nWhen a questionnaire is imported using a valid JSON file, the form fields appear to be populated correctly. However, upon clicking \"Save,\" the system displays validation errors in questions field even tho value is there, and the questionnaire cannot be saved. \n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Click on \"Create Questionnaire\"\n2. Click on \"Import from URL\"\n3. Enter a raw JSON URL file, import and try to save it\n4. See error\n\n**Expected behavior**\nShould be able to save a successfully imported JSON.\n\n**Screenshots**\n\u003Cimg width=\"1447\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/a57de29c-ae33-43bb-8e70-fb4dcd02416a\" />\n\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12438,"Unable to Save Questionnaire After Importing from JSON File","2025-05-30T08:11:15Z","https://github.com/ohcnetwork/care_fe/issues/12438",0.72158915,{"description":3090,"labels":3091,"number":3092,"owner":3019,"repository":3020,"state":3068,"title":3093,"updated_at":3094,"url":3095,"score":3096},"**Describe the bug**\nAfter importing a questionnaire, clicking \"Create\" and then \"Cancel\" still triggers toaster notification.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Admin dashboard\n2. Click on create questionnaire\n3. Import from url\n4. Click on create\n5. While its creating click cancel\n6. Now you are on `/admin/questionnaire`\n7. Notification is still send\n\n**Expected behavior**\nThe process should be fully canceled when 'Cancel' is clicked, or the 'Cancel' button should be disabled while the questionnaire is being created.\n\n**Recording**\n\nhttps://github.com/user-attachments/assets/5757d136-3929-4ca0-b494-bf25a7f21314\n\n**Desktop (please complete the following information):**\n\n- OS: Fedora\n- Browser: Brave\n- Version: Latest\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12506,"Bug: After importing a questionnaire, clicking \"Create\" and then \"Cancel\" still triggers notifications","2025-06-05T06:39:40Z","https://github.com/ohcnetwork/care_fe/issues/12506",0.7488547,{"description":3098,"labels":3099,"number":3100,"owner":3019,"repository":3020,"state":3068,"title":3101,"updated_at":3102,"url":3103,"score":3104},"**Describe the bug**\nWhen editing any questionnaire (e.g., AllergyQuestion, DiagnosisQuestion, SymptomQuestion, MedicationRequest) and submitting without making actual updates, the system still processes the submission as if changes were made\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Encounters\n2. Edit a questionnaire (AllergyQuestion, DiagnosisQuestion, SymptomQuestion, MedicationRequest)\n3. Click submit without making any edits\n4. See error\n\n**Expected behavior**\nNo batch request shall be made to the backend when questionnaire doesn't have actual changes\n\n**Recording**\n\nhttps://github.com/user-attachments/assets/a25bd2a0-9f9f-4a24-a6c7-dc80dbf64bed\n\nhttps://github.com/user-attachments/assets/6cd67116-bf9c-4ee9-8da4-2c11bf2b9242\n\n**Desktop (please complete the following information):**\n\n- OS: Fedora\n- Browser: Brave\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12683,"Bug: Questionnaires are submitted even when no edits are made","2025-07-08T13:16:02Z","https://github.com/ohcnetwork/care_fe/issues/12683",0.7634613,["Reactive",3106],{},["Set"],["ShallowReactive",3109],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fQ_nZIlgO9SZ25gka06BdlWJfsIcrAG6O94S3Nw9Pqtw":-1},"/ohcnetwork/care_fe/11493"]