User Details
- User Since
- Oct 1 2021, 07:59 (133 w, 4 d)
- Availability
- Available
Tue, Apr 16
You are right of course!
Yeah, there are some malformed URLs we should tackle for sure.
I have edited the answer. Because with draw.io you can integrate Mermaid out of the box. With R5 you can start using the syntax like instantly.
@valerio.bozzolan Could you try again to install it? There is a readme with new instructions.
Mon, Apr 15
Sun, Apr 14
@mturdus right, I don't have the whole picture of the little bit wild codebase 😁 Thanks for the pointer. As far as I can see, this image and the DOMContentLoaded event handler serves no purpose anymore. All is working without. I have renamed the main js and some functions in it for clarity. Would love if you could give it a try.
- Renames behavior and some functions and gets rid of unnecessary image proxy
@mturdus I have added some console logs in the js code (so patch and purge the caches on <phorge-base>config/cache/!)
- Caches draw.io assets, uses base64 method of diagram and adds some console logs for js debugging
Firefox does work for me. Does Chrome work for you?
Sat, Apr 13
@mturdus You don't have to download the diff, you can do an arc patch D25577 (and you should, because I have changed something again). Mh, but I don't know why it should not work.... 🤔
- Dumps base64 image data directly while remarkup rendering and adds js/css files for remarkup object rule
@mturdus Is the phorge_extension.js file loaded?
Well I have worked the entire day on this (and I see your mentioned issues)... main problem is: extension is not working with security.alternate-file-domain. That I have fixed at least for the creation/editing of diagrams. I have changed pretty much and would love to send a diff.
Fri, Apr 12
(Working on fixing it...)
Thu, Apr 11
Wed, Apr 3
I never use them, because there is no real method search. I think, we should be considering generating a documentation with a real php documention tool. But whatever we do: I think we can remove them in their current form.
Tue, Apr 2
- Moves readme to the top in home view
Well, my idea was to use the already implemented logic of the diagram extension and just extend it with another diagram renderer. But @mturdus is not responding 😁
Well, you know what would be next level for a dev? If (s)he clicks on it, the color is copied to the clipboard. We can't use this behavior, because behaviors loose their state in the remarkup cache...
Mar 15 2024
Updated Pygments with pip to 2.17.2 und cut the time in half. So yeah, that's already an improvement.
Well, good to know that it is not something in the phorge codebase. Our server has pygmentize 2.14.0 - but the server itself is really not the best, so that could be an explanation. Maybe we could make some remarks about performance and keeping the versions fresh on the diviner page...
Mar 14 2024
Feb 23 2024
Feb 21 2024
The word solution would solve it from the expecting side, you are right. Here in my company the search is used frequently and only as a plain text search. So we have to escape the special regex signs time and again. Just would be interested if this is seen as an issue by others who uses the feature.
Thanks for the clarification. I still think we should tackle the exception.
Feb 16 2024
Just asking for a friend: Is there some progress on this?
Maybe this could be integrated in the Diagrams extension...? I mean: the entire infrastructure is there - you just have to decide, what lib you wanne use when creating a new diagram. @mturdus What do you think about this?
Feb 15 2024
- Making @valerio.bozzolan happy
I really have struggled to find any device in our company that can't do await/async. I strongly bevlieve it is a non issue. Let us land this thing now and see if we get any feedback of an error.
- Changes the order of the variables and function calls
- Extends select behavior and only select content on first click
- Updates map
- Ignores async jshint
Feb 14 2024
Well, now I have tried to satisfy every wish.
- use async/await for copy promise hell
- make the io button to just a type icon
- select entire text when clicking inside the input field
- patch JsShrink to shrink await/async syntax
(This Quickfix would help: https://github.com/vrana/JsShrink/pull/6/commits/5b2dd500d25b29ace2fbd76fc95b4518ef22abfc 😆 )
await/async won't go through the shrink process without destroying the entire syntax. And if it will go through this jsxmin binary, who can know? Note for the future: Maybe replace the entire shrink process with a new and used php shrinker like JShrink.
@avivey worst case is a syntax error because the operators are not known. Even that could be wrapped inside a try/catch.
@valerio.bozzolan could be done with the current behavior but this kind of implicit actions seems not the phorge way...?
Feb 13 2024
I have to wait for the success or failure of the copy action, so I think this ui example makes no sense for my case. The notification should not be triggered by a button click.
Feb 12 2024
Well, I see a tremendous critism and scepticism concerning modern client side techniques here. The world of frontend tooling has changed tremendously in the last 5 years. And I understand concerns, but nobody has to write JavaScript for certain browsers anymore. Javelin for example tries to solve so many problems that Babel solves with one config entry. But that's okay and I like the architecture here and know we can't change everything at once.
The overwriting of variables with media queries could be configured inside the theming class. So possible breakpoints can be part of a theming API.
And my general approach is: when the client can do something (and that even better), why should the server do it?
@avivey CSS vars are a vital part of modern modularized theming. They are versatile, can be overwritten with media queries or per class/element basis. They are editable in browser dev tools. If you would ask me: this step is pretty important.