Addepar / ember-table

https://opensource.addepar.com/ember-table/
Other
1.7k stars 352 forks source link

Ember Table 2.0.0-beta.1 Roadmap #520

Closed pzuraq closed 6 years ago

pzuraq commented 6 years ago

This issue is for tracking progress towards the first beta of 2.0.0

Goals

Features

Tasks

The target API for beta.1 is outlined in #505:

{{#ember-table as |t|}}
  {{#t.head columns=columns sortings=sortings as |h|}}
    {{#h.row as |r|}}
      {{#r.cell as |column|}}
        {{column.name}}
      {{/r.cell}}
    {{/h.row}}
  {{/t.head}}

  {{#t.body rows=rows as |b|}}
    {{#b.row as |r|}}
      {{#r.cell as |value cell column row|}}
        {{value}}
      {{/r.cell}}
    {{/b.row}}
  {{/t.body}}

  {{#t.foot rows=rows as |f|}}
    {{#f.row as |r|}}
      {{#r.cell as |value cell column row|}}
        {{value}}
      {{/r.cell}}
    {{/f.row}}
  {{/t.foot}}
{{/ember-table}}
wuarmin commented 6 years ago

Hello @pzuraq, I'm migrating to ember-table's new api and have some styling-issues. Should we define @addepar/style-toolbox as dependency? I noticed, that some important style-defs are at _core.scss, but _core.scss is not available if ember-table is used as addon. Maybe you can clarify the things.

thank you

pzuraq commented 6 years ago

@addepar/style-toolbox is our in-progress style framework. It’s tailored specifically to Addepar, and changing pretty frequently at the moment, so it may not be the best to rely on. If you like the look of the styles for the table, feel free to use them.

In general, Ember Table only includes the absolute minimum styles that are required for it to work. This allows you to add whatever styles you like. You can use our style framework as an example, but develop your own if you like. We cannot guarantee that our style framework will have the same semver guarantees as Ember Table, so this is probably the best approach.

wuarmin commented 6 years ago

@pzuraq thank you for the clarification :)

pzuraq commented 6 years ago

Beta 1 has been launched!