* 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
* feat(ui): sort getting started dashboards widget by modified
* feat(ui): make recent dashboards list searchable
* refactor(ui): increase font size of tutorials list
* fix(ui): prettier
* chore(ui): update changelog
* refactor(ui): smooth out interactions of inline labels editor
* refactor(ui): remove visibility state from labels editor
* fix(ui): prevent labels list from expanding oddly
* chore(ui): update changelog
* refactor(ui): remove treeNav feature flag
* chore(ui): remove unused components
* chore(ui): remove unused routes from settings
* chore(ui): update changelog
* fix(ui): repair login e2e test
* fix(ui): repair tasks navigation e2e test
* fix(ui): repair query builder navigation test
* fix(tenants): remove portion of test
@aliriegray mentioned I should make this change to match her PR https://github.com/influxdata/influxdb/pull/17474
* fix(ui): ensure all dashboard cards render the same size
* fix(ui): ensure dashboard cards with long names don't deform
* chore(ui): changelog
* fix(ui): update dashboard card name selector in e2e test
* feat(ui): redesign alerting index to be responsive
* chore(ui): update changelog
* fix(ui): ensure tested elements are visible
* fix(ui): actually fix e2e tests
* feat(sampledata): Add readableRetention to buckets remove ruleString
* feat(sampledata): Add new demodata bucket type and card
* feat(sampledata): Fix buckets in test
* feat(sampledata): Return empty array if demodata bucket fetching errors
* feat(sampledata): Do cleanup
* feat(sampledata): Make components more readable
fields that are often re-updated but rarely change value were moved out of react state
and into internal component state. changing these values won't force re-renders.
* fix(ui): include link to non-multi-user members cloud page
* refactor(ui): conditionally render anchors or router links depending on whether the destination is cloud or internal
* refactor(ui): ensure old /profile route is supported
* refactor(ui): consolidate multi-user quartz links
* docs(clientLibs): fixed examples for PHP
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* docs(clientLibs): fixed examples for JavaScript/Node.js
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* docs(clientLibs): fixed examples for Python
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* docs(clientLibs): fixed examples for Ruby
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* feat(sampledata): Create Add demodata button behind feature flag
* feat(sampledata): Add demodata actions and reducers
* feat(sampledata): Add sampledata api functions
* feat(sampledata): Place bucket fetching behind feature flag
* feat(sampledata): Clean up
* feat(sampledata): Add actions to demodata dropdown
* feat(sampledata): No need to map over demodata buckets
* feat(sampledata: Fetch demo data buckets user is member to
* feat(sampledata): const is const
* feat(sampledata): Add demodata to testID string
* feat(sampledata): simplify buckets endpoint check
* feat(sampledata): Remove feature flag component for isFlagEnabled function
* fix(ui): remove rogue slashes
* fix(ui): remove extra bit of URL
* fix(ui): ensure proper usage path is being used
* fix(ui): use proper billing path
* fix(ui): default org link to /about if in cloud
* fix(ui): prevent OSS members tab from appearing in cloud
* chore(ui): prettier
* fix(ui): update links in org nav
* fix(ui): direct org header to /users in cloud
* refactor(ui): WIP implement tree nav
* feat(ui): enable expand/collapse behavior of nav tree
* chore(ui): rename "settings" to "organization"
* fix(ui): add nav tree key to mock state
* refactor(ui): remove CloudNav component
* fix(ui): cleanup
* refactor(ui): move nav tree object to constants file
* fix(ui): use correct icon for data nav item
* fix(ui): repair affected test
* refactor(ui): use a more explicit type than boolean for nav state
* chore(ui): write test for nav bar state action
* refactor(ui): handle org switching with an overlay
* chore(ui): replace reference to local clockface with reference to package
* fix(ui): update nav selector in tasks e2e test
* chore(ui): add testids to all nav items for easier selection
* fix(ui): prevent expanded navbar from breaking e2e tests
* fix(ui): update broken login e2e test
* fix(ui): udpate selectors in query builder test
* refactor(ui): align nav structure with quartz counterpart
* fix(ui): prettier
* refactor(ui): move usage and billing into user widget
* refactor(ui): use correct url for usage and billing
* chore(ui): upgrade clockface dependency to 2.0.3
* refactor(ui): implement short labels in the navigation tree
* refactor(ui): wrap tree nav in feature flag
* chore(ui): prettier
* chore(ui): remove deleted file accidentally included in rebase
* refactor(ui): use get in TreeNav mstp to prevent potential future breakage
* chore(ui): set default values for treeNav feature flag
* refactor(ui): reinstate cloud nav but wrapped with a feature flag
* refactor(ui): reinstate old navbar wrapped in feature flag
* feat(ui): add Upgrade button to all page headers except DashboardPage
* feat(ui): add upgrade banner to treenav
* chore(ui): remove comments
* refactor(ui): polish upgrade banner
* refactor(ui): only show tiny banner ad if screen is large enough and menu is collapsed
* refactor(ui): ensure settings page supports old and new navigation
* chore(ui): cleanup
* chore(ui): revert comment change
* chore(ui): ensure custom classname exists on new upgrade button
* chore(ui): cleanup
* fix(ui): remove duplicate route
* refactor(ui): make const for repeated comparison
* refactor(ui): cleanup from pr review
* fix(ui): oops
* refactor(ui): update user widget to follow most recent logout approach
Co-Authored-By: Ariel Salem <ariel.salem1989@gmail.com>
Co-authored-by: Ariel Salem <ariel.salem1989@gmail.com>
* chore(ui): add graphic assets for empty dashboard state
* feat(ui): implement empty dashboard graphic for both light and dark modes
* chore(ui): update changelog
* refactor(ui): distill presentation mode toggle into discreet component
* refactor(ui): introduce foundations for Light Mode
* fix(ui): ensure light mode does not affect dashboards index view
* feat(ui): enable light mode for some chart types
* refactor(ui): adapt dashboard page title to light mode
* refactor(ui): polish appearance of cells in light mode
* fix(ui): make detection of dashboard viewing more resilient and precise
* fix(ui): pass in missing prop
* feat(ui): allow gauge to render as either light or dark
* fix(ui): ensure light mode of gauge is scoped to dashboard cells and not veo
* feat(ui): refactor table graphs to conditionally render light mode
* feat(ui): enable Heatmap graphs to render in light mode
* feat(ui): enable histograms to render in light mode
* feat(ui): enable scatterplots to render in light mode
* fix(ui): remove console log
* fix(ui): update test
* refactor: calc theme state
* fix: type
* refactor: fix action types
* chore: remove dead code
* refactor(ui): rename props from "lightMode" to "theme"
* refactor(ui): make variables control bar respond to theme
* fix(ui): update mockState to match current appState shape
* fix(ui): update affected tests
* refactor(theme): remove currentPage from localStorage
* chore(ui): update changelog
* fix(ui): update test
Co-authored-by: Andrew Watkins <watts@influxdb.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
This was done to reduce amount of data returned to the client. This is
problematic when there are a large number of series that get returned
from a query. Long term we will want to limit the topN tables so that
this is not an issue.
* feat(sampledata): Query appropriate org in queries
* feat(sampledata): Add bucket resource fetching to Dashboard and DE
* feat(sampledata): Get orgID from query in refreshing view
* feat(sampledata): Be the change you want to see
* feat(sampledata): Only use loading state if resource has not been loaded before
* feat(sampledata )Get buckets from api endpoint rather than through query
* feat(sampledata): Direct load tag selector and values queries to correct org
* feat(sampledata): Protect against buckets that have no orgID.
* fix(ui): remove gradients from logo svg components
* chore(ui): update changelog
* fix(rubylogo): tab to space
Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
Co-authored-by: Russ Savage <russ@influxdata.com>
* refactor(ui): redesign and clean up query tabs
* refactor(ui): remove extra space in VEO empty state
* fix(ui): ensure gauge fonts render correctly
* fix(ui): ensure single stat font renders correctly
* fix(ui): update veo to match styles of other overlays
* fix(ui): update font definition in monaco editors
* refactor(ui): soften contrast of grid axes with background
* fix(ui): prevent references to Roboto
* chore(ui): prettier
* refactor(ui): use more resilient variable
* refactor(ui): polish appearance of alert and check history pages
* fix(ui): ensure create check dropdown is not clipped
* refactor(ui): update colors in view type dropdown
* refactor(ui): ensure view options toggle and panel are consistent across editors
* chore(ui): upgrade clockface dependency to the latest version
* refactor(ui): address breaking changes from clockface
* refactor(ui): update design of home page
* chore(ui): prettier
* refactor(ui): update page headers to conform to new design
* refactor(ui): import stylesheet from Clockface and delete obsolete local styles
* refactor(ui): cleanup
* refactor(ui): factor out PageTitleWithOrg
* refactor(ui): remove font files and references to them
* fix(ui): update dashboard index and task index e2e tests
* fix(ui): update failing e2e test for Data Explorer
* fix(ui): derp
* refactor(ui): remove string interpolation
* refactor(ui): redesign renamable page title to match new clockface style
* refactor(ui): update VEO and CheckEO headers
* refactor(ui): flatten query builder design
* refactor(ui): polish save as dialog
* refactor(ui): cleanup
* refactor(ui): use Rubik in giraffe theme
* fix(ui): upgrade to utilize font and other fixes
* refactor(ui): fix jitter in renamable page title