Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Apply literal properties (#3102)
* Add literal to alert_component * Add literal to backtrace_alert_component * Apply literal to button_component * Apply literal to cover_photo_component * Apply literal to divider_component * Apply literal to empty_state_component * Ensure Symbol is passed into empty_state_component because ./spec/system/avo/resource_index_map_spec.rb fails * Lint * Apply literal to field_wrapper_component * Apply literal to filters_component * Apply literal to flash_alerts_component * Apply literal to loading_component * Remove redundant var and apply literal to modal component * Lint * Apply literal to paginator_component * Apply literal to panel_component * Apply literal to referrer_params_component * Apply literal to resource_sidebar_component * Apply literal to row_component * Apply literal to row_selector_component * apply literal to sidebar_component * Apply literal to app/components/avo/sidebar_profile_component.rb * Apply literal to app/components/avo/tab_group_component.rb * Apply literal to app/components/avo/tab_switcher_component.rb * Apply literal to app/components/avo/turbo_frame_wrapper_component.rb * Apply literal to app/components/avo/index/field_wrapper_component.rb * Add note on breakage * Apply literal to app/components/avo/views/resource_edit_component.rb * Apply literal to app/components/avo/index/resource_table_component.rb * Apply literal to app/components/avo/index/grid_item_component.rb * Apply literal to app/components/avo/index/resource_controls_component.rb * Apply literal to app/components/avo/views/resource_show_component.rb * Make user nilable for sidebar_profile_component * Coerce to symbol * Coerce to Symbol * Apply literal to app/components/avo/profile_photo_component.rb * Apply literal to app/components/avo/panel_name_component.rb * Apply literal to app/components/avo/fields/show_component.rb * Revert "Apply literal to app/components/avo/fields/show_component.rb" because tests are failing * Apply literal to app/components/avo/fields/edit_component.rb * Revert "Apply literal to app/components/avo/fields/edit_component.rb" because of failing tests * Apply literal to app/components/avo/fields/tags_field/tag_component.rb * Apply literal to app/components/avo/fields/common/gravatar_viewer_component.rb * Apply literal to app/components/avo/fields/common/files/controls_component.rb * Use correct type * Apply literal to app/components/avo/fields/common/files/view_type/grid_item_component.rb * Apply literal to app/components/avo/fields/common/files/list_viewer_component.rb * Apply literal to app/components/avo/fields/common/badge_viewer_component.rb * Apply literal to app/components/avo/fields/common/status_viewer_component.rb * Apply literal to app/components/avo/fields/common/key_value_component.rb * Apply literal to app/components/avo/fields/common/boolean_check_component.rb * Apply literal to app/components/avo/fields/common/boolean_group_component.rb * Apply literal to app/components/avo/fields/common/progress_bar_component.rb * Apply literal to app/components/avo/fields/common/heading_component.rb * Apply literal to app/components/avo/index/resource_grid_component.rb * Apply literal to app/components/avo/index/table_row_component.rb * Apply literal to app/components/avo/views/resource_index_component.rb * Apply literal to app/components/avo/sidebar/link_component.rb * Fix tests * Apply literal to app/components/avo/items/panel_component.rb * Apply literal to app/components/avo/sidebar/base_item_component.rb * Apply literal to app/components/avo/sidebar/heading_component.rb * Apply literal to app/components/avo/items/visible_items_component.rb * Apply literal to app/components/avo/profile_item_component.rb * Fix * Lint * view must be an instance of Avo::ViewInquirer * Coerce value to symbol * Remove reader from resource_sidebar_component * Remove reader from app/components/avo/paginator_component.rb * Remove reader from app/components/avo/empty_state_component.rb * Remove reader from app/components/avo/row_component.rb * Remove reader from app/components/avo/modal_component.rb * Remove reader from app/components/avo/fields/tags_field/tag_component.rb * Remove reader from app/components/avo/fields/common/files/controls_component.rb * Remove reader from app/components/avo/fields/common/files/view_type/grid_item_component.rb * Remove reader from app/components/avo/fields/common/files/list_viewer_component.rb * Remove reader from app/components/avo/fields/common/key_value_component.rb * Remove reader from app/components/avo/fields/common/progress_bar_component.rb * Remove reader from app/components/avo/divider_component.rb * Remove reader from app/components/avo/alert_component.rb * Remove reader from app/components/avo/tab_switcher_component.rb * Remove reader from app/components/avo/index/resource_grid_component.rb * Revert because ./spec/features/avo/record_selector_spec.rb:20 fails * Remove reader from app/components/avo/index/grid_item_component.rb * Remove reader from app/components/avo/index/resource_table_component.rb * Remove reader from app/components/avo/index/resource_controls_component.rb * Remove reader from app/components/avo/index/field_wrapper_component.rb * Remove reader from app/components/avo/panel_component.rb * Remove reader from app/components/avo/views/resource_edit_component.rb * Revert because display_breadcrumbs needs to be a reader * Remove reader from app/components/avo/views/resource_edit_component.rb * Remove reader from app/components/avo/views/resource_index_component.rb * Remove reader from app/components/avo/sidebar_profile_component.rb * Remove reader from app/components/avo/sidebar/link_component.rb * Remove reader from app/components/avo/sidebar/base_item_component.rb * Remove reader from app/components/avo/turbo_frame_wrapper_component.rb * Remove reader from app/components/avo/referrer_params_component.rb * Remove reader from app/components/avo/field_wrapper_component.rb * Fix tests * Delegate id to @field * Fix tests * Fix tests * Set instance var without calling after_initialize * Remove after_initialize from app/components/avo/cover_photo_component.rb * Remove after_initialize for app/components/avo/fields/common/badge_viewer_component.rb * Remove after_initialize for app/components/avo/fields/common/boolean_check_component.rb * Remove after_initialize for app/components/avo/fields/common/heading_component.rb * Remove after_initialize for app/components/avo/button_component.rb * Remove after_initialize for app/components/avo/index/field_wrapper_component.rb * Remove after_initialize for app/components/avo/views/resource_edit_component.rb * Remove after_initialize for app/components/avo/field_wrapper_component.rb * lint * Update app/components/avo/fields/common/badge_viewer_component.rb * Update app/components/avo/button_component.rb * Update app/components/avo/fields/common/files/view_type/list_item_component.rb * Update app/views/avo/base/_new_via_belongs_to.html.erb * Update app/components/avo/index/field_wrapper_component.rb * tweaks * fixes * prop view to Avo::ViewInquirer * prop view to Avo::ViewInquirer * tweaks * tweaks --------- Co-authored-by: Paul Bob <[email protected]> Co-authored-by: Paul Bob <[email protected]>
- Loading branch information