-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add view properties to choose group by (entity or time) and sort orde…
…r (asc vs desc)
- Loading branch information
Showing
34 changed files
with
1,374 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
crates/store/re_types/definitions/rerun/blueprint/archetypes/range_table_settings.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
include "arrow/attributes.fbs"; | ||
include "python/attributes.fbs"; | ||
include "rust/attributes.fbs"; | ||
|
||
include "rerun/attributes.fbs"; | ||
|
||
namespace rerun.blueprint.archetypes; | ||
|
||
|
||
/// Configuration for the sorting of the rows of a time range table. | ||
table TableRowOrder ( | ||
"attr.rerun.scope": "blueprint", | ||
"attr.rust.derive": "Copy", | ||
"attr.rust.generate_field_info" | ||
) { | ||
// --- Optional --- | ||
|
||
/// The type of the background. | ||
group_by: rerun.blueprint.components.TableGroupBy ("attr.rerun.component_optional", nullable, order: 1000); | ||
|
||
/// Color used for the `SolidColor` background type. | ||
sort_order: rerun.blueprint.components.SortOrder ("attr.rerun.component_optional", nullable, order: 2000); | ||
} |
20 changes: 20 additions & 0 deletions
20
crates/store/re_types/definitions/rerun/blueprint/components/sort_order.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
include "arrow/attributes.fbs"; | ||
include "python/attributes.fbs"; | ||
include "rust/attributes.fbs"; | ||
|
||
include "rerun/datatypes.fbs"; | ||
include "rerun/attributes.fbs"; | ||
|
||
namespace rerun.blueprint.components; | ||
|
||
|
||
/// Sort order for data table. | ||
enum SortOrder: byte ( | ||
"attr.rerun.scope": "blueprint" | ||
) { | ||
/// Ascending | ||
Ascending (default), | ||
|
||
/// Descending | ||
Descending, | ||
} |
20 changes: 20 additions & 0 deletions
20
crates/store/re_types/definitions/rerun/blueprint/components/table_group_by.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
include "arrow/attributes.fbs"; | ||
include "python/attributes.fbs"; | ||
include "rust/attributes.fbs"; | ||
|
||
include "rerun/datatypes.fbs"; | ||
include "rerun/attributes.fbs"; | ||
|
||
namespace rerun.blueprint.components; | ||
|
||
|
||
/// Primary element by which to group by in a temporal data table. | ||
enum TableGroupBy: byte ( | ||
"attr.rerun.scope": "blueprint" | ||
) { | ||
/// Group by entity. | ||
Entity (default), | ||
|
||
/// Group by instance. | ||
Time, | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
201 changes: 201 additions & 0 deletions
201
crates/store/re_types/src/blueprint/archetypes/table_row_order.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
crates/store/re_types/src/blueprint/components/.gitattributes
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.