Content
View differences
Updated by Wieland Lindenthal almost 4 years ago
### Steps to reproduce
1. Login as any user into Nextcloud
2. Go to a any file -> Three dots Hamburger -> Details -> OpenProject tab
3. Associate the NC file with one or more OP Work Packages
### What is the buggy behavior?
All problems described here appear in the context of the OpenProject configuration option that a state of a Work Package (for example: "In progress") may have an associated color, or not.
* Bug #1 is that the status colors are apparently cached in Nextcloud Nextclould (which is great!), but eternally, so changes in the OP configuration will never make it into Nextcloud.
* Bug #2 is that the "naked" (without the color bubble around it) status looks loks a bit off-placed
* Bug #3 is that the work package type can have also very light colors that can have very bad contrasts.
### What is the expected behavior?
* Bug #1: A cache timeout of an hour or so for the status colors would allow OP configuration changes to slowly move to Nextcloud.
* Bug #2: Add I'm not 100% how a "less off-placed" design would have to look like. Or maybe add a default color. The color? Please talk to OpenProject product team will add the default color value here shortly.
* Bug #3: I would be great to have an outline or similar for the font for light colors (OpenProject has a solution for it in its front-end code) instructions.
### Screenshots and other files
Here is a screenshot with one WorkPackage in status "New" (correctly rendered) and a WP in status "in progress" without color, that looks a bit off-placed.
_<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/34932/content">_
### Environment information
I'm reporting this while Nextcloud 24.0.1 on Docker with the plugin integration\_openproject on branch "moveGenerateOauthURI" with the last commit #7325b0aada759956259643dabd86b3b75e287a06 by Artur Neumann. I'm using OpenProject 12.1 on the other side.
1. Login as any user into Nextcloud
2. Go to a any file -> Three dots
3. Associate the NC file with one or more OP Work Packages
### What is the buggy behavior?
All problems described here appear in the context of the OpenProject configuration option that a state of a Work Package (for example: "In progress") may have an associated color, or not.
* Bug #1 is that the status colors are apparently cached in Nextcloud
* Bug #2 is that the "naked" (without the color bubble around it) status looks
* Bug #3 is that the work package type can have also very light colors that can have very bad contrasts.
### What is the expected behavior?
* Bug #1: A cache timeout of an hour or so for the status colors would allow OP configuration changes to slowly move to Nextcloud.
* Bug #2: Add
* Bug #3: I would be great to have an outline
### Screenshots and other files
Here is a screenshot with one WorkPackage in status "New" (correctly rendered) and a WP in status "in progress" without color, that looks a bit off-placed.
_<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/34932/content">_
### Environment information
I'm reporting this while Nextcloud 24.0.1 on Docker with the plugin integration\_openproject on branch "moveGenerateOauthURI" with the last commit #7325b0aada759956259643dabd86b3b75e287a06 by Artur Neumann. I'm using OpenProject 12.1 on the other side.