Giter Club home page Giter Club logo

typerefinery-websight's People

Contributors

dependabot[bot] avatar harikarthyk avatar harikarthykaapna avatar rahul139-stack avatar rohitgupta274509 avatar shivam-apna avatar skumar84pal avatar wildone avatar

Stargazers

 avatar

Watchers

 avatar

typerefinery-websight's Issues

Trigger JS on component edit.

Updating the Prime Vue components are not getting updated on the fly.
We should re-fetch the updated HTML code on submitting the changes.

Integrating prime vue component

So, in the page folder under the resources, we created the Vue app instance with primevue (for styling) in the body.html.

So the Vue components are rendering. But when we edit the Vue components after clicking submit button in the Edit dialog box the Vue instance or the javascript that is responsible for Vue components, it is not rendering. But I see my changes coming as a response from rootcontainer.html. I believe the Vue thing is not persisting after an edit submission, but we can see the changes after a refresh.

Is there any way or idea to implement Javascript (Vue) in WebSight so that the Vue thing remains after editing?

For referenece, we also raised the issue in Starter comuninty
websight-io/starter#78

Refactoring TMS Connection Setup

Description

  1. Updating the TMS setup.
  2. Adding a generic function that is responsible for listening to the messages.
  3. Making namespaces for the components (clientLibs)

Chart and Map Components

Following components needed to be created.

  1. Line Chart. Please refer to #38
  2. Bar Chart. Please refer to #41
  3. Map Component. Please refer to #39

Input Field Component

We created an Input Field Component

But we are not able to control the inputs.

Please refer to #29

For now, for the Forms, we are now fetching the values from the DOM directly Eg. document.getElementById().value

But this is not the usual way for fetching values in Vue, although this is working, this is not suitable for Checkbox #29, and Radio Button #31.

Button component

Button component.

Need to have the following types.

  1. Reset.
  2. Submit
  3. Button

Add graph variants inside dialog dropdown.

  1. No need to create multiple graph components ,it should get from a single graph components by selecting it from dropdown.
  2. Graph variants should be selected from a single component dialog dropdown while edit graph component.

Textarea component

We created a Text area component using prime vue.
Not able to control the inputs.

Facing a similar kind of problem #29

Folder structure for the models

Description

  1. Update the Folder structure for the models.
  2. Extend the BaseComponent for all the java files.
  3. Remove the unused imports and variables.

Data Table Component

We create a data table with some static values.

However, the data table values are right now coming from vue values, which are mentioned in the vue instance object while mounting. We are unable to add values using any JS files.

Vue instance code
image

Datatable.html
image

Radio button component

We created a Radio button using prime vue.

We are facing the same issue as #29.

The HTML file for the Radio button

image

Components

Components:

  • Checkbox
  • InputText
  • RadioBox
  • Password
  • Text Area
  • Button
    • Type
      • Submit
      • Reset
      • Button
    • Event
      • Label: typerefinery.ai/typerefinery/casemagment/save
  • Dropdown
    • LIST
      • TEXT (key=value)

Checkbox Component

We created a checkbox component.

But we are not able to control the inputs. Not able to make the checkbox functional as we need to v-model to interact.
Since Vue handles them, we could not handle them through our custom JS functions.

We tried passing the values from the model(Java) to the v-model, but that did not work as expected.

The HTML code for the checkbox is attached below.

image

Input text field component

We created a input field component that allows for drag-and-dropping of components.
But we are not able to control the inputs. We have tried by giving id to the input tag and able to fetch $event.target.value from input field using querySelector.
Since Vue handles them, we could not handle them through our custom JS functions. We tried passing the values from the model(Java) to v-model, but that did not work as expected.

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.