Skip to content
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

Improve superset list view content layout #3031

Merged
merged 11 commits into from
Aug 11, 2017

Conversation

graceguo-supercat
Copy link

@graceguo-supercat graceguo-supercat commented Jun 23, 2017

superset has a few pages that were using default template provided by AppBuilder framework.
old_slices

One problem with this layout is that title, filter, pagination are all stacked row by row, which took a lot of space before actual list content. So we want to make a new list view layout, to make top section cleaner and keep all the existed functionalities.
new_list_view

Grace Guo added 2 commits June 23, 2017 15:21
- less header spaces and stacks
- move pagination down to bottom
- apply material design style to 'add' action button
- will apply to all superset list view, like slices list, security tab lists etc.
- less header spaces and stacks
- move pagination down to bottom
- apply material design style to 'add' action button
- will apply to all superset list view, like slices list, security tab lists etc.
checkSearchButton();
});

(function($) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tabs instead of spaces?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure which line you mean to use tabs. But it seems all superset code base used spaces not tabs for line indentation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean you are using tabs instead of spaces :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! fixed.

Grace Guo added 3 commits June 26, 2017 11:00
- less header spaces and stacks
- move pagination down to bottom
- apply material design style to 'add' action button
- will apply to all superset list view, like slices list, security tab lists etc.
- less header spaces and stacks
- move pagination down to bottom
- apply material design style to 'add' action button
- will apply to all superset list view, like slices list, security tab lists etc.
- less header spaces and stacks
- move pagination down to bottom
- apply material design style to 'add' action button
- will apply to all superset list view, like slices list, security tab lists etc.
function checkSearchButton() {
var hasFilter = $('.filters tr').length;
if (hasFilter) {
$('.filters a.remove-filter').off('click', checkSearchButton);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: still one tab here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:-( another fix.

@coveralls
Copy link

coveralls commented Aug 7, 2017

Coverage Status

Changes Unknown when pulling 8fa4b2b0b03006da087dbc4241dca26cc0de66de on graceguo-supercat:gg-SlicesTemplate into ** on apache:master**.

@mistercrunch
Copy link
Member

This PR doesn't look right... 76 files changed?

@coveralls
Copy link

Coverage Status

Coverage remained the same at 69.311% when pulling 4a308cf on graceguo-supercat:gg-SlicesTemplate into 2385cd4 on apache:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 69.311% when pulling 4a308cf on graceguo-supercat:gg-SlicesTemplate into 2385cd4 on apache:master.

@coveralls
Copy link

coveralls commented Aug 8, 2017

Coverage Status

Coverage remained the same at 69.311% when pulling 4a308cf on graceguo-supercat:gg-SlicesTemplate into 2385cd4 on apache:master.

@coveralls
Copy link

coveralls commented Aug 10, 2017

Coverage Status

Coverage remained the same at 69.315% when pulling 27ce929 on graceguo-supercat:gg-SlicesTemplate into b3107bb on apache:master.

@coveralls
Copy link

coveralls commented Aug 10, 2017

Coverage Status

Coverage remained the same at 69.315% when pulling f226cd9 on graceguo-supercat:gg-SlicesTemplate into b3107bb on apache:master.

@coveralls
Copy link

coveralls commented Aug 11, 2017

Coverage Status

Coverage remained the same at 69.415% when pulling 4d6d0fa on graceguo-supercat:gg-SlicesTemplate into 144f516 on apache:master.

@mistercrunch mistercrunch merged commit c9c6bca into apache:master Aug 11, 2017
@graceguo-supercat graceguo-supercat deleted the gg-SlicesTemplate branch August 15, 2017 22:27
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.19.1 labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.19.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants