-
Posts
2,321 -
Joined
-
Last visited
-
Days Won
44
Everything posted by tpr
-
I had this issue with FEEL though never fixed Perhaps you could hook it, or add a click eventlistener that intercepts the event. Unfortunately Pagelists already have click events and it's hard deal with it - maybe mousedown/mouseup could help somehow (I've used this in a module (AOS).
-
Auto-clearing of the Dumps Recorder could be achieved on client-side on each page load: $(window).on('unload', function () { if ($('a[rel="tracy-debug-panel-DumpsRecorderPanel"]').length && window.Tracy && Tracy.Debug.panels['tracy-debug-panel-DumpsRecorderPanel']) { var BRPanel = Tracy.Debug.panels['tracy-debug-panel-DumpsRecorderPanel']; // init only if it's not initialized if (!$('#tracyDumpEntries').length) { BRPanel.init(); } if (window.clearDumps) { clearDumps(); } } }); Note that I haven't tested this thoroughly but I guess it's safe to use. Maybe there's also a more efficient/nicer way to do this. Edit: if you use 'beforeunload' event instead 'unload' then you can also see the panel clearing. Edit2: fixed the code above: init only if required
-
I guess if you could make the extra features optional and keep only the color tweaks it could be safely used together with AdminOnSteroids, and probably with other similar modules too.
-
I had limited occassions to try but regular Dumps were not showing up when the Dumps Recorder was active, so it seems to work fine here. Admin slowdowns due to many items in Dumps Recorder is still an issue but of course it's not Tracy's fault, but it's still better than seeing no dumps at all (when they disappear).
-
v053 fixes the issue with label-less checkboxes not having field edit tooltips (thanks @ceberlin!)
-
I just tried with AdminOnSteroids and most features of AOS works fine with the module. There are issues with sticky header and there are probably other CSS conflicts.
-
Thanks, good spot. The label in this case is hidden so the tooltip won't be shown (though it's already there). I'll find a way to fix. @bernhard Ok, I'll see - I think the checkbox would be too much in this case.
-
Thanks @Juergen, this should be fixed in v052. There's a new feature to FileFieldTweaks (named FileFieldToolbar before v052) that allows downloading assets - images or files. To keep things simple I've used the "download" HTML5 attribute which doesn't work in IE, at least in IE11. I don't plan to fix this because the download link will open in a new window if it's unsupported so it's still usable.
-
$this->modules->get('JqueryUI')->use('modal'); After that you should be able to see the modal if your link has the "pw-modal" class. If you need to add buttons to the modal, follow the instructions in "\wire\modules\Jquery\JqueryUI\modal.js"
-
Try adding pw-modal to your links. If it doesn't work, you will need to get jQuery modal first from the core modules.
-
I see, thanks. I thought of the event firing when the repeater is expanded, not on add/delete etc events. There's a "reloaded" event for Inputfields but of course that's not entirely the same. This could be used for the "add" event: $(document).on('reloaded', '.InputfieldRepeaterItem', function () { console.log($(this)); });
-
They do fire a js event but the problem is not all field types support Ajax loading.
-
@bernhard thanks, I've fixed the submenu gap in the main nav. I also managed to fix the "hoverSaveDropdown" issue (flicker on hover). It's only CSS and I have to test a little more but it's promising. The solution is to hide the "dropdown" part of the button and add the down arrow with :after. Plus I had to add pointer-events: none to the span inside the buttons as they also caused flickering. I underestimated this issue because it wasn't as noticable in the Reno theme as in the default. Now it seems fine in both of them. As for the centered logo in the login page: I'm not sure about it. I like that it sits in the corner but if there are others who vote for it, then let it be.
-
Thanks for figuring this out @ceberlin! I've set overflow: hidden as you suggested, haven't found a better way. This will be included in the next update. @szabesz I thought adding such feature too but I wouldn't like to re-create existing modules, especially if I don't have something in mind to improve. In case of @bernhard's Pagelist unselect module I had some UI additions and a "restore" feature, that's why I thought it would deserve a chance. In this case (PrevNextTabs) I thought adding a big right-left sticky arrows (like in sliders) but I'm not sure this would be better than the existing module. Anyway, if you have a better idea where should these prev-next links go, please share.
-
Actually you're right Just tweaked AOS so both themes will have centered login. Say hello to the second checkbox in AOS for the default theme Edit: download v050 to log in centered
-
Thanks for the feedback! I don't see the issue with tabs, they doesn't have the gap at the bottom here: Are you sure it's not cache? I checked with Chrome-Firefox too. As for the tabs background, AOS doesn't "know" the colors of the theme, it just fixes things here or there with an additional CSS. So making bigger adjustments that would require bigger changes would be too error-prone (like making pills from tabs). The only colors I use is white and (shades of) black, and I use "inherit" where it's suitable. Otherwise theme colors would go out of control, especially if one sets a different theme color set (at the theme's module settings). AsmTweaks delete icon: well I haven't thought of this before but it makes sense. I have never deleted an asmField accidentally, and probably never moved any by dragging at the "drag" icon, I usually start somewhere in the middle Anyways, I've removed it from the default settings. Sometimes it's hard to decide which way to go: support power users or stay on the safer side I agree that tooltips/description icons are hard to find this way, but I couldn't find a better placement, and it's for power users so they usually doesn't need them. That's why it has an option to disable for non-superusers.
-
The default theme wouldn't be nicer even if it had such login page Do you need that?
-
v049 is uploaded, featuring centered login page for RenoTweak and some modal Module edit fixes/improvements.
-
The Dump Recorder looks great, but there's one issue: after a number of items, the admin loads very slow. Not sure how to overcome this, maybe setting a max limit? Apart from that, how about adding new items to the top? Plus having the normal Dump and Dump Recorder at the same time seems superfluous. Sometimes I don't know in which panel I'm seeing, but of course it's maybe just me.
-
Thanks! You mean the profields table, right? Just checked it and there's a problem: the markup doesn't tell anything about the field type so IUC doesn't fired. I'll see if I can hook and add a class.
-
I might found a bug: On a multilanguage CKEditor field, if I try to restore a revision, always the last language tabs' value is restored (not sure if this is true, I have only 2 languages). Furthermore, the loading span doesn't go away, I had to set display: none to see the results. Or does it remain there to avoid manual editing? If not, I would use display: not or perhaps pointer-events: none to enable clicking. Now I can't even switch language tabs. Maybe only setting a lower opacity (with pointer-events: disabled) and using :after pseudo to add the loader animation would do. This could be achieved simply by toggling a class on the element. I can help you with this if you need.
-
Sh*t happens! You can't make for sure that there will be no errors, even if there was no error getting the username/password a second ago.
-
Looks fine, though perhaps you can add an error checking too (not only success). I would perhaps use httpUrl() instead the relative url, especially for the js location.href - some browsers may choke on that.
-
Thanks. I noticed that there are fewer icons after updating the module a few days ago. Now I feel less stupid that I haven't asked to fix something that is not there
-
I guess you haven't updated for v048, see above. I'll try to find out the thumbs issue. Could you post your settings for it (the contents of the textarea)?