Skip to content

Conversation

@fazil-shaik
Copy link

@fazil-shaik fazil-shaik commented Mar 20, 2025

Pull Request for Issue #44957 .

Summary of Changes

Added changes in code of default.php file of adminstartor/components/com_media/tmpl/file/default.php with custom logic for trimming the file name

Actual result BEFORE applying this Pull Request

Trimming of text is full

Expected result AFTER applying this Pull Request

Trimmed the text upto UI/UX view
image
This is the after applying pr result in previous the image is not with me after applying pr the result we get is trimmed text view of image accordance to UI/UX and the code is also optimized and changed

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@joomla-cms-bot joomla-cms-bot added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.2-dev labels Mar 20, 2025
@brianteeman
Copy link
Contributor

Please add some screenshots to illustrate the before and after

@bembelimen bembelimen added the bug label Apr 15, 2025
@HLeithner HLeithner changed the base branch from 5.2-dev to 5.3-dev April 15, 2025 16:36
@HLeithner
Copy link
Member

This pull request has been automatically rebased to 5.3-dev.

@HLeithner HLeithner changed the title #44957 fix changes added custom Trim of Ui image [5.3] #44957 fix changes added custom Trim of Ui image Apr 15, 2025
@brianteeman
Copy link
Contributor

I have absolutely no idea what you are trying to do here. It seems to be nothing to do with the referenced issue

@brianteeman
Copy link
Contributor

Finally worked out what the changes here do and they are NOTHING to do with what you are trying to do as you are editing the wrong file completely. The file you are editing is used to display this

image

@brianteeman
Copy link
Contributor

even if you were editing the correct file this is not the way to change the displayed length of a filename. The current css method is the correct way to do it. Your method can result in multiple images being displayed as the same filename etc etc

@QuyTon
Copy link
Contributor

QuyTon commented Apr 15, 2025

Closing as this is not the correct fix. Thank you for your contribution.

@QuyTon QuyTon closed this Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug NPM Resource Changed This Pull Request can't be tested by Patchtester

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants