Commit graph

106 commits

Author SHA1 Message Date
Chris
e80847b01f
Fix project name overflow and add 6-word validation limit (#972)
* Fix project name overflow and add validation

This commit addresses issue #971 by implementing both UI fixes and
validation to prevent excessively long project names.

Changes:
1. Add word-break and line-clamp to ProjectBanner.tsx to handle
   overflow gracefully with line-clamp-3 for names
2. Add frontend validation in ProjectModal.tsx limiting names to
   6 words maximum
3. Add backend validation in project.js model with custom wordCount
   validator
4. Show user-friendly error messages when validation fails

This ensures project names remain concise and UI-friendly while
preventing the extreme overflow cases that were possible before.

Fixes #971

* Add overflow-hidden to make line-clamp work properly

The line-clamp utility requires explicit overflow-hidden to function
correctly. Without it, the text continues to display in full rather
than being truncated with ellipsis.

* Fix line-clamp using inline CSS styles

Tailwind's line-clamp utilities weren't working, so switched to using
inline styles with the standard CSS approach:
- display: -webkit-box
- -webkit-line-clamp: 3
- -webkit-box-orient: vertical

This ensures the text truncation works reliably across browsers.

* Use Tailwind line-clamp utilities (already defined in CSS)

The project already has line-clamp-1/2/3 utilities properly defined
in tailwind.css with all the necessary webkit properties. Simplified
the component to use these existing utilities instead of inline styles.

* Add dedicated CSS classes with !important for line-clamp

Created custom project-name-clamp and project-desc-clamp classes
with !important flags to ensure they override any conflicting styles.
This should finally fix the text truncation issue.

* Use component-scoped styles for line-clamp

Adding inline style tag in the component to ensure the line-clamp
CSS is definitely loaded and applied. This bypasses any potential
issues with external CSS compilation or loading order.

* Change project name line-clamp from 3 to 2 lines

Limiting project name display to 2 lines with ellipsis for better
visual density and cleaner appearance.

* Increase line-height for project name in banner

Added line-height: 1.3 to project name for better readability
and visual spacing between lines.
2026-03-24 17:36:24 +02:00
Chris
8bc93247d7
Fix timezone missed rollout (#832) 2026-02-10 22:28:14 +02:00
Chris
d5d8b8f1a7
Fix date comparison bugs causing false past due warnings and Today view miscategorization (#826) 2026-02-07 22:40:33 +02:00
Chris
eee1bbc013
Fix bug 722 (#737)
* Fix project statuses

* Refactor project states

* Add translations
2025-12-28 07:51:15 +02:00
Chris
e73c354e7e
Fix bug 733 (#735)
* Refactor today

* fixup! Refactor today

* fixup! fixup! Refactor today
2025-12-27 21:00:52 +02:00
Chris
ad8ab3ec72
Fix refactor pt2 (#734)
* Cleanup task routes

* Cleanup frontend tasks

* Clean tasks

* Cleanup project uid

* Cleanup quick capture old modal

* Cleanup taskmodal

* Move all icons to shared components

* Test inbox flow

* fixup! Test inbox flow
2025-12-27 17:46:34 +02:00
Chris
269197e3db
Feat: habits (#707)
* Scaffold habits

* Fix today issues

* Fix buttons in taskitem

* Fix mobile layout

* Fix creation process

* Add to sidebar

* fixup! Add to sidebar

* fixup! fixup! Add to sidebar
2025-12-13 08:47:52 +02:00
Chris
b0b613f7bd
Reorder elements (#687)
* Reorder elements

* Enhance global search
2025-12-09 10:51:51 +02:00
Chris
e3dcb49efa
Fix bug 661 (#682)
* Limit project card text length

* Fix projects issues

* fixup! Fix projects issues
2025-12-08 16:14:10 +02:00
Chris
faf47efaca
Fix bump issues (#651)
* Add event for defer

* Fix recurrence form

* fixup! Fix recurrence form

* Refresh projects on banner change
2025-12-04 18:19:40 +02:00
Chris
61cf6aedeb
Fix tasks not updating (#649)
* Fix id usage

* fixup! Fix id usage

* Add overdue part in overview today section
2025-12-04 15:02:06 +02:00
Chris
0d5ed68bbc
Fix project recent completion style (#642) 2025-12-03 17:42:40 +02:00
Chris
08be7f8eda
Add toaster when starting task (#639)
* Add toaster when starting task

* fixup! Add toaster when starting task

* fixup! fixup! Add toaster when starting task
2025-12-03 13:35:49 +02:00
Chris
3ee20711da
Fix metrics button missing from mobile (#637) 2025-12-03 11:59:14 +02:00
Chris
be9b8915d5
Fix a tooltips issue in Project Details page (#636) 2025-12-03 08:52:28 +02:00
Chris
291dc4e388
Unhide menu on mobile (#630) 2025-12-02 18:15:11 +02:00
Chris
f663ad5d52
Fix asset paths (#623) 2025-11-30 17:07:03 +02:00
Chris
bfeffa069f
Fix an issue with task not completing in TaskDetails view (#620)
* Fix test issues

* Fix uid issue

* Fix id wrong param

* Fix test issues

* fixup! Fix test issues

* fixup! fixup! Fix test issues

* fixup! fixup! fixup! Fix test issues

* fixup! fixup! fixup! fixup! Fix test issues
2025-11-30 14:51:49 +02:00
Chris
08c23d2f96
Fix today pagination (#596)
* fixup! Feat notifications (#594)

* Add pagination to today

* Add defer to search

* fixup! Add defer to search

* Add preuploaded banners

* fixup! Add preuploaded banners

* Fix project banner

* fixup! Fix project banner

* fixup! fixup! Fix project banner
2025-11-26 23:00:50 +02:00
Chris
18c7785b13
Feat notifications (#594)
* Add notifications for deferred and due tasks

* Cleanup

* fixup! Cleanup

* Add notifications settings

* ADd dismissed for notifications

* Beautify project cards

* fixup! Beautify project cards

* Fix an issue with icon badge

* Cleanup scripts

* fixup! Cleanup scripts
2025-11-25 21:16:21 +02:00
Chris
4a2cce8fde
Scaffold smtp service (#590)
* Scaffold smtp service

* fixup! Scaffold smtp service
2025-11-24 17:58:09 +02:00
Chris
75a1e68730
Tc refactor pt1 (#589)
* Refactor ProfileSettings

* Cleanup comments

* Refactor TaskDetails

* Refactor InboxModal

* fixup! Refactor InboxModal

* Fix project layout

* Add visuals to project details

* Refactor projectdetails

* Remake project metrics

* Complete project details refactor

* Fix note issues and enhance view

* Add filters

* Fix project tasks filters

* Add filters to task lists

* Add filters to task lists

* fixup! Add filters to task lists
2025-11-23 21:48:49 +02:00
Chris
8dc6194c80
Feat improve task details (#585)
* Fix project section

* Add project and tags sections

* Enhance task details page and add translations

* Enhance Task Details page

* Enhance project details page

* Note details page fix

* Enhance Views Tags Search

* Search enhancements

* fixup! Search enhancements
2025-11-21 18:43:10 +02:00
Chris
0213f79b0a
Feat main content revamp (#584)
* Move width of certain pages

* fixup! Move width of certain pages
2025-11-20 09:15:55 +02:00
Chris
c21c505440
Fix notes refresh (#572)
* Update notes on global creation

* fixup! Update notes on global creation
2025-11-18 12:25:54 +02:00
Chris
8c37446757
Fix consistency task list (#566)
* Make tasks consistent

* fixup! Make tasks consistent
2025-11-18 07:13:36 +02:00
Chris
673a6a56ee
Fix static base path (#549) 2025-11-16 22:43:06 +02:00
Chris
6fb87ac80a
Feat refactor tasks pt1 (#536)
* Refactor swagger docs

* Scaffold refactor

* Refactor crud tasks

* fixup! Refactor crud tasks

* Break down task layout

* fixup! Break down task layout

* fixup! fixup! Break down task layout

* Cleanup comments

* fixup! Cleanup comments

* Cleanup obsolete code

* Remove helpers
2025-11-15 14:02:06 +02:00
Chris
b8c46e1d0d
Set verification modal on escape (#470) (#473)
* fixup! Fix priority auto (#470)

* Add translations
2025-11-03 16:27:13 +02:00
Chris
9807a4eea2
Fix priority auto (#470)
* Make none as default priority for tasks and projects

* fixup! Make none as default priority for tasks and projects
2025-11-02 16:51:11 +02:00
antanst
f860fdfe3e More stable tests by using proper data-* attrs 2025-10-25 09:25:27 +03:00
Chris Veleris
a56d12b441 Fix not visible note button 2025-10-20 11:21:35 +03:00
Chris Veleris
3c7a4851bb Fix modal closing when dragging content 2025-10-20 10:50:26 +03:00
Chris Veleris
2cd7d9abe4 Add translations 2025-10-15 13:05:57 +03:00
Chris Veleris
6eaf4e723e Fix mobile view 2025-10-13 11:09:19 +03:00
Chris Veleris
6589836336 Fix tags badge inconsistency 2025-10-13 11:09:19 +03:00
Chris Veleris
4aa9220879 Fix showing edit/delete buttons for owners 2025-10-13 11:09:19 +03:00
Chris Veleris
5160ab6955 Tweak UI for feature 2025-10-13 11:09:19 +03:00
antanst
1fa221db54 Merge chrisvel/main into pro/user-perms
- Keep :uid endpoints throughout (not :id)
- Keep hasAccess middleware for permission checks
- Keep logError instead of console.error
- Add Note orphaning in project deletion
- Merge area attributes (include uid)
- Merge project store update on delete
- Use uid in test data-testids
2025-10-09 11:15:02 +03:00
David Leibovych
27032b5594
Removes horizontal padding on content edit on mobile (#390)
* feat: improves mobile editing by removing horizontal paddings around textarea

* feat: removing border on markdown preview on mobile
2025-10-07 12:42:28 +03:00
Chris
26d4fba70d
Fix project notes deletion (#396)
* Fix note deletion and modal

* Fix orphan notes issue

* Fix project areas filtering

* fixup! Fix project areas filtering
2025-10-07 06:16:42 +03:00
antanst
960dbd2f0e Permission/sharing fixes for owners. 2025-10-06 11:31:49 +03:00
antanst
11f95bd1c3 Allow sharing only for owners & admins. 2025-10-06 10:57:56 +03:00
Antonis
4fa2aa91bf
Fix E2E test breakage (#380)
* Add logging placeholder functions, fix notes.js uids

* Add UIDs to inbox items. Includes migration.

* Add UID to users.

* Add project UIDs usage.

* Add script that runs specific E2E test(s)

* Only run Chromium E2E tests by default.

* Fix breaking E2E tests

* fixup! Fix breaking E2E tests

---------

Co-authored-by: antanst <>
Co-authored-by: Chris Veleris <chrisveleris@gmail.com>
2025-10-05 16:04:46 +03:00
antanst
fde4b1cdb1 Fix fe user uid 2025-10-05 10:56:05 +03:00
antanst
a9e32e0ac3 Fix sharing in FE. 2025-10-03 17:42:11 +03:00
antanst
1a500663ed Merge branch 'cleanups' into pro/user-perms 2025-10-02 15:42:42 +03:00
antanst
33eb2ce7a9 Fix breaking E2E tests 2025-10-02 12:20:45 +03:00
antanst
4522ed7716 Add project UIDs usage. 2025-10-02 12:20:45 +03:00
Chris Veleris
31eae22f04 Fix formatting 2025-09-30 12:36:47 +03:00