* 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
* fix(timeMachine): do not set active index when out of bounds
* test: add test cases for activeQueryIndex bugfix
Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
* fix: remove orgs from token permission list
* fix: set orgs read resource permission to 'id' rather than 'orgID'
* fix: add types to the typescripts
thanks ebb-tide!
* test: add test for permissions bit
find the test that circle prefers
* chore: comment on org's unique permissions
* refactor: move views logic to separate directory
* refactor: normalize views
* fix: spinners
* fix: dont render views until status is done
* fix(http/dashboards): view shape not returning from getDashboard
* test: delete irrelevant and redundant test
* fix: go tidy
* test: skipping monaco test
* chore: sort type exports
* chore: cleanup
* feat(agg-window): Add duration input to aggreagate functionn selector
* feat(agg-window): rename duration strings to durations
* feat(agg-window): Add window periods for common time ranges
* feat(agg-window): Handle set auto select durations correctly
* Update changelog
* feat(agg-window): Use triple equality:
* chore: move variable types
* refactor: wip normalize variables resource
* fix: typo
* chore: move creators and thunks into separate files
* fix: removal of default state
* refactor: normalize set variables
* chore: fix api imports
* refactor: normalize set and remove variable
* refactor(variables): use const assertion in actions
* refactor(ui/variables): update editor action to use const assertion
* fix: variables not showing up for dashboard
* fix: types
* fix: index variable values properly
* fix: type
* fix: type
* fix: feedback
* Use duration input for check.every field
* Convert check.offset to Duration Input
* Check is string for duration
* feat(duration-inputs): Add submitInvalid ld to duration input
* feat(duration-inputs) Add duration inputs to Deadman Conditions
* feat(duration-inputs) Add test-id to duration inputs
* feat(duration-inputs) Add offset defaults to notification rules
* feat(duration-inputs): Add duration inputs to notification rules
* feat(duration-inputs): Check validity of check durations and thresholds
* feat(duration-inputs): Add vertical scroll bar to duration input
* feat(duration-inputs): Make testID an optional parameter
* feat(duration-inputs) : use window isNan instead of lodash
* refactor: add stylesheet for cloud nav
* refactor: remove cloud icon from side nav
* refactor: move cloud nav to top of app
* chore: add declaration so PNG files are typed as any when imported
* refactor: modify cloud nav to use specified components
* fix: Remove comment
* refactor: update nav item text
* refactor: do not show logout in sidenav for cloud users
* refactor: add unique class for google tag manager
* chore: update changelog
* refactor: don't render user menu if org isn't available
* chore: add image file for logo
Adds-Binary: ui/src/pageLayout/images/influxdata-logo.png
* chore: prettier and eslint
* refactor: normalize tasks resource
* fix: pull tasks off of response
* refactor: use action to clear current task
* refactor: stop getting all tasks in every thunk
* fix(bucket-loading): Remove action duplication
* fix(bucket-loading): Remove state loading before routing to data loaders
* fix(bucket-loading): Limit available buckets to nonsystem buckets
* fix(bucket-loading): Update changelog
* fix(ui): Prevent negative zero and allow zero with decimal places
* chore: update CHANGELOG
* fix(ui): Turn off lint rule no-compare-neg-zero
* test: add more tests by overriding prettier
* fix(ui): turn off lint rule for a specific usage, not universally
* chore: alphabetize root reducer
* refactor(norm): normalize authorizations (tokens)
* refactor: orgs use immer and reducer helpers
* fix: provide initial state to orgs reducer
* fix(auth): normalize auths on token creation
* fix: initial state with empty object
* feat(norm): separate action creators and thunks
* feat(norm): wip normalize buckets
* refactor(norm): change consumption of buckets to norm shape
* test(ui/getResources): change test to accept norm shape
* test(buckets): fix runtime error
* refactor: use immer produce in members reducer
* refactor(norm): normalize organizations
* chore: add junit.xml to gitignore
* test(norm): restructure tests to conform to normalized orgs
* fix: set proper org in local storage
* fix: update createTelegraf to use types
* fix: runtime error when adding telegraf configs
* fix: dashboard thunk not using new org shape
* chore: move edit org to correct place
* fix(orgs): faulty reducer logic
* feat(ui): Add matching rules card to alert builder
* feat(checks): Add tags from query results to NR matching query parameters
* feat(ui): Update changelog
* feat(nr): Change api function to match import convention
* fix(ui): Fix changelog update mistake
* Click submit button after typing in time machine
* feat(notification rules): Add feature flag to matching notification rules
* feat(checks): Add custom check type
* feat(checks): Remove alert builder from custom check
* feat(checks): Add AlertBuilderAction to list of possible actions
* feat(checks): Query visualization does not make sense for custom check
* feat(check): check editor should only reexecute queries if view query changes
* Update ui/src/timeMachine/components/TimeMachineFluxEditor.tsx
Co-Authored-By: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
* Address PR review
Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
feat(ui): added last run status checks for notification rules and check rules, readded updateCheck to fix linter and functionality issues with program and added tests to ensure check creation and update stability
* refactor: use replace select group with tabs in save as dialog
* refactor: replace local RightClick with Clockface RightClick
* refactor: delete local RightClick code
* refactor: replace ResponsiveGridSizer with SquareGrid
* chore: delete local grid sizer components
* fix: repair broken e2e tests
* fix: attempt to fix e2e test
* fix: repair query builder e2e test
* fix: don't call stop propagation because there is no event object
* refactor: extend DragAndDrop to support custom classnames
* refactor: use OverlayFooter
* refactor: remove WizardOverlay from CollectorsWizard
* refactor: redesign and simplify line protocol wizard
* refactor: remove WizardOverlay from telegraf instructions
* fix: repair affected e2e test
* refactor: use vscss ariable to ensure height consistency between steps
* refactor: extract helper text into component to ensure consistency
* build: split go linting from tests
Signed-off-by: Chris Goller <goller@gmail.com>
* build: split js linting from tests
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: run go tests without verbose option
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: parallelize eslint with 8 containers
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: cache node modules for eslint
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: lint circle yaml
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: cd into ui directory for node caching
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: note eslint parallelization
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: update yarn cache directory to global
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: cache jstest yarn downloads
Signed-off-by: Chris Goller <goller@gmail.com>
* ci: note parallelization of jest tests
Signed-off-by: Chris Goller <goller@gmail.com>