-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discover] Deangularize classic table #104361
[Discover] Deangularize classic table #104361
Conversation
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
…id-of-angular-for-classic-table # Conflicts: # src/plugins/discover/public/application/angular/doc_table/doc_table.test.js
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should have rolled my two comments into this review (1- regarding the 1% width on kbnDocTableCell--extraWidth
and 2- a reply to removing the display
rule on kbnDocViewer__value
).
Once those are addressed, then I think we are good from the design side. Thanks
@ryankeairns I noted 1 difference to the angular world while testing, so now classic grid on Dashboard uses Roboto (Like in Discover) as font while before it was Inter. is this fine / intended? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing, some initial comments/questions...
src/plugins/discover/public/application/angular/create_discover_grid_directive.tsx
Show resolved
Hide resolved
...r/public/application/apps/main/components/doc_table/components/pager/tool_bar_pagination.tsx
Show resolved
Hide resolved
...r/public/application/apps/main/components/doc_table/components/pager/tool_bar_pagination.tsx
Show resolved
Hide resolved
src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx
Show resolved
Hide resolved
src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx
Show resolved
Hide resolved
.../discover/public/application/apps/main/components/doc_table/components/table_row_details.tsx
Outdated
Show resolved
Hide resolved
I'm not aware of the history, but I believe the table should look the same in Dashboard as it does in Discover. In my opinion, that was a 'bug' prior to this change. |
Agreed, think it's better this way 👍 |
Regarding ff-issue.mp4 |
…id-of-angular-for-classic-table # Conflicts: # src/plugins/discover/public/application/angular/doc_table/components/table_header.ts # src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing things. I've reviewed the related PR you mentioned to me as well.
Andrea may have an outstanding comment, but looks good from me.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @dmitriynj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a final testing focused on Firefox, did several testings before using Chrome, Safari. LGTM! Works as expected Congrats! Great work, this a big step forward 🦶 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* [Discover] move angular directives to react compoenents * [Discover] add support of infiniteScroll * [Discover] support paginated classic table * [Discover] refactor docTable component, remove redundant angular code * [Discover] remove redundant files * [Discover] fix some functional tests and pgination * [Discover] fix functionals * [Discover] code refactoring, adding tests * [Discover] update tests * [Discover] fix embeddable view of doc table * [Discover] update pagination view * [Discover] remove unused translations * [Discover] improve readability, fix pagination * [Discover] adjust isFilterable check * [Discover] improve doc viewer table row display * [Discover] clean up implementation, fix functional test * [Discover] fix skip button * [Discover] update test snapshot * [Discover] update test * [Discover] simplify pagination, update layout in embeddable * [Discover] fix functional, remove redundant i18n translations * [Discover] return indexPatternField * [Discover] add support of fixed footer for embeddable * [Discover] move doc_table to apps/components folder, update test * [Discover] fix imports * [Discover] update imports, beautify code * Update src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx Co-authored-by: Tim Roes <[email protected]> * [Discover] remove redundant styles * [Discover] fix lining * [Discover] fix discover grid embeddable * [Discover] fix by comments * [Discover] return extraWidth, describe the problem * [Discover] fix unresolved conflicts Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Tim Roes <[email protected]> # Conflicts: # test/functional/apps/discover/_doc_table.ts
* [Discover] move angular directives to react compoenents * [Discover] add support of infiniteScroll * [Discover] support paginated classic table * [Discover] refactor docTable component, remove redundant angular code * [Discover] remove redundant files * [Discover] fix some functional tests and pgination * [Discover] fix functionals * [Discover] code refactoring, adding tests * [Discover] update tests * [Discover] fix embeddable view of doc table * [Discover] update pagination view * [Discover] remove unused translations * [Discover] improve readability, fix pagination * [Discover] adjust isFilterable check * [Discover] improve doc viewer table row display * [Discover] clean up implementation, fix functional test * [Discover] fix skip button * [Discover] update test snapshot * [Discover] update test * [Discover] simplify pagination, update layout in embeddable * [Discover] fix functional, remove redundant i18n translations * [Discover] return indexPatternField * [Discover] add support of fixed footer for embeddable * [Discover] move doc_table to apps/components folder, update test * [Discover] fix imports * [Discover] update imports, beautify code * Update src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx Co-authored-by: Tim Roes <[email protected]> * [Discover] remove redundant styles * [Discover] fix lining * [Discover] fix discover grid embeddable * [Discover] fix by comments * [Discover] return extraWidth, describe the problem * [Discover] fix unresolved conflicts Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Tim Roes <[email protected]> # Conflicts: # test/functional/apps/discover/_doc_table.ts
Closes #103444
Summary
Before
Classic table
Data grid
After
Classic table
Data grid
Checklist