Skip to content

add data browser views for editing properties and tables#9252

Merged
davidsbailey merged 4 commits into
stagingfrom
data-browser-views
Jun 29, 2016
Merged

add data browser views for editing properties and tables#9252
davidsbailey merged 4 commits into
stagingfrom
data-browser-views

Conversation

@davidsbailey

Copy link
Copy Markdown
Member

add data browser views for editing properties and tables. switch between views using redux. the new views are just placeholders for now.

spec: https://docs.google.com/document/d/1UfBgHCisr_8jSt8zHFgJL-XrlLthTrXJQZJwoedGYg4/edit#

screen capture:
data-browser-views

Comment thread apps/src/applab/DataTable.jsx Outdated
propTypes: {
// from redux state
tableName: React.PropTypes.string.isRequired,
view: React.PropTypes.oneOf([DataView.OVERVIEW, DataView.PROPERTIES, DataView.TABLE]),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bet you could also do something like oneOf(Object.keys(DataView)). What you have might be better anyways tho, since it might be valuable to see the whole list again.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take your suggestion -- it seemed weird to have to add things to the list in multiple places, and people can quickly find the source of truth if they need to.

@Bjvanminnen

Copy link
Copy Markdown
Contributor

looks good :)

@davidsbailey davidsbailey merged commit 70a3ed2 into staging Jun 29, 2016
@davidsbailey davidsbailey deleted the data-browser-views branch June 29, 2016 22:23
deploy-code-org added a commit that referenced this pull request Jun 29, 2016
ec9efaf Merge pull request #9244 from code-dot-org/mail-6-29-advocacy-filename-fix (Andrew Oberhardt)
70a3ed2 Merge pull request #9252 from code-dot-org/data-browser-views (David Bailey)
77dae49 code review feedback (David Bailey)
ca1681c Add TABLE view to data browser (David Bailey)
7c2526b use redux to switch between OVERVIEW and PROPERTIES views in the data browser (David Bailey)
37b7197 Merge pull request #9249 from code-dot-org/revert-9232-internet-video (jeremydstone)
b0c00cb Revert "Add What is the Internet video for CSP" (jeremydstone)
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