Coder Social home page Coder Social logo

Comments (8)

pofider avatar pofider commented on September 3, 2024

Sure recipe makes very much sense. Lets replace the icon with a custom icon provided by the recipe...

I'm not sure about the engine. Users usually get familiar with a single recipe and use it everywhere. Lets rather save the space in the entity tree for something else like labels.

from jsreport-studio.

zam6ak avatar zam6ak commented on September 3, 2024

recipe icon only works for me! :)

from jsreport-studio.

pofider avatar pofider commented on September 3, 2024

I was looking at this feature now and realized that there are not so many meaning full icons at least in font awesome we use. This would be likely a discotheque of misleading icons. Perhaps better to solve this just with different colors of the default icon.

from jsreport-studio.

zam6ak avatar zam6ak commented on September 3, 2024

What is missing from FA? html, pdf, excel, text, xml, all have icons....

However, I was just thinking about another related issue.
The goal was to add icons (and tags) to make organization easier....
The issue is that tags/icons/colors alone won't help as you may run into this:
Let's say you want to replace name parts with labeles:
So going from this:

report-one-hb-html
report-one-hb-pdf

To this:

report-one {tag: hb}{tag:html}
report-one {tag: hb}{tag:pdf}

would result in 2 templates with same name....
Won't that be an issue?

from jsreport-studio.

pofider avatar pofider commented on September 3, 2024

The pdf can be generated using fop, wkhtmltopdf, phantom and electron. Excel can be generated using xlsx and html-to-xlsx.

Maybe the best to put both ideas together. Lets have a pdf icon for those 4 but with different fg colors.

from jsreport-studio.

zam6ak avatar zam6ak commented on September 3, 2024

Colors, in my opinion, would make it look busy....Perhaps Bootstrap labels or badges (tiny ones), with different color, next to name?

from jsreport-studio.

pofider avatar pofider commented on September 3, 2024

label or badge would need to be very tiny to don't take too much space. I'm gonna try something and share a screen.

from jsreport-studio.

pofider avatar pofider commented on September 3, 2024

Release 1.2.0 now enables custom icons in entity tree. So far the phantom-pdf and html recipe supports this.

Additionally the scripts extension has different icon for a global script and assets have different icons for html, js, css and images

The other recipes will come step by step.

from jsreport-studio.

Related Issues (20)

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.