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

Macro: Selection in sequence representation #3819

Closed
olganaz opened this issue Dec 28, 2023 · 3 comments · Fixed by #4162 or #4234
Closed

Macro: Selection in sequence representation #3819

olganaz opened this issue Dec 28, 2023 · 3 comments · Fixed by #4162 or #4234

Comments

@olganaz
Copy link
Collaborator

olganaz commented Dec 28, 2023

Background
User should be able to select both single nucleotide as well as multiple nucleotides in sequence using panel button and hot keys.

Requirements
There are two ways of selection in sequence view depending on the mode (view mode, text-editing mode)

  1. View mode:
  • 'Select' tool should work in as usual, so user is able to select single nucleotide or group of nucleotides by clicking on corresponding symbol or by selecting the area on canvas (rectangular selection).
  • Selection of the symbol displaying nucleotide means that the group of monomers that make up the nucleotide together with the bonds between them are selected.
  • If at least two adjacent nucleotides are selected the bond between them should also be selected.
  • By Shift+Lclick user should be able to select multiple nucleotides
  • By Ctrl+Lclick user should be able to select entire chain (group of monomers connected by bonds)
  1. Text-editing mode:
  • By (LClick+drag), (Shift+ arrow button) user should be able to select nucleotides like text symbols.
  • In text editing mode only single selected monomer or one uninterrupted group of monomers selected could be replaced by other symbols, otherwise input from keyboard is ignored.
  1. Selection should be removed if user switches from view mode to text-editing mode.
  2. Selection should be removed if user switches between flex/sequence/snake modes.
  3. Pressing 'Esc' button, outclick and selection of other tool (except 'Erase') removes selection.

UX
Actual:
Selecting and deselecting nucleotides

@olganaz olganaz self-assigned this Dec 28, 2023
@olganaz olganaz changed the title Macro: Selection of nucleotides in sequence representation Macro: Selection in sequence representation Dec 28, 2023
@olganaz olganaz added this to the Macromolecules Milestone 5 milestone Dec 29, 2023
@olganaz olganaz removed the draft label Jan 4, 2024
@Zhirnoff
Copy link
Collaborator

Tests added to the automation table.

@epam epam deleted a comment from Andrey-Antonov Jan 24, 2024
@StarlaStarla StarlaStarla self-assigned this Feb 21, 2024
StarlaStarla added a commit that referenced this issue Feb 27, 2024
StarlaStarla added a commit that referenced this issue Feb 27, 2024
@StarlaStarla StarlaStarla linked a pull request Feb 27, 2024 that will close this issue
9 tasks
StarlaStarla added a commit that referenced this issue Feb 28, 2024
StarlaStarla added a commit that referenced this issue Feb 28, 2024
StarlaStarla added a commit that referenced this issue Mar 1, 2024
StarlaStarla added a commit that referenced this issue Mar 1, 2024
StarlaStarla added a commit that referenced this issue Mar 5, 2024
@rrodionov91 rrodionov91 reopened this Mar 6, 2024
@StarlaStarla StarlaStarla linked a pull request Mar 12, 2024 that will close this issue
9 tasks
StarlaStarla added a commit that referenced this issue Mar 13, 2024
StarlaStarla added a commit that referenced this issue Mar 13, 2024
StarlaStarla added a commit that referenced this issue Mar 13, 2024
StarlaStarla added a commit that referenced this issue Mar 15, 2024
rrodionov91 added a commit that referenced this issue Mar 15, 2024
@Zhirnoff
Copy link
Collaborator

Tested. Bug registered #4260

@Zhirnoff
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment