Improve UI and Code Readability#1
Open
Sn0w3y wants to merge 12 commits into
Open
Conversation
- Added CSS to Center Map on Screen
- Added a "x" to remove the country from the List directly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactor and Enhance World Map Application
Summary
This pull request introduces several enhancements and refactors to improve the functionality, appearance, and maintainability of the World Map application.
Changes Overview
1. Separate
index.htmlandindex.phpFilesCommit: Make index.html and index.php different Files
Description:
index.html) and back-end (index.php) code.2. Improve Styling
Commit: Improve Styling
Description:
Open Sans).3. Center Map on Screen
Commit: Center Map on Screen
Description:
4. Add Double-Click Functionality for Adding/Removing Countries
Commit: Improvements in showToast and in "Add and Remove"
Description:
dblclickon country paths.5. Implement Toast Notifications
Commit: Improvements in showToast and in "Add and Remove"
Description:
showToastfunction for displaying messages.6. Ensure Tooltip Always Appears Above SVG
Commit: Always show "demo" above svg
Description:
z-indexand positioning in CSS to control stacking order.7. Add "X" Button to Remove Countries from the List
Commit: Add possibility to remove country from List
Description:
build()function to include the remove button.Additional Enhancements
Code Refactoring:
Responsive Design:
Accessibility:
Performance:
Testing
Conclusion
These changes significantly enhance the World Map application by improving its user interface, interactivity, and code structure. The application now offers a better user experience and is easier to maintain.
Feel free to reach out if there are any questions or need further adjustments.