* Added environment tag and relevant tests
* Reorganize imports
* Prevent errors when config value not set
* Default production tag to be hidden
* Change tag to Label component
* Fix import order
* Allow tag to be colored with theme
* Use theme for tag border radius
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
* Fix styling
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
* Inital duplicate functionality
* Fix formatting
* Create dedicated duplicate API
* Make use of new API
* Make use of new api permissions
* Add integration tests for duplicating datasets
* Add licenses
* Fix linting errors
* Change confirm button to 'Duplicate'
* Fix HTTP status code and response
* Add missing import
* Use user id instead of user object
* Remove stray debug print
* Fix sqlite tests
* Specify type of extra
* Add frontend tests
* Add match statement to test
* Prevent series limit when no series limit columns specified.
* Add timeseries check for legacy charts.
* Apply fix to helpers.py.
* Skip Cypress color consistency tests.
* chore(explore): Add cypress test for creating chart from dataset list
* Add cypress test for creating chart from sqllab query
* Fix the test for editing dataset in exploer
* Fix lint
* Fix tests
* Add new Database Modal
When adding a new database and selecting Snowflake, the database and account fields had the same placeholder. This PR adds a placeholder prop so values can be sent dynamically by field
* Call translation function for string literals
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
* fix(database): make to display validation error msg when all cases
* fix(db): make to update the alert error condition
* fix(db): make to add error detail display
* fix(db): make to update error alert display by superset error style guide.
* fix(db): make to style modal header title with h4
* fix(db): make to place see more on bottom instead of top
* fix(db): make to fix shortly
* fix(db): make to fix lint issue
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update chromatic.yml
* Update chromatic.yml
* Update chromatic.yml
* Update chromatic.yml
* Update chromatic.yml
* Update chromatic.yml
* working
* plz work
* plzzzzz
* one more time
* one one more time
* this works
* lit
* last one
* Work in progress to add Chromatic publishing to superset-fronted storybook
Adds new Github action to publish storybook builds to chromatic
Adjusts configuration to support MDX story format
Updates Alert stories to take advantage of MDX format for example in storybook that will publish to Chromatic
Fixes issue in ListViewCard stories that make the story build fail
* Adjust Chromatic Github action
* Adjust action so Gtihub Secret is read into env
Github secrets are not accessible in conditional blocks so this change moves the access of the github secret into an env variable which is accessible in conditional logic
* Removes unneccesary projectToken from package json
* Using a temp key to debug no access to value from github secret
* Refining skipping if no changes to superset-frontend
* Remove typos from Action component story, consolidate on folder check in Chromatic action
* Fix error in Chromatic action event
* Testing action with pul_request_target
* adjustments to Chromatic action triggers
* lint fix
* Testing if pull_request_target is disabled
* More adjustments to Chromatic action
* UI Change to trigger action
* Change to story text to test action
* update package-lock after merge conflicts from master
* Changes to test chromatic action
* Finalize Chromatic actions, fix lint errors
* Backs out addition of @storybook/addon-docs which is included in addon-essentials
* Lint error in package.json
* perf(sqllab): Rendering perf improvement using immutable state
- keep queryEditors immutable during active state
- add unsavedQueryEditor to store all active changes
- refactor each component to subscribe the related unsaved editor state only
* revert ISaveableDatasource type cast
* missing trigger prop
* a default of an empty object and optional operator
* Add drill-to-detail modal.
* Include additional filters from dashboard context in request.
* Set page cache size to be approximately equal to memory usage of Samples pane.
* Update getDatasourceSamples signature.
* One-line import/export.
* Fix incorrect argument order in getDatasourceSamples invocation.
* Fix height of modal.
* Disable option in chart menu unless feature flag is set.
* Open modal on right-click.
* Fix double requests on modal open, controls disappearing on filter update.
* Show formattedVal in clearable filter tag.
* Set force=false for all requests.
* Rearrange/refactor DrillDetailPane.
* Reset page index on reload.
* Fix endless re-requests on request failure.
* Fix modal layout issues.
* Fix bug: some word not translate in js.
delete the 'null,' in messages.json,
so that word can be translate in js.
* docs:No code change. Reformat the database logs with size 400*160,modify the aprt of "Supported dabase" in README
* Mixed TimeSeries:
- When Bar chart is used as serie type, we need to hide values that are greater than the max Y Axis Bound.
* Mixed Time Series:
- Simplify logic for getOverMaxHiddenFormatter
* Mixed Time Series:
- Add tests for new getOverMaxHiddenFormatter util func