-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement Snackbar
component
#6
Commits on May 16, 2024
-
feat: implement Snackbar component
Implement the Snackbar component to handle snackbar creation and removal based on the provided configuration. The Snackbar class consists of a constructor method that initializes the configuration, a create method to create snackbars, and a remove method to remove snackbars. This implementation ensures that the provided configuration is verified before creating or removing snackbars.
Configuration menu - View commit details
-
Copy full SHA for 17642a4 - Browse repository at this point
Copy the full SHA 17642a4View commit details -
refactor: replace create method with render method
Replaced the `createSnackbar` method with the `renderSnackbar` method in the Snackbar class to streamline the process of rendering. Directly rendering the Snackbar makes more sense and reduces complexity when using the Snackbar class.
Configuration menu - View commit details
-
Copy full SHA for 40be994 - Browse repository at this point
Copy the full SHA 40be994View commit details -
refactor: remove unnecessary parameter
Removed an unnecessary parameter from the `removeSnackbar` method to streamline its implementation and improve clarity.
Configuration menu - View commit details
-
Copy full SHA for 380bd02 - Browse repository at this point
Copy the full SHA 380bd02View commit details -
refactor: merge render and remove methods
Merged the render and remove methods in the Snackbar class to simplify its interface and enhance clarity. The unnecessary parameter has been removed, resulting in a more streamlined and user-friendly implementation.
Configuration menu - View commit details
-
Copy full SHA for 03e51a7 - Browse repository at this point
Copy the full SHA 03e51a7View commit details -
feat: add render then remove snackbar function
This feature introduces a new function for rendering a snackbar message and then automatically removing it after a certain duration. The function combines the rendering and removal processes into a single action, enhancing usability and reducing complexity.
Configuration menu - View commit details
-
Copy full SHA for 6e1e4e9 - Browse repository at this point
Copy the full SHA 6e1e4e9View commit details
Commits on Jun 3, 2024
-
refactor: update import paths for module resolution
Updated import paths in component files to use module resolution aliases defined in jsconfig.json. This change improves code readability and maintainability by replacing relative paths with aliases.
Configuration menu - View commit details
-
Copy full SHA for 4abcf06 - Browse repository at this point
Copy the full SHA 4abcf06View commit details
Commits on Jun 13, 2024
-
test: merge test files into one
Combine multiple test files into a single test file to reduceunnecessary module tests. This change simplifies navigation and improvescodebase organization.
Configuration menu - View commit details
-
Copy full SHA for 0af2641 - Browse repository at this point
Copy the full SHA 0af2641View commit details -
test: ensure rendering and removal works properly
Add tests to verify that the Snackbar component correctly renders and removes messages with valid configurations.
Configuration menu - View commit details
-
Copy full SHA for 7bf92d0 - Browse repository at this point
Copy the full SHA 7bf92d0View commit details