Content
View differences
Updated by Oliver Günther over 2 years ago
**As a** user of OpenProject ### Steps to reproduce
**I want to** understand and easily use work package (and other resources) short codes
**so that I** do not have to manually type, search for IDs, and remember which codes stand for what aspect.
The current integration of work package short codes (#, ##, ###) into CKEditor is bad and broken. It is not discoverable. We will be looking into a solution that involves something like slash commands or other autocompleters that will help users understand how to use the feature.
> ### Original bug report
>
> _Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
>
>
1. Type ### and the work packege number or select a work package from the pulldown menu.
> 2. The displayed result will be this, regardless of the number of # you typed in: #<mention class="mention" data-id="1213" data-type="work_package" data-text="#1213">#1213</mention> The system will only use the first #.
>
>
### What is the expected behavior?
>
>
_Describe how the application should behave like. Example:_
>
>
1. The result when using ### should display more information: ###123
>
> ###123
##
>
>
## **Work around that works at the moment:**
>
>
1. Type in the ### followed by the ticket ID.
> 2. Ignore the pulldown and save the changes.
> 3. The result will be shown as expected.
>
>
### Environment information
>
>
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
>
>
**OpenProject installation type**
>
>
* [x] Packaged installation
>
* What distribution? Enterprise edition 13.0.6
>
>
**OpenProject version**
>
>
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
>
>
**Browser**
>
>
* [ ] Chrome
> * [x] Firefox
> * [ ] Safari
> * [ ] Mobile Safari
> * [ ] Other (please specify)
>
>
**Language**
>
>
_Please specify the browser language and the language of the OpenProject user for which the bug occurred._
>
>
German
**I want to** understand and easily use work package (and other resources) short codes
**so that I** do not have to manually type, search for IDs, and remember which codes stand for what aspect.
The current integration of work package short codes (#, ##, ###) into CKEditor is bad and broken. It is not discoverable. We will be looking into a solution that involves something like slash commands or other autocompleters that will help users understand how to use the feature.
> ### Original bug report
>
> _Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
>
>
> 2. The displayed result will be this, regardless of the number of # you typed in: #<mention class="mention" data-id="1213" data-type="work_package" data-text="#1213">#1213</mention> The system will only use the first #.
>
>
>
>
>
>
>
>
>
>
>
>
> 2. Ignore the pulldown and save the changes.
> 3. The result will be shown as expected.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> * [x] Firefox
> * [ ] Safari
> * [ ] Mobile Safari
> * [ ] Other (please specify)
>
>
>
>
>
>