Comments (5)
Hey @Dinesh2019! π I'm here to help you with any bugs, questions, or contributions you have for the project. Let's work together to resolve any issues you're experiencing.
The data misalignment issue when applying filters in line-list reports could be related to recent changes in the dependencies or styles used by Superset. Specifically, the removal of the Filter Box code and the filters set feature might be affecting how filtered data is rendered [1][2][3].
Additionally, recent changes in the Styles.js
file could impact the layout and alignment of data. These changes include adjustments to the positioning, borders, padding, font sizes, and colors of table elements [4].
To address this issue, you can try the following steps:
-
Revert Positioning Changes:
- Ensure the
position
property for table elements is set correctly. For example:position: 'relative'; // or 'inherit' based on the previous state
- Ensure the
-
Adjust Borders and Padding:
- Modify or remove the border and padding properties if they are causing misalignment. For example:
border-bottom: none; // or adjust the border value padding: 0; // or set to a different value
- Modify or remove the border and padding properties if they are causing misalignment. For example:
-
Font and Color Adjustments:
- Revert font sizes, weights, and colors to their previous values if the new ones are causing issues. For example:
font-size: '14px'; // or the previous size color: '#000'; // or the previous color
- Revert font sizes, weights, and colors to their previous values if the new ones are causing issues. For example:
Here is an example of how you might adjust the Styles.js
file:
export const Styles = styled.div`
${({ theme, isDashboardEditMode }) => css`
table.pvtTable {
position: 'relative'; // Revert to previous value
width: calc(100% - ${theme.gridUnit}px);
font-size: '14px'; // Revert to previous size
text-align: left;
margin: ${theme.gridUnit}px;
border-collapse: separate;
font-family: ${theme.typography.families.sansSerif};
line-height: 1.4;
}
table thead {
position: 'relative'; // Revert to previous value
top: 0;
}
table tbody tr {
font-feature-settings: 'tnum' 1;
}
table.pvtTable thead tr th,
table.pvtTable tbody tr th {
background-color: ${theme.colors.grayscale.light5};
border-top: none; // Adjust border
border-left: none; // Adjust border
font-size: '14px'; // Revert to previous size
padding: 0; // Adjust padding
font-weight: ${theme.typography.weights.normal};
}
table.pvtTable tbody tr.pvtRowTotals {
position: 'relative'; // Revert to previous value
bottom: 0;
}
// Other styles remain unchanged
`}
`;
Adjust the values as needed based on the specific issues you are encountering.
To continue talking to Dosu, mention @dosu.
from superset.
Hello, i can work on this. Please assign it to me.
Done! Thanks for volunteering. We're not hung up on the assignments around here... please feel free to open a PR for any open issue you'd like :D
from superset.
Hello, i can work on this. Please assign it to me.
from superset.
@Dinesh2019 Unable to reproduce the issue. Can you please provide specific steps with the test datasets.
from superset.
@gagan-bhullar-tech i think we cant provide me the datasets.
from superset.
Related Issues (20)
- No module named 's3cache' HOT 8
- "user_favorite_tag" table not created after "superset db upgrade" when upgrade superset 3.0.1 to 4.0.2 on docker HOT 11
- [SIP-143] Global Async Task Framework HOT 15
- Hash mismatch error during build part of docker installation HOT 3
- [4.0.2] SQL LAB int argument error since version 4 HOT 3
- Bug crossing lines in line/area chart HOT 2
- Slack HOT 4
- Duplicated entries in Alerts & Reports execution log HOT 1
- /api/v1/dashboard/{id_or_slug}/copy with "duplicate_slices" = true not working because The "json_metadata" take from /api/v1/dashboard/{id_or_slug} doesn't have "positions" HOT 4
- Bar Chart: Bar Chart Echart X Axis and Y Axis labels not showing HOT 3
- The default URL generated by Dashboard has security risksοΌ HOT 22
- Advanced Period filter bug HOT 2
- Switching languages doesn't take effect on some menu elements if BABEL_DEFAULT_LOCALE is not "en" HOT 11
- ENABLE_JAVASCRIPT_CONTROLS use HOT 2
- [SIP-144] Proposal to Integrate VisActor Visualization Plugin into Superset HOT 2
- Dashboard Color Scheme keeps changing every refresh HOT 4
- Bug: fetchGuestToken function is not called after internet is disconnected and error is encountered during embedded report access HOT 3
- The in-memory storage for tracking rate limits HOT 14
- Filtered values not appearing/not working after selected from dropdown Post Migration to Latest SS Version HOT 6
- Proxy is unable to function properly HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.