这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@AnnieAtHasura
Copy link
Contributor

#2281 # Description
This change uses the ACE editor already used for the JSON editor to edit text in several rich styles - as single line text, as multiline text, or with markdown or html syntax coloring support.

Affected components

  • Console

Related Issues

#458

This PR replaces PR #1155

Solution and Design

Simply uses the pattern established by JsonInput.js
It would be best practice to refactor JsonInput, TextInput, and some notional BooleanInput into a common superclass, but that wasn't my marching orders.

Steps to test and verify

make a table with text type column
insert a row
use the widget in UR of entry area to cycle through styles

Limitations, known bugs & workarounds

We cycle through the modes with the button. This is a design compromise worked out by Anu and I as consistent with the JSON one and simple to implement. If we ever want to expand the list it'll become cumbersome, but we can change to a drop down menu at that time.

@netlify
Copy link

netlify bot commented Jul 10, 2019

Deploy preview for hasura-docs ready!

Built with commit 921ccd3

https://deploy-preview-2498--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app for commit 501a328 deployed to Heroku: https://hge-ci-pull-2498.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2498-501a3282

@rikinsk-zz rikinsk-zz self-assigned this Jul 15, 2019
@rikinsk-zz rikinsk-zz added the c/console Related to console label Jul 15, 2019
@hasura-bot
Copy link
Contributor

Review app for commit f936de1 deployed to Heroku: https://hge-ci-pull-2498.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2498-f936de15

@rikinsk-zz rikinsk-zz merged commit 7a68332 into hasura:master Jul 22, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-2498.herokuapp.com is deleted

@hasura-bot
Copy link
Contributor

Review app for commit 921ccd3 deployed to Heroku: https://hge-ci-pull-2498.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2498-921ccd31

polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/console Related to console

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants