cms icon indicating copy to clipboard operation
cms copied to clipboard

Improved Button Usability and Consistency (Issue #378)

Open uddisharma opened this issue 1 year ago • 0 comments

This PR addresses two key issues related to button usability and consistency in the application:

  1. Added loading spinner and disabled state to buttons in various parts of the application, including the sign-up/login page, video rendering pages, and home page. This enhancement prevents users from clicking buttons multiple times while waiting for backend API responses, improving the overall user experience.

  2. Standardized the button styles for "Mark as Complete" and "Slides" on the video rendering pages to match the rest of the application's buttons. This ensures a consistent look and feel across all buttons, enhancing the visual appeal and usability of the application.

Changes Made:

  • Added loading spinner and disabled state to affected buttons.
  • Standardized button styles for "Mark as Complete" and "Slides" on the video rendering pages.

Affected Areas:

  • Sign-up/Login Page: Signin Button
  • Video Rendering Page: Mark as Complete Button, Add Comment Button, Upvote Button, Downvote Button
  • Home Page: Refresh Database Button

This PR improves the overall usability and consistency of buttons in the application, addressing the issues mentioned in #378.

Button Ui Example-->

Before ->

Screenshot 2024-04-10 110240

After ->

Screenshot 2024-04-10 110402

Loading Spinner Example -->

Before ->

https://github.com/code100x/cms/assets/112716576/14a78022-2fa9-409f-9a61-4d96ddc98c18

After ->

https://github.com/code100x/cms/assets/112716576/0bcce8f6-2501-44c8-9795-fb171976cfb9

uddisharma avatar Apr 12 '24 05:04 uddisharma