adrian Posted January 20, 2017 Share Posted January 20, 2017 The hover on the entire pagelist line feature is a little buggy. It's a little sporadic, but if you open a branch and then collapse it, the hover no longer brings up the action buttons. Let me know if you can't reproduce and I'll try to investigate. Link to comment Share on other sites More sharing options...
tpr Posted January 20, 2017 Author Share Posted January 20, 2017 Are you sure it's AOS? I can reproduce this when AOS is disabled but maybe that's not what you wrote. Which AOS feature is it (classname?) and which admin theme? Link to comment Share on other sites More sharing options...
adrian Posted January 21, 2017 Share Posted January 21, 2017 23 hours ago, tpr said: Are you sure it's AOS? I can reproduce this when AOS is disabled but maybe that's not what you wrote. Which AOS feature is it (classname?) and which admin theme? I am on the default theme. I can't reproduce without AOS. It's not consistent, but it's also not a huge deal Link to comment Share on other sites More sharing options...
Robin S Posted February 2, 2017 Share Posted February 2, 2017 @tpr - I have struck an access problem with Repeaters that seems to be caused by AOS. I opened a GitHub issue for it rather than clutter up this thread. 1 Link to comment Share on other sites More sharing options...
szabesz Posted February 4, 2017 Share Posted February 4, 2017 (edited) Hi @tpr Can you please somehow make it optional the CKE stuff in AOS? I mean I do not want to use it, so it is just a waste of resources to have the CKE folder around with its hefty 903 files (5.6MB). For the time being can I just delete the whole folder? Any nasty side-effects if I do so? Edited February 4, 2017 by szabesz typo Link to comment Share on other sites More sharing options...
tpr Posted February 4, 2017 Author Share Posted February 4, 2017 I think it's safe to delete if you don't use it. I don't know how could I make it optional without making it uncomfortable for others who are using it. What I could do (and it's on my todo) to reduce the number of files in the CKE plugins directory. 1 Link to comment Share on other sites More sharing options...
szabesz Posted February 5, 2017 Share Posted February 5, 2017 (edited) If it is possible to download this CKE plugins directory as a ZIP file than there could be a download button on the settings page to optionally get it later, but let's just leave it at this theoretical stage and see how you can trim the number of files in the first place. And I will just delete it to see what happens Thanx! EDIT: still theoretically but it might be a better way to include the whole stuff by default, but on the settings page there could be a "remove CKE plugin support" or something like that, which deletes the direcory and the plugin can keep it that way during upgrades. There should be some warnings, of course, etc... Edited February 5, 2017 by szabesz Link to comment Share on other sites More sharing options...
Zeka Posted February 6, 2017 Share Posted February 6, 2017 Hi @tpr! I want to propose some improvements in auto-loaded files. By default these files are loaded: /site/templates/admin.css: CSS file loaded for the entire admin /site/templates/admin.js: JavaScript file loaded for the entire admin /site/templates/cke.js: JavaScript file loaded for CKEditor fields /site/templates/cke.css: CSS file loaded for CKEditor fields /site/templates/templates.js: fallback for the CKEditor "templates" plugin templates From the point that we try to keep templates folder as much structured as possible, it would be great that auto-loaded files, by default, will be loaded for example from "templates/admin/" folder. It also would be conveniently when you use some task runner as Gulp. It that way you can create one task for custom admin assets. Tough, we have settings for custom assets path, it is not very handy to set these paths on every new project. So I want to propose to change how files are auto-loaded by default: 1. AOS looks for files in "templates"; 2. AOS looks for files in "templates/admin"; 3. AOS looks for files in custom paths. What do you think about it? 1 Link to comment Share on other sites More sharing options...
tpr Posted February 6, 2017 Author Share Posted February 6, 2017 It's fine to me, will try not to forget on the next update 2 Link to comment Share on other sites More sharing options...
tpr Posted February 6, 2017 Author Share Posted February 6, 2017 I guess it's safe to set the defaults to "templates/admin/...", I don't want to use so many file_exists(). Is this template structure what you need? Btw until the update you can just replace the string "cke.js" with "admin/cke.js" in AdminOnSteroids.module (and do this with all 5 assets). 1 Link to comment Share on other sites More sharing options...
tpr Posted February 7, 2017 Author Share Posted February 7, 2017 On 2/5/2017 at 7:33 AM, szabesz said: it might be a better way to include the whole stuff by default, but on the settings page there could be a "remove CKE plugin support" or something like that, which deletes the direcory and the plugin can keep it that way during upgrades. There should be some warnings, of course, etc... That could work but it would add an unnecessary complication imho. In the meantime I managed to reduce the number of files to about 200 and overally module size to 2.1MB. So far so good, but I'll keep click around to see if all goes well. 1 Link to comment Share on other sites More sharing options...
Zeka Posted February 7, 2017 Share Posted February 7, 2017 21 hours ago, tpr said: Is this template structure what you need? Yes, it is. "templates/admin/..." by default would be ok. But what about backward capability, if there is no check for the root of templates folder? Link to comment Share on other sites More sharing options...
tpr Posted February 7, 2017 Author Share Posted February 7, 2017 17 minutes ago, Zeka said: "templates/admin/..." by default would be ok. But what about backward capability, if there is no check for the root of templates folder? No, there's not. Imho it's better to leave out that extra 5 file check on every admin page load. This might be a nuissance for existing users but on the long run it's better this way. FYI, v124 is uploaded, containging fewer files and with overall module files weighing 1.7MB. The Modules Directory doesn't contain the documentation anymore as it was moved to GitHub Wiki. I just tested AOS on a new install and so far so good but please report if you find something. 2 Link to comment Share on other sites More sharing options...
szabesz Posted February 7, 2017 Share Posted February 7, 2017 Evening @tpr Is it just me who is missing text-decoration: line-through; from the page list (tree)? See: It was also missing at least in the previous version. I have a site with AOS 0.9.96 where unpublished pages are crossed out (I know it's way back in time...). Link to comment Share on other sites More sharing options...
tpr Posted February 7, 2017 Author Share Posted February 7, 2017 Good catch - it's the double span issue inside the A element. I think it's safe to apply line-through on the inner span too, will update soon. 1 Link to comment Share on other sites More sharing options...
tpr Posted February 8, 2017 Author Share Posted February 8, 2017 FYI I commited the fix (no version change). Only AdminOnSteroids.css needs to be replaced. 1 Link to comment Share on other sites More sharing options...
bernhard Posted February 11, 2017 Share Posted February 11, 2017 vary small thing: could you please make the column width inputfield selected by default after clicking on the width shortcuts? that would make it very fast to change multiple columns at once: click column type number ctrl+s thank you Link to comment Share on other sites More sharing options...
Macrura Posted February 15, 2017 Share Posted February 15, 2017 after upgrade all of a sudden my sites all started to show the alternate skin on CK editor, even though we I don't have that sub module enabled; enabling disabling the CKEaddons doesn't change anything, e.g. it still shows the wrong skin, and also the editor has redundant text align buttons; only way to fix was to disable module. Link to comment Share on other sites More sharing options...
tpr Posted February 15, 2017 Author Share Posted February 15, 2017 Could you check the Body field settings? Re-saving the field may fix this. My idea is to make a hard reload, config.js often gets cached. What have you upgraded and to what version? Link to comment Share on other sites More sharing options...
Macrura Posted February 15, 2017 Share Posted February 15, 2017 AOS 1.2.4, PW 3.0.52; hard reload doesn't affect anything; re-saving field no effect; body field settings look correct... Link to comment Share on other sites More sharing options...
tpr Posted February 15, 2017 Author Share Posted February 15, 2017 I think I got it - I've refactored the submodule enabled state to a function but haven't updated it everywhere, will commit a new version soon. Update - @Macrura could you test if this solves the issue? AdminOnSteroids.min.js Link to comment Share on other sites More sharing options...
Macrura Posted February 15, 2017 Share Posted February 15, 2017 that does indeed fix the issue - thanks!! 1 Link to comment Share on other sites More sharing options...
tpr Posted February 15, 2017 Author Share Posted February 15, 2017 Thanks! That was a silly mistake, interestingly noone spotted it, including me v125 is uploaded with the fix. 1 Link to comment Share on other sites More sharing options...
tpr Posted February 18, 2017 Author Share Posted February 18, 2017 Experiment with pagelist counters (CSS only): 2 Link to comment Share on other sites More sharing options...
Robin S Posted February 27, 2017 Share Posted February 27, 2017 @tpr, I noticed that the filter box icon is out of alignment on Lister Pro pages. Not sure if you have Lister Pro available to test on but the culprit is a CSS rule that sets text inputs to 100% width inside #ProcessListerResults. Maybe force the width back to auto for the filterbox? html.aos div.filterbox input[type="text"] { width:auto !important; } 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now