infotable 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -2
  3. data/app/assets/javascripts/infotable/controllers/drawer_controller.js +68 -42
  4. data/app/assets/javascripts/infotable/controllers/table_controller.js +127 -23
  5. data/app/controllers/infotable/tables_controller.rb +17 -7
  6. data/app/helpers/infotable/tables_helper.rb +64 -2
  7. data/app/views/infotable/tables/_active_filters.html.erb +24 -0
  8. data/app/views/infotable/tables/_column_visibility.html.erb +11 -11
  9. data/app/views/infotable/tables/_filter_drawer.html.erb +4 -4
  10. data/app/views/infotable/tables/_next_page_frame.html.erb +5 -5
  11. data/app/views/infotable/tables/_pagination.html.erb +12 -12
  12. data/app/views/infotable/tables/_rail.html.erb +56 -0
  13. data/app/views/infotable/tables/_side_panel.html.erb +22 -10
  14. data/app/views/infotable/tables/_table.html.erb +43 -26
  15. data/app/views/infotable/tables/_table_rows.html.erb +3 -3
  16. data/app/views/infotable/tables/filters/_boolean.html.erb +2 -2
  17. data/app/views/infotable/tables/filters/_date.html.erb +2 -30
  18. data/app/views/infotable/tables/filters/_number.html.erb +2 -32
  19. data/app/views/infotable/tables/filters/_range.html.erb +66 -0
  20. data/app/views/infotable/tables/filters/_select.html.erb +4 -4
  21. data/app/views/infotable/tables/filters/_text.html.erb +3 -3
  22. data/app/views/infotable/tables/show.html.erb +22 -13
  23. data/config/locales/en.yml +23 -0
  24. data/config/locales/pl.yml +23 -0
  25. data/config/routes.rb +1 -0
  26. data/lib/infotable/base.rb +66 -0
  27. data/lib/infotable/configuration.rb +3 -1
  28. data/lib/infotable/formatters/action_formatter.rb +7 -7
  29. data/lib/infotable/formatters/avatar_formatter.rb +2 -2
  30. data/lib/infotable/formatters/badge_formatter.rb +9 -9
  31. data/lib/infotable/formatters/boolean_formatter.rb +2 -2
  32. data/lib/infotable/formatters/link_formatter.rb +1 -1
  33. data/lib/infotable/formatters/percent_formatter.rb +1 -1
  34. data/lib/infotable/version.rb +1 -1
  35. metadata +4 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infotable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Cieślar
@@ -145,16 +145,19 @@ files:
145
145
  - app/jobs/infotable/application_job.rb
146
146
  - app/mailers/infotable/application_mailer.rb
147
147
  - app/models/infotable/application_record.rb
148
+ - app/views/infotable/tables/_active_filters.html.erb
148
149
  - app/views/infotable/tables/_column_visibility.html.erb
149
150
  - app/views/infotable/tables/_filter_drawer.html.erb
150
151
  - app/views/infotable/tables/_next_page_frame.html.erb
151
152
  - app/views/infotable/tables/_pagination.html.erb
153
+ - app/views/infotable/tables/_rail.html.erb
152
154
  - app/views/infotable/tables/_side_panel.html.erb
153
155
  - app/views/infotable/tables/_table.html.erb
154
156
  - app/views/infotable/tables/_table_rows.html.erb
155
157
  - app/views/infotable/tables/filters/_boolean.html.erb
156
158
  - app/views/infotable/tables/filters/_date.html.erb
157
159
  - app/views/infotable/tables/filters/_number.html.erb
160
+ - app/views/infotable/tables/filters/_range.html.erb
158
161
  - app/views/infotable/tables/filters/_select.html.erb
159
162
  - app/views/infotable/tables/filters/_text.html.erb
160
163
  - app/views/infotable/tables/show.html.erb