Skip to content

feat: Implement LegislatorsController#61

Merged
dcordz merged 3 commits into
golang-stagingfrom
go-backend-conversion
Oct 15, 2025
Merged

feat: Implement LegislatorsController#61
dcordz merged 3 commits into
golang-stagingfrom
go-backend-conversion

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

This pull request implements the LegislatorsController, including the Index and Show actions, and adds corresponding tests. It also refactors the controller structure to be more idiomatic by separating each controller into its own file.


PR created automatically by Jules for task 10371733277634704952

This commit implements the LegislatorsController, including the Index and Show actions, and adds corresponding tests. It also refactors the controller structure to be more idiomatic by separating each controller into its own file.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

@dcordz dcordz changed the base branch from main to golang-staging October 15, 2025 02:16
This commit implements the BillsController and LegislatorsController, including their respective actions and tests. It also addresses feedback from previous code reviews by:

- Implementing business logic for the HomeController.
- Refactoring the controller structure to be more idiomatic by separating each controller into its own file.
- Fixing invalid dependencies in the go.mod file.
- Fixing a bug in the LegislatorsController.Show method.
This commit implements the AdminController and its associated middleware and tests. It also addresses feedback from previous code reviews by:

- Implementing business logic for the UsersController and LegislatorsController.
- Adding tests for the UsersController.
- Fixing unique constraint violations in tests by providing unique values for WebauthnID and Phone.
- Correcting the GORM import path in all model files.
- Resolving the `gonertia.Flash` issue.
- Refactoring controllers to have one controller per file.
- Fixing invalid dependency versions in go.mod.
- Fixing a bug in the LegislatorsController.Show method.
- Removing the committed test.db and adding it to .gitignore.
@dcordz dcordz marked this pull request as ready for review October 15, 2025 11:41
@dcordz dcordz merged commit c1f43c1 into golang-staging Oct 15, 2025
3 checks passed
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.

1 participant