Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Hive 4.6 and beyond
On a more positive note, I’m starting to explore ways of customising the panes for users to tailor their workflow in 4.7. Initially just hiding panes and table columns that are not desired (as well as giving the option of moving the multi-edit from it’s default position below lists to above it, if you so wish – Dale will be happy with that, I think!).
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301352:
Hence why I originally chose somewhere between option 1 and 2 above (because, you know, I actually think about and try these things in code instead of just griping about it in a forum or on textpattern.com blog post comments).
Forms tend to be small snippets of code, where Pages tend to be longer. It doesn’t make a lot of sense to put such big text areas on the Forms panel, I can see it on the Pages panel.
Would you like me to stay away, I can handle making changes to my own administration screens, and forget about the OOBE?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Hive 4.6 and beyond
hcgtv wrote #301356:
Forms tend to be small snippets of code, where Pages tend to be longer.
Sure, not all the time though. Mine are routinely the opposite. My Pages are often about 5-20 lines of code that offload the lion’s share of processing to Forms with loads of conditionals in them:
<txp:output_form form="head" />
<body id="<txp:if_section name="">front<txp:else /><txp:section /></txp:if_section>">>
<txp:output_form form="navigation" />
<txp:output_form form="front_article" />
<txp:output_form form="complementary" />
<txp:output_form form="footer" />
</body>
</html>
Thus, dictating a textarea’s usage isn’t universally a good idea; although we, umm, do it on the Write panel where Excerpt is smaller than Body to bend towards convention.
Perhaps allowing textareas to be set to suit an individual workflow might be better. If you were able to resize the Forms textarea, for example, and it remembered that setting automatically, that’d satisfy everyone, right? Worst case would be that first use would be “too big” or “too small” for your ideal, you’d tweak it, then forget it. Desktop, mobile, wouldn’t matter. Set it for your device and it’d remember it in localstorage.
Any downsides? If not, then I decree that it should be so (if it’s at all possible, I don’t know). And if so, that’s why we invite — and try to employ — feedback from everyone, so a suitable system can be constructed for the good of more people.
Keep ‘em comin’.
EDIT: Looks like it is indeed possible in more than one way.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Hive 4.6 and beyond
Bloke wrote #301360:
Sure, not all the time though. Mine are routinely the opposite. My Pages are often about 5-20 lines of code that offload the lion’s share of processing to Forms with loads of conditionals in them:
About 7 or 8 years ago, I did the same. My Pages were just skeletons, and I hung out in forms, exclusively. When I decided to start creating Themes, back in the Stuart Butcher days, I had to change my ways, or else I’d freak out the new users.
Perhaps allowing textareas to be set to suit an individual workflow might be better.
That would help.
The text areas are just one aspect, menu placement (forms were on the right since the beginning of time, now they’re on the left), quick access to the Save button. Just in general, why all the white space on top when screen real estate is at a premium, especially on the Forms panel.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Hive 4.6 and beyond
Bloke wrote #301360:
EDIT: Looks like it is indeed possible in more than one way.
I’d be happy to see this in core (if you decide not have auto expanding textareas as mentioned in previous message). I’d still put a min-height rule in place (of about 3 rows minimum height) as a safeguard.
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301365:
I’d be happy to see this in core (if you decide not have auto expanding textareas as mentioned in previous message). I’d still put a
min-heightrule in place (of about 3 rows minimum height) as a safeguard.
Min-height: absolutely!
Given that we’re looking at moving towards a more “drag, drop ‘n remember” kind of zero-config interface, and Oleg has already done some great work on localStorage for subpanel twisty settings, remembering other things like textarea sizes is a logical extension of the idea. I say let’s explore it.
Autogrowing textareas have their place, but scare me when we think about the Plugins panel and smd_tags, for example: ~4200 lines of code :-)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Hive 4.6 and beyond
Yep, agreed. As I said, I tried auto expanding code fields and didn’t like it.
We should also hook up the list options soon too (where you can specify exactly which columns in a table are visible – replacing the clunky ‘show more options’ checkbox we currently have). Local storage or database could be used to save those settings.
I’ll also see about incorporating Philippe’s sticky multi-edit field, I like that idea.
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301368:
We should also hook up the list options
Ooh yes. That goes hand-in-hand with this idea. It might also be able to borrow code from the search dropdown thingy — similar jQuery tech to show the available columns and allow you to (de)select them, subject to a minimum of 1(?) column or a ‘core’(?) column or two, I suppose. Presumably at least one column that allows you to jump to the ‘edit’ step has to remain!
We can chat about the specifics later, e.g. whether it’s tied immediately to the checkboxes and columns via jQuery or if you have to ‘submit’ first, and such like.
If there’s no Issue for it yet, wanna add one with a little bit of detail how it should work?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Hive 4.6 and beyond
philwareham wrote #301368:
We should also hook up the list options soon too (where you can specify exactly which columns in a table are visible – replacing the clunky ‘show more options’ checkbox we currently have). Local storage or database could be used to save those settings.
IMO, localStorage fits better for this kind of things, since you can have different settings on desktop and mobile.
Offline
Re: Hive 4.6 and beyond
etc wrote #301373:
localStorage fits better for this kind of things, since you can have different settings on desktop and mobile.
Ab-so-lutely!
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Hive 4.6 and beyond
Bloke wrote #301366:
Autogrowing textareas have their place, but scare me when we think about the Plugins panel and smd_tags, for example: ~4200 lines of code :-)
Even for long articles we (me as editor, but authors as well) are not really confortable with it. It is fine for the average commercial text that is mostly published these days. That is why Sand space theme doesn’t include it.
The suggested option (resize + remember) for the Forms and Page panel sounds good though.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Hive 4.6 and beyond
It’s easy to store UI settings locally, the problem is to clean up the storage when something (plugin…) gets uninstalled. For example, panes states of ied_plugin_composer are stored locally in 4.6 (so you don’t need to sendAsyncEvent() here anymore). But they persist in the storage even when the plugin is deleted, you’ll need to write few lines of js to remove them.
Offline
Re: Hive 4.6 and beyond
Bloke wrote #301371:
If there’s no Issue for it yet, wanna add one with a little bit of detail how it should work?
Yep, will do. I’ll also mockup up a static HTML example this week. Exciting!
Offline
#29 2016-09-12 16:16:06
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Hive 4.6 and beyond
Until now I had no time to install Textpattern 4.6, but in version 4.6 beta 3 still works rah_expanding.
It’s one of the plugins that should be updated and integrated in the core.
Offline
Offline