* feat: implement resizer for Visualizations
* refactor: clean up implementation in Query
* refactor: move resizer components to shared folder
* refactor: make resizer components more generic and customizable
* fix: cleanup
Work had started on a opperation log but was never fully implemented and was later partially removed.
The plan here is to remove the partially defunct logs and then build a new robust op log system that will
replace it in the future.
* feat: WIP drag to resize results
* refactor: WIP make dragging smoother
* refactor: make resizing cells nice and smooth
* refactor: move height/visibility update handlers into results component
* refactor: use vanilla Math instead of lodash
* refactor: consolidate visibility and resizing code in Resizer component
* refactor: rename resizer components to be more generic
* fix: use updated component name
* refactor: use PipeData type instead of any
* chore: misc cleanup
* refactor: allow spaces in cell names
* refactor: make markdown cells easier to modify
* refactor: make visualization cells look more like other cells
* refactor: extract bucket card actions and meta into separate components
* feat: allow bucket ID to be copied
* chore: cleanup
* chore: update changelog
* feat: add copiable ID to demo data bucket cards
* refactor: add left indentation on all pipes to make titles easier to scan
* refactor: store results in raw and parsed formats
This intended is a bandaid fix until raw data table comes from Giraffe and accepts data in the standard way
* refactor: remove unused scss variable
* feat: create raw data components and display within query pipes
* fix: remove console log
* refactor: begone lodash
* Fix: Bin size limit
limit bin size to 670, which craches on my computer beyong this
And added test to confirm its working
* Fix: Bin size limit
remove curlies
* Fix: Bin size limit
* Fix: Bin size limit test
* Fix: Bin size limit test
* fix: Flakey explorer test wrong test id
specifcally the 'can filter aggregation functions by name from script editor mode'
* fix: Flakey explorer test wrong test id
* fix: Flakey explorer test wrong test id
* fix: Flakey explorer test wrong test id
* refactor: extract notebook scoped scss variables to own file
* feat: WIP introduce minimap components
* feat: attempt to add minimap state to AppContext
* refactor: update notebooks layout to handle minimap alongside pipe list
* refactor: remove border from markdown preview
* refactor: add spacing between minimap items
* chore: cleanup styles and markup
* feat: give panels an ID attribute to facilitate scrolling to their position
* feat: enable minimap to update scroll position of pipe list via notebook context
* feat: make minimap scrollable
* feat: style hidden pipes differently in minimap
* fix: remove console logs
* refactor: move scrolling related code into separate context
* refactor: use refs instead of IDs for getting a panel's scroll position
* refactor: remove minimap state from AppSettingProvider
* refactor: use persisted redux to store minimap visibility preference
Seems like the kind of thing that would have ended up here eventually so I'll save future me some trouble and do it now
* fix: add & repair unit tests
* feat(clientLibs): add Kotlin and Scala client library
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* feat(clientLibs): add Kotlin logo from - https://resources.jetbrains.com/storage/products/kotlin/docs/kotlin_logos.zip
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* feat(clientLibs): add Scala logo from - https://github.com/kaeawc/scala-logo
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* fix(clientLibs): fixing logos, small code cleanup
* fix(clientLibs): run prettier
Co-authored-by: Russ Savage <russ@influxdata.com>
* feat: add empty pipe list component + graphic
* feat: display empty state when no pipes exist
* feat: display label text next to add cell buttons
* fix: use preferred import path
* feat: create and use webpack alias "assets" for loading images
* feat: make panels click to focus instead of hover
* chore: prettier
* fix: prevent event bubbling from move panel button
This causes the focus behavior to do weird things
* feat: add title attributes to notebook panel buttons
* refactor: change default cell name to "Cell"
* refactor: show panel buttons on hover and focus state
* refactor: wrap updatePanelFocus in useCallback
* chore: light cleanup
* feat: add generic controls prop to pipe context
* feat: introduce primitive version of markdown panel
* feat: WIP enable edting / preview modes of markdown panel
* fix: prettier
* chore: simplify means of updating meta
* refactor: make new markdown cells in edit mode and focused by default
* refactor: add controls back into notebook panel
* refactor: make script editor have min-height instead of notebook panel
* fix(variable_hydration): reverted filter function to keep dashboards working as expected
* revert(variable_thunk): reverted to the original implementation
* Fix: Loading status checks
The first pass at fixing the loading screen
* Fix: Loading status checks
* Fix: Loading status checks
Fix non used variables
* Fix: Loading status checks
fix copy
* Fix: Loading status checks
prettier
* refactor: organize panel components in folder
* refactor: add page control bar to notebooks page
* chore: update example pipe to use new name of notebook panel
* refactor: break panel elements out into individual components
* fix: add trailing space
* refactor: make panel buttons purely signalling
Remove ID from type as well as props
* refactor: consolidate panel move buttons into a single component
* refactor: import/export notebook panel from notebook component
* fix: remove usePanelState hook
This is causing some linter errors
Also panel state has been simplified a bunch and is only used by one component so I'm leaving the state code in NotebookPanel
* feat: moving around (#18145)
* refactor: remove id from panel action function types
* refactor: enforce movement bounds based on index of pipe
Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
* refactor: remove fancy scroll bars
the code changes in influxdb, the final removal of fancy scrollbars, this will need to go out with clockface changes
* refactor: remove fancy scroll bars
Prettier fixes
* feat(demodata): Add type do demodata notification
* feat(demodata): do not report dashboard would exceed quota errors
* feat(demodata): notify user of demodata availability error in dashboards
* feat(demodata): Correct error reporting for demodata
* feat(demodata): Add error if demodata bucket is missing
* fix: Adjusting the width of dropdown
This will make it so the width of the dropdown will adjust to the longest variable name
* fix: Adjusting the width of dropdown
Updating font
* fix: Adjusting the width of dropdown
fix prettier
* feat(demodata): Initialize window.dataLayera
* feat(g-analytics): Add generic GA event function
* feat(demodata): Add demodata bucket Added event
* feat(demodata): Add remove dd event
* feat(demodata): Fire query analytics event when org is queried
* feat(demodata): Convert DashboardHeader to FC
* feat(demodata): Alert on demodata dashboard viewed
* feat(demodata): fireGAEvent to fireEvent
* feat(demodata): move window.dataLayer override to fireEvent function
* feat(demodata): Fix fire event name where it is called
* feat(demodata): Alert user if demodata switched off
* feat(demodata): Get created Dashboard directly from api call function
* feat(demodata): Return flux errors as part of query response parsing
* feat(demodata): Fix linting errors
* feat(demodata): Return flux code directly
* `Initialize the Client` always contains full range of required imports
* `Initialize the Client` contains `org`, `bucket` and `token` constant for reuse on all places
* Timestamps are always current time => user view written data in default settings of DataExplorer
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* feat: WIP allow on the fly bucket creation
* refactor: fully implement create bucket in both places
* refactor: use separate popover based component for selector list bucket creation
* chore: prettier
* chore: cleanup buckets tab
Doesn't need org, overlay state, or any overlay components
* chore: prettier
* refactor: convert CreateBucketOverlay to function component
* chore: changelog
* chore: cleanup
* feat: add integration test for creating a bucket from the query builder
* refactor: rebuild selector list bucket creator with useReducer
* refactor: keeping it DRY - both bucket creation components use the same state management
fix(package.json): Updated the cloud-dev command to have the CLOUD_URL land on the same default port as Quartz
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
* feat(ui): get type from clientConfig to send with authorization request
* feat(LoginPageContents): Updated the LoginPageContents error when trying to log-in with the wrong username/password combo
* revert(Signin): Removed the checkSession logic from the UI to reduce overall authentication complexity. Since redirecting to the /login page will now happen from the API, we no longer need to worry about validating a user session from the UI
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
* chore: upgrade clockface dependency
* fix: update all instances of ResourceCard to match the new API
* fix: bandaid style for spacing in resource lists
* fix: make dashboard grid align with page
* fix: update card selectors labels e2e test
* fix: update meta item selector in buckets e2e test
* fix: ensure popover is dismissed and doesn't obscure other check card items
* fix: update selector in dashboard card interaction test
* fix: pass in meta items as children instead of an array to avoid map key issues
* refactor: ensure meta items are composed instead of passed in as an array
* fix: cleanup