NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar eyvazahmadzada
eyvazahmadzada
13 May 2021

Pull Request for Issue #33829 .

Intro

Hello, I'm one of the applicants for GSoC 2021 for the Media Manager project and I'm glad to start contributing to Joomla by creating a pull request for this small issue.

Summary of Changes

Removed stylings from line 78-108 in /administrator/templates/atum/scss/blocks/_form.scss

Testing Instructions

Go to any page that contains a form (for example Administrator > Articles > New > Images and Links) and everything will work normally.

Actual result BEFORE applying this Pull Request

Duplicate scss code in /administrator/templates/atum/scss/vendor/bootstrap/_form.scss (from line 18-48) and in /administrator/templates/atum/scss/blocks/_form.scss (from line 78-108)

Expected result AFTER applying this Pull Request

No duplicate stylings

Documentation Changes Required

avatar eyvazahmadzada eyvazahmadzada - open - 13 May 2021
avatar eyvazahmadzada eyvazahmadzada - change - 13 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 May 2021
Category Administration Templates (admin) NPM Change
avatar eyvazahmadzada eyvazahmadzada - change - 13 May 2021
The description was changed
avatar eyvazahmadzada eyvazahmadzada - edited - 13 May 2021
avatar ceford ceford - test_item - 13 May 2021 - Tested successfully
avatar ceford
ceford - comment - 13 May 2021

I have tested this item successfully on 9753763

To test I searched template.css before and after npm run build:css and saw the duplicate styles disappear.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33834.

avatar YatharthVyas YatharthVyas - test_item - 13 May 2021 - Tested successfully
avatar YatharthVyas
YatharthVyas - comment - 13 May 2021

I have tested this item successfully on 9753763


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33834.

avatar drmenzelit
drmenzelit - comment - 13 May 2021

Thank you @eyvazahmadzada for your contribution. You need to check the classes before removing the duplicates: if a class is a Bootstrap class (e.g. form-check) a override of the class should be in the file administrator/templates/atum/scss/vendor/bootstrap/_form.scss, if the class is specific for Atum, the class should be in administrator/templates/atum/scss/blocks/_form.scss. At least that is the logic I would expect from the scss files in the template.

avatar eyvazahmadzada eyvazahmadzada - change - 13 May 2021
Labels Added: NPM Resource Changed ?
avatar eyvazahmadzada
eyvazahmadzada - comment - 13 May 2021

Thank you @eyvazahmadzada for your contribution. You need to check the classes before removing the duplicates: if a class is a Bootstrap class (e.g. form-check) a override of the class should be in the file administrator/templates/atum/scss/vendor/bootstrap/_form.scss, if the class is specific for Atum, the class should be in administrator/templates/atum/scss/blocks/_form.scss. At least that is the logic I would expect from the scss files in the template.

Yes, you're right, that makes more sense. I've made a new commit to place stylings in their appropriate file.

avatar RickR2H RickR2H - test_item - 24 Jun 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 24 Jun 2021

I have tested this item successfully on e84d2d9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33834.

avatar eyvazahmadzada eyvazahmadzada - change - 16 Jul 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-07-16 03:24:35
Closed_By eyvazahmadzada
avatar eyvazahmadzada eyvazahmadzada - close - 16 Jul 2021

Add a Comment

Login with GitHub to post a comment