* - Added dedicated copy button
- Added download icon to download button
- Moved output format dropdown from the bottom of the page to under the error resistance dropdown for easier access
- Increased the width of the QR code image displayed on the page to match the copy and download buttons
- Disabled the multiline attribute in the url text field as newlines weren't being encoded into the QR code
* - Fixed a bug where the output format selection wouldn't update the image file extension when downloading the QR code image
* Fixed an issue with using the copy button for image formats other than png
---------
Co-authored-by: sharevb <sharevb@gmail.com>
* - Fixed a performance issue where visiting the Unicode Search page would significantly slow down the website because of the constant unintentional reinitialization of the flexSearch index
* Removed unnecessary leftover code
---------
Co-authored-by: sharevb <sharevb@gmail.com>
* - Made the sidebar responsive
- Edited the hero-gradient svg to fix an issue where it would never scale to the full width of the sidebar
- Fixed a bug on Chrome where you'd need to click twice on a category element in the sidebar to see its tools
* - Added hover effect for category button
- Disabled transition built into the n-menu element to display the hover effect for tools items directly instead of after a slight delay
* - Added a tooltip which shows when the title of the tool is truncated
Improved the smoothness of the opening an closing animation of the menu items by switching from an overflow: hidden to a display: grid approach
Added a function which adds a small amount of extra animation time per tools under a menu item to prevent large menu items (like 'Network') to feel too snappy compared to the other menu items
---------
Co-authored-by: sharevb <sharevb@gmail.com>
What's CLI command editor?
In my day-to-day work, I have to use a lot of CLI commands. I often copy and paste them to my terminal and edited the command option values as required. Observing that many people face the similar issue, which can get tad bit annoying for complex commands, I have made this tool which easily lets you modify the option values.
How it works?
Paste the command.
A form will be presented with all the options and flags, you can edit this form.
Copy the command that gets generated in real-time as you edit it.
Improved a section of the initializeIndices function which was causing slow loading times for really large datasets. This specific section alone was responsible for more than 75% of the loading time of the Unicode search page (Section index load speed: 3300 ms -> 400 ms)
---------
Co-authored-by: ShareVB <sharevb@gmail.com>
* Folder Structure Diagram
- Added an extra column to convert folder trees back to their indented structures
- Created the `convertTreeToStructure` function which handles converting folder trees back to an indented structure
TextareaCopyable component
- Added `scrollable` boolean and `maxHeight` property to allow the content in the field to become scrollable, and define the maximum height before becoming scrollable
---------
Co-authored-by: ShareVB <sharevb@gmail.com>
Added a loading delay of 750ms to prevent the loading screen from appearing too quickly. This caused a flickering effect when a page did load quickly
Added extra logic to prevent the loading screen from popping up when query parameters were changed (as some tools update query params when you change values)
Made the background color of the loading screen lighter to better see the black wrench in the logo of it-tools (#101014 -> #292929)
Improvements for #32
---------
Co-authored-by: ShareVB <sharevb@gmail.com>
* Improved performance on the Unicode Search page:
- Created new flexSearch component (Faster than fuzzySearch). For more information, see https://github.com/nextapps-de/flexsearch
- Replaced fuzzySearch with the flexSearch component on the unicode search page
- Fixed a bug where the search limit counter didn't have any effect
- Reduced the default search limit from 100 to 40 to reduce lag from loading all the ui elements
* Added clarification to comment
* components.d.ts update
* - Replaced FuzzySearch with FlexSearch on the ISO 3166 Searcher page
- Reduced the debounce from 500ms to 250ms
- Reduced the default search limit from 100 to 20, and fixed a bug where the search limit wasn't applied when the value changed
- Added the `readonly` prop to the `input-copyable` field
- Added the `readonly` flag to all input copyable fields on the unicode search and iso 3166 searcher pages
* Merged new changes to flexSearch
* chore: vercel optimisation tentative
* - Added controls to lock the aspect ratio, set preset aspect ratios or set a custom aspect ratio
- Added a reset button to fill the width and height with the dimensions of the original image
- Added validation and warnings to prevent the width or height value to be lower than 1 or higher than the values HTML Canvas supports (32767, or more than 268 million pixels of area)
- Added logic to not display the preview image when one of the dimensions is higher than 7680 pixels due to performance reasons
- Fixed an issue with the download options where you never got the selected image type when clicking a download option, and instead always getting a .png.
- Changed the download options to the file type options supported by HTML Canvas
* Fixed an issue with width and height input for locked aspect ratio
---------
Co-authored-by: ShareVB <sharevb@gmail.com>
* Improved performance on the Unicode Search page:
- Created new flexSearch component (Faster than fuzzySearch). For more information, see https://github.com/nextapps-de/flexsearch
- Replaced fuzzySearch with the flexSearch component on the unicode search page
- Fixed a bug where the search limit counter didn't have any effect
- Reduced the default search limit from 100 to 40 to reduce lag from loading all the ui elements
* Added clarification to comment
* components.d.ts update
* - Replaced FuzzySearch with FlexSearch on the ISO 3166 Searcher page
- Reduced the debounce from 500ms to 250ms
- Reduced the default search limit from 100 to 20, and fixed a bug where the search limit wasn't applied when the value changed
- Added the `readonly` prop to the `input-copyable` field
- Added the `readonly` flag to all input copyable fields on the unicode search and iso 3166 searcher pages
* Merged new changes to flexSearch
* chore: vercel optimisation tentative
* Emoji Picker:
- Replaced fuzzysearch with flexsearch
- Reduced debounce from 500ms to 250ms
- Increased search limit from 100 to 150
- Implemented a UI loading sequence where it will load an emoji group each 150ms instead of loading all groups at once. This eliminates the lag experienced when loading the page or when removing the search query
- Updated unicode-emoji-json from version 0.4.0 to 0.8.0
Emoji Card:
- Fixed an issue where the country flag emojis weren't being rendered
- Added row which displays the emoji keywords, and uses a tooltip to display all keywords when they are truncated to fit in the card
- Moved codepoints and unicode escape lines to seperate rows instead of occasionally being displayed on the same line
* - Added logic to use an emoji in the search query
* small change
* - Replaced fuzzysearch with flexsearch in the command pallette
- Improved the performance of the collapsible tool menu by rewriting the logic to prevent the DOM elements being destroyed and recreated each time a category is expanded or collapsed
- Added logic to load the home page tool cards in batches instead of all at once
* Fixed linter error
* Fixed an issue where the weight of a search key wasn't properly being applied
---------
Co-authored-by: ShareVB <sharevb@gmail.com>
* Improved performance on the Unicode Search page:
- Created new flexSearch component (Faster than fuzzySearch). For more information, see https://github.com/nextapps-de/flexsearch
- Replaced fuzzySearch with the flexSearch component on the unicode search page
- Fixed a bug where the search limit counter didn't have any effect
- Reduced the default search limit from 100 to 40 to reduce lag from loading all the ui elements
* Added clarification to comment
* components.d.ts update
* - Replaced FuzzySearch with FlexSearch on the ISO 3166 Searcher page
- Reduced the debounce from 500ms to 250ms
- Reduced the default search limit from 100 to 20, and fixed a bug where the search limit wasn't applied when the value changed
- Added the `readonly` prop to the `input-copyable` field
- Added the `readonly` flag to all input copyable fields on the unicode search and iso 3166 searcher pages
* Merged new changes to flexSearch
* chore: vercel optimisation tentative
* - Replaced fuzzysearch with flexsearch
- Added a redirect icon to redirect to the MDN documentation for each status code
- Added an icon before the category icon to more clearly visualize what the category is about
* simplified category icon logic and added search icon
---------
Co-authored-by: ShareVB <sharevb@gmail.com>
* Improved performance on the Unicode Search page:
- Created new flexSearch component (Faster than fuzzySearch). For more information, see https://github.com/nextapps-de/flexsearch
- Replaced fuzzySearch with the flexSearch component on the unicode search page
- Fixed a bug where the search limit counter didn't have any effect
- Reduced the default search limit from 100 to 40 to reduce lag from loading all the ui elements
* Added clarification to comment
* components.d.ts update
* - Replaced FuzzySearch with FlexSearch on the ISO 3166 Searcher page
- Reduced the debounce from 500ms to 250ms
- Reduced the default search limit from 100 to 20, and fixed a bug where the search limit wasn't applied when the value changed
- Added the `readonly` prop to the `input-copyable` field
- Added the `readonly` flag to all input copyable fields on the unicode search and iso 3166 searcher pages
* Merged new changes to flexSearch
* chore: vercel optimisation tentative
* Emoji Picker:
- Replaced fuzzysearch with flexsearch
- Reduced debounce from 500ms to 250ms
- Increased search limit from 100 to 150
- Implemented a UI loading sequence where it will load an emoji group each 150ms instead of loading all groups at once. This eliminates the lag experienced when loading the page or when removing the search query
- Updated unicode-emoji-json from version 0.4.0 to 0.8.0
Emoji Card:
- Fixed an issue where the country flag emojis weren't being rendered
- Added row which displays the emoji keywords, and uses a tooltip to display all keywords when they are truncated to fit in the card
- Moved codepoints and unicode escape lines to seperate rows instead of occasionally being displayed on the same line
* - Added logic to use an emoji in the search query
* small change
---------
Co-authored-by: ShareVB <sharevb@gmail.com>
* Improved performance on the Unicode Search page:
- Created new flexSearch component (Faster than fuzzySearch). For more information, see https://github.com/nextapps-de/flexsearch
- Replaced fuzzySearch with the flexSearch component on the unicode search page
- Fixed a bug where the search limit counter didn't have any effect
- Reduced the default search limit from 100 to 40 to reduce lag from loading all the ui elements
* Added clarification to comment
* components.d.ts update
* - Replaced FuzzySearch with FlexSearch on the ISO 3166 Searcher page
- Reduced the debounce from 500ms to 250ms
- Reduced the default search limit from 100 to 20, and fixed a bug where the search limit wasn't applied when the value changed
- Added the `readonly` prop to the `input-copyable` field
- Added the `readonly` flag to all input copyable fields on the unicode search and iso 3166 searcher pages
* Fixed incorrect case usage for functions and variables
* - Replaced fuzzysearch with flexsearch on the IES Lighting Guidelines page
- Reduced the debounce from 500ms to 250ms
- Changed the search keys so all columns are now searchable
* - Added logic to sort the limited results using a similarity score created by calculating the Levenshtein distance
- Added the `shouldSort` boolean to control whether the results should be filtered by similarity. `true` by default
* Merged new changes to flexSearch
* - Added readonly flag to input copyable fields
* Improved performance on the Unicode Search page:
- Created new flexSearch component (Faster than fuzzySearch). For more information, see https://github.com/nextapps-de/flexsearch
- Replaced fuzzySearch with the flexSearch component on the unicode search page
- Fixed a bug where the search limit counter didn't have any effect
- Reduced the default search limit from 100 to 40 to reduce lag from loading all the ui elements
* Added clarification to comment
* Attempt to fix pnpm-lock merge conflict
* Another attempt to fix pnpm-lock
* Try deleting lock file because regenerating doesn't make a difference
* Try regenerating from scratch
* fix: pnpm-lock.yaml
---------
Co-authored-by: sharevb <sharevb@gmail.com>