Comments (4)
Upon investigation I'm not able to reproduce this bug.
I attempted to replicate the issue in the linked repository but I wasn't able to get it building. I created a new demo application to test the <ResourceExplorer />
component with. When running iot-app-kit
locally or running my demo app the component is styled correctly.
The styles are properly applied in the current latest version of app kit, v1.5.0
, but I also tried the v1.3.0
version specified in the linked repository but still could not replicate the issue.
from iot-app-kit.
Could you share the example code used in attempt to recreate the issue @tjuranek
from iot-app-kit.
I made a create-react-app
project and followed the getting started docs. I tried to replicate with different versions of app kit, as well as implementing the styles with a css @import
like shown in the linked demo repository. @diehbria
import { ResourceExplorer, WebglContext } from '@iot-app-kit/react-components';
import { initialize } from '@iot-app-kit/source-iotsitewise';
import { useState, useEffect } from 'react';
import "@iot-app-kit/components/styles.css";
function App() {
const [query, setQuery] = useState(null);
useEffect(() => {
setQuery(initialize({
awsCredentials: {
accessKeyId: "",
secretAccessKey: "",
sessionToken: "",
},
awsRegion: 'us-west-2',
settings: {
batchDuration: undefined,
legacyAPI: false,
}
}).query);
}, []);
return (
<>
<h2>Test App</h2>
<div style={{ width: '300px', margin: '1rem' }}>
<ResourceExplorer
query={query?.assetTree.fromRoot()}
onSelectionChange={(event) => console.log(event)}
columnDefinitions={[{
sortingField: 'name',
id: 'name',
header: 'Asset Name',
cell: ({ name }) => name
}]}
/>
</div>
<WebglContext />
</>
);
}
export default App;
from iot-app-kit.
will reopen if were given a reproducible example
from iot-app-kit.
Related Issues (20)
- [Dashboard] action buttons grid should not be visible under view mode on edge mode
- [Resource Explorer]: Properties selection is not clearing after clicking on Add button in the Unmodeled section HOT 1
- [Line-Chart]: Properties with no unit value is showing as undefined in the legend table.
- [Dashboard]: Y axis label input is not disabled when the view y axis is OFF for the Bar chart.
- [Dashboard]: Y axis label is showing on the top for the Bar Chart.
- [Widgets] Timezone support via `timeZone` HOT 3
- [Widgets] Table Data Quality HOT 2
- [Dial and Gauge] Data Quality
- [Widgets] Support theming
- [Widgets] Support Cloudscape theming options
- [DocSite] CSS style sheet not loaded on doc site
- [XYPlot] unable to view unit on legend if legend contains a large property name
- Should show warning when decimal places > 100
- [XYPlot] Make legend visible by default HOT 1
- [ResourceExplorer] property selection state incorrect when navigating up hierarchy
- RefreshRate Error Misspelling HOT 2
- Widget resize is not working properly due to a dynamically created styled component for the tooltip
- Using the @iot-app-kit/* in version 10.2.0 after migration from 9.15.0 the visualisation interrupts. HOT 5
- [Dashboard] Properties panel fails to load when resources don't exist
- [Dashboard] Status Timeline properties tab child key errors
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 iot-app-kit.