Commit Graph
43 Commits
Author SHA1 Message Date
ShareVB da8c5df0a0 chore: fix lint 2025-06-08 11:33:52 +02:00
Dark_Phoenix_andShareVB 6f1b17fc66 Convert last items to flex search (#87)
* 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

* AD LDAP searcher:
- Replaced fuzzysearch with flexsearch
- Removed the debounce from the search field
- Made all fields searchable

C-Select:
- Replaced fuzzysearch with flexsearch

ASCII text drawer:
- Fixed a bug where B1FF  and Rot13 options appeared duplicate in the list, causing them to duplicate even further when searching specifically for them

FuzzySearch:
- Marked `useFuzzySearch` as deprecated, with the advise to use `useFlexSearch` instead

* ISO 3166 searcher:
- Made more fields searchable

c-input-text:
- Fixed an issue where country flag emojis weren't rendered

* - Added batch loading for the UI elements after a search
- Removed the Unicode item from the flag emoji copyable field so only the emoji is copied
- Added string 'None' to be used when a country has no neighboring countries

* - Disabled the cache by default because it caused minor hickups during searches and added extra documentation

---------

Co-authored-by: ShareVB <sharevb@gmail.com>
2025-06-08 11:11:17 +02:00
Dark_Phoenix_andShareVB fd7691495b Improve hompage performance (#85)
* 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>
2025-06-08 11:11:17 +02:00
Dark_Phoenix_ 02df1bc9f2 Improve IES Lighting guidelines performance (#83)
* 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
2025-06-08 11:09:47 +02:00
Dark_Phoenix_ 226081db3a Improved iso 3166 searcher page performance (#79)
* 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
2025-06-08 11:09:47 +02:00
Dark_Phoenix_andsharevb 2355232aed Improved performance on the Unicode Search page (#75)
* 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>
2025-05-24 16:11:42 +02:00
ShareVB 6518ed6fcb fix: fuzzy search limits 2025-02-23 22:32:59 +01:00
ShareVB a3ac98993b chore(deps): update some tools dependencies 2025-02-09 23:03:10 +01:00
ShareVB 95a83fe434 Merge branch 'feat/pgp-encryption' into chore/all-my-stuffs
# Conflicts:
#	components.d.ts
#	pnpm-lock.yaml
#	src/tools/index.ts
2024-11-03 23:03:44 +01:00
ShareVB 528e88c908 Merge branch 'feat/code-highlighter' into chore/all-my-stuffs
# Conflicts:
#	src/tools/index.ts
2024-11-03 20:17:57 +01:00
ShareVB 87a6103644 Merge remote-tracking branch 'origin/main' into feat/code-highlighter 2024-10-20 22:47:50 +02:00
sharevb eb1beb8002 feat(new tool): Code Highlighter
Fix #1280
2024-10-20 21:42:01 +02:00
ShareVB 7170450aba fix: better UI 2024-10-07 22:30:25 +02:00
sharevbandCorentin THOMASSET f5c4ab19bc feat(new tool): Regex Tester (and Cheatsheet) (#1030)
* feat(new tool): Regex Tester

Fix https://github.com/CorentinTh/it-tools/issues/1007, https://github.com/CorentinTh/it-tools/issues/991, https://github.com/CorentinTh/it-tools/issues/936, https://github.com/CorentinTh/it-tools/issues/761, https://github.com/CorentinTh/it-tools/issues/649
https://github.com/CorentinTh/it-tools/issues/644, https://github.com/CorentinTh/it-tools/issues/554
https://github.com/CorentinTh/it-tools/issues/308

* fix: refactor to service + add regex diagram + ui enhancements

* fix: update queryParams

* fix: deps

* fix: svg style bug in @regexper/render

@regexper/render use a stylesheet in svg that cause bugs in whole site. So add regexper in a shadow root

* feat(new tool): added Regex Cheatsheet

* Update src/tools/regex-memo/index.ts

* Update src/tools/regex-tester/index.ts

---------

Co-authored-by: Corentin THOMASSET <corentin.thomasset74@gmail.com>
2024-09-20 18:39:40 +00:00
sharevb 76a19d218d fix(emoji-picker): debounced search input (#1181)
* fix(Emoji picker): fix lags

Fix #1176 using debounced ref

* chore: fix strange corepack message

Fix corepack claiming strange thing : UsageError: This project is configured to use yarn because /home/runner/work/it-tools/it-tools/package.json has a "packageManager" field
2024-07-11 17:06:17 +02:00
sharevb 30144aa3f5 feat(base64): Base64 enhancements (#905)
* fix(base64): use js-base64 to handle non ascii text

Use js-base64 to handle non ascii text and ignore whitespaces
Fix #879 and #409

* fix(base64): use js-base64 to handle non ascii text

Use js-base64 to handle non ascii text and ignore whitespaces
Fix #879 and #409

* feat(base64 file converter): add a filename and extension fields

Add filename and extension (auto filled if data url) to allow downloading with right extension and filename
Fix #788

* feat(base64 file converter): add a preview image

Fix #594. Taken from #595 (thanks @SAF2k)
2024-05-20 22:13:55 +02:00
sharevb 01a0e06c88 feat(new tool): PGP Encryption
Fix #451 and #945
2024-04-28 19:31:38 +02:00
Corentin THOMASSETandakharlov 043e4f0a08 fix(base64-file-converter): fix downloading of index.html content without data preambula (#750)
* fix(base64-file-converter): fix downloading of index.html content without data preambula

* feat(base64-file-converter): infer mime type from base64 signature

---------

Co-authored-by: akharlov <harl_aa@skbkontur.ru>
2023-11-13 10:44:23 +00:00
Corentin THOMASSETandcode2933 02b0d0d1a1 fix(encryption): alert on decryption error (#711)
* update(c-alert): Add variant 'error'

* fix(encryption): Alert decryption error (#652)

* feat(c-alert): added title

* refactor(composable): mutualized computedCatch

---------

Co-authored-by: code2933 <code2933@outlook.com>
2023-11-01 10:11:51 +00:00
Corentin THOMASSET 6f93cba3da feat(copy): support legacy copy to clipboard for older browser (#581) 2023-08-21 23:00:20 +00:00
Corentin THOMASSET 86e964a274 fix(copy): prevent shorthand copy if source is present in useCopy (#559)
* fix(copy): prevent shorthand copy if source is present in useCopy

* refactor(copy): normalized copy usage
2023-08-09 22:07:44 +00:00
Corentin THOMASSET e5d0ba7073 fix(emoji picker): fix copy button (#556) 2023-08-09 20:54:49 +00:00
Corentin THOMASSET 93f7cf0e98 feat(new tool): emoji picker (#551) 2023-08-08 22:25:59 +02:00
Corentin THOMASSET dfa1ba8554 feat(ui): added c-select in the ui lib (#550)
* feat(ui): added c-select in the ui lib

* refactor(ui): switched n-select to c-select
2023-08-07 15:30:00 +00:00
Corentin Thomasset 33c9b6643f chore(lint): switched to a better lint config 2023-05-28 23:29:14 +02:00
Corentin Thomasset aad8d84e13 ui-lib(new-component): added text input component in the c-lib 2023-05-14 22:30:23 +02:00
Corentin Thomasset e88c1d5f2c fix(ts): cleaned legacy typechecking warning 2023-04-23 17:11:04 +02:00
Corentin Thomasset 362f2fa280 feat(new-tool): diff of two json objects 2023-04-23 15:24:20 +02:00
Corentin Thomasset fd9ab59172 refactor(date-converter): improved ux and layout 2023-04-12 23:41:09 +02:00
Corentin Thomasset 05f06f6a07 refactor(dx): generic data transformer 2023-04-10 16:42:06 +02:00
cgoITandCorentin THOMASSET 1d7f8b9a8c feat(new-tool): generate ula based on timestamp and mac address (#344)
* feat(ipv6-ula-generator): new tool: generate ula based on timestamp and mac address

This new tool generates a random unique ula based on the current timestamp and the provided mac address. An ULA is your "secondary" IPV6-Address only for internal use.
It can also be used as a backup address if your provider gets offline and your Prefix-IPs are not longer valid.Also you can create the most of your internal firewall rules based on your ULAs.

* feat(ipv6-ula-generator): changes requested by review

* Update src/tools/ipv6-ula-generator/index.ts

* Update src/tools/ipv6-ula-generator/ipv6-ula-generator.vue

---------

Co-authored-by: Corentin THOMASSET <corentin.thomasset74@gmail.com>
2023-04-09 20:58:27 +02:00
Corentin Thomasset 5281824b5d fix(otp-generator): better computation of token 2023-03-31 01:01:44 +02:00
Corentin Thomasset 165dc93f83 feat(rsa-key-pair-generator): refresh certs button 2023-03-29 20:54:11 +02:00
Corentin Thomasset db817a2459 refactor(tools): config in query params 2023-01-28 21:06:16 +01:00
Corentin Thomasset 1b5d4e72bd refactor(search-bar): improved tool fuzzy search 2022-12-16 18:10:50 +01:00
Corentin Thomasset 77b5b0cab5 refactor(validation): simplified validation system 2022-08-03 17:13:33 +02:00
Corentin Thomasset 750a76b00f refactor(base64-to-file): clean validation to convert base64 to file 2022-08-03 17:13:33 +02:00
Corentin Thomasset e6953d1b67 refactor(base64): split base64 text and file conversion in two tools + base64 to file 2022-07-25 23:21:42 +02:00
Corentin Thomasset a60f64f744 feat: catch throw on validation 2022-05-09 17:40:29 +02:00
Corentin Thomasset 5582d75927 feat(tool): qr-code generator 2022-04-14 18:18:15 +02:00
Corentin Thomasset 11d8110226 fix(validation): proper rules 2022-04-11 23:08:50 +02:00
Corentin Thomasset d55329f3ab feat(tool): bip39-generator 2022-04-11 22:47:05 +02:00
Corentin Thomasset 25a8659786 chore: components base 2022-04-04 00:24:45 +02:00