Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

automatic Column sizing not showing all text although space would be available #772

Closed
metasnw opened this issue May 22, 2017 · 10 comments
Closed

Comments

@metasnw
Copy link
Member

metasnw commented May 22, 2017

Type of issue

Feature Request

Current behavior

image

Expected behavior

If other columns have enough space shrink them and use the space to show other columns whose data is cut off

Steps to reproduce

https://w101.metasfresh.com:8443/window/123/2156481

compare column Type and Created by (erstellt durch)

Severity

Two cases are currently known and there is no workaround:

  1. request type names which are widely used in CRM
  2. product name in order line
@damianprzygodzki
Copy link
Contributor

damianprzygodzki commented May 22, 2017

Duplicate of #217, @cadavre could you take a look at?

@metasnw
Copy link
Member Author

metasnw commented May 22, 2017

@damianprzygodzki
to me it seems to be in the same area but comparing the screenshots of both issues it seems to be a different problem.
If you can solve both with the same fix I am fine but this one is actually causing problems at different users and need to be addressed.

Ideas:

  1. use content of cell to determine the column size
  2. provide a workaroud like mouse over to allow the user to see the content of the field

@metas-mk I am sure you will also have feedback on this.

@cadavre
Copy link
Contributor

cadavre commented May 22, 2017

It actually is same issue as in #217 but still waiting for response. There is no way we can determine column widths based on content while they have their own priorities. This would need some additional control on backend side.

@metasnw
Copy link
Member Author

metasnw commented May 22, 2017

is this because you do not know its content?

@metas-mk
Copy link
Member

Discussed in Jour Fix.
Provide the size override for window & column layout if different for the given window: S, M, L

@metas-mk metas-mk added this to the 2017-22 milestone May 23, 2017
@damianprzygodzki
Copy link
Contributor

lg = 225px
md = 100px
60px < sm <100px

@teosarca
Copy link
Member

In "element", i think we shall introduce an optional property called "width" which can be S, M , L.
fine for u?

@damianprzygodzki
Copy link
Contributor

maybe size would be better, because it is not actually width.

@teosarca
Copy link
Member

yup, size it's also OK for me.
So pls, let's go with the "size".

NOTE: atm backend is not providing this property so you would need to mock it while dev-testing.

@damianprzygodzki damianprzygodzki self-assigned this May 23, 2017
damianprzygodzki added a commit that referenced this issue May 24, 2017
metas-ts added a commit to metasfresh/metasfresh that referenced this issue May 25, 2017
[#409](metasfresh/metasfresh-webui-api-legacy#409) backend: change view attributes endpoint location
[#1639](#1635) cannot complete distribution order
[#760](metasfresh/metasfresh-webui-frontend-legacy#760) Fix the texts displayed while loading
[#787](metasfresh/metasfresh-webui-frontend-legacy#787) window endpoint: change "attribute" to "field"
 [#763](metasfresh/metasfresh-webui-frontend-legacy#763) grid: right click on a cell and zoom into
 * [#1617](#1617) Check if imported esr file is v11 file
* [#1615](#1615) Address lines is cut off on shipment jasper document
* [#1591](#1591) Password Field is missing in user window in WebUI
* [#1586](#1586) New Window for OrgType in WebUI
* [#1584](#1584) New Window for Org in WebUI
* [#1585](#1585) New Window Client in WebUI
* [#762](metasfresh/metasfresh-webui-frontend-legacy#762) Empty Filter vs. Default Value in Window Filtering
* [#778](metasfresh/metasfresh-webui-frontend-legacy#778) Yellow pulse effect w/o data change
* [#407](metasfresh/metasfresh-webui-api-legacy#407) View filtering by virtual SQL column not working
* [#412](metasfresh/metasfresh-webui-api-legacy#412) Provide API for sorting included tab
* [#411](metasfresh/metasfresh-webui-api-legacy#411) Provide "size" to layout element
* [#396](metasfresh/metasfresh-webui-api-legacy#396) Vendor Return Actions in WebUI
* [#772](metasfresh/metasfresh-webui-frontend-legacy#772) automatic Column sizing not showing all text although space would be available
* [#774](metasfresh/metasfresh-webui-frontend-legacy#774) Fix invalid "GET /window/{windowId}/{tabId} call
* [#764](metasfresh/metasfresh-webui-frontend-legacy#764) Long text boxes shall have a border around
* [#769](metasfresh/metasfresh-webui-frontend-legacy#769) Honor tab stale flag also when editing in advanced mode
* [#767](metasfresh/metasfresh-webui-frontend-legacy#767) Got same notification several times
^* [#766](metasfresh/metasfresh-webui-frontend-legacy#766) issue panel doesn't open
* [#765](metasfresh/metasfresh-webui-frontend-legacy#765) Date + Time Info in Notification window
[#378](metasfresh/metasfresh-webui-api-legacy#378) Document changes: provide the validStatus and saveStatus only when changed
* [#405](metasfresh/metasfresh-webui-api-legacy#405) Backend shall provide JSON document fields indexed by field's name
* [#1560](#1560) Add description fields to invoice window
* [#1577](#1577) Introduce /test/ping/notifications server troubleshooting endpoint

me-45
@metas-mk
Copy link
Member

Tested. Works nicely with current data. Done, closing.

@metas-mk metas-mk self-assigned this May 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants