superset/tests
David Aaron Suddjian 18658f45be
feat(dashboards): Filter status indicators (#10936)
* Initial commit of new filters badge.

* refactor applied/rejected filters code

* finished filter indicators

* filter badge tested

* unnecessary imports

* formatting and types

* fixes

* license

* code quality tweaks

* state management for showing focused filter scope

* clean up filter key extraction code

* remove unnecessary styles

* temp css to demonstrate highlighting

* fix focused filter logic

* no more color badges

* new toys for highlighting dash components (#11144)

* tweak style for the filter chart when filter is focused

* style: Filters p0 css2 (#11151)

* nixing background tweak

* src paths

* another quick theme color

* src paths, adjusting pill icon color, changing icons, showing applied/busted counts

* linting stuff

* fixing and tweaking tests

* show filter indicator when filters are not active

* chart title bar cleanup

* open the right panel when popover opens

* unused import

* fix EditableTitle tests

* margin on dashboard header

* show the chart dropdown menu

* fix blur filter breaking dropdowns

* style tweak - no pointer events when irrelevant charts are blurred

* fix box shadow on filter highlight

* it's an array

* attempt fixing e2e

* style: filters p0 icon churn (#11215)

* new filters icon

* icon styling

* bigger icons in list views

* better sizing of table actions and favStars

* more icon sizing...

* fixing more button size jankiness

* linting

* Filters performance (#11255)

* fixing time filter "ok" button

* making unset filter menu collapsible

* sort alphabetically

* fix highlighting when removing items

* try a flex layout (for browser render perf)

* more specific transitioning

* temp: comment out some code as a test

* temp: comment out more code

* temp: remove possibly expensive computations from ChartHolder

* Revert "temp: comment out some code as a test"

This reverts commit 309b880e90.

* Revert "temp: comment out more code"

This reverts commit 64c88b2cba.

* Revert "temp: remove possibly expensive computations from ChartHolder"

This reverts commit 37ce0214f0.

* experiment: upgrade react-select to v3

* Revert "experiment: upgrade react-select to v3"

This reverts commit c3972ba486.

* fix the damn problem

* remove code used for testing purposes

* awful hack to avoid adding a class to a container

* approaching infinity... and not beyond!

* fix ref forwarding

* add theme to tests as necessary

* fix(extra-filters): add logic for identifying applied extra filters (#11325)

* fix: use dashboard id for stable cache key (#11293)

* fix: button translations missing (#11187)

* button translations missing

* blank space before text

* feat: update time_compare description and choices (#11294)

* feat: update time_compare description and choices

* Update sections.jsx

* fix(extra-filters): add logic for identifying applied extra filters

* lint

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
Co-authored-by: rubenSastre <ruben.sastre@decathlon.com>
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>

* address design feedback

* slight tweak to panel logic, keep panels open that user has opened

* rearrange code to be more graceful

* fix: bump superset-ui/core (#11385)

* use is_dttm instead of is_temporal

* types, names

* only show unset filter panel if there are unset filters

* fix highlighting the filter control

* fix filterbox layout

* translations

* fix cypress

* actually add the test attribute

* Update superset-frontend/src/dashboard/components/DashboardBuilder.jsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/dashboard/components/DashboardBuilder.jsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* formatting

* add link comment to hack

* Update superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* stop importing lodash

* Update superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* skip broken test

* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* adjust colors of titles

* linting

* no indicators when chart is loading

* support all time fields

* fix lock file

Co-authored-by: Natalie Ruhe <natalie@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
Co-authored-by: rubenSastre <ruben.sastre@decathlon.com>
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2020-10-28 15:46:24 -07:00
..
annotation_layers feat: annotation layers CRUD list view (#11432) 2020-10-28 15:45:07 -07:00
cachekeys feat: implement cache invalidation api (#10761) 2020-09-15 11:17:21 -07:00
charts feat(dashboards): Filter status indicators (#10936) 2020-10-28 15:46:24 -07:00
css_templates feat: add statsd metrics to FAB rest API post, put and delete (#11362) 2020-10-22 08:56:26 +01:00
dashboards feat: export dashboards as ZIP files (#11351) 2020-10-22 20:02:40 -07:00
databases feat: export datasets as ZIP files (#11332) 2020-10-22 10:32:08 -07:00
datasets feat: export datasets as ZIP files (#11332) 2020-10-22 10:32:08 -07:00
db_engine_specs fix: error around latest partition in BigQuery (#11274) 2020-10-20 21:34:46 -07:00
fixtures fix: update table_name and schema on dataset editor (#11218) 2020-10-20 09:38:57 -07:00
queries feat: saved queries with execution info (#11391) 2020-10-26 11:20:07 -07:00
security feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
utils perf: cache dashboard bootstrap data (#11234) 2020-10-13 18:43:06 -07:00
__init__.py Add licenses to translations (#6732) 2019-01-22 08:21:13 -08:00
access_tests.py Revert "chore: Cleanup database sessions (#10427)" (#10537) 2020-08-06 15:33:48 -07:00
alerts_tests.py tests: Parameterize some tests in alerts_tests.py (#11313) 2020-10-19 23:05:04 -07:00
base_api_tests.py fix(test): missing auth on tests (#10842) 2020-09-11 14:28:41 +01:00
base_tests.py feat: implement cache invalidation api (#10761) 2020-09-15 11:17:21 -07:00
cache_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
celery_tests.py Covert celery tests to the pytest (#10704) 2020-08-28 17:04:30 -07:00
config_tests.py s/assertEqual/assertEquals (#10195) 2020-06-29 16:38:06 -07:00
conftest.py test: removed unicode_test example from unit tests (#11131) 2020-10-07 18:29:37 +03:00
core_tests.py feat: annotations REST API (#11344) 2020-10-23 09:41:17 +01:00
csv_upload_tests.py chore: ci Initial hive support (#10593) 2020-08-27 09:49:18 -07:00
dashboard_tests.py tests: added fixtures to created dashboards and updated test with proper value (#11290) 2020-10-19 15:07:26 -07:00
dashboard_utils.py test: removed unicode_test example from unit tests (#11131) 2020-10-07 18:29:37 +03:00
dataframe_test.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
datasource_tests.py feat: enable metadata sync for virtual tables (#10645) 2020-10-27 07:58:38 +02:00
dict_import_export_tests.py feat: add UUID column to ImportMixin (#11098) 2020-10-07 09:00:55 -07:00
druid_func_tests_sip38.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
druid_func_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
druid_tests.py Revert "chore: Cleanup database sessions (#10427)" (#10537) 2020-08-06 15:33:48 -07:00
email_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
event_logger_tests.py refactor: use contextmanager for event_logger decorators (#11222) 2020-10-14 10:44:06 -07:00
feature_flag_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
form_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
import_export_tests.py feat: enable metadata sync for virtual tables (#10645) 2020-10-27 07:58:38 +02:00
jinja_context_tests.py s/assertEqual/assertEquals (#10195) 2020-06-29 16:38:06 -07:00
log_api_tests.py Add more fields to the log API (#10271) 2020-07-13 18:06:33 -07:00
logging_configurator_tests.py Add LogConfigurator, and add logging for CSV export (#8085) 2019-08-27 13:22:18 -07:00
migration_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
model_tests.py chore: ci Initial hive support (#10593) 2020-08-27 09:49:18 -07:00
pandas_postprocessing_tests.py fix: echarts timeseries groupby (#11103) 2020-09-29 14:25:38 +03:00
query_context_tests.py Changed cache uid to be depending on table in test_csv_response_format (#11214) 2020-10-09 09:01:26 -07:00
result_set_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
schedules_test.py fix: use nullpool even for user lookup in the celery (#10938) 2020-09-21 10:34:03 -07:00
security_tests.py test: removed unicode_test example from unit tests (#11131) 2020-10-07 18:29:37 +03:00
sql_parse_tests.py fix: Allow "EXPLAIN" queries when "Allow DML" setting is False (#11348) 2020-10-21 12:58:57 -07:00
sql_validator_tests.py chore: ci Initial hive support (#10593) 2020-08-27 09:49:18 -07:00
sqla_models_tests.py fix: is_temporal should be overridden by is_dttm value (#11429) 2020-10-27 07:22:27 +02:00
sqllab_tests.py feat: saved queries with execution info (#11391) 2020-10-26 11:20:07 -07:00
stats_logger_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
strategy_tests.py test: removed unicode_test example from unit tests (#11131) 2020-10-07 18:29:37 +03:00
superset_test_config_sqllab_backend_persist.py [Build] Add Github workflows (#9517) 2020-04-14 13:38:09 -07:00
superset_test_config_thumbnails.py chore: Using cache factory method (#10887) 2020-09-15 12:48:19 -07:00
superset_test_config.py perf: cache dashboard bootstrap data (#11234) 2020-10-13 18:43:06 -07:00
superset_test_custom_template_processors.py fix(jinja): make context attrs private on SQL templates (#10934) 2020-09-18 12:56:07 +01:00
tagging_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
test_app.py Flask App factory PR #1 (#8418) 2019-11-20 15:47:06 +00:00
thumbnails_tests.py chore: Migrating reports to AuthWebdriverProxy (#10567) 2020-08-12 13:28:41 -07:00
utils_tests.py feat(dashboards): Filter status indicators (#10936) 2020-10-28 15:46:24 -07:00
viz_tests.py feat: add ECharts Pie chart (#10966) 2020-09-22 19:27:40 +03:00