Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More details and overview in the Bindings tab #30

Closed
SeeSharpSoft opened this issue Oct 4, 2015 · 3 comments
Closed

More details and overview in the Bindings tab #30

SeeSharpSoft opened this issue Oct 4, 2015 · 3 comments

Comments

@SeeSharpSoft
Copy link
Contributor

This is a proposal for enhancing the Bindings tab.

Motivation

What I would like to see as a developer when investigating into the binding of a property:

  • the model => name, type and content
  • the context => content
  • the path
  • the value from the model
  • the formatted value
  • the formatter function
  • the value type
  • the binding mode

Due the support of multi-binding, showing the model/path/value gets more complex. However, I would like to see all parts of the binding including the individual models, paths and values.

Furthermore I would like to change a bound value in the model and see its change reflected in the property. This would especially be useful for UI related bindings, e.g. visible, expanded, listMode, etc.

How it might look like

My proposal for the bindings tab is shown in the following picture:

image

Editing the values is enabled for all models with TwoWay bindingmode.

image

Changing the bound model value is not only reflected in the model information but also in the property and in the UI itself.

Implementation

A running version is available here: https://github.com/SeeSharpSoft/ui5-inspector/commits/BINDINGS_FEATURE_MODEL_DETAILS

Please note: This is not a final commit. Besides certain TODOs it also needs some conceptual rework.

I am looking forward getting feedback on this.

@Chariyski
Copy link
Contributor

Hi Martin,

We will have a meeting with our PO for your proposition and I will inform you about the decision. Unfortunately this will happen next week :)

Best regards,
Krasimir

@Chariyski
Copy link
Contributor

Hello @SeeSharpSoft,

We will provide similar functionality in a future version of the extension. Once the version is decided I will add the request to the proper milestone.

Best regards,
Krasimir

@limpbizkit107
Copy link
Contributor

Hi @SeeSharpSoft ,

We have merged your implementation of the feature with some small modifications for the cases where we found bugs. For the moment we just displaying the information in the binding tab a further implementation of editing the bindings will be planned soon. Big Thank you for your contribution it was very helpful !

Regards,
Stefan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants