Commit Graph
26 Commits
Author SHA1 Message Date
James Smith 99bcfd01a2 swap flipper checks for SiteSettings checks 2024-08-09 11:26:18 +01:00
James Smith 141ed04387 lint 2024-08-06 14:05:10 +01:00
James Smith 3fc339934b rename FollowButton to FollowButtonComponent 2024-08-06 14:03:57 +01:00
James Smith 0ed76f98c7 move small erb templates into view components 2024-08-06 14:02:54 +01:00
James Smith 4aebca5444 move tag render into a component
doesn't seem to affect speed much
2024-08-06 13:53:04 +01:00
James Smith 43cfc86ed1 add name option to follow buttons 2024-08-01 16:23:29 +01:00
James Smith 94e2c243f2 Only render follow buttons if multiuser is enabled 2024-07-31 14:09:32 +01:00
James Smith b73d0ad93a add follow button view component 2024-07-31 14:09:32 +01:00
James Smith a3acb966d8 remove path nesting of models inside libraries 2024-07-30 19:13:17 +01:00
James Smith 60467b2433 replace t_nowrap with standard translate 2024-05-10 22:51:10 +01:00
James Smith 2e3de0567c use t_nowrap for attribute translations 2024-05-10 22:50:09 +01:00
James Smith 497b3ca3b3 group model component metadata in unstyled list and add aria labels to link
resolves #2101
2024-05-01 15:36:38 +01:00
James Smith f6a8675f15 add useful aria labels to buttons in model component, and change to icons for secondary buttons 2024-05-01 12:36:10 +01:00
James Smith c66094cbb0 optimise model component by passing in policies 2024-04-24 16:21:20 +01:00
James Smith 8d19807ab5 remvoe h5s from card titles 2024-04-22 16:42:23 +01:00
James Smith e0f22b827c lint 2024-03-24 12:47:22 +00:00
James Smith a0bd471fe7 add policy checks for UI elements
buttons, links to edit/new/destroy mostly
2024-03-24 12:36:36 +00:00
James Smith d19dc6ae19 fix explosion with Collection.model_name inside a viewcomponent
Presumably some sort of naming conflict. Fixed by using the actual object type.
2024-02-13 12:53:07 +00:00
James Smith 12df0371f9 deduplicate destroy messages 2024-02-06 16:05:56 +00:00
James Smith 8f74e170f8 i18n for model_component 2024-02-06 15:37:21 +00:00
James Smith 078180244e enable and apply rubocop Layout linting 2024-02-06 09:54:28 +00:00
James Smith 515e4dc272 enable SelfClosingTag linter and remove slashes from self-closing tags 2024-02-05 22:06:00 +00:00
James Smith ce337a66b6 rearrange card status badges a bit 2024-01-30 15:13:57 +00:00
James Smith e5aefb4178 show entire image in preview, and add a blurred background version to fill the space 2023-08-08 17:22:29 +01:00
James Smith 4339ee60cd set preview card background transparent
so we can see through to the 3d canvas
2023-07-13 15:20:59 +01:00
James Smith 853ca39949 Turn model partial into a view component 2023-07-03 13:15:13 +01:00