You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,16 @@ Search these pages before using them. Find examples, plugins, UI components, and
43
43
- ✅ **CSS**: Use frontend styles in `frontend/public/styles.css`. Water.css for fallback.
44
44
- ✅ **Specs**: RSpec for Ruby, build tests for frontend.
45
45
46
+
## Roda Large Applications Structure
47
+
48
+
This project follows [Roda Large Applications conventions](https://roda.jeremyevans.net/rdoc/files/doc/conventions_rdoc.html#label-Large+Applications):
49
+
50
+
-**Use `hash_branches` plugin** (not `hash_branch_view_subdir` since we have no views)
51
+
-**Route modules** go in `routes/` directory (one file per prefix)
52
+
-**Helper modules** go in `helpers/` directory with `module_function`
53
+
-**Core app modules** stay in `app/` directory
54
+
-**Load routes/helpers** with `Dir['routes/*.rb'].each { |f| require_relative f }`
55
+
46
56
## Don't
47
57
48
58
- ❌ Don't depend on JS for core flows.
@@ -77,6 +87,11 @@ Search these pages before using them. Find examples, plugins, UI components, and
0 commit comments