Skip to content

Tailwindcss layout instead of bootstrap 3#94

Merged
reinout merged 55 commits into
masterfrom
reinout-tailwindcss
Jun 10, 2026
Merged

Tailwindcss layout instead of bootstrap 3#94
reinout merged 55 commits into
masterfrom
reinout-tailwindcss

Conversation

@reinout

@reinout reinout commented Mar 12, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented Mar 12, 2026

Copy link
Copy Markdown

✅ Result of Pytest Coverage

_______________ coverage: platform linux, python 3.13.13-final-0 _______________

Name Stmts Miss Cover
Name Stmts Miss Cover
src/trs/init.py 0 0 100%
src/trs/admin.py 52 0 100%
src/trs/apps.py 9 0 100%
src/trs/core.py 160 56 65%
src/trs/fix_dateinput.py 9 3 67%
src/trs/forms.py 21 7 67%
src/trs/management/init.py 0 0 100%
src/trs/management/commands/init.py 0 0 100%
src/trs/management/commands/assign_bookings_automatically.py 28 28 0%
src/trs/management/commands/fill_cache.py 22 0 100%
src/trs/management/commands/import_wbso_csv.py 54 54 0%
src/trs/management/commands/split_overview.py 33 33 0%
src/trs/management/commands/update_weeks.py 56 0 100%
src/trs/migrations/0001_initial.py 7 0 100%
src/trs/migrations/0002_auto_20160901_1519.py 4 0 100%
src/trs/migrations/0003_auto_20160901_1535.py 6 0 100%
src/trs/migrations/0004_auto_20170125_1029.py 5 0 100%
src/trs/migrations/0005_auto_20170206_2128.py 5 0 100%
src/trs/migrations/0006_auto_20170206_2226.py 5 0 100%
src/trs/migrations/0007_auto_20170209_0327.py 4 0 100%
src/trs/migrations/0008_project_software_development.py 5 0 100%
src/trs/migrations/0009_auto_20220708_1535.py 4 0 100%
src/trs/migrations/0010_auto_20241216_1859.py 5 0 100%
src/trs/migrations/0011_remove_project_startup_meeting_done.py 4 0 100%
src/trs/migrations/0012_remove_project_is_accepted.py 4 0 100%
src/trs/migrations/0013_remove_person_mpc.py 4 0 100%
src/trs/migrations/0014_remove_workassignment_added_and_more.py 4 0 100%
src/trs/migrations/0015_compress_work_assignments.py 14 5 64%
src/trs/migrations/0016_alter_workassignment_hourly_tariff_and_more.py 8 0 100%
src/trs/migrations/0017_workassignment_unique_work_assignment.py 4 0 100%
src/trs/migrations/0018_project_members.py 4 0 100%
src/trs/migrations/0019_remove_booking_added_remove_booking_added_by_and_more.py 5 0 100%
src/trs/migrations/0020_compress_bookings.py 12 4 67%
src/trs/migrations/0021_booking_unique_booking.py 4 0 100%
src/trs/migrations/0022_alter_booking_hours.py 4 0 100%
src/trs/migrations/0023_alter_thirdpartyestimate_description.py 7 0 100%
src/trs/migrations/0024_remove_personchange_minimum_hourly_tariff.py 4 0 100%
src/trs/migrations/0025_alter_booking_hours_and_more.py 4 0 100%
src/trs/migrations/0026_booking_date.py 9 2 78%
src/trs/migrations/0027_alter_booking_date.py 4 0 100%
src/trs/migrations/0028_remove_booking_unique_booking_and_more.py 4 0 100%
src/trs/migrations/0029_alter_invoice_date_alter_invoice_payed_and_more.py 4 0 100%
src/trs/migrations/0030_alter_workassignment_options.py 4 0 100%
src/trs/migrations/init.py 0 0 100%
src/trs/models.py 540 75 86%
src/trs/settings.py 42 2 95%
src/trs/signal_handlers.py 19 8 58%
src/trs/templatetags/init.py 0 0 100%
src/trs/templatetags/trs_formatting.py 52 0 100%
src/trs/tests/init.py 0 0 100%
src/trs/tests/factories.py 62 0 100%
src/trs/tests/test_core.py 28 0 100%
src/trs/tests/test_fill_cache.py 17 0 100%
src/trs/tests/test_models.py 165 0 100%
src/trs/tests/test_templatetags.py 59 0 100%
src/trs/tests/test_update_weeks.py 35 0 100%
src/trs/tests/test_views.py 170 0 100%
src/trs/urls.py 6 0 100%
src/trs/views.py 2285 1286 44%
src/trs/wsgi.py 4 4 0%
TOTAL 4089 1567 62%

~ 94 passed in 23.63s ~

@gijs

gijs commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Ziet er goed uit zo op het eerste gezicht. Hoe vind je het werken tot nu toe, Tailwind?

@reinout

reinout commented Mar 13, 2026

Copy link
Copy Markdown
Member Author

Technisch werkt het prima. Ik krijg tot nu toe alles wel voor elkaar. Met @import en @apply ziet het er geordend uit.

Positief verrast in deze PR: de integratie v/d icons. Het @iconify/tailwind4 spul. De svg wordt netjes in de css gestopt.

Qua navbar/card/alerts ben ik bij daisyui terechtgekomen. De manier waarop je een kleurenschema kan maken bevalt me. Sommige componenten (zoals de navbar) bevielen me in bootstrap3 meer. Gebruik jij zo'n UI-dinges bovenop tailwind? Eventueel een andere? Ik zag het zo gauw niet in helemaalgroen (waar tailwind weer werkt als het goed is :-) ).

@gijs

gijs commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

In HelemaalGroen gebruik ik geen framework erbovenop, maar privé wel een keer Daisy gebruikt en dat is wel erg mooi :)

@reinout reinout marked this pull request as ready for review June 10, 2026 00:08
@reinout reinout merged commit b5993b8 into master Jun 10, 2026
2 checks passed
@reinout reinout deleted the reinout-tailwindcss branch June 10, 2026 00:08
@gijs

gijs commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Ziet er mooi uit Reinout!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants