Giter Club home page Giter Club logo

dsweb's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dsweb's Issues

Datepicker review, cleanup

  • GWTTestCase doesn't seem to work for that, it's probably a current HtmlUnit limitation
  • there seems to a be a lot of strange cases

Button.bindIcon()

This method unusable in servermode because of NotSerializableException

Select component keeping null value

If the Select has no null value option, it will have the first selectable option as the initial value, but this value is not propagated to the bound target, so it will remain null until the user changes selection.

Typeahead selection bug

If I select from the typeahead list it's binding well to the presenter but the input looks like it's empty.

Support for hiding columns in a DataTable

Well, this is actually not about hiding, but declaring if the column should be rendered or not. In some cases the columns to display depends on some context information (role, whatever) on the same view. Now we can only add multiple tables with different columns and display only the one which should be displayed (but in this case, the other tables will be still there in the DOM).

Provide jquery-like api to work on inline styles

That's rarely needed though, but can be really useful sometimes.
The style attribute now is a single string. We can keep it as a string on the BaseComponentModel, but we can have a nice api on the BaseComponent builder side:

button.css("display", "inline");

And also for querying the property

button.css("display")

We can keep an ObservableMap of the specified properties and append the items to the model.style string when the map changes. This should basically allow us also to bind specific CSS properties like

button.bindCss("display", bindOnPresenter().get(Presenter_._buttonDisplay))

Binding related data can work inconsistently depending on propagation order

See eg. AbstractSelect, if the value options arrive later than the selected value.
AbstractSelect will also break if we insert new values to the options before the selected one (the index will remain the same).

The same holds for DataTable if the datasource value changes and the selection is not updated.

Create GwtTestCase on the branch "typeahead-free-text"

The expected behaviour:
If the Typeahead allows custom test, it's always bound as String, with bindCustomText. This however doesn't affect the selectable options of the typeahead, they can still be of any type. So if the user selects a suggested value, if will be written to the presenter with the propert type. If the user enters a custom text, it will be bound to another presenter property with String type.

Things to test (allowing custom text):

  • if a suggested value is selected, it's reflected in the target bound with typeahead.bind() (from abstractselect), and the custom text (the target of bindCustomText) is null.
  • if a custom text is entered, the value will be null on the presenter (the selectedindex is -1 in the model), and the custom text has the user entered value.

New component: RadioButtonGroup

It should work quite the same as Combobox (AbstractSelect).
This component will not let you customize the layout too much, itt will render the options sequentially.

Textarea - readonly attribute/property, setRows(...) method

1.Let's introduce a new attribute to Textarea, the readonly attribute!
The ability to set/bind the readonly attribute could help in displaying correctly multiline (non-html) string values.

2.Another question related to Textarea:
Textarea class has setRows(...) method instead of the more conventional withRows(...) and bindRows(...) pair.
Is there a specific reason to name it in this way, or could it be adjusted to the conventions?

((3.) standard html input tag has also readonly attribute. Maybe InputText could handle it like Textarea )

TabSheet tab removal error

When a tab is removed from the tabsheets, the JQuery element should not be remove()-d, only disposed by the renderer. See ChildrenRenderer.

Cleanup showcase pages

Create individual view-presenter pairs for each compoent showcase page. The left-side menu will be instantiated in each of the views.
Along with this, we should migrate the GWT-based Place and AbstractActivity usage to the stuff we created in dsweb-mvp (as seen in workbasket or dsbpm-ui)

Provide better api for supporting null valued option in AbstractSelect

If both the selected value and the select items are bound, we have to be prepared to that the value arrives earlier than the selectable items.
We also have to handle that if the value is null, and there's no selectable null option, that the value is updated to the first select option (as it works in the UI normally), see #7 .
This actually implies that we have to handle the null option specially. We should not allow null values in SelectItems and the Select component should have a dedicated null value option feature (that is usally rendered as "Please select..." or "Filter for all").

Two pie chart on one view

I have created a view with two pie charts. I realized that only one pie chart can be visible on one view at the same time.

InputTags looses first tag item

How to invoke in bpmn:

  • Create process, with a single mail task with several address in to field
  • Restart server, reopen mail task.
  • first address is missing (on the form only)

In InputTagsRenderer items are added, then the first one is removed, initiated from the widget.change listener.

placeholder

Input* komponensekben jó lenne ha állítható lenne.

Support style classes in DataTable rows and cells

In many cases make sense to add CSS classes to table TRs and/or TDs - especially if the style class should be determined by the contained data (example: in a todo list highlight the rows which have high priority)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.