gpui-component/crates
Jason Lee 61b7e54bfa
table: Refactor the Table API for describe the columns. (#1072)
## Break Changes

- The `ColFixed` has renamed to `ColumnFixed`.
- The `ColSort` has renamed to `ColumnSort`.

### TableDelegate

- Removed `col_name`, `col_resizable`, `col_selectable`, `col_width`,
`col_sort`, `col_fixed`, `col_paddings`, `col_movable` method, now use
`col` method to return a TableCol for describe of them.
- The `cols_count` method renamed to `columns_count`.

    ```diff
    - fn cols_count(&self, _: &App) -> usize
    + fn columns_count(&self, _: &App) -> usize
    ``` 
- The `move_col` has renamed to `move_column`.
- The `visible_cols_changed` has renamed to `visible_columns_changed`.

### TableEvent

```diff
- TableEvent::SelectCol
+ TableEvent::SelectColumn
- TableEvent::MoveCol
+ TableEvent::MoveColumn
- TableEvent::ColWidthsChanged
+ TableEvent::ColumnWidthsChanged
```
2025-07-21 11:16:35 +08:00
..
macros chore: Fix spelling of the word masked (#990) 2025-06-19 12:34:19 +08:00
story table: Refactor the Table API for describe the columns. (#1072) 2025-07-21 11:16:35 +08:00
ui table: Refactor the Table API for describe the columns. (#1072) 2025-07-21 11:16:35 +08:00
webview chore: Update GPUI and fix FocusableWrapper removed error. (#1026) 2025-07-02 11:06:04 +08:00
wef wef: Fixed some issues (#975) 2025-06-18 10:46:55 +08:00