browsertrix/frontend/src/utils
Henry Wilkinson cf1592a809
Fix truncation for long workflow / item names (#1773)
Fixes #1771

### Changes

- Previously these would either get cut off or overflow, now they get
truncated!
- Titles also have a tooltip now

### Screenshots (after, see issue for before)

<img width="780" alt="Screenshot 2024-05-02 at 1 25 00 PM"
src="https://github.com/webrecorder/browsertrix/assets/5672810/337f90e4-c3b2-4adf-b63e-fd4fdf85d593">

<img width="1184" alt="Screenshot 2024-05-02 at 1 58 21 PM"
src="https://github.com/webrecorder/browsertrix/assets/5672810/a0e5111a-ffd4-4d03-8833-cc1831d28e60">

**Before**
<img width="655" alt="Screenshot 2024-05-02 at 1 59 26 PM"
src="https://github.com/webrecorder/browsertrix/assets/5672810/a69d3359-3932-4183-9563-2d49b4082990">

**After**
<img width="489" alt="Screenshot 2024-05-02 at 2 46 49 PM"
src="https://github.com/webrecorder/browsertrix/assets/5672810/c1ead7ae-0c26-44e6-916e-df7a398f97df">

### Caveats
- Doesn't replace the in-page dialog.  Added a TODO note.

---------

Co-authored-by: emma <hi@emma.cafe>
2024-05-03 13:48:18 -04:00
..
api.ts
APIRouter.test.ts
APIRouter.ts
auth.test.ts
auth.ts
AuthService.test.ts
AuthService.ts
crawler.ts Add QA columns to archived item list (#1683) 2024-04-22 13:19:07 -07:00
cron.ts Ensure dates are formatted with the current app locale (and not browser default) (#1697) 2024-04-20 16:30:33 -04:00
css.ts
executionTimeFormatter.test.ts
executionTimeFormatter.ts
form.ts Ensure dates are formatted with the current app locale (and not browser default) (#1697) 2024-04-20 16:30:33 -04:00
LiteElement.ts
localization.ts Fix QA review comments (#1723) 2024-04-23 16:31:52 -04:00
number.ts Ensure dates are formatted with the current app locale (and not browser default) (#1697) 2024-04-20 16:30:33 -04:00
orgs.ts
OrgService.ts
PasswordService.ts
persist.ts
pluralize.ts Fix truncation for long workflow / item names (#1773) 2024-05-03 13:48:18 -04:00
polyfills.ts
state.ts
string.ts
tailwind.ts
weakCache.test.ts
weakCache.ts