Skip to content
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

Using New Search while editing yields unexpected results #5391

Closed
2 of 7 tasks
charlesh88 opened this issue Jun 24, 2022 · 4 comments · Fixed by #5394
Closed
2 of 7 tasks

Using New Search while editing yields unexpected results #5391

charlesh88 opened this issue Jun 24, 2022 · 4 comments · Fixed by #5394

Comments

@charlesh88
Copy link
Contributor

charlesh88 commented Jun 24, 2022

Summary

  1. While editing an object view, use the new search capability to find something.
  2. Click a search result, observe: the selected object view is navigated to in the main view, replacing the view that was previously being edited. The application remains in Edit mode. One can do this multiple times, and whilst saving (impressively!) persists any changes to all views that were navigated to in the course of this flow, this behavior is not what the user expects and could be highly distressing if a lot of edits to a view hadn't been previously saved.

Expected vs Current Behavior

Search (in the tree) while editing used to provide a way to find objects in order to add them to a composition. This issue is filed as a bug (rather than an enhancement) because this change is a regression from prior capability and there is real concern about users being very surprised by this behavior.

There are a number of possible solutions, in order of preference (and decreasing scope?):

  1. The user should be able to drag a result from the new search window directly into a composition, the same as if they were interacting with a tree element. Clicking on a result is handled as described in the next solution.
  2. Clicking on a result could display it in the Large View overlay in the same way that clicking a tree item does while editing. Drag-to-add-to-composition (as described above) could be added later.
  3. Disable new search during Edit mode and reinstantiate the old tree-based search as a filter capability.
  4. Just temporarily disable new search during Edit mode until we can implement a better solution as described above. This can be done as a pure CSS solution.

Steps to Reproduce

  1. See summary.

Environment

  • Open MCT Version: release/2.0.5
  • Deployment Type: local
  • OS:
  • Browser:

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug with no functional impact?
  • Does this block the execution of e2e tests?
  • Does this have an impact on Performance?

Additional Information

Screen Shot 2022-06-24 at 3 47 41 PM
Screen Shot 2022-06-24 at 3 47 49 PM

@scottbell scottbell linked a pull request Jun 27, 2022 that will close this issue
15 tasks
@scottbell scottbell linked a pull request Jun 27, 2022 that will close this issue
15 tasks
@scottbell scottbell linked a pull request Jun 27, 2022 that will close this issue
15 tasks
@scottbell scottbell linked a pull request Jun 29, 2022 that will close this issue
15 tasks
@scottbell scottbell removed a link to a pull request Jun 29, 2022
15 tasks
@unlikelyzero unlikelyzero added the needs:test instructions Missing testing notes label Jun 30, 2022
@unlikelyzero
Copy link
Contributor

@scottbell to add testing notes

@scottbell
Copy link
Contributor

@unlikelyzero the notes in the summary have pretty good step by step testing regime - what else do we need here?

@khalidadil
Copy link
Contributor

@scottbell what was the intended fix from the list of possible solutions? On testing it looks like fix #1 and 2 specified by Charles are working.

@scottbell
Copy link
Contributor

Fixes #1 and #2 were preferred, so it sounds like we’re good!

@unlikelyzero unlikelyzero added this to the Sprint:2.0.7 milestone Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment