Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve dialog component design #10444

Closed
blesildaramirez opened this issue Sep 18, 2024 · 0 comments
Closed

Improve dialog component design #10444

blesildaramirez opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
Enhancement:1:Minor A new feature or improvement that can be implemented in less than 3 days. UI/UX Issues affecting the user interface/user experience
Milestone

Comments

@blesildaramirez
Copy link
Contributor

blesildaramirez commented Sep 18, 2024

Goal:

Improve the existing dialog component to align with the new design coming from Figma.
Introduce a new prop called "modalStyle" which will indicate the styling to be used: ["success", "primary", "negative", "basic"]

Mockups:
For negative state:
image

For success state:
image

Primary Style (default):
image

Basic:
image


Pull requests:
ui-library: pkp/ui-library#415
pkp-lib: #10510
ojs: pkp/ojs#4465
omp: pkp/omp#1726
ops: pkp/ops#790
customBlockManager: pkp/customBlockManager#89 (plugin)
staticPages: pkp/staticPages#87 (plugin)

@blesildaramirez blesildaramirez added Enhancement:1:Minor A new feature or improvement that can be implemented in less than 3 days. UI/UX Issues affecting the user interface/user experience labels Sep 18, 2024
@blesildaramirez blesildaramirez self-assigned this Sep 19, 2024
@blesildaramirez blesildaramirez changed the title Improve dialog component design based on Figma mockups Improve dialog component design Sep 23, 2024
@blesildaramirez blesildaramirez added this to the 3.5.0 LTS milestone Sep 23, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Sep 25, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Sep 25, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Sep 30, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Sep 30, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Sep 30, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 1, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 7, 2024
… add the X button when there are no actions in the props
blesildaramirez added a commit to blesildaramirez/pkp-lib that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/pkp-lib that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/pkp-lib that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/pkp-lib that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/ojs that referenced this issue Oct 7, 2024
blesildaramirez added a commit to blesildaramirez/customBlockManager that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/staticPages that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/staticPages that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/customBlockManager that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/customBlockManager that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Oct 8, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ojs that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ojs that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ojs that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ojs that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ojs that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/omp that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/omp that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/omp that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ops that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ops that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ops that referenced this issue Nov 17, 2024
blesildaramirez added a commit to pkp/customBlockManager that referenced this issue Nov 17, 2024
* pkp/pkp-lib#10444 Add modalStyle when using dialog component

* pkp/pkp-lib#10444 Adjust cypress test to click the Appearance tab first before clicking its content

* pkp/pkp-lib#10444 [cypress] Reload website page after adding new customBlock

* pkp/pkp-lib#10444 Change modalStyle value when opening custom block modal

* pkp/pkp-lib#10444 Remove modalStyle param when using AjaxModal class
blesildaramirez added a commit to pkp/staticPages that referenced this issue Nov 17, 2024
* pkp/pkp-lib#10444 Fix URL for managing static page in plugins listing

* pkp/pkp-lib#10444 Add modalStyle when using dialog component

* pkp/pkp-lib#10444 remove modalStyle param when using AjaxModal class
blesildaramirez added a commit that referenced this issue Nov 17, 2024
* #10444 Remove titleIcon and instead add modalStyle param the to Modal classes

* #10444 Add modalStyle to template files that use dialog component

* #10444 Use isWarnable button when using 'negative' modalStyle

* #10444 Define modalStyle when using dialog component

* #10444 Add modalStyle when using AjaxModal

* #10444 Add modalStyle when using ConfirmationModal modal

* #10444 Add modalStyle when using RedirectConfirmationModal modal

* #10444 Add notes for modalStyle parameter to FormBuilderVocabulary.php and formButtons template

* #10444 Add modalStyle when using RemoteActionConfirmationModal modal

* #10444 Add modalStyle when using AjaxModal modal

* #10444 Remove unexpected comma on ConfirmationModalHandler.js file

* #10444 Update button click when showing an error on DOI modal

* #10444 DOI cypress - use correct text when clicking the button

* #10444 Use primary modal style when showing install confirmation modal

* #10444 Remove modalStyle param when using AjaxModal class

* #10444 Use modalStyle 'default' for Modal class

* #10444 Use basic modalStyle for legacy use of Dialog component

* #10444 Update documentation for Modal classes

* #10444 DOI - Cypress: Click button that contains text OK instead of Close
blesildaramirez added a commit to pkp/ui-library that referenced this issue Nov 17, 2024
* pkp/pkp-lib#10444 Change Dialog component styling

* pkp/pkp-lib#10444 Rename prop type with modalStyle

* pkp/pkp-lib#10444 Update default Dialog modal styling

* pkp/pkp-lib#10444 Add modalStyle param to existing openDialog calls

* pkp/pkp-lib#10444 Add isDismissible prop to the Dialog component, and add the X button when there are no actions in the props

* pkp/pkp-lib#10444 Add modalStyle to components that use the openDialog api

* pkp/pkp-lib#10444 Update Dialog component to add basic modalStyle and add documentation how the styles are used

* pkp/pkp-lib#10444 Remove computed defination of default modalStyle in Dialog component

* pkp/pkp-lib#10444 Add modalStyle to new dialogs related to user invitations

* pkp/pkp-lib#10444 Remove unused classes for dialog component

* pkp/pkp-lib#10444 Remove css style for modal--popup class

* pkp/pkp-lib#10444 Update param name for onClose function in Dialog component
blesildaramirez added a commit to pkp/ojs that referenced this issue Nov 17, 2024
blesildaramirez added a commit to pkp/omp that referenced this issue Nov 17, 2024
blesildaramirez added a commit to pkp/ops that referenced this issue Nov 17, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Nov 18, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Nov 27, 2024
blesildaramirez added a commit to blesildaramirez/ui-library that referenced this issue Nov 27, 2024
blesildaramirez added a commit to pkp/ui-library that referenced this issue Nov 27, 2024
#452)

* pkp/pkp-lib#10444 Remove inline class for icon title in the Dialog component

* pkp/pkp-lib#10444 Remove font-size css rule when displaying close button in Modal component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement:1:Minor A new feature or improvement that can be implemented in less than 3 days. UI/UX Issues affecting the user interface/user experience
Projects
None yet
Development

No branches or pull requests

1 participant