Jump to content
tpr

AdminOnSteroids

Recommended Posts

Hey @tpr - you have been busy while I have been away :) I haven't played with it yet, but it looks awesome - do you feel like another feature request?

https://processwire.com/talk/topic/13041-pw-3015-new-quick-tree-debug-view-panels-and-more/?p=118514

Not sure how easy this would be to do in your module, but thought I'd throw it out there!

Share this post


Link to post
Share on other sites

I hope Ryan plans to add such features to the panels you requested. I guess some features could be implemented easily, like auto width, position next to content, etc. I'll see.

  • Like 2

Share this post


Link to post
Share on other sites

Ever got lost in asm field(set) hell? This might help:

post-3156-0-46179900-1465626292_thumb.gi

  • Like 6

Share this post


Link to post
Share on other sites

Just uploaded v019 with the collapsable asmSelect fields update. The screenshot in the previous post was updated because there's always an icon in the beginning of the row to make the hierarchy easier to see (there was only a "+" icon beforehands). Double-clicking on the ending item also collapses the section.

The update does not contain the ctrl+s CKEditor feature, I need to think it through how to organize.

  • Like 2

Share this post


Link to post
Share on other sites

hey tpr,

one thing that i find annoying some times is that multi-column-fields are stacked on mobile but also set to have the same height. on desktop that makes sense so that it is a proper grid, but on mobile the fields are stacked to 1 column and therefore it would be great if every field had only the height itself needs.

but maybe that should be more a fix of the core than an "enhancement" via your module. what do you think?

Share this post


Link to post
Share on other sites

I think the admin is meant to be used on desktop but I'll see if there's an easy fix to this, maybe setting height: auto or similar is enough. Could you show an example scenario where this happens? (what field to add with what settings)

Edit: try adding this to AdminOnSteroids.css and see if it helps:

.maxColHeightSpacer {
    display: none;
}
  • Like 1

Share this post


Link to post
Share on other sites
@media screen and (max-width: 767px) {
  .maxColHeightSpacer {
    display: none;
  }
}

that fixes the problem on the standard theme

what do you think? i think this should be fixed in the core.

Share this post


Link to post
Share on other sites

Seems OK to me - google shows that this was already on the table in PW forums:

https://processwire.com/talk/topic/10802-issues-with-javascript-setheight-function-in-pw-admin/

AOS v02 is just uploaded, with some AsmTweaks fixes and a feature to move the delete button to the left on Asm fields. I use a wide screen monitor and this bugged me a lot :)

  • Like 1

Share this post


Link to post
Share on other sites

Great addon! Have been using it and I like how it tweaks the admin. 

This feels like when I found out about HelperFieldLinks. Maybe one day all of this will go into "power user mode" module.

Share this post


Link to post
Share on other sites

Thanks! Glad to hear that. I also use it on my sites and it speeds up navigation and feels better, but of course that can be because it's tailored to my likings.

What submodules are you using?

I've also thought about adding edit links to fields/templates like HelperFieldLinks do, but without the info popup.

v021 is uploaded to GitHub:

  • sticky admin tabs when compact sticky header is enabled
  • stickyCKEditorToolbar fix for multilanguage fields
  • module submitted to modules directory
  • CSS fixes

The tabs are sticked to the header so when the site is scrolled down they are still visible, no need to scroll up.

aos-stickytabs.png

  • Like 2

Share this post


Link to post
Share on other sites

Another commit today containing the new Hotkeys submodule. This enables saving page on ctrl+s, even from within CKEditor. What's more, it works on various page types, eg. when editing templates, fields, roles, etc. As there was no general rule I could apply to save pages, I had to manually add the enabled ones, so if you find a page type which doesn't work but should, please report.

If enabled, the submodule will disable the default browser Save dialog on all admin pages. I think that dialog has no function in the admin but correct me if I'm wrong.

On save there's a white overlay with a fancy css3 animated floppy icon, to  indicate something's happening:

aos-save.gif

  • Like 7

Share this post


Link to post
Share on other sites

Updated to v025, here are the latest changes:

0.2.5 (2016-06-28)

  • new RenoTweak: miniScrollbar for main content and sidebar (using perfect-scrollbar.js)
  • added Language Translator page to the supported hotkey save pages

0.2.4 (2016-06-26)

  • remove ctrl+click feature to activate all language tabs of the same language (core feature from ProcessWire 3.023)
  • FireFox fix for clearing filterbox

miniScrollbar in action:

aos-customScrollbar.gif

  • Like 5

Share this post


Link to post
Share on other sites

@bernhard Just noticed that before you wrote, glad it's fixed.

AOS v026 is uploaded with two tiny update: allow ctrl+s on the first step of Add new page + adding sequential tabindices to inputs (textareas, selects). The latter solves the issue that often TABbing doesn't jump to the next input because there are other inputs in between. This solution isn't perfect but it's very simple, and it would do in most cases. Also works with ajax-loaded fields/tabs.

  • Like 1

Share this post


Link to post
Share on other sites

Great module tpr. Some really great features.

I just had an idea and wasn't sure if a module or feature request existed already? or wether it should belong here or in the core?

I like the minimalistic and ease of use by Processwire and mods your module offers and was thinking would be great to have an option to hide all notes for all fields, or the option to have these converted to an icon near the field title (such as a question mark icon), for fields which have them, and on hover to then show any notes set to the field. 

I think this would save a lot of screen real estate as users who are more frequent with the use of the CMS, tend to not require to see the notes after a while.

Not sure how hard this would be though? :)

Anyway, thanks for the great module!

  • Like 1

Share this post


Link to post
Share on other sites

I only occassionally use description and notes but I agree that it could save some space.

@bernhard I saw that topic earlier, thanks. At first I'll see if I can do it CSS only, that would be more lightweight and unobtrusive. Here is a quick demo of the first mockup (written in dev tools):

aos-css-tooltip.gif

Update: the double coffee worked :)

aos-css-tooltip-1.gif

aos-css-tooltip-2.gif

  • Like 5

Share this post


Link to post
Share on other sites

Just added two screencaps to the post above. On the last one the tooltip occupies the whole field area, I'm curious what do you think about that. It's better in dev POV because there are no z-index issues (in some cases the tooltip got cut by other elements). Or the tooltip could go to the right of the icon, with its arrow pointing leftwards.

  • Like 1

Share this post


Link to post
Share on other sites

Wow. What kind of coffee you drinking?! I didn't expect something so soon. :)

I like the last one too. Looks good!

  • Like 1

Share this post


Link to post
Share on other sites
31 minutes ago, grimezy said:

Wow. What kind of coffee you drinking?!

corporate :)

Here is the basic tooltip-version that have notes and description fields. On double-click the tooltip stays visible, to enable copying text. There is a hack to tackle IE and if the content has html, that's also covered.

aos-css-tooltip-3.gif

  • Like 5

Share this post


Link to post
Share on other sites

Well done.  

I was going to suggest something previously, such as a click to keep things visible for copying, but didn't want to push my luck!!

  • Like 1

Share this post


Link to post
Share on other sites

v027 is up with the Tooltips submodule. The CSS got a bit complicated but hopefully everything will be fine forever so I don't have to dive into it again :)

You can switch whether to use it for field descriptions and/or notes, and whether to use the "overlay" style.

  • Like 6

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By eelkenet
      Hi! I've created a small Inputfield module called InputfieldFloatRange which allows you to use an HTML5 <input type="range" ../> slider as an InputField. I needed something like this for a project where the client needs to be able to tweak this value more based on 'a feeling' than just entering a boring old number. Maybe more people can use this so I'm hereby releasing it into the wild. 
      EDIT: You can now install it directly from the Modules directory: http://modules.processwire.com/modules/inputfield-float-range/
       
      What is it?
      The missing range slider Inputfield for Processwire. 
      What does it do?
      This module extends InputfieldFloat and allows you to use HTML5 range sliders for number fields in your templates.
      It includes a visible and editable value field, to override/tweak the value if required.  
      Features
      Min/max values Precision (number of decimals) Optional step value (Read more) Optional manual override of the selected value (will still adhere to the rules above) Configurable rounding of manually entered values (floor, round, ceil, disable) Usage
      Clone / zip repo Install FieldtypeFloatRange, this automatically installs the Inputfield Create new field of type `Float (range)` or convert an existing `Float`, `Integer` or `Text` field. To render the field's value simply echo `$page->field` Demo
      A field with Min=0, Max=1, Step=0.2, Precision=2

      Field with settings Min=0, Max=200, Step=0.25, Precision=2

       
      Todo
      Make the display-field's size configurable (will use the Input Size field setting)  Hopefully become redundant  
      Changelog
      004 (current version)
      - Make rounding of manually entered values configurable (floor, round, ceil or disable)
      - Fix small JS bug when the value-display field was not displayed
      - Update README
      003
      - Code cleanup, add some ModuleInfo data & LICENSE
      - Submit to PW Modules directory (http://modules.processwire.com/modules/inputfield-float-range/)
      002
      - Fix issue where setting the step value to an empty value created problem with validation
      - Make the display-field optional
      001
      - Initial release
       
      Thanks!
       
       
    • By Gadgetto
      Status update links (inside this thread) for SnipWire development will be always posted here:
      2019-10-18
      2019-08-08
      2019-06-15
      2019-06-02
      2019-05-25
      If you are interested, you can test the current state of development:
      https://github.com/gadgetto/SnipWire
      Please note that the software is not yet intended for use in a production system (alpha version).
      If you like, you can also submit feature requests and suggestions for improvement. I also accept pull requests.
      ---- INITIAL POST FROM 2019-05-25 ----
      I wanted to let you know that I am currently working on a new ProcessWire module that fully integrates the Snipcart Shopping Cart System into ProcessWire. (this is a customer project, so I had to postpone the development of my other module GroupMailer).
      The new module SnipWire offers full integration of the Snipcart Shopping Cart System into ProcessWire.
      Here are some highlights:
      simple setup with (optional) pre-installed templates, product fields, sample products (quasi a complete shop system to get started immediately) store dashboard with all data from the snipcart system (no change to the snipcart dashboard itself required) Integrated REST API for controlling and querying snipcart data webhooks to trigger events from Snipcart (new order, new customer, etc.) multi currency support self-defined/configurable tax rates etc. Development is already well advanced and I plan to release the module in the next 2-3 months.
      I'm not sure yet if this will be a "Pro" module or if it will be made available for free.
      I would be grateful for suggestions and hints!
      (please have a look at the screenshots to get an idea what I'm talking about)
       




    • By Robin S
      Another little admin helper module...
      Template Field Widths
      Adds a "Field widths" field to Edit Template that allows you to quickly set the widths of inputfields in the template.

      Why?
      When setting up a new template or trying out different field layouts I find it a bit slow and tedious to have to open each field individually in a modal just to set the width. This module speeds up the process.
      Installation
      Install the Template Field Widths module.
      Config options
      You can set the default presentation of the "Field widths" field to collapsed or open. Field widths entered into the Template Field Widths inputfield are only applied if the Edit Template form is submitted with the Template Field Widths inputfield in an opened state. "Collapsed" is the recommended setting if you think you might also use core inputs for setting field widths in a template context. You can choose Name or Label as the primary identifier shown for the field. The unchosen alternative will become the title attribute shown on hover. You can choose to show the original field width next to the template context field width.  
      https://github.com/Toutouwai/TemplateFieldWidths
      https://modules.processwire.com/modules/template-field-widths/
    • By adrian
      Tracy Debugger for ProcessWire
      The ultimate “swiss army knife” debugging and development tool for the ProcessWire CMF/CMS

       
      Integrates and extends Nette's Tracy debugging tool and adds 35+ custom tools designed for effective ProcessWire debugging and lightning fast development
      The most comprehensive set of instructions and examples is available at: https://adrianbj.github.io/TracyDebugger
      Modules Directory: http://modules.processwire.com/modules/tracy-debugger/
      Github: https://github.com/adrianbj/TracyDebugger
      A big thanks to @tpr for introducing me to Tracy and for the idea for this module and for significant feedback, testing, and feature suggestions.
×
×
  • Create New...