Hey, maintainers! I raised a pull request last week. Could someone please review it?
openmrs:main
← subhamkumarr:O3-2756
opened 09:17AM - 23 Jan 24 UTC
## Requirements
- [X] This PR has a title that briefly describes the work don… e including the ticket number. If there is a ticket, make sure your PR title includes a [conventional commit](https://o3-dev.docs.openmrs.org/#/getting_started/contributing?id=your-pr-title-should-indicate-the-type-of-change-it-is) label. See existing PR titles for inspiration.
- [X] My work conforms to the [OpenMRS 3.0 Styleguide](https://om.rs/styleguide) and [design documentation](https://zeroheight.com/23a080e38/p/880723-introduction).
- [X] My work includes tests or is validated by existing tests.
## Summary
When the user clicks the 'View' which is not a button, the dropdown menu located beside it is being triggered unexpectedly. As a result, the dropdown items are displayed which they shouldn't be, leading to an unexpected user experience.
Drop-down item should be displayed when clicked on `select service type`.
## Video Links
### Before change:
https://www.loom.com/share/ff73bdb2b6944077bfca4bca29da4663?sid=192eef54-1f35-428d-9815-1778eebe95f4
### After Change:
https://www.loom.com/share/f7dc119fc1b745b8be697b60c2f8ce65?sid=b32c1e81-3dd1-4a0a-813b-eb7f98b99d8e
## Related Issue
https://openmrs.atlassian.net/browse/O3-2756
mksd
(Dimitri R)
January 31, 2024, 1:05pm
2
@subhamkumar in short, I just asked ChatGPT because this PR title burnt my eyes a little …
The provided real-world example PR title has good elements, such as mentioning the issue key (O3-2756) and describing the problem. However, it's overly detailed for a PR title and mixes description with action. A PR title should be concise and focused on summarizing the change rather than explaining the issue in detail. Here's a possible revised version that improves clarity and brevity:
Original: “(fix) O3-2756: On clicking the View
which is not a button, the adjacent dropdown menu is triggered, and the dropdown items are displayed. But it should not get displayed. It should be displayed on clicking Select Service Type
. 5”.
Revised: “(fix) O3-2756: Prevent dropdown from triggering on View
click, ensure activation on Select Service Type
”
2 Likes
tjnangosha
(Trevor James Nangosha)
January 31, 2024, 7:47pm
3
"Burnt my eyes" Sorry, but I can’t help laughing!
Anyway, I also opened a draft PR last week and could someone please help review it and provide some guidance. I am relatively new to OpenMRS and I wouldn’t want to fall into the situation of misplaced effort.
Thanks.
openmrs:main
← trevor-james-nangosha:issueO3_2768
opened 01:49PM - 28 Jan 24 UTC
# Requirements
- [ ] This PR has a title that briefly describes the work done… including the ticket number. Ensure your PR title includes a [conventional commit](https://o3-docs.openmrs.org/docs/frontend-modules/contributing#contributing-guidelines) label (such as `feat`, `fix`, or `chore`, among others). See existing PR titles for inspiration.
## For changes to apps
- [ ] My work conforms to the [**O3 Styleguide**](https://om.rs/styleguide) and [**design documentation**](https://om.rs/o3ui).
## If applicable
- [ ] My work includes tests or is validated by existing tests.
- [ ] I have updated the [esm-framework mock](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-framework/mock.tsx) to reflect any API changes I have made.
## Summary
This issue makes sure that an error is shown when no locations are returned from the backend on the location-selection screen
## Screenshots
This is a small video that shows what happens in the aforementioned case. I would like to know if I am on the right track, or if I could possibly make some changes. @denniskigen
https://github.com/openmrs/openmrs-esm-core/assets/75243400/3cb1deae-bb83-4a55-a4c3-986d34d20e05
## Related Issue
[Issue is here](https://openmrs.atlassian.net/browse/O3-2768)
## Other
thembo42
(thembo jonathan)
January 31, 2024, 8:06pm
4
be sure to open the PR when yo ready for it to attract potential reviews
1 Like
tjnangosha
(Trevor James Nangosha)
January 31, 2024, 8:22pm
5
Oh. That makes sense. Thanks.
wikumc
(Wikum Weerakutti)
February 1, 2024, 4:11am
6
Did you guys get a chance to take a look at this: Pull Request Tips - Documentation - OpenMRS Wiki ?
2 Likes