# Feature OP-9897 - On closing the split screen, the previously open card should go from selected (blue) to normal state

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-9897

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2021-11-01 – 2022-02-27 |
| Priority | Low |
| Target versions | 12.1.0 |
| Sprint | 12.1.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

Currently, when the split screen is open, the card that is "open" is highlighted in blue, as specified.

However, the open card remains blue even when the split screen is closed.

**Animated illustration:**

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27567/content"></div></figure>

### **Acceptance criteria**

  - When the split screen is not already open, clicking on a card to "select" it is not possible (neither on the team planner calendar nor on the Add Existing pane)
  - When the user clicks the "i" info button to open the split screen and that card goes to the "selected" state (blue)
      - Clicking on cards now becomes possible so the user is able to change focus of the split screen by clicking on other cards
  - When the split screen is closed, the last "open" card (which was blue) goes back to its normal state (white for normal cards, grey for closed ones)

### Note

This feature is closely related to <mention class="mention" data-id="41080" data-type="work_package" data-text="#41080">\#41080</mention>, which specifies extending the same behaviour to the cards in the Add Existing pane.

This behaviour is indeed different from work packages in a table view, which has a "selection" mode where a single or even multiple work packages can be selected. The team planner does not have a selection mode, so clicking on a card to "select" it should not be possible outside the context of when the split screen is open.
