Jump to content

tpr

Members
  • Posts

    2,321
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by tpr

  1. Thanks, please try replacing the main CSS. AdminOnSteroids.css
  2. Ok, all shoud be fine in v139. One thing that I removed is the drag handler icon. I couldn't find a way to show it nicely so now the only thing that indicates the splitter is the mouse cursor. There was an issue with the splitter's height too. Now it's set by JS because I didn't want to go flex and risk breaking other things. From the docs:
  3. Yes, that's an issue that needs some thinking. Do you think globally disabling to remember position would be enough? Also now all splitters share the same splitter setting which is probably not suitable for everyone. I guess I can fix this easily though. Another idea borrowed from file managers to use double click on the splitter to restore the default position. So you can drag it freely and it would be remembered but you could restore defaults when needed.
  4. Yep, sorry for that, should be fixed in v138.
  5. Uses localStorage to remember position.
  6. Both updates are available in v137.
  7. Sneak preview of draggable column splitter when using AOS admin columns:
  8. Thanks, got it sorted out, now it works with Repeaters and ajax-loaded fields, need to check with RepeaterMatrix too. Will update the module later if all goes well.
  9. Two new macros in v038: minify and editlink. Minify is an easy way to remove unnecessary whitespace and optionally to try some additional tweaks too. It's nowhere to ProCache or AIOM but can help reducing markup size. I could tweak things on one site to achieve 100% HTML minification according to gtmetrix but that required extra work on the markup so this macro alone won't help you on this As a bonus the macro can be used to remove whitespace between list items (<li>'s) which sometimes can cause headaches. Editlink is another helper that can substitute bigger modules like FEEL, Fredi or the built-in frontend editor. There's nothing special in it, just outputs edit links to edit the page in the admin. First I was about to modify FEEL but I realized this would be more fun
  10. I think the time I could invest in this workaround could be spent on adding ajax save to ckeditor
  11. AOS triggers the save button only, what you need would be ajax save which is harder to implement. Maybe I'll check it some day though. Of course I could find a way to Maximize after ctrl+s but I'm not sure this won't be a nuissance.
  12. Thanks, but it seems OK to me, at least I can't see the issue on the gif. So at the end of the video if you click on the Maximize button nothing happens? My best guess is that you expect the editor to re-maximize automatically which is not the case. I've installed SystemNotifications module and disabled all other submodules of AOS but it's still working as expected here (on "expected" I mean what I expect :)). If you think it's still an issue and could provide a login to me to check, that would be great (or install a new PW instance for me to check, it's a few minutes using Soma’s Online Installer)
  13. Fyi AdminOnSteroids module is able to put pages to the sidebar. It is using Javascript to append the pages because there's no hook I could use so it may not fit your needs.
  14. I may not understand it correctly but it sounds that the page you are editing is not reloaded after ctrl+s. On reload everything should start clean so no idea how this could fail. Anyway I committed the update (no version change), plus made ctrl+s work in cases when the page is opened in a modal, eg. when using FEEL or perhaps the bult-in front-end editor.
  15. No idea what is happening there No errors here on latest PW dev and latest AOS, default and Reno themes. Cache? Edit: have you added CKEditor buttons to the body field before AOS? Sometimes that can cause JS errors, re-saving the field usually helps.
  16. Replace this file until module update. AdminOnSteroids.min.js
  17. It seems that the Maximize plugin replaces the DOM entirely and there's no Save button at all. My only idea is to trigger a click on the pushed Maximize button which works, though the transition to the non-maximized state is visible for a few milliseconds.
  18. Maybe this: https://processwire.com/blog/posts/introducing-tracy-debugger/#template-path-panel
  19. For ckeditor there is already a Maximize plugin in aos (ckeaddons). As for the other fields the biggest issue is the button placement, or finding another solution to trigger. I think such features would fit to the drop down idea I plan to add to field labels - when my time allows
  20. v134 has a new option for FileFieldTweaks: disable filename truncation for File fields. Thanks @BitPoet for the right track and @Robin S for the request. This was something bugged me for some time but was lazy to investigate
  21. v133 contains a new CKE plugin Code Snippet which lets you insert rich code snippets with syntax highlighting into the editor. The plugin uses highlight.js. On the frontend you'll need to include highlight.js assets and initialize (see more at higlightjs.org): To customize the languages available for selection and the theme, add this to /site/templates/admin/cke.js file (this is the auto-loaded configuration file for CKEditor, you can modify it in the Asset Paths section in AOS): CKEDITOR.editorConfig = function (config) { config.codeSnippet_theme = 'foundation'; config.codeSnippet_languages = { apache: 'Apache', css: 'CSS', html: 'HTML', ini: 'INI ', javascript: 'JavaScript', scss: 'SCSS', php: 'PHP', sql: 'SQL', }; };
  22. #3 try "reloaded" event on the input field. You might check code in aos, eg for inputfieldurlchecker.
  23. New feature in v131: new move to first/last buttons for file/image fields (FileFieldTweaks). This adds up/down icons (right-left in case of images) that you can use to move items to the first or last position.
  24. Thanks, but unfortunately there were other issues with the current approach. In v130 (just uploaded) all should be fine, and pagelist IDs are visible in the new Tree menu too. This version also contains the option to align the top nav to the left in the default admin theme (idea & request by @Robin S - thanks!).
×
×
  • Create New...