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

feature/paginate-survey-responses #183

Merged
merged 21 commits into from
Oct 8, 2024

Conversation

Ahmedhossamdev
Copy link
Member

No description provided.

Copy link
Member

@aaronbrethorst aaronbrethorst left a comment

Choose a reason for hiding this comment

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

looking good! couple minor changes I'd like to see before merging.

Gemfile Outdated
@@ -10,6 +10,7 @@ gem "importmap-rails"
gem "jbuilder", '~>2.12'
gem 'jsonb_accessor', '~> 1.4'
gem 'mailgun-ruby', '~>1.2.14'
gem 'pagy'
Copy link
Member

Choose a reason for hiding this comment

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

please pin this to the major version, i.e.:

gem 'pagy', '~>9'

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

<% end %>

Copy link
Member

Choose a reason for hiding this comment

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

please delete the blank lines at the end of the file

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@@ -14,6 +14,9 @@
<meta name="apple-itunes-app" content="app-id=329380089">
<%= stylesheet_link_tag "tailwind", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag 'pagy.tailwind', media: 'all' %>
Copy link
Member

Choose a reason for hiding this comment

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

are these necessary since you included pagy.tailwind in the application.tailwind.css file?

Copy link
Member Author

Choose a reason for hiding this comment

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

When I removed it, the pagy navigation bar was displayed without any style. But I just tried removing the import from application.tailwind.css and kept the pagy.tailwind link_tag application.html, and it works now.

@aaronbrethorst aaronbrethorst force-pushed the feature/paginate-survey-responses branch from c9f3df3 to 5c77e33 Compare October 8, 2024 03:24
@aaronbrethorst aaronbrethorst changed the base branch from main to develop October 8, 2024 03:26
@aaronbrethorst aaronbrethorst merged commit 47ab525 into develop Oct 8, 2024
1 check passed
@aaronbrethorst aaronbrethorst deleted the feature/paginate-survey-responses branch October 8, 2024 03:29
@aaronbrethorst aaronbrethorst restored the feature/paginate-survey-responses branch October 9, 2024 02:34
@aaronbrethorst aaronbrethorst deleted the feature/paginate-survey-responses branch October 9, 2024 04:18
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.

2 participants