Jeremiah Russell
|
fea5c91dcb
|
♻️ refactor(utils): remove unused get_start_boundary function
- remove the `get_start_boundary` function as it is no longer used
|
2025-10-11 23:07:43 +01:00 |
|
Jeremiah Russell
|
6f2262cdb3
|
🐛 fix(utils): correct string elision boundary calculation
- fix an issue where the elision range could start mid-character
- ensure the elision range always starts at a char boundary
|
2025-10-11 23:07:43 +01:00 |
|
Jeremiah Russell
|
558b2cfd7f
|
🐛 fix(utils): correct string elision boundary calculation
- ensure elision respects character boundaries for utf-8 strings
- prevent panics when eliding near multi-byte characters
|
2025-10-11 23:07:43 +01:00 |
|
Jeremiah Russell
|
9e5c6e1bc8
|
♻️ refactor(utils): improve config directory handling
- use Result alias for better readability
- simplify error handling with early return
|
2025-10-09 17:03:04 +01:00 |
|
Jeremiah Russell
|
65f8bf7fc5
|
✨ feat(utils): implement string elision trait
- introduce `Elide` trait for string truncation
- add `elide` function to truncate strings longer than a specified length, adding " ..." at the end
|
2025-10-06 17:09:47 +01:00 |
|
Jeremiah Russell
|
f53ffe7d8a
|
✨ feat(utils): create assure_config_dir_exists function
- add utility function to create config directory if it doesn't exist
- handle home directory expansion and error conditions
|
2025-10-02 15:33:00 +01:00 |
|