Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#109 2025-10-11 11:04:00

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,019
Website GitHub

Re: RFC: Textpattern 5 ideas & feature requests

phiw13 wrote #340915:

I would prefer a pref honestly as that leaves the possible actions clear.

A per-user pref isn’t much hardship. Might even be doable now. Let me ponder.

rename the “Go back” to “Cancel”.

Neither are a great choice. As you rightly say, if you’ve performed some destructive edit then you can’t cancel it. And if you land on the edit panel from somewhere else (e.g. directly from the Write panel from com_article_image) then Go Back doesn’t return you to the Write panel.

Ideas welcome.


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

#110 2025-10-15 20:55:32

neptho
Member
From: A cold, dark place.
Registered: 2006-02-01
Posts: 51

Re: RFC: Textpattern 5 ideas & feature requests

Bloke wrote #340917:

Ideas welcome.

“You done goofed.”

Offline

#111 2025-10-16 10:00:24

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,491
Website

Re: RFC: Textpattern 5 ideas & feature requests

Bloke wrote #340917:

A per-user pref isn’t much hardship. Might even be doable now. Let me ponder.

Neither are a great choice. As you rightly say, if you’ve performed some destructive edit then you can’t cancel it. And if you land on the edit panel from somewhere else (e.g. directly from the Write panel from com_article_image) then Go Back doesn’t return you to the Write panel.

Ideas welcome.

The Image> edit panel is quite difficult, as the “Save” action only applies to what happens in the sidebar – meta data column, but the “Delete” button is global as it deletes image and thumbnail(s) and the meta data. More destructive action: edit some meta-data (don’t save) and update image or thumbnail. That action actually reloads the panel and deletes your fresh meta-data edit. That has bitten me a few times and on distracted-by-the-rain days.

I think Hive had some mockup for the Edit image panel that mimics the Pages / Forms panel. But I am not sure if that makes things more easier to understand – maybe it does by virtue of having the same reading order as the Edit files pane.

(at least the Files > Edit panel is a little more straightforward due to its (top-to-bottom) linearity. This makes it a little less likely to see your meta-data edits accidentally blown away.)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#112 2025-10-16 10:21:57

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,019
Website GitHub

Re: RFC: Textpattern 5 ideas & feature requests

Agreed. The Image edit step needs some UX love to make things clearer.

Happy to take suggestions and mockups from anyone who feels they can make it better.


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

#113 2025-10-17 07:51:51

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,491
Website

Re: RFC: Textpattern 5 ideas & feature requests

Bloke wrote #340931:

Agreed. The Image edit step needs some UX love to make things clearer.

Happy to take suggestions and mockups from anyone who feels they can make it better.

Some possible alternative layouts – the reading flow matches the File Edit panel with the Image preview/ replace / thumbnail management coming first (incidentaly, that is where the destructive edits take place).

  1. simply flip the order: image on the start (left) side, meta data on the right side
  2. match the Pages/ Forms / … panels with the “Save” & “Delete” area at the top in a sticky widget.

The first one is obviously closest to the current one. For the second one I moved the “Go back” link below the Save + Delete buttons. That matches more what the action does I think, and it gives less the impression of being a “cancel” like action. The text label on that link could use some improvement, though. It still from the issue noted above. It always goes back to the Images list panel, that would need some wrangling with the underlying code (maybe some JS manipulation with the history object? Dunno).

Option 1: dev.l-c-n.com/txp-4.9/secondary/content-image_edit_2.html
Option 2: dev.l-c-n.com/txp-4.9/secondary/content-image_edit_3.html

Note: code wise, the Option 2 mockup comes closer to the Edit plugin panel.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#114 Yesterday 16:34:00

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,531
Bitbucket GitHub

Re: RFC: Textpattern 5 ideas & feature requests

Add / upload an SVG to images from a textarea.

Paste the SVG code in, optionally lint it, and create both the file in the images directory as well as the entry in the images panel.

Offline

#115 Yesterday 17:21:45

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,531
Bitbucket GitHub

Re: RFC: Textpattern 5 ideas & feature requests

A couple of considerations for image handling enhancements:

Site pref toggle for creating thumbnails for uploaded images. Bonus points for bitmap / vector granularity, e.g. create thumbnails for bitmap formats, do not create thumbnails for vectors.

Multi-select option to delete image thumbnails only, rather than the image + its thumbnail(s).

Offline

#116 Yesterday 18:17:25

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,019
Website GitHub

Re: RFC: Textpattern 5 ideas & feature requests

gaekwad wrote #340950:

Add / upload an SVG to images from a textarea.

That’s a great idea, if we can do it.

gaekwad wrote #340951:

Site pref toggle for creating thumbnails for uploaded images.

If I have my way, this will be handled via a pref to list which image sizes you want the site to create on the fly from your uploaded original. Those will be the only sizes allowed. And they will not be created on upload. Only when first used, then cached.

Core itself will have a pref for one size that it uses for itself – and you can choose this to be one of the permitted “front end” sizes or something different. Nominally it might be 120 or 200px square, or whatever we decide works for a grid. But if you don’t want thumbs displayed in your grid, just don’t set this value to anything.

Bonus points for bitmap / vector granularity

This is trickier but I agree. No need for vector other image sizes at all, so that needs to be taken into account.

Multi-select option to delete image thumbnails only, rather than the image + its thumbnail(s).

Yes, this will probably be implemented as a “clear cache” option for the selected image(s) as a multi-edit feature.


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

Board footer

Powered by FluxBB