Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dashboard): add dashboard description field in modal and apis #17203

Closed
wants to merge 1,459 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
1459 commits
Select commit Hold shift + click to select a range
8ee34e1
feat(helm): add annotations on ServiceAccount (#21536)
gforien Sep 21, 2022
e438c96
fix(docs): added missing timescale.png (#21542)
noctarius Sep 21, 2022
cbadb87
fix: Reset dataset name after saving a new dataset in SQL Lab (#21529)
EugeneTorap Sep 21, 2022
fb835d1
feat(nav): Update Tabbed Nav on CRUD Pages (#21213)
Antonio-RiveroMartnez Sep 21, 2022
bbac67a
refactor: Rewrites ColorSchemeControl with Typescript (#21496)
michael-s-molina Sep 22, 2022
e671d80
feat: support multiple time columns with time grain in Pivot Table v2…
zhaoyongjie Sep 22, 2022
3f8e9a5
feat(helm): add RollingUpdate parameters (#20931)
gforien Sep 22, 2022
dc53908
chore: Remove chromatic job per PR as it has errors (#21553)
eric-briscoe Sep 22, 2022
2e56489
feat: Add dataset tagging to the back-end (#20892)
cccs-Dustin Sep 23, 2022
d67b046
feat: support multiple columns with time grain in Table Chart (#21547)
zhaoyongjie Sep 23, 2022
2ec744d
feat: Increments charts endpoint with related dashboards (#21518)
michael-s-molina Sep 23, 2022
e2b77a7
fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21316)
justinpark Sep 23, 2022
4913da1
chore(deps): bump moment-timezone from 0.5.33 to 0.5.37 in /superset-…
dependabot[bot] Sep 23, 2022
c4638fa
feat: Dataset Creation Footer Component (#21241)
AAfghahi Sep 23, 2022
5d51555
docs: Turkey map already added (#21566)
rizacavus Sep 25, 2022
f4646f8
feat: adding XAxis to BigNumberTrend (#21577)
zhaoyongjie Sep 26, 2022
73429c6
fix(dashboard): show correct roles for dashboard access dropdown (#21…
mayurnewase Sep 26, 2022
82bd5a3
chore(deps): Unpin sqlparse dependency (#21581)
ecederstrand Sep 26, 2022
b36bd3f
fix(databases): GSheets and Clickhouse DBs are not allowed to upload …
Antonio-RiveroMartnez Sep 26, 2022
954fc89
fix(explore): Fix datasource switch for table chart (#21544)
codyml Sep 26, 2022
2cdd88a
chore(dashboard): Add filter_scopes warning message for json metadata…
justinpark Sep 26, 2022
24412e2
fix(dashboard): dashboard doesn't load properly if it has tabs (#21576)
stephenLYZ Sep 27, 2022
bb1cf7f
refactor: Organizes the Select files (#21589)
michael-s-molina Sep 27, 2022
bb08c7e
chore: Updates CHANGELOG.md and UPDATING.md with 1.5.2 changes (#21601)
michael-s-molina Sep 27, 2022
eac74a1
chore(deps): bump terser from 5.10.0 to 5.14.2 in /superset-embedded-…
dependabot[bot] Sep 27, 2022
9b058bc
chore(deps): bump cookie from 0.4.1 to 0.5.0 in /superset-websocket (…
dependabot[bot] Sep 27, 2022
c4edcbd
chore(deps): bump http-errors from 1.8.0 to 2.0.0 in /superset-websoc…
dependabot[bot] Sep 27, 2022
18ec294
fix(tags): Adding __init__ to tags (#21591)
craig-rueda Sep 27, 2022
e3ddd0b
fix: Dataset duplication fatal error (#21358)
reesercollins Sep 27, 2022
2102ba7
chore(deps-dev): bump @types/jsonwebtoken from 8.5.5 to 8.5.9 in /sup…
dependabot[bot] Sep 27, 2022
b8c1aa5
chore(deps): bump node-forge and webpack-dev-server in /superset-fron…
dependabot[bot] Sep 27, 2022
f86e99e
docs: Removing erroneous FAQ timeout message (#20853)
john-bodley Sep 28, 2022
546cc18
docs: update installing-superset-using-docker-compose.mdx (#20958)
avlihachev Sep 28, 2022
15c3c34
chore: refactor AceEditorWrapper to functional component (#21532)
EugeneTorap Sep 28, 2022
23cd5c9
chore: removing '.git' from web url references in Yeoman generator's …
rusackas Sep 28, 2022
93f08e7
feat: explicit distribute columns on BoxPlot and apply time grain (#2…
zhaoyongjie Sep 28, 2022
60bab42
fix(table-chart): don't color empty cells in table chart with color f…
mayurnewase Sep 28, 2022
ab53d77
fix(dashboard): fix Pivot Table V2 dragPreview in the dashboard (#21539)
stephenLYZ Sep 28, 2022
71bf267
fix(sqllab): SqlEditorLeftBar listening to database changes (#21628)
Antonio-RiveroMartnez Sep 28, 2022
b787c3f
feat(embedded): +2 functions: getDashboardPermalink, getActiveTabs (#…
jayakrishnankk Sep 29, 2022
ab7cfec
feat: new config to filter specific users from dropdown lists (#21515)
dpgaspar Sep 29, 2022
5ea9249
fix: respect chart cache timeout setting (#21637)
mayurnewase Sep 29, 2022
0dda5fe
feat: Adds the MetadataBar to the Explore header (#21560)
michael-s-molina Sep 29, 2022
7f971b4
fix(report): Fix permission check for set up email report on charts/d…
zhaorui2022 Sep 29, 2022
f3465f5
chore(deps): bump minimist from 0.0.5 to 1.2.6 in /superset-frontend …
dependabot[bot] Sep 29, 2022
9dd102f
refactor: remove useless groupby from QueryObject (#21643)
zhaoyongjie Sep 30, 2022
f83af88
feat: Added latin america countries to country map (#21352)
bryanjtc Sep 30, 2022
6af35a7
fix: Selected tab after save and go to dashboard (#21630)
michael-s-molina Sep 30, 2022
b2a360f
fix: Switch tab on drag hover (#21648)
michael-s-molina Sep 30, 2022
eeb979c
chore: Create dashboard with tier 1 and tier 2 charts (#21551)
kgabryje Sep 30, 2022
389fa31
fix: new welcome new users action (#21662)
stephenLYZ Sep 30, 2022
1d70079
fix(dashboard): Change text and icons in dashboard editmode (#21305)
agl-developer Sep 30, 2022
4c17f0e
fix: time grain can't be removed in explore (#21644)
zhaoyongjie Sep 30, 2022
61bd696
fix(plugin-chart-echarts): boxplot throw error in the dashboard (#21661)
stephenLYZ Oct 1, 2022
c1ba329
docs: add organization that uses superset (#21660)
zamar-roura Oct 2, 2022
ef78ec6
fix: catch error when masking encrypted extra is none (#21570)
eschutho Oct 3, 2022
1574829
chore: avoid undefined property on `Global` type (#21631)
justinpark Oct 3, 2022
8d1b7ec
fix(sqllab): perf regression on #21532 refactor (#21632)
justinpark Oct 3, 2022
31895f4
chore(tags): Refactor logic to leverage Flask-SQLAlchemy extension (#…
john-bodley Oct 3, 2022
3edc656
fix(explore): Dashboard list is unsorted in save modal (#21317)
agl-developer Oct 3, 2022
4245bc3
chore(style): Enforce optional chaining (#21614)
rusackas Oct 3, 2022
4d0c2ba
fix: Allow clickhouse dbs with timestamps to visualize queries (#21446)
hughhhh Oct 3, 2022
84c3cf6
fix: add logging to alerts and reports to find non-triggering issues …
pkdotson Oct 3, 2022
4417c6e
chore: add 4xx error codes where applicable (#21627)
eschutho Oct 3, 2022
e98943e
refactor: pass all properties to validate_parameters (#21487)
eschutho Oct 4, 2022
abc0f19
docs: add Wise to users list (#21687)
koszti Oct 4, 2022
5da20f4
fix(migration): Catch DatabaseError to avoid migration crash with MyS…
qlands Oct 4, 2022
3057e42
feat: deprecate created_slices API endpoint (#21664)
dpgaspar Oct 4, 2022
f784455
fix(native-filters): Range filter max/min default display value (#21680)
kgabryje Oct 4, 2022
6406289
chore(dep): Unpin slackclient dependency (#21586)
ecederstrand Oct 4, 2022
2907869
feat: Use SPA navigation between AddSlice and Dataset list pages (#21…
kgabryje Oct 4, 2022
c248ee5
chore: Adding/categorizing missing flags in `FEATURE_FLAGS.md` (#21474)
rusackas Oct 4, 2022
f3f9f3b
other: Improve health check for docker-compose. (#17320)
PMExtra Oct 4, 2022
50cb396
fix(sqllab): async query broken due to #21320 (#21667)
justinpark Oct 5, 2022
ebd7536
feat(chart): add feature flag that displays the data pane closes by d…
Oct 5, 2022
de444d4
fix: Race conditions with setupExtensions (#21647)
geido Oct 5, 2022
b6891aa
chore(key-value): remove redundant exception logging (#21702)
villebro Oct 5, 2022
7b66e0b
chore: E2E tests for Drill to Detail supported Charts (#21681)
geido Oct 5, 2022
51c54b3
fix: add `get_column` function for Query obj (#21691)
hughhhh Oct 5, 2022
05648eb
feat: support None operand in EQUAL operator (#21713)
zhaoyongjie Oct 6, 2022
d6a8218
docs(cache): update datasource -> dataset (#21670)
nytai Oct 6, 2022
770f68f
fix: Right-click on misconfigured World Map (#21697)
michael-s-molina Oct 6, 2022
1cbf066
feat: Adds the CROSS_REFERENCE feature flag (#21708)
michael-s-molina Oct 6, 2022
f1fbaf8
fix: Pass slice_id in Explore get (#21696)
michael-s-molina Oct 6, 2022
041c54e
build: optimize docker build by better utilizing build cache (#21583)
pwang2 Oct 6, 2022
eb2a134
fix: Drill to detail formatted val on TableChart (#21719)
michael-s-molina Oct 6, 2022
97273f5
fix(database): Handle String errors in DatabaseModal (#21709)
Antonio-RiveroMartnez Oct 6, 2022
882bfb6
fix: gsheets editing with dynamic forms (#21710)
hughhhh Oct 7, 2022
61319fd
feat(sqllab): save query parameters in database (#21682)
mayurnewase Oct 7, 2022
0ff1e49
fix: Null values on Treemap right-click (#21722)
michael-s-molina Oct 7, 2022
200bed6
feat: Shows related dashboards in Explore (#21685)
michael-s-molina Oct 7, 2022
35d9cb3
fix(explore): chart link is broken without localStorage (#21707)
justinpark Oct 7, 2022
ca3abff
docs: wording in template (#21491)
JakobMiksch Oct 7, 2022
1372b0d
docs(snowflake): Remove wrong version info for snowflake (#21024)
martimors Oct 7, 2022
f425168
chore: Slovenian translation update (#20435)
dkrat7 Oct 7, 2022
a5ff094
feat(api): Add option to enable sync on import (#20312)
reesercollins Oct 7, 2022
0c46149
chore(sqllab): refactor addQueryEditor for new tab (#21711)
justinpark Oct 7, 2022
aef6217
fix: Gsheets takes 2 clicks to save (#21740)
hughhhh Oct 7, 2022
f58227a
feat: add denylist for db engines (#21486)
eschutho Oct 9, 2022
d1a6f0e
fix: allow adhoc columns in non-aggregate query (#21729)
mayurnewase Oct 10, 2022
20b9dc8
feat(embedded-dashboard): Share Switchboard State for Sending Events …
sinhashubham95 Oct 10, 2022
91f0de0
fix: database schema selector on import data (#21759)
dpgaspar Oct 10, 2022
d7ee443
fix(sqllab): resultset disappeared on switching tabs (#21741)
justinpark Oct 10, 2022
db075d4
chore(deps): bump react-map-gl from 4.0.10 to 6.1.19 (#21748)
stephenLYZ Oct 11, 2022
ba3275a
fix: flash message on database data upload forms (#21761)
dpgaspar Oct 11, 2022
070b865
chore(explore): Add tests for getControlValuesCompatibleWithDatasourc…
codyml Oct 11, 2022
406e44b
perf(dashboard): Virtualization POC (#21438)
kgabryje Oct 11, 2022
d21e1d7
fix(sqllab): Async queries are now fetched properly (#21698)
lyndsiWilliams Oct 11, 2022
605b692
fix(datasets): Stop showing alert when saving from query (#21442)
Antonio-RiveroMartnez Oct 11, 2022
bd3166b
chore: cleanup on catalog check for Gsheets (#21738)
hughhhh Oct 11, 2022
8f61e3c
refactor: preparation for time section migration (#21766)
zhaoyongjie Oct 12, 2022
8f74e46
fix: regression in #21766 (#21782)
zhaoyongjie Oct 12, 2022
75e6a04
fix: remove deprecated ETagResponseMixin (#21773)
eschutho Oct 12, 2022
11d7d6e
fix: Preserve unknown URL params (#21785)
michael-s-molina Oct 12, 2022
88a89c9
fix(migration): Ensure the paginated update is deterministic (#21778)
john-bodley Oct 13, 2022
3936e9e
fix: Fix regression introduced in #20893 (#21743)
john-bodley Oct 13, 2022
d5b4bde
fix(plugin-chart-handlebars): Update webpack/babel config to fix buil…
codyml Oct 13, 2022
49b48ee
feat: Cross-referenced Dashboards in Chart list (Column + Filter) (#2…
geido Oct 13, 2022
e6c44e0
chore: stop logging "SyntaxError" as exceptions (#21787)
hughhhh Oct 13, 2022
2258fbf
fix(CustomFrame): Resolves issue #21731 where date range in explore t…
eric-briscoe Oct 13, 2022
f4fa2e1
chore: add more logging for alerts and reports (#21714)
pkdotson Oct 13, 2022
b1bf25e
fix(explore): Persist URL params to form-data (#21792)
john-bodley Oct 13, 2022
df3b5a8
fix: Dataset creation header is now uneditable and holds proper defau…
lyndsiWilliams Oct 13, 2022
196c367
refactor: serialize extra json in state (#21523)
eschutho Oct 14, 2022
4c1777f
fix(alerts): restrict list view and gamma perms (#21765)
villebro Oct 15, 2022
6f2e76b
chore: Add `USER_CLIENT_ERRORS` to stop logging exceptions that are u…
hughhhh Oct 15, 2022
7ec136f
fix(superset-embedded-sdk): Buffer is not defined (#21641)
doornot Oct 17, 2022
7a7181a
feat(color): color consistency enhancements (#21507)
stephenLYZ Oct 17, 2022
52d33b0
chore(sqla): refactor query utils (#21811)
villebro Oct 17, 2022
fcb9800
fix(sqllab): Fix spacing on Schedule option in SqlEditor dropdown (#2…
lyndsiWilliams Oct 17, 2022
8f4415b
fix: Dataset left panel now uses client side search (#21770)
lyndsiWilliams Oct 17, 2022
383dc29
fix: Allow comma in Number Format (#21817)
geido Oct 18, 2022
f41d0b0
fix: drilling on the categorical xaxis on the stacked barchart v2 (#2…
zhaoyongjie Oct 18, 2022
f381154
fix: drilling on the categorical xaxis on the mixed chart (#21845)
zhaoyongjie Oct 19, 2022
df7840c
chore: Added translate functions (#21816)
AndVK Oct 19, 2022
b773354
docs: 414 (#21849)
Onroe Oct 19, 2022
0a4ecca
fix: custom SQL in the XAxis (#21847)
zhaoyongjie Oct 19, 2022
47b1e0c
feat: Disables HTML rendering in Toast by default (#21853)
michael-s-molina Oct 19, 2022
9aa804e
fix: categorical x-axis can't apply the label of column (#21869)
zhaoyongjie Oct 19, 2022
7c4102c
feat(select filter): add CRLF separator for Windows (#21867)
mapledan Oct 19, 2022
ec20c01
fix(dashboard): Prevent XSS attack vector (#21822)
agl-developer Oct 19, 2022
cddc361
feat(explore): Don't discard controls with custom sql when changing d…
kgabryje Oct 19, 2022
decb2fb
feat(datasets): Change in API to create virtual datasets (#21840)
sinhashubham95 Oct 19, 2022
54f6fd6
fix: docker links (#21797)
lucapette Oct 19, 2022
76e57ec
feat(dashboard): menu improvements, fallback support for Drill to Det…
codyml Oct 19, 2022
28c7636
fix: Change timer font to monospace (#21876)
lyndsiWilliams Oct 19, 2022
b17ef18
chore: Color consistency E2E tests (#21622)
geido Oct 20, 2022
f4da74c
feat: Adds a Content Security Policy (CSP) check for production envir…
michael-s-molina Oct 20, 2022
9a063ab
feat(explore): add config for default time filter (#21879)
Usiel Oct 20, 2022
e418694
fix: Mistaken use of BootstrapUser type (#21892)
codyml Oct 20, 2022
f4a4ab4
fix: type of AnnotationLayer (#21878)
justinpark Oct 21, 2022
40f8254
fix(dashboard): Ensure correct positioning of "Drill to detail by" su…
codyml Oct 21, 2022
2fe68a3
chore: E2E Dashboards Cross-references (#21805)
geido Oct 21, 2022
c2834cc
chore: Remove CROSS_REFERENCES feature flag (#21815)
geido Oct 21, 2022
04b017e
chore: Updating SIP issue template to boost the link, and (hopefully)…
rusackas Oct 21, 2022
3da9687
chore: Improves D2D loading indicator (#21908)
michael-s-molina Oct 21, 2022
7edf1fb
fix(superset): Fixed API for bulk delete of embedded dashboards (#21911)
sinhashubham95 Oct 22, 2022
f5977ca
chore(plugin-chart-echarts): bump ECharts to 5.4.0 (#21916)
villebro Oct 24, 2022
a36ab71
fix: Ensure data cleanup in Cypress (#21921)
geido Oct 24, 2022
175ec85
feat: Add dataset visuals for when a table is selected (#21893)
lyndsiWilliams Oct 24, 2022
c19708b
feat(rightmenu): Add Datasets to + Menu and Hide Databases when one h…
Antonio-RiveroMartnez Oct 24, 2022
88e98d5
fix(sqllab): fix control x to stop query (#21899)
pkdotson Oct 24, 2022
792820e
fix(sqllab): remove set state on component update lifecycle (#21771)
justinpark Oct 24, 2022
76c865f
chore: additional logging in alerts and reports (#21802)
AAfghahi Oct 24, 2022
c6c9215
fix: time grain key from P0.25Y to P3M (#21919)
zhaoyongjie Oct 25, 2022
fa67315
fix: Default temporal column in Datasource (#21857)
geido Oct 25, 2022
1388f21
fix: accept old database payload (#21923)
betodealmeida Oct 25, 2022
7600da8
feat: create function for get_sqla_engine with context (#21790)
hughhhh Oct 25, 2022
779d9f7
feat: Adds the HORIZONTAL_FILTER_BAR feature flag (#21935)
michael-s-molina Oct 26, 2022
a88dfe2
fix: check that imports are ZIPs (#21875)
betodealmeida Oct 26, 2022
4002406
fix: BIGINT rendering regression in chartAction (#21937)
justinpark Oct 26, 2022
059e53a
fix: Crash caused by numpy.vectorize (#21936)
john-bodley Oct 26, 2022
203b289
feat(bigquery): Custom message when Service Account doesnt have the c…
Antonio-RiveroMartnez Oct 26, 2022
edce579
feat(dashboard): Move dashboard auto refresh intervals options to con…
zhaorui2022 Oct 27, 2022
2d5ee4f
docs(athena): add assuming IAM role with PyAthena (#21951)
gforien Oct 27, 2022
95b4323
fix(dashboard): Remove bar at bottom of dashboard edit sidebar (#21807)
codyml Oct 27, 2022
7e3e133
fix: Most common flaky Cypress tests (#21941)
geido Oct 27, 2022
06da7bf
feat(helm): Support for flower and websocket containers (#21806)
Yann-J Oct 27, 2022
fb8231b
fix(sqllab): wiped out unsaved changes by delayed actions (#21877)
justinpark Oct 27, 2022
9d25453
fix(explore): Chart save modal displays error instead of failing sile…
kgabryje Oct 27, 2022
102909e
fix: small bump to shillelagh (#21953)
AAfghahi Oct 27, 2022
3c7a081
fix(explore): Small changes in metadata bar copy and tooltip placemen…
kgabryje Oct 28, 2022
7f563cf
chore: Remove several React app console warnings and errors v2 (#21725)
agl-developer Oct 28, 2022
d3f930a
fix: add form data for empty state control to save dataset (#21944)
pkdotson Oct 28, 2022
d1807db
fix: Adds logging for SPA route navigation with React router (#21960)
eric-briscoe Oct 28, 2022
33fc578
fix: error_parsing (#21946)
AAfghahi Oct 28, 2022
efefb66
chore: bump pyathena and related packages (#21958)
eschutho Oct 29, 2022
ae9a30b
build(helm): Helm-docs + fix Helm chart release (#21963)
Yann-J Oct 29, 2022
3ea8f20
fix: bump expected npm version in superset-websocket (#21973)
gebhardtr Oct 30, 2022
bf00193
perf(native-filters): improve native filter modal form performance (#…
stephenLYZ Oct 30, 2022
66f166b
perf(native-filters): reduce the re-rendering of native filter modal …
stephenLYZ Oct 31, 2022
c9470ca
fix: dashboard api cache decorator (#21964)
dpgaspar Oct 31, 2022
a02a778
feat(reports): execute as other than selenium user (#21931)
villebro Oct 31, 2022
7f78778
refactor: return initial exception and check if it's user error (#21836)
hughhhh Oct 31, 2022
3bb9187
fix: invalid float number format by json-bigint (#21968)
justinpark Oct 31, 2022
5c27aaf
feat: Selectable dropdown triggered by icon component (#21955)
geido Oct 31, 2022
dc73995
chore: bubble up more db error messages (#21982)
villebro Nov 1, 2022
72598a5
fix: rename datasource->dataset in error message (#21959)
mistercrunch Nov 1, 2022
25be9ab
fix: bump gecko and mozilla in Dockerfile (#21995)
AAfghahi Nov 1, 2022
a9b229d
feat: support mulitple temporal filters in AdhocFilter and move the T…
zhaoyongjie Nov 2, 2022
3a02339
fix: invalid float number format by json-bigint (#21996)
justinpark Nov 2, 2022
4a330a3
chore: Refactor ownership (#21938)
john-bodley Nov 2, 2022
4e33235
chore: Verify edit permission for Horizontal filter bar (#21990)
geido Nov 2, 2022
429f246
refactor: clean up codes (#22002)
zhaoyongjie Nov 2, 2022
ba65f66
fix: Change downloadAsImage to use Superset theme (#22011)
lyndsiWilliams Nov 3, 2022
4cbd70d
fix: Revert shared controls typing change. (#22014)
codyml Nov 3, 2022
97e3e79
feat: Adds the DropdownContainer component (#21974)
michael-s-molina Nov 3, 2022
d52d72c
refactor: Feature flags getter (#22015)
zhaoyongjie Nov 3, 2022
68e8b00
feat(dashboard): Support changing filter bar location (#22004)
kgabryje Nov 3, 2022
6bbf4f8
fix: JSON serializers (#22029)
john-bodley Nov 4, 2022
5e1eecb
chore(dataset): enable reload for schema and table (#22032)
justinpark Nov 4, 2022
9b6322b
fix(native-filters): panels are collapsed when switch native filters …
stephenLYZ Nov 4, 2022
b040211
feat: Adds more customization properties to DropdownContainer (#22031)
michael-s-molina Nov 4, 2022
7d1df3b
feat: Improves SafeMarkdown HTML sanitization (#21895)
michael-s-molina Nov 4, 2022
9832bbd
build: Mutli-stage build and slim image for websocket container (#21954)
Yann-J Nov 4, 2022
c870fbe
feat: Add 3 new extension points for inserting custom icons (#22027)
jfrag1 Nov 4, 2022
358a4ec
fix: deprecate approve and request_access endpoint (#22022)
dpgaspar Nov 7, 2022
e33a086
fix: datasource save, improve data validation (#22038)
dpgaspar Nov 7, 2022
aa48cae
chore: Adds RTL tests to DropdownContainer (#22041)
michael-s-molina Nov 7, 2022
7a52b22
test: Fix act errors in DndMetricSelect test (#22048)
lyndsiWilliams Nov 7, 2022
cd1b379
fix: accept only JSON credentials (#22040)
betodealmeida Nov 7, 2022
ef6b9a9
feat(dashboard): confirm overwrite to prevent unintended changes (#21…
justinpark Nov 8, 2022
cdec092
test: Fix act errors in DndColumnSelectControl tests (#22068)
corbinrobb Nov 8, 2022
4496748
chore: update Druid (#22067)
betodealmeida Nov 8, 2022
53ed8f2
feat(helm): add `metadata namespace` (#22020)
waynewenswag Nov 9, 2022
9f7bd1e
fix(presto/trino): Ensure get_table_names only returns real tables (#…
john-bodley Nov 9, 2022
736b534
feat: create table component based on ant design Table (#21520)
eric-briscoe Nov 9, 2022
95b4c7b
chore(bigquery): Add extra logging for BigQuery exceptions so we can …
Antonio-RiveroMartnez Nov 10, 2022
35e0e5b
chore: improve performance on bootstrap permissions (#22083)
dpgaspar Nov 10, 2022
defe5c8
feat: Integrate ant d table component into DatasetPanel (#21948)
eric-briscoe Nov 11, 2022
5b67e07
refactor: update documents and rename variables (#22074)
zhaoyongjie Nov 11, 2022
7c6fabb
chore: deprecate /superset/fetch_datasource_metadata mig to API v1 (#…
dpgaspar Nov 14, 2022
ed1f50e
refactor: add deprecated decorator for old SupersetView's (#22113)
dpgaspar Nov 14, 2022
824dc71
fix: Right click on country map with code filter (#22081)
michael-s-molina Nov 14, 2022
86d52fc
chore: remove shadow write of new sip 68 dataset models (#21986)
eschutho Nov 14, 2022
c3f1873
fix(sqllab): Add templateParams on kv store (#22013)
justinpark Nov 14, 2022
61380da
Adding dashboard description from edit modal and apis
Oct 21, 2021
c0ac2aa
Update dashboard api tests
Oct 22, 2021
6f3f0ac
Lint files
Oct 25, 2021
93da5b0
Change modal field to textarea and lint
Oct 25, 2021
5f11fa5
fixing PropertiesModal test after rebase
Nov 14, 2021
c721e48
Fix description with typescript PropertyModal
Feb 6, 2022
4b47b06
Fix dasbhoard properties Modal
Feb 6, 2022
722464a
Linting PropertiesModal.tsx
Feb 7, 2022
f4f23f6
Compact dashboard api module
Feb 8, 2022
64413ea
Update description from dashboard edit mode
Feb 8, 2022
929b247
Correct Lint typescript-react
Mar 6, 2022
dcf4bb4
Add dashboard information tooltip
Mar 6, 2022
2a2cbca
Adding refresh tooltip after edit
Mar 7, 2022
85d3154
Merge branch 'feat/dashboard-description' of https://github.com/opus-…
Nov 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class PropertiesModal extends React.PureComponent {
values: {
dashboard_title: '',
slug: '',
description: '',
owners: [],
roles: [],
json_metadata: '',
Expand Down Expand Up @@ -208,6 +209,7 @@ class PropertiesModal extends React.PureComponent {
...state.values,
dashboard_title: dashboard.dashboard_title || '',
slug: dashboard.slug || '',
description: dashboard.description || '',
// format json with 2-space indentation
json_metadata: dashboard.json_metadata
? jsonStringify(jsonMetadataObj)
Expand Down Expand Up @@ -250,6 +252,7 @@ class PropertiesModal extends React.PureComponent {
values: {
json_metadata: jsonMetadata,
slug,
description,
dashboard_title: dashboardTitle,
colorScheme,
owners: ownersValue,
Expand Down Expand Up @@ -282,6 +285,7 @@ class PropertiesModal extends React.PureComponent {
id: this.props.dashboardId,
title: dashboardTitle,
slug,
description,
jsonMetadata,
ownerIds: owners,
colorScheme: metadataColorScheme || colorScheme,
Expand All @@ -295,6 +299,7 @@ class PropertiesModal extends React.PureComponent {
body: JSON.stringify({
dashboard_title: dashboardTitle,
slug: slug || null,
description: description || null,
json_metadata: jsonMetadata || null,
owners,
...morePutProps,
Expand All @@ -309,6 +314,7 @@ class PropertiesModal extends React.PureComponent {
id: this.props.dashboardId,
title: result.dashboard_title,
slug: result.slug,
description: result.description,
jsonMetadata: result.json_metadata,
ownerIds: result.owners,
colorScheme: metadataColorScheme || colorScheme,
Expand Down Expand Up @@ -494,6 +500,22 @@ class PropertiesModal extends React.PureComponent {
</FormItem>
</Col>
</Row>
<Row>
<Col xs={24} md={24}>
<FormItem label={t('Description')}>
<Input
villebro marked this conversation as resolved.
Show resolved Hide resolved
name="description"
type="text"
value={values.description || ''}
onChange={this.onChange}
disabled={!isDashboardLoaded}
/>
<p className="help-block">
{t('A dashboard description')}
</p>
</FormItem>
</Col>
</Row>
{isFeatureEnabled(FeatureFlag.DASHBOARD_RBAC)
? this.getRowsWithRoles()
: this.getRowsWithoutRoles()}
Expand Down
2 changes: 2 additions & 0 deletions superset/dashboards/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def ensure_thumbnails_enabled(self) -> Optional[Response]:
"published",
"status",
"slug",
"description",
"url",
"css",
"position_json",
Expand Down Expand Up @@ -152,6 +153,7 @@ def ensure_thumbnails_enabled(self) -> Optional[Response]:
add_columns = [
"dashboard_title",
"slug",
"description",
"owners",
"roles",
"position_json",
Expand Down
8 changes: 8 additions & 0 deletions superset/dashboards/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

dashboard_title_description = "A title for the dashboard."
slug_description = "Unique identifying part for the web address of the dashboard."
description_description = "A dashboard description/"
owners_description = (
"Owner are users ids allowed to delete or change this dashboard. "
"If left empty you will be one of the owners of the dashboard."
Expand Down Expand Up @@ -144,6 +145,7 @@ class RolesSchema(Schema):
class DashboardGetResponseSchema(Schema):
id = fields.Int()
slug = fields.String()
description = fields.String()
url = fields.String()
dashboard_title = fields.String(description=dashboard_title_description)
thumbnail_url = fields.String()
Expand Down Expand Up @@ -230,6 +232,9 @@ class DashboardPostSchema(BaseDashboardSchema):
slug = fields.String(
description=slug_description, allow_none=True, validate=[Length(1, 255)]
)
description = fields.String(
description=description_description, allow_none=True
)
owners = fields.List(fields.Integer(description=owners_description))
roles = fields.List(fields.Integer(description=roles_description))
position_json = fields.String(
Expand All @@ -251,6 +256,9 @@ class DashboardPutSchema(BaseDashboardSchema):
slug = fields.String(
description=slug_description, allow_none=True, validate=Length(0, 255)
)
description = fields.String(
description=description_description, allow_none=True
)
owners = fields.List(
fields.Integer(description=owners_description, allow_none=True)
)
Expand Down
9 changes: 8 additions & 1 deletion tests/integration_tests/dashboards/api_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def insert_dashboard(
css: str = "",
json_metadata: str = "",
published: bool = False,
description: str = ""
) -> Dashboard:
obj_owners = list()
obj_roles = list()
Expand All @@ -108,6 +109,7 @@ def insert_dashboard(
slices=slices,
published=published,
created_by=created_by,
description=description
)
db.session.add(dashboard)
db.session.commit()
Expand Down Expand Up @@ -309,7 +311,11 @@ def test_get_dashboard(self):
"""
admin = self.get_user("admin")
dashboard = self.insert_dashboard(
"title", "slug1", [admin.id], created_by=admin
"title",
"slug1",
[admin.id],
created_by=admin,
description="some description"
)
self.login(username="admin")
uri = f"api/v1/dashboard/{dashboard.id}"
Expand Down Expand Up @@ -341,6 +347,7 @@ def test_get_dashboard(self):
"slug": "slug1",
"table_names": "",
"thumbnail_url": dashboard.thumbnail_url,
"description": dashboard.description,
}
data = json.loads(rv.data.decode("utf-8"))
self.assertIn("changed_on", data["result"])
Expand Down