Code Monkey home page Code Monkey logo

svgpublish-releases's Introduction

svgpublish-releases's People

Contributors

nbelyh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

svgpublish-releases's Issues

Relative links to external files

Now when you export a diagram, the hyperlinks in that diagram are exported as full path, the "Relative Path" setting is ignored. You can workaround that by setting "hyperlink base" to some level, but should be better to use the "Relative Path" setting instead.

Motivation: if a user has links to other files (like HTML files, or PDF files) in the diagram, when they move the whole exported structure to a different folder, the links should be preserved. Like test/production environments.

Search for properties

Implement search by properties. If a shape contains user-defined properties, they should be indexed and included in the search. User should be able to search by these

if a file name contains dot(s) then export is broken

I was hoping this ad-din would solve all the issues with Visio HTML.

I did a simple export of a swimlane diagram with a number of other pages referenced by hyperlink from shapes in the diagram.

I get a list of the pages but only the last one is displayed and trying to select the diagram just re-shows the last page.

Any suggestions please? I really want this to work!

Layers switching logic should match Visio

If a shape belongs to multiple layers, if you switch those ON/OFF, the logic of show/hide does not match Visio logic.

How it should be:
The shape should be shown if it belongs to at least one Visible layer (or no layer)

SortOrder is not respected in properties window

Currently it appears that the plugin does not honor the “SortKey” in the Shapesheet when displaying the data on the Shape Properties side pane.

It should be respected (the sort order should match the one of Visio default "Shape Data" window)

Provide information on the screen for current position (swimlanes and containers)

When a diagram is large, or zoom factor is big, it is easy to lose the context. For example, if all you see shapes, and swimlane header is out of the screen, it's hard to tell where you are.

For now the solution to implement is to provide a tooltip, that can stay on the screen even if the shape is outside, similar to options "auto top", "auto bottom".

image

Support/verify modern (2f) authentication

Verify that extension works with 2F authentication and SharePoint online

Check value of the flag "LegacyAuthProtocolsEnabled" on your SharePoint site (if legacy authentication protocols are disabled for your site):

Connect-SPOService -Url https://xxxxxx.sharepoint.com
Get-SPOTenant | Select LegacyAuthProtocolsEnabled

Looks like in case legacy protocols are disabled, there is this exception: Cannot contact web site 'XXXX-admin.sharepoint.com' or the web site does not support SharePoint Online credentials

Include attached files

Provide an option to include attached files when exporting a diagram, keeping the links The important part is that if the links were relative, the exported links should also be relative.

Tooltips and Popovers are not working

In release 1.2.12.215 the tooltips and popovers hover over and click is not poping up as they use to in the previous version, but the shapes only get marked as shown here:
image

Filter by properties

Allow search to filter by specific properties, with syntax similar to name:value
image

Related: #8

Provide subscription license support

To support short-term customers, who only may need the extension for one project, a subscription license support will be provided. Monthly price is expected to be around 1/10th of the retail price.

Could not establish trust relationship for the SSL/TLS secure channel

Error connecting to SharePoint: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

They have a SharePoint 2016 on Premise server, I’ve contacted them to see what changes they have made since it worked 20 Dec 2018.
But it’s a government organization with outsourced IT so many people involved…

There are a lot of hits searching for “SharePoint 2016 Unable to connect to the web site The underlying connection was closed. An unexpected error occurred when sending”

Some regarding to force using TLS 1.2.

The address I’m trying to publish to is https://utsidan.energimyndigheten.se/test_sektorsstrategier/

Page links in Firefox do not work

I have a problem with SVGExport. When I export locally, hyperlinks in Firefox (v60.0.2) are prefixed with "file: /// C: /..../null". This problem does not exist with Chrome.
Do you have an idea?

I send you the .vsdx and the .html.
I also made 2 screenshots, the first with Firefox, the second with Chrome.
Thanks a lot for your help.

SharePoint page is saved as "draft"

If you export a diagram to SharePoint, by default it is saved in "Draft" state. This makes it invisible to "Visitors" of the site. To open it to "Visitors" you have to "publish" it again with menu:

image

The extension should publish the diagram by default (or at least provide a checkbox to do that automatically)

get rid of jQuery

To minimize the number of files... also bootstrap 5 will not require jQuery anymore.
Also to support simple embedding scenarios wit "no-third-party-files"

Sequence of layers in sidebar

Is it possible to change the sequence/order of layers in the sidebar?
The order in the HTML-file after export is now determined by visio drawing.
If I'm correct: Visio sorts layers in order of old to new.
Would be great if order could be easily adjusted, rather then delete all layers and add them in the right order (pretty much work for different files & tabs).

Close (modern 2f) authentication window

As I wrote you on March 9th we got a new issue on the 2f authentication

The login still seems to work, but your add-in don’t seem to “catch” it right, as I doesn’t close the screen that pops up, as you see below:
image
How is it going with this issue?

Tooltips position for containers is not valid

In the recent change when tooltips are shown for containers only when mouse hovers the header. However, the tooltip position is not relative to the header but to a full container.

PWA export

Allow to create PWA application out of the export (new basic template)

The idea is to allow users to export an APP to a website, and then run it from a tablet or a phone as a local application. Such as circuit drawing of floor plan (offline)

Support custom fill patterns

Now, Visio SVG export does not support custom fill patterns, and exporting a diagram that uses it produces single-fill shape.
If possible it would be great to support at least to some extent, via SVG filters for example.

(high-DPI) buttons "Save" and "Cancel" are missing on Edit Markdown dialog

On high-DPI settings (150% text size and above), the buttons are missing.
I can write markdown instructions and see a preview of the tooltip but I am unable to save the custom template and it therefore does not apply to the published drawing. The problem is that I cannot access a save or cancel button:

image

Implement WordPress plugin

Build a WordPress plugin to host the SvgPublish export.

The plugin should support

  • Gutenberg block
  • Shortcode

The extension itself should have a button to export to WordPress (either as block or directly into a table, with xml-rpc maybe)

Multi-language support (DE, RU)

Make all UI elements to be available in German and Russian in addition to English

The language is selected by the Visio language.

Allow plain svg export

Allow to export SVG with extremely simple template: just {{{SVG}}} and (optionally) the resize script

Support tooltip with "follow cursor" option

For some shapes, like long lines, the tips are shown in the center, but it would make sense to show them next to the cursor. There is a workaround script for that, but needs to be added as a standard option.

Provide basic introduction article for d3 usage

I am thinking of licensing your SvgPublish add-in because I want to use Visio as a user-friendly tool to design Andon-Style display in factories to show equipment status and order progress. For this it is necessary that I can assign specific names to display objects, so I can change display properties and text of the objects. So far I think your product can help me. I have one question though: the exported object consists of a "g" element with nested other elements (like g, rect or text). is there any way to assign names to those inner elements or can i only do this after export by manually editing the HTML file?

classes are not set for background shapes

Now when you export a diagram, background shapes are not post-processed, but exported as-is (as a picture basically)
This is to support post-processing for background shapes as well via checkbox.

Provide option to include all files into single HTML

Provide an option to pack all scripts into a single file (do not generate the "vp" folder with "system" scripts)
This can be useful when sending a diagram as a single file; users often forget to include the "vp" folder with scripts.

Use GitHub api v.3.0 to allow smoother GitHub publishing experience

Recently GitHub released API v. 3.0 that allows some specific page operations that were not possible before:

Feature to automatically pick up URLs in properties

The text in the built-in properties panel to be auto-converted to a hyperlink (in case the value contains or is a hyperlink)
This is not currently out of the box, but there is a workaround to be used (known feature request).
The steps then to add it to your diagram, this should auto-convert all "link-like" properties to "real" links:

This issue is to make this as a checkbox.

$(document).ready(function() {
    diagram.selectionChanged.add(function() {
        $("#shape-props table tr td + td:contains('https://'), #shape-props table tr td + td:contains('http://')").each(function(_, el) {
            var href = $(el).text();
            $(el).html("<a target='_blank' href='" + href + "'>" + href + "</href>");
        })
    });
})


image

debug log

Add support for diagnostic logging

cursor: pointer for no reason on the shapes

It seems that for all shapes (even those without text, such as connectors if they are thick) the “pointer styling” is set, even if there is NO links on a shape. The filter glow is not initiated for those shapes without hyperlinks, but the pointer styling causes incorrect hover behaviour because of the change in the cursor – this confuses users of the exports.

This happens in case everything is turned off, except for the hyperlinks.

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.