Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2016-09-12 13:47:27

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

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.

Txp Builders – finely-crafted code, design and Txp

Offline

#26 2016-09-12 14:03:31

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

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

Offline

#27 2016-09-12 14:04:35

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

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

#28 2016-09-12 14:22:14

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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,473

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

#30 2016-09-12 17:43:08

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Hive 4.6 and beyond

GugUser wrote #301379:

It’s one of the plugins that should be updated and integrated in the core.

Why isn’t it ok as plugin? I respect everyone’s choice, but wouldn’t use a script that listens to all keystrokes if I had choice.

Offline

#31 2016-09-12 18:11:25

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Hive 4.6 and beyond

etc wrote #301384:

Why isn’t it ok as plugin? I respect everyone’s choice, but wouldn’t use a script that listens to all keystrokes if I had choice.

I don’t mean the plugin as it is, but its functionality or what it does.

Offline

#32 2016-09-12 19:27:14

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Hive 4.6 and beyond

GugUser wrote #301385:

I don’t mean the plugin as it is, but its functionality or what it does.

Ah, ok then, the speed was my only concern. But some people object that you’ll need to scroll the whole page to go back to top. I agree UI should be as customizable as possible, but this is themes territory for me.

Offline

#33 2016-09-13 01:45:34

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Hive 4.6 and beyond

Live Preview

This is what and beyond looks like to me.

Going this route breaks a ton of admin-side plugins, I know.

Quandary, a state of perplexity or uncertainty over what to do in a difficult situation.

Offline

#34 2016-09-13 06:58:26

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Hive 4.6 and beyond

Whilst undeniably pretty, that would require rewriting the admin side from scratch. Bootstrap is also very large, and cumbersome if you want to deviate from what you are given. The better approach would be to incorporate features from that into what we already have (we already use Bootstrap’s navigation menu script, for example).

Offline

#35 2016-09-13 08:48:57

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Hive 4.6 and beyond

philwareham wrote #301397:

Whilst undeniably pretty, that would require rewriting the admin side from scratch.

Yeah, that’s the breaks a ton of admin-side plugins route.

Bootstrap is also very large, and cumbersome if you want to deviate from what you are given.

You can generate custom builds of bootstrap, and I’ll cross the deviate bridge when and if I come to it.

The better approach would be to incorporate features from that into what we already have (we already use Bootstrap’s navigation menu script, for example).

I’m thinking along the lines of being given all these nifty tools to play with.

The INSPINIA Responsive Admin Theme is an excellent example of such a tool chest. I don’t need all of it for a TXP admin, but it’s nice to have prebuilt widget examples a copy/paste away. Scrolling down the page to the Credits, you come upon a who’s who of open source widgetry at your disposal, nicely interfaced into the admin theme.

INSPINIA costs $1,000 for an extended license, which let’s you use it on any project you’d like. I don’t find it expensive, for the knowledge you are being handed.

Offline

#36 2016-09-13 09:30:29

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Hive 4.6 and beyond

I know how to use Bootstrap thanks.

I’ve just purchased a copy of INSPINIA for reference purposes and the production code is 32MB – that includes 10MB of JavaScript and 66 external JavaScript libraries, each with their own differing licenses (some MIT, some Apache, some BSD, and that’s just the handful I’ve checked so far). Since we are GPLv2 licensed we wouldn’t be able to include and distribute any Apache licensed code for a start, so those would have to be stripped out. It’s a lawsuit waiting to happen if we use this as-is, basically.

Since a lot of INSPINIA is bundles of other open source JavaScript, font and CSS libraries (see the chart scripts, file uploader, Bootstrap, etc.) we can cherry pick those ourselves if desired from the original authors without having to scrap the admin side and starting again from scratch, forgoing backwards compatibility.

But by all means, fork Textpattern and rewrite for INSPINIA – I would be very keen to see an implementation of it.

Offline

Board footer

Powered by FluxBB