# Epic COMMS-242 - Activity tab bug fixes and enhancements

Project: Stream Communicator
Status: tested
URL: https://community.openproject.org/work_packages/COMMS-242

## Detailed specification

### Motivation and background information

We got feedback from several sides that the new **Activity** tab has some annoying UX quirks. Some of them are simply BUGs. Therefore we decided to invest time and efforts to improve the overall experience.

The situation however is rather complex. While it is easy to point to problems like unexpected scrolling and wrong scroll positions fixing it is not as straight forward.

  - iOS's elastic scrolling makes headers flicker and thus push the content down/up sporadically.
    
      - Testing is hard on a mobile device if no physical iPhone is available.
    
      - Testing locally requires a special setup. Or old mobile dev setup instructions are outdated.

  - Old accessibility features make the browser unnecessarily scroll to the tab bar of work packages whenever a WP is access on mobile.

  - "Lazy loading" of the long tail of a WP's journal/activity introduces complexity in event handling.

  - Having multiple WP comment input area sizes introduces complexity.

  - Not sticking to standard Rails/Turbo/Primer for getting specific behavior opened the door for uncommon errors like double submitting a form.

### Acceptance criteria

**Note for QA**

This EPIC itself doesn't require a dedicated QA as all BUGs are QAed by itself. And the overall experience shall be covered by smoke tests.

With this intervention we seek to improve:

  - Predictability of auto-scroll positions: Don't scroll to places that don't make sense.

  - Reduce movements by smooth scrolling to only those situations where it adds value
    
      - Don't do smooth scrolling on loading of the page.
    
      - Keep smooth scrolling when a new message arrives are is submitted.

  - On mobile the comment input area ideally is fully visible and not cut off
    
      - this will also prevent weird iOS cursor misplacements bugs

<br>

### Out of scope

*   Remove sequential numbering for activity entries. This is implemented but we would like to give it some internal testing time before releasing it to the wild.

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

| Attribute | Value |
| --- | --- |
| Roadmap |  |
| Date |  |
| Votes |  |
| List |  |
| Target versions |  |
| Sprint |  |
| Backlog bucket |  |
| Relevance |  |

## Subitems

| ID | Type | Subject | Status | Assignee | Target versions | Project | Priority | Spent time |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| COMMS-220 | Feature | Remove smooth animation when loading the Activity tab with sort order 'Newest at the bottom' | closed |  | 15.3.0 | Stream Communicator | High |  |
| COMMS-3 | Feature | Use @-mention of user when quote replying to a comment | closed |  | 15.4.0 | Stream Communicator | Medium |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Module |
| --- | --- | --- | --- | --- | --- | --- |
| OP-16560 | Bug | Setting the user display format without a lastname breaks User custom fields with group values | closed |  | 15.2.1 |  |
| COMMS-221 | Bug | Label text in comment box is overflowing in German | closed |  | 15.2.1 |  |
| OP-16458 | Bug | Opening a work package (full view) on mobile auto-scrolls to the tab row when not desired | closed |  | 15.3.0 |  |
| COMMS-215 | Bug | Activity tab does not scroll to the bottom for work packages with long history | closed |  | 15.3.0 |  |
| COMMS-192 | Bug | Duplicate work package comments when clicking submit multiple times | closed |  | 15.3.0 |  |
| COMMS-187 | Bug | Misplaced cursor in comments text editor on iOS  | closed |  | 15.3.0 |  |
| COMMS-138 | Bug | Network error about notifications showing up on Community | closed |  | 15.3.0 |  |
| COMMS-152 | Bug | Quote comment action does not work if the Activity comment box already has text in it | closed |  | 15.3.0 |  |
| COMMS-129 | Bug | Notification center: Activity tab goes into mobile layout even when the browser window is smaller desktop wide | closed |  | 15.3.0 |  |
| COMMS-243 | Bug | Big space below the comment box on mobile  | closed |  | 15.3.1 |  |
| COMMS-176 | Bug | Activity tab comment submission can sometimes dissapear | rejected |  |  | Modules and project features / Comments and activity |
| COMMS-177 | Bug | Submitting a comment whilst an attachment is pasted and upload hasn't finished removes the attachment from the submission | on hold |  |  | Modules and project features / Comments and activity |

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Designer |  |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |

## Description

This EPIC serves as a container for a concentrated intervention to improve the UX of the new **Actitivty** tab.
