Skip to content

[4.0] Toolbar Close/Cancel#33317

Merged
Quy merged 5 commits intojoomla:4.0-devfrom
brianteeman:buttons
Apr 26, 2021
Merged

[4.0] Toolbar Close/Cancel#33317
Quy merged 5 commits intojoomla:4.0-devfrom
brianteeman:buttons

Conversation

@brianteeman
Copy link
Copy Markdown
Contributor

@brianteeman brianteeman commented Apr 25, 2021

The cancel button should have the text
Cancel when its a new item
Close when its an existing item

With this PR I have fixed the few instances that incorrectly did not follow this pattern which is used in all the other 33 views.

Summary of changes
Create a New Article - Cancel
Edit an Article - Close
Create a Workflow - Cancel
Edit a Workflow - Close
Create a Workflow Stage - Cancel
Edit a Workflow Stage - Close
Create a Workflow Transition - Cancel
Edit a Workflow Transition - Close
Edit an image - Close
Create a private message - Cancel
Read a private message - Close

The cancel button should have the text
Cancel when its a new item
Close when its an existing item

With this PR I have fixed the few instances that incorrectly did not follow this pattern which is used in all the other 33 views.

Summary of changes
Create a New Article - Cancel
Edit an Article - Close
Create a Workflow - Cancel
Edit a Workflow - Close
Create a Workflow Stage - Cancel
Edit a Workflow Stage - Close
Create a Workflow Transition - Cancel
Edit a Workflow Transition - Close
Edit an image - Close
Create a private message - Close
Read a private message - Close
@richard67
Copy link
Copy Markdown
Member

@brianteeman I've just tested:

2 of the things in your list don't work for me:

  • "Create a New Article - Cancel" - I still have "Close" also after having applied the PR, even after having made a new installation after that.
  • "Create a private message - Close" - I have "Cancel" in this case. I guess it's a typo in the description, because the logic would say "Cancel" for the new item.

The rest is as described.

@brianteeman
Copy link
Copy Markdown
Contributor Author

Article should be fixed now. Its slightly different in that component for reasons that are beyond me.

fixed typo in description

@richard67
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on 013a5e6


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

@richard67
Copy link
Copy Markdown
Member

I have not tested this item.


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

@richard67
Copy link
Copy Markdown
Member

Please fix PHP CS as suggested above.

@richard67
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on d8397ab


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

1 similar comment
@ghost
Copy link
Copy Markdown

ghost commented Apr 26, 2021

I have tested this item ✅ successfully on d8397ab


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

@richard67
Copy link
Copy Markdown
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Apr 26, 2021
@richard67 richard67 added this to the Joomla 4.0 milestone Apr 26, 2021
@Quy Quy merged commit 79b085b into joomla:4.0-dev Apr 26, 2021
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Apr 26, 2021
@Quy
Copy link
Copy Markdown
Contributor

Quy commented Apr 26, 2021

Thanks

@brianteeman
Copy link
Copy Markdown
Contributor Author

thx

@brianteeman brianteeman deleted the buttons branch April 26, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants