Project

General

Profile

Actions

Feature #97043

closed

Replace IRRE image while retaining text and links

Added by Christian Toffolo over 2 years ago. Updated 13 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2022-02-25
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Needs Decision

Files

Untitled Project.png (261 KB) Untitled Project.png Christian Toffolo, 2022-02-25 12:37

Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Epic #93528: Backlog of UX ideas for EditorsNew2010-11-11

Actions
Related to TYPO3 Core - Feature #95447: Edit file properties directly from where it is referencedNew2021-10-02

Actions
Actions #1

Updated by Christian Toffolo over 2 years ago

Add a new button to replace IRRE image while retaining text and links.

Actions #2

Updated by Georg Ringer over 2 years ago

  • Status changed from New to Needs Feedback

Thanks for creating this issue. While this might look easy in the first run, this would lead to lots of decisions which need to be made but are totally unclear. An example is the cropping information which is also persisted in the reference. should those be kept or removed as well?

Actions #3

Updated by Christian Toffolo over 2 years ago

I propose to ask the user "Keep cropping information?" (only if the cropping is set) at the time of replacement.

What are the other decisions to make that come to your mind?

Actions #4

Updated by Christian Toffolo over 2 years ago

Or, like it happens replacing file in Filelist module (just tested in v10), cropping information is preserved. The editor then have to fix it eventually.

Actions #5

Updated by Christian Toffolo over 2 years ago

  • Status changed from Needs Feedback to New
  • Target version set to Candidate for Major Version
  • Parent task set to #93528
Actions #6

Updated by Christian Toffolo over 2 years ago

  • Parent task deleted (#93528)
Actions #7

Updated by Christian Toffolo over 2 years ago

  • Related to Epic #93528: Backlog of UX ideas for Editors added
Actions #8

Updated by Riccardo De Contardi about 1 month ago

  • Related to Feature #95447: Edit file properties directly from where it is referenced added
Actions #9

Updated by Garvin Hicking about 1 month ago

  • Category set to Backend User Interface
Actions #10

Updated by Garvin Hicking about 1 month ago

  • Sprint Focus set to Needs Decision

Another idea was mentioned in the related #95447 - adding a "deeplink" to the filelist tree to perform the operation(s).

It might be hard to actually do that, because the filelist tree is paginated, and "jumping" to a file will be hard. It might be possible by performing a search on the filename in a specific directory. At least jumping to the directory of the file could be possible.

Sadly, for a deeplink into this, several other URI arguments (like "tile or list view") may be persisted and might need retrieval from the last-visit state. So this may get actually harder than you'd think in first instance.

Having said that - I think it would be very helpful for editors to be able to have this possibility to "go" to the originating file!

Actions #11

Updated by Georg Ringer 13 days ago

  • Status changed from New to Closed

hey,

we discussed this as this would also mean that replacing should be done not only for sys_files_references but also for any other IRRE relations including then child records with more and complexer fields or maybe also again irre inside.
as this will get UX wise really problematic.

as mentioned already you can replace files in the filelist module.

if you don't agree, feel free to contact me via slack!

Actions #12

Updated by Christian Toffolo 13 days ago

I have a doubt that this request of mine has been misunderstood.

The button should not replace the file as it does in the Filelist module. It should replace the file only in the reference.

Basically, more or less:

UPDATE sys_file_reference SET uid_local=<new_uid> WHERE uid=<old_uid>
And then fix sys_refindex accordingly.

Or am I missing something?

Actions

Also available in: Atom PDF