silverwind
silverwind
Ideally we would render .drawio files ourselves, but as far as I can tell, the drawio renderer is not available as standalone JS. It is possible to self-host draw.io though,...
As I understand it, the only official draw.io interface is the full-blown editor UI. What we need would be a viewer-only UI. Maybe there are third-party made renderes available somewhere.
Seems confluence has done some integration with a `viewer.min.js` file from the draw.io repo, so it may be possible: https://www.drawio.com/doc/faq/configure-javascript-viewer-drawio-confluence-server
Seems they are embedding a iframe from `https://embed.diagrams.net`, not an ideal solution but could at least work with self-hosted renderer if that URL is made configurable.
> Why not just use drawio JS as lib? There is no lib as far as I know, it's only available integrated with their backend.
I'm against prettier, especially for CSS. Often times formatting is used for good reason: - Visual grouping of simple selectors on one line: ````css .red { color: red } .blue...
In the JS example, I find our formatting easier to read because `name` and `data` are vertically aligned, but prettier broke the alignment with the last element where it thought...
Yeah I think we are better off without for now. On Topic: Golang also has a formatter which we use, and it produces [such great diffs like this](https://github.com/go-gitea/gitea/pull/29311/files#r1498673764) because of...
From your screenshot: Can you vertically center the button? Should be as simple as adding `gt-df gt-ac` classes to the blue box.
> the Workflow.WorkflowDispatchConfig() method still return non-nil when workflow_dispatch is not defined. I submitted a PR https://gitea.com/gitea/act/pulls/85 to fix it. Still waiting for them to process. Is it still required?...