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

Allow user to extend shrunken sql text in Query Table #1430

Closed
wants to merge 1 commit into from

Conversation

vera-liu
Copy link
Contributor

@vera-liu vera-liu commented Oct 25, 2016

Issue: #1218
User case: currently the sql text in query table is default to be shrunken, but users might want to view full sql in some cases.

Done:

  • Added state 'extend' to HighlightedSql component
  • Added button at the end of each sql for extending/shrinking sql text, user can click on the button to extend/shrink the sql on each row
  • I kept the original shrink prop so that this component could still be used for cases where we don't shrink any sql text

before clicking on plus sign at end of sql text:
screen shot 2016-10-25 at 2 20 23 pm

after:
screen shot 2016-10-25 at 2 20 32 pm

needs-review @mistercrunch @ascott @bkyryliuk

Issue: apache#1218
Done:
 - Added state HighlightedSql component
 - Added button at the end of each sql for extending/shrinking sql text
@vera-liu vera-liu changed the title Allow user to extend shrunken url in Query Table Allow user to extend shrunken sql text in Query Table Oct 26, 2016
@mistercrunch
Copy link
Member

Oh I have something similar on #1426 where I pop a modal that shows the unshrunk SQL as well as the "executedSQL" if it is different, mostly when using templates.

@vera-liu
Copy link
Contributor Author

Ahhhh the modal seems like a better option, I'll close this one.

@vera-liu vera-liu closed this Oct 26, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 17, 2021
…1430)

* Revert "feat: add default series_limit (apache#1033)"

This reverts commit 5bd2a149644e9ecfeca8e54153eb9e5658546ec3.

* Update index.tsx

* Update index.tsx
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 24, 2021
…1430)

* Revert "feat: add default series_limit (apache#1033)"

This reverts commit 5bd2a149644e9ecfeca8e54153eb9e5658546ec3.

* Update index.tsx

* Update index.tsx
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 25, 2021
…1430)

* Revert "feat: add default series_limit (apache#1033)"

This reverts commit 5bd2a149644e9ecfeca8e54153eb9e5658546ec3.

* Update index.tsx

* Update index.tsx
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 26, 2021
…1430)

* Revert "feat: add default series_limit (apache#1033)"

This reverts commit 5bd2a149644e9ecfeca8e54153eb9e5658546ec3.

* Update index.tsx

* Update index.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants