Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • claudiobosticco
    replied
    SmartClient Version: SNAPSHOT_v13.1d_2024-08-29/Enterprise Deployment (built 2024-08-29)

    I can confirm it's fixed, thank you very much

    Leave a comment:


  • Isomorphic
    replied
    Yes, this was added to 13.1 yesterday. Please give it a try and let us know

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by Isomorphic View Post
    We've never used WebJars. The FileDownload servlet will discover static files on either the filesystem or discoverable via the classpath (ClassLoader.getResource()).

    From a conversation with ChatGPT, it looks like we are meant to translate "/webjars" to "META-INF/resources/webjars". We can add that.
    Hello, any news about this issue?

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by claudiobosticco View Post
    Hello, will you please update this thread if you'll add the translation for webjars? TIA
    Hello, just bumping this as in case you manage to add it, I'd like to know about that.

    Leave a comment:


  • claudiobosticco
    replied
    I can confirm it's working. As currently I've defined a global js variable with the sprite:svg: prefix, I've added [APP] to that.
    Maybe it will be simplified by the new Media subsystem.

    Leave a comment:


  • claudiobosticco
    replied
    Thanks, I'm waiting for the build to show up to try it out

    Leave a comment:


  • Isomorphic
    replied
    hi Claudio,

    We've fixed this one (and posted in the right thread this time!) - the change we made broke the regular appImgDir mechanism in various places, and we've reverted it for today's builds.

    Instead, to load files relative to your page, you can use "[APP]file.svg" if it's a one-off, or call Page.setAppImgDir("") if you don't want the default value of "[APP]images/".
    Last edited by Isomorphic; 16 Jun 2024, 23:43.

    Leave a comment:


  • claudiobosticco
    replied
    I see it's fixed, thank you very much

    Leave a comment:


  • Isomorphic
    replied
    Thanks Claudio, we've corrected it for tomorrow's builds.

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by Isomorphic View Post
    In the meantime - we've added a new class, .icon, which sets CSS color, rather than SVG fill and stroke - you should see that in tomorrow's builds, dated March 30 and later.
    Hello, I just noticed that in the last build, in the skin-styles.css file, a comma is missing after .icon:
    Code:
    /* general icons */
    /* .icon series just sets color - this is used automatically by font-icons and by SVG symbols
        that set "fill" or "stroke" to the special value "currentColor"
    */
    .icon
    .iconOver,
    .iconDown,
    .iconDisabled {
      color: #8597a3;
      vertical-align: middle;
      transition: color 0.2s;
    }

    Leave a comment:


  • claudiobosticco
    replied
    Hello, I don't know if it's related to the above fix, but now I see png icons in the showcase which disappear on hovering, ie the tabs icons here https://www-demos.smartclient.com/sm...izeIncrease=10

    Leave a comment:


  • claudiobosticco
    replied
    I can confirm it's fixed, thank you very much

    Leave a comment:


  • Isomorphic
    replied
    Ok, this is fixed for tomorrow's builds, dated May 31 and later.

    When the chevrons.svg sprite is local to your page, this code below will now show the proper icon, and the proper state, on mouseOver/mouseOut.

    Code:
    isc.ToolStripButton.create({
        ID: "alignRight",
        showRollOverIcon: true,
        icon: "sprite:svg:chevrons.svg#arrow_right;cssClass:icon;"
    });

    Leave a comment:


  • Isomorphic
    replied
    Actually, never mind - we see the issue when the path is relative. We'll put a fix in today.

    Leave a comment:


  • Isomorphic
    replied
    hi Claudio,

    An additional "images" here likely implies an errant call to Page.getImgURL(), but some simple testing inhouse doesn't show an issue.

    Can you show a brief sample that has the problem? You can use a builtin SVG in your test code - set your button.icon to "sprite:svg:[HELPERS]media/svg/chevrons.svg#arrow_right", or just it's direct stockIcon name "Chevron_Right" - either will work.

    Leave a comment:

Working...
X