-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix the issue of download plans (only coverpage can be downloaded) #155
Conversation
CHANGELOG.md
Outdated
@@ -1,5 +1,8 @@ | |||
# Changelog | |||
|
|||
## [3.0.4+portage-3.0.5] | |||
- Fixed pdf download issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add this on the CHANGELOG under a new version.
Also, we need to be under a subheading for FIXED.
Now that we are keeping better track of issues we should start adding links to the issue being fixed #153
You can see jupiter's CHANGELOG as an example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working on it : ) should I put today as the release date?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please
@@ -111,7 +111,7 @@ | |||
options_for_select(Settings::Template::VALID_MARGIN_RANGE.to_a, | |||
@export_settings.formatting[:margin][:right]), | |||
class: 'form-control', | |||
"data-default": @plan.template.settings(:export).formatting[:margin][:rigth] %> | |||
"data-default": @plan.template.settings(:export).formatting[:margin][:right] %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thing are looking good. Just some minor comments made there about the change log.
We should also add a skipped stub for testing so we have a reference of where we need to work on this next.
config/environments/development.rb
Outdated
@@ -71,4 +71,4 @@ | |||
end | |||
|
|||
# Used by Rails' routes url_helpers (typically when including a link in an email) | |||
Rails.application.routes.default_url_options[:host] = "localhost:3000" | |||
# Rails.application.routes.default_url_options[:host] = "localhost:3000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line part of the problem for this issue?
Generated by 🚫 Danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes part of #153 .
This PR does not include JSON issue (unique on production and staging) and functional tests. JSON issue might be a configuration issue, will do further navigation after this emergency release. The functional test will come soon.