You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by GitBox <gi...@apache.org> on 2023/01/18 09:32:12 UTC

[GitHub] [streampipes] tenthe opened a new issue, #1119: Remove dependency angular-datatables and datatables.net

tenthe opened a new issue, #1119:
URL: https://github.com/apache/streampipes/issues/1119

   ### Body
   
   ## Description
   The following dependencies should be removed from the package.json file:
   - `angular-datatables`
   - `datatables.net`
   
   Currently we use this dependency in the `help.component` of the preview dialog and in the `main.scss` file.
   As described in PR #1090, these can be removed and replaced with internal CSS.
   
   Maybe it is even possible to remove the `datatables.net-dt` dependency as well.
   
   ## Mentoring
   As this ticket is marked as good first issue: one of @dominikriemer or @tenthe are happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.
   If you are familiar with Angular, this is a good issue to get started with UI development in StreamPipes. 
   
   
   ### StreamPipes Committer
   
   I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402393307

   done. please review the pull request
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1400899453

   getting this error while doing setup even if my docker is running
   `$ ./streampipes env --set UI                                                                                           
   Streampipes environment uses docker, and it isn't running - please start docker and try again!
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] tenthe commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402092576

   Ah very cool!
   
   First we want to get rid of the library `datatables.net`. 
   The CSS of this library is currently used in two components
   - `PipelineElementPreviewComponent`
   - `HelpComponent`
   
   in the editor directory.
   
   The CSS is imported in the file /scss/main.scss in line 22 (`@import '~datatables.net-dt/css/jquery.dataTables.css';`).
   
   The HTML template of the `HelpComponent` uses the `dataTable` class to render a table.
   You need to remove the library and provide some CSS to render the table properly.
   
   To see the component in the software you need to add a new adapter (e.g. Machine Data Simulator) and then click on the `?` in the pipeline editor to see the live data.
   
   I hope this helps


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Remove dependency angular-datatables and datatables.net

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe closed issue #1119: Remove dependency angular-datatables and datatables.net
URL: https://github.com/apache/streampipes/issues/1119


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402246443

   i am having difficulties in finding component for this table. where should we have to add CSS?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] tenthe commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402304594

   Yes this is the component. 
   The component can be found in /src/app/editor/dialog/help/help.component.hmtl.
   
   When you remove the class `dataTable` from the table in line 39 you should see that the styling in this component is gone.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1400901511

   I downloaded desktop docker service and installed Docker-Compose also


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402039397

   i restarted it and it worked see
   ![image](https://user-images.githubusercontent.com/75071915/214320835-a338a010-bbd5-41a4-b32e-1c1745431ba9.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1400390399

   Hey, @bossenti I'm interested in contributing to this issue. How can I get started with it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402198806

   ![image](https://user-images.githubusercontent.com/75071915/214345317-c3fe85e1-c37a-4434-97f2-09fa86cd4025.png)
   this one right??


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] tenthe commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1401634417

   Can you please check if your docker setup works as expected. 
   My suggestion would be that you start the latest StreamPipes release as described here [1].
   The installation guide uses a docker compose file. This way we can make sure that everything works on your machine in docker and you can get familiar with the software and the UI.
   
   Once this works you must stop the docker contaiers of the release version and try to start the development environment as before.
   Let me know if you had any problems with the setup.
   
   Cheers, 
   Philipp
   
   [1] https://streampipes.apache.org/download


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] tenthe commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1400615481

   Hi @yash013 ,
   a good first step is to setup a development environment. 
   A description how to do that can be found in [1].
   Once you have the system up and running you can check where the dependencies are used and start to remove them.
   
   Please let us know when you have any questions.
   
   [1] https://cwiki.apache.org/confluence/display/STREAMPIPES/UI 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402015738

   after couple of reinstallation and bug fixing when I did npm start it is  giving me this 
   ![image](https://user-images.githubusercontent.com/75071915/214316827-6d7d092d-d449-42d1-8735-ca9ed1de1857.png)
   but not happening anything after that


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1401651702

   sure. I try and get back to you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402035201

   ![image](https://user-images.githubusercontent.com/75071915/214320064-e6597827-45fd-42d3-a7e9-19caa555b9e5.png)
   i am talking about this ui part


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] yash013 commented on issue #1119: Remove dependency angular-datatables and datatables.net

Posted by "yash013 (via GitHub)" <gi...@apache.org>.
yash013 commented on issue #1119:
URL: https://github.com/apache/streampipes/issues/1119#issuecomment-1402041526

   what should i do now?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org