Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection as an object #1085

Merged
merged 22 commits into from
Mar 16, 2023
Merged

Collection as an object #1085

merged 22 commits into from
Mar 16, 2023

Conversation

ksuquix
Copy link
Collaborator

@ksuquix ksuquix commented Mar 10, 2023

This isn't ready yet... just starting a draft for discussion

@Floppy Floppy marked this pull request as draft March 10, 2023 23:44
@Floppy
Copy link
Collaborator

Floppy commented Mar 12, 2023

This is probably a "next PR" type thing, but being able to choose the preview model (in the same way you can choose a preview file for a model) would be awesome.

@ksuquix ksuquix marked this pull request as ready for review March 14, 2023 23:26
@ksuquix ksuquix requested a review from Floppy March 14, 2023 23:27
Copy link
Collaborator

@Floppy Floppy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a couple of code tweak suggestions to tidy things up a bit more.

db/data/20230308006000_move_collection_tag_into_object.rb Outdated Show resolved Hide resolved
app/views/layouts/application.html.erb Outdated Show resolved Hide resolved
app/views/application/_model.html.erb Outdated Show resolved Hide resolved
app/views/models/index.html.erb Outdated Show resolved Hide resolved
app/views/models/show.html.erb Outdated Show resolved Hide resolved
ksuquix and others added 8 commits March 16, 2023 08:08
Co-authored-by: James Smith <james@floppy.org.uk>
Co-authored-by: James Smith <james@floppy.org.uk>
Co-authored-by: James Smith <james@floppy.org.uk>
Co-authored-by: James Smith <james@floppy.org.uk>
Co-authored-by: James Smith <james@floppy.org.uk>
@codeclimate
Copy link

codeclimate bot commented Mar 16, 2023

Code Climate has analyzed commit 6bf4699 and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 4

The test coverage on the diff in this pull request is 53.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 62.1% (-0.1% change).

View more on Code Climate.

@Floppy Floppy merged commit 74cfa67 into main Mar 16, 2023
@Floppy Floppy deleted the collection_object branch March 16, 2023 21:44
@Floppy Floppy added the feature User-facing features and product enhancements label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature User-facing features and product enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants