NPM Resource Changed bug PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
1 Jun 2023

On the system cpanel there is a json check for various things such as available updates. This will normally show either a ✔️ or a count. BUT in some circumstances the check fails and in this case a ❌ is displayed.

Summary of Changes

As we normally use the ❌to indicate that something can be removed or deleted this is confusing andb doesnt indicate that there was any problem in getting the data. This PR changes the icon to ❓

Testing Instructions

This is a js change so you will need to either code review, use a pre-built install or run npm run build:js

The harder part is to force the json error so that the icon is displayed. If you are on a localhost then you might try to disable the internet and then go to the system cpanel.

Actual result BEFORE applying this Pull Request

image

Expected result AFTER applying this Pull Request

image

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

avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2023
Category JavaScript Repository NPM Change
avatar brianteeman brianteeman - open - 1 Jun 2023
avatar brianteeman brianteeman - change - 1 Jun 2023
Status New Pending
avatar wwwiiimmm
wwwiiimmm - comment - 1 Jun 2023

I believe people may think a question mark for hints or help. Joomla uses a question mark for the Help button.

May I suggest using an exclamation mark, maybe inside a (triangle) badge.
See attachment...

screen shot 2023-06-01 at 12 45 06


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40699.
avatar brianteeman
brianteeman - comment - 1 Jun 2023

i deliberately didn't want something as strong as that

avatar richard67
richard67 - comment - 1 Jun 2023

@brianteeman Not sure if I like the question mark for the reason stated by @wwwiiimmm . But I agree with you about the proposal. How about a red exclamation mark instead of a red question mark, but with the same styling, no triangle or so?

avatar sandewt
sandewt - comment - 2 Jun 2023

A question mark is not appropriate here, because a question mark suggests that an update must be performed. But it doesn't have to be that way. A question mark breeds doubt.

avatar brianteeman
brianteeman - comment - 2 Jun 2023

A question mark breeds doubt.

it should do - thats the point

avatar chmst
chmst - comment - 2 Jun 2023

About testing instruction: Set debug-mode "on" and error-reporting "maximum" - this displays the "x"

avatar alikon
alikon - comment - 2 Jun 2023

what about just only as an informational icon ?

something like

image

avatar chmst
chmst - comment - 2 Jun 2023

What about the flash icon?
grafik

avatar obuisard
obuisard - comment - 14 Aug 2023

The one that makes sense to me is the exclamation mark without the triangle (f12a or fas fa-exclamation).
Agree with this PR that the X needs to changed with something else. I am ok with the red ?, even though we use it for help, but the red color adds context (but not to the color blind).

image

avatar brianteeman
brianteeman - comment - 14 Aug 2023

I am happy with the ? icon I selected. If maintainers want to reject this PR and replace it with a different pr with a different icon then that is their choice.,

avatar brianteeman brianteeman - change - 8 Sep 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-09-08 11:53:15
Closed_By brianteeman
Labels Added: NPM Resource Changed bug PR-4.3-dev
avatar brianteeman brianteeman - close - 8 Sep 2023

Add a Comment

Login with GitHub to post a comment