Commit Graph
24 Commits
Author SHA1 Message Date
Brenda Wallace 7e5113c82c Add edit modal for comments and update actions menu for consistency 2026-10-16 22:21:26 +13:00
Brenda WallaceandClaude Sonnet 5.5 be04ef963f Give record action menus a shared three-dot menu with green icons
One actions_menu helper now builds the three-dot toggle and dropdown for
seeds, harvests, crops, gardens, posts, photos, activities and comments,
replacing the text "Actions" toggle. Every item carries a green line icon
(menu_icon), and delete uses a darker red ($danger-text, 5.6:1 on white)
so it stays readable; it is still last, under a divider, with its own icon.
The React menus draw the same icons. DESIGN.md now says menu items have icons.

Also fixes the posts menu delete, which confirmed but never sent DELETE.

Closes #4939
Closes #4940
Closes #4942
Closes #4943
Closes #4944
Closes #4945
Closes #4946
Part of #4933

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 22:21:26 +13:00
Brenda WallaceandClaude Sonnet 5 be5ed5fca5 Rename Bootstrap 4 utility classes to their Bootstrap 5 names
text-left/right -> text-start/end, float-left/right -> float-start/end,
ml-/mr-/pl-/pr- -> ms-/me-/ps-/pe-, border-left/right -> border-start/end,
dropdown-menu-left/right -> dropdown-menu-start/end, font-weight-* -> fw-*,
font-italic -> fst-italic and sr-only -> visually-hidden. Bootstrap 5 dropped
text-justify, so the site keeps a one-line rule for it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 18:01:00 +12:00
Daniel O'Connor 7d63234841 Upgrade to bootstrap 5 (#3605)
* Upgrade boostrap

* Remove deprecated bootstrap toggles

* Migrate other details

* Avoid accidentally including bootstrap twice

* Avoid accidentally including bootstrap twice

* Avoid accidentally including bootstrap twice

* Fix spec

* Fix spec, where the size of the screen has gone to a partial breakpoint/you can't click on your own name in tablet view

* Fix spec

* Cleanup

* Cleanup
2024-03-10 11:49:22 +10:30
Daniel O'Connor 49284eb169 Fix haml preview (#3610)
* HAML

* rewrite

* Fix specs - but likely still wrong

* Return temple

* Trailing line

* Fix specs

* This was rearranged, apparently.

* Fix tests

* Retain escaping

* Fix specs

* Rubocop

* Attempt to fix rendering

* Fix output

* Move away from filter

* Move away from filter

* Fix spec

* Fix specs

* Fix structure to avoid nested paragraph tags
2024-02-04 15:08:18 +10:30
Brenda Wallace 783e4ae046 fixed up comments by deleted members 2019-07-21 20:24:39 +12:00
Brenda Wallace 6d8c02f282 Make the member icon tiny on comments 2019-06-12 14:39:37 +12:00
Brenda Wallace dcfe49901e Posts actions in dropdown menus 2019-05-19 10:20:35 +12:00
Brenda Wallace 748da6c3e6 Comments from deleted members need to show 2018-06-04 16:02:07 +12:00
Brenda Wallace 1cdcaac41e comment says "Member Deleted" when they are 2017-06-02 22:50:48 +12:00
Brenda Wallace b538330785 Form to delete your own account 2017-05-21 21:51:44 +12:00
Brenda Wallace 785ae33a42 Haml clean up for comments views 2017-02-04 14:07:59 +13:00
Cesy Avon 259c1e1731 Fix #476 show edited and posted date on posts and comments 2016-06-02 14:37:33 +00:00
Cjay 2528d8af8a Show edited date/time on posts/comments 2015-07-02 18:53:18 +08:00
Skud 117fd23bea add btn-default to all btn-xs 2014-07-22 12:06:28 +10:00
Skud 0294daf423 s/btn-mini/btn-xs/ for bootstrap3 2014-07-22 12:01:49 +10:00
Amy Hendrix f0cd8df6e0 Update column classes 2014-07-13 18:16:57 -04:00
Amy Hendrix 8d0d01991b Bootstrap3 update: row classes 2014-07-13 15:15:08 -04:00
Skud 8620236cb0 Use growstuff markdown everywhere (except policy) 2013-11-11 10:33:20 +11:00
Skud 0c3c9c7694 fixed up some bootstrap formatting (rows/spans) 2013-08-07 15:51:49 +10:00
gnattery d26b3d42ed standardise button styles 2013-03-21 00:37:46 +11:00
Skud 29016c3211 Tweaked member avatars
The member's name (in text) is no longer part of the avatar itself, as
it looks pretty awful and/or redundant in some places where it's used.
2013-03-11 14:32:34 +11:00
Skud 801347976e Added edit/delete buttons to comment display 2013-02-08 17:24:06 +11:00
Skud 660c626581 show comments on post page 2013-02-08 16:36:15 +11:00