- Properly set the locale for localization
- Hide guide sections that are not being viewed
- Fix font styling issues
- Fix styling issues on inputs and links for Safari desktop and mobile
- Fix responsive layout for profiles modal, sort menu, search input and buttons
- Fix setting N+1 query in profiles modal
- Fix profile updates not saving entries
- Fix input UI style after resetting date settings
- Fix accessing devise's current user for logging
- Use Rails environment instead of manually initializing applications for rake tasks
- Add expected_errors and auto reset for Sail.get
- Make Sail.get with block return the block result instead of the setting value
- Add tooltips for guide sections
- Create locales setting type
- Make engine compatible with Rails API only mode
- Add monitor mode to dashboard displaying minimalistic cards
- Fix dynamic setting types being incorrectly cached
- Add reference guide to dashboard containing usage instructions
- Expire cache fragments after 500 new usages of each setting so that the relevancy score actually updates.
- Initialize Rails application when running rake tasks (bug)
- Change cache life span to 6 hours
There are some breaking changes in this new major version. Please read through the changelog and execute the update generator to create the necessary migrations.
$ rails g sail:update
- Enhance sort menu placement for responsive layouts
- Add active profile indicators
- Reload page after profile switching
- Create rake task to export database settings to config file
- Allow Sail.get to be used with a block. Start yielding setting value to passed block.
- Create update generator to assist user upgrading major versions
- Add profiles with API and modal
- Creating, updating, deleting and switching profiles
- API for switching in JSON
- All operations implemented as part of the dashboard
In order to create profiles in the application, run the update generator. Even if upgrading from 1.x.x (generator will detect current state of the database and add the appropriate migrations).
$ rails g sail:update
Or create the migration manually.
class CreateSailProfiles < ActiveRecord::Migration[5.2]
def change
create_table :sail_entries do |t|
t.string :value, null: false
t.references :setting, index: true
t.references :profile, index: true
t.timestamps
end
create_table :sail_profiles do |t|
t.string :name, null: false
t.boolean :active, default: false
t.index ["name"], name: "index_sail_profiles_on_name", unique: true
t.timestamps
end
add_foreign_key(:sail_entries, :sail_settings, column: :setting_id)
add_foreign_key(:sail_entries, :sail_profiles, column: :profile_id)
end
end
- Add relevancy score to settings
- Fix image URLs in css
- Add stale labels to settings older than the configured number of days
- Add stale links and searching capabilities
- Fix gray background in reset button for Firefox
- Fix range slider positioning for Firefox
- Lighten text input gray colors
- Add the capability of searching for recently updated settings
- Prevent errors if the database has not been created yet
- Drop Ruby 2.2.x support
- Add logging for update and reset actions
- Add sorting functionality to the dashboard
- Update the reset icon
- Ensure SettingsController inherits from the correct ApplicationController
- Update pagination icons
- Refactor and move main app icon to the search portion of the dashboard
- Fix search bar size changing during focus bug
- Add capability to search by cast type
- Change multiple small style details
- Add search auto submit
- Add reset button functionality
- Add load_defaults rake task
The addition of group to settings requires a migration if you're upgrading from older versions.
class AddGroupToSailSettings < ActiveRecord::Migration[5.2]
def change
add_column(:sail_settings, :group, :string)
end
end
- Add group to settings
- Add capability to search by group
- Add group and cast type links
- Fix Ruby 2.2.x errors
- Start deleting settings removed from the YAML file from the database
- Add simplified interface via module
- Create throttle setting type
- Create new switcher method to randomly swap between two settings
- Created JSON API for switcher
- Refactor layout including update and failure messages
- Add Rails 4 support
- Fix errors related to populating the database via YAML file before running migrations
- Fix bug where an undefined number of pages would prevent access to the dashboard
- Replace old migration generator with simpler installer
- Added YAML configuration file for populating the database
- Moved main app button string to localization file
- Add date picker for date settings
- Create URI setting type
- Add configurable link to refer back to main app
- Fix bug when trying to save Boolean settings as false
- Fix migration being generated with incorrect name
- Fix missing attribute errors for query scope
- Remove jquery and use pure javascript
- Start loading javascript async
- Add date and model setting types
- Add dashboard authorization lambda
- Fix Setting.get behavior for missing settings
- Add A/B setting type
- Add cron setting type
- Add dashboard setting search
- Make style updates to dashboard
- Expose show and update JSON APIs for settings
- Start displaying "Failed" message for unsuccessful updates
- Add gem configuration
- Add float setting type
- Improve dashboard UI
- Reduce cast_type limit to 1
- First release with basic functionality