Commit Graph

671 Commits

Author SHA1 Message Date
Kentaro Suzuki
0ec014881a
console: increase size of redeliver event modal (close #5480) (#5502) 2020-08-03 15:55:04 +02:00
Varun Choudhary
b37b451992
console: fix primary key selector bug and raw sql error message (close #4226) (#5469) 2020-08-03 15:00:25 +02:00
Gnyani
7d06d7a6ab
console: prettify cron trigger JSON payload (close #5052) 2020-08-03 14:01:48 +02:00
Sameer Kolhar
ebd6fe13f0
console: remove obsolete files and update dependencies (#5327) 2020-07-31 15:58:19 +02:00
Gnyani
58b0ac1352
console: trim trailing spaces in action handler URL (close #5416) 2020-07-31 13:24:37 +02:00
Anuj Shah
65e568e6dd
console: handle nested fragments in allowed queries (close #5137) (#5252) 2020-07-31 12:17:52 +02:00
Rikin Kachhia
d1032b2414
console: make add column UX consistent with others (#5486) 2020-07-30 22:54:20 +02:00
Rikin Kachhia
7045fffefa
console: misc updates (#5488) 2020-07-30 18:34:47 +02:00
Rikin Kachhia
8194494afa
console: fix telemetry (#5484) 2020-07-30 21:05:17 +05:30
Rikin Kachhia
03305bb788
console: update sidebar icons for different action and trigger types (#5445) 2020-07-22 17:10:17 +05:30
Sameer Kolhar
ca650353de
console: left-align content on data table (#5408) 2020-07-21 16:54:14 +02:00
Rikin Kachhia
56da4891c3
console: UI updates (#5427)
- Schema page
  - Keep function sections expanded by default
  - Add Know more link for relationships
- Table relationships page
  - Add tooltips / know more links
  - Update add table relationship UI
  - Remote relationships -> remote schema relationships 
  - Make remote relationships UI consistent
- Events pages
  - fix breadcrumbs
  - update scheduled trigger info image
  - add note regarding UTC timezone based events to tooltip for cron triggers
2020-07-21 18:21:34 +05:30
Kentaro Suzuki
788095acba
console: fix import metadata button text (close #5386) (#5415) 2020-07-20 20:46:45 +02:00
soorajshankar
4a116c793b
console: use requestAction instead of fetch (#5406) 2020-07-20 17:48:59 +02:00
Sameer Kolhar
d193af7d11
console: fix clear text issue on RawSQL page (#5351) 2020-07-20 16:57:13 +02:00
Todd Heslin
a677c62dae
console: fix custom root field placeholder for insert one mutation (close #5345) (#5346) 2020-07-20 16:15:52 +02:00
Sameer Kolhar
d8055a7ca6
console: add tooltips to certain headers on API Explorer (#5286) 2020-07-15 18:19:29 +05:30
Aleksandra Sikora
773a29d612
console: don't set payload for data trigger (#5370) 2020-07-13 17:38:43 +02:00
Gavin
66479870ad feat(console): Add "identity" frequently used column, refactor to TS 2020-07-12 01:14:04 -04:00
Aleksandra Sikora
cefe06e089
console: fix clone row in data browser (close #5336) (#5337) 2020-07-09 20:32:44 +05:30
Tanvi Bhakta
51174ceb0e
console: display line number that error originated from in GraphQL editor (close #4849) (#4942) 2020-07-09 13:58:25 +02:00
surendran82
b1b92c75ad
console: update hasura pro content to cloud in header (#5268) 2020-07-08 16:01:31 +05:30
soorajshankar
b1c686f303
console: searchable select UX fix (close #5246) (#5254) 2020-07-08 15:21:41 +05:30
Aleksandra Sikora
4637de42e8
console: add statement timeout for data browser count query (#5313) 2020-07-07 15:56:15 +05:30
Aleksandra Sikora
5d35f564e9
console: fix creating migrations from Raw SQL page (close #5296) (#5308) 2020-07-06 13:49:16 +05:30
Rakesh Emmadi
2fe353a294
allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) (#5257)
* fix error when array relation connections are queried, fix #5218

* change relay endpoint to '/v1beta1/relay'

* Update CHANGELOG.md

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 12:00:35 +05:30
Aleksandra Sikora
53a40bc2be
console: handle generated and identity columns in console data section (close #4552, #4863) (#4761) 2020-07-02 14:32:34 +05:30
Sameer Kolhar
6cd9eb282a
console: add button to cancel one-off scheduled events and cron-trigger events (close #5161) (#5236) 2020-07-02 13:57:53 +05:30
Aleksandra Sikora
af452de754
console: support tracking partitioned tables (close #5071) (#5258) 2020-07-02 13:14:27 +05:30
Anuj Shah
a78f17b79c
console: add code exporter to graphiql (close #4531) (#4652) 2020-07-01 23:16:09 +02:00
Gokul
b9918e0eac
console: allow configuring statement timeout on console RawSQL page (close #4998) (#5045) 2020-07-01 22:06:24 +02:00
soorajshankar
ab311cd9f1
console: add eslint-plugin-react-hooks (#5219) 2020-07-01 12:22:09 +02:00
John Duong
6fe0b748e2
community: fix DATA_API_URL for Heroku in console README (#5069) 2020-07-01 09:54:00 +02:00
Sameer Kolhar
f8b58ea698
console: fix styling of table row content on relationship page (close #4974) (#4979) 2020-06-25 10:13:37 +02:00
Marion Schleifer
527530704d
docs/console: clarify usage of "query" vs "request" , change allowed queries to allow list (close #4053) (#5182) 2020-06-24 23:00:08 +05:30
Sameer Kolhar
01e7b2aea0
console: display error notification if an introspection query fails (#5184) 2020-06-24 13:39:38 +02:00
Aleksandra Sikora
9936ace6ab
console: handle renaming cron triggers (#5167) 2020-06-23 15:56:51 +02:00
Sameer Kolhar
4293714519
console: add the ability to delete a role in permissions summary page (close #3353) (#4987) 2020-06-19 14:36:40 +05:30
Aleksandra Sikora
f2428e3984
console: allow manual edit of column types and handle array data types (close #2544, #3335, #2583) (#4546) 2020-06-18 12:43:19 +02:00
Rikin Kachhia
3c76ddf493
console: misc UX improvements (close #4500, #4689) (#5066) 2020-06-18 10:36:42 +02:00
Egor Ogarkov
df8a0b7924
console: migrate wrap type utils to typescript (#4557) 2020-06-17 17:21:49 +02:00
Pavel Kostenko
213958ac09
console: fix typo in remote relationships tooltip (close #5113) 2020-06-17 10:26:37 +02:00
Aravind
d7ca702542
cli: support squashing migrations with remote joins (close #4908) (#4924) 2020-06-16 12:10:20 +05:30
Marek Dano
65920fb77b
console: migrate main state to typescript (#4804) 2020-06-15 20:25:16 +02:00
Sameer Kolhar
fd00892371
console: reuse websocket connection in api explorer (#5064) 2020-06-12 16:32:21 +02:00
Aleksandra Sikora
0bdfad4ef0
console: remove proposal-export-default-from (#5032) 2020-06-12 12:11:28 +02:00
Aleksandra Sikora
f73b847ddc
console: fix handling inconsistent objects (close #5072) (#5073) 2020-06-12 11:11:54 +02:00
soorajshankar
cb3252cf07
console: allow configuring session_argument for custom functions (close #4499) (#4922) 2020-06-11 14:38:32 +02:00
Rishichandra Wawhal
7efc53206f
console: add default graphiql mode in api explorer (#5061) 2020-06-11 15:41:17 +05:30
Rishichandra Wawhal
63eb311169
console: fix listen update column config selection for event trigger (close #5042) (#5043) 2020-06-10 14:05:43 +02:00
Pavel Kostenko
2030da5282
console: convert settings/utils to typescript (#4684) 2020-06-10 10:52:23 +02:00
soorajshankar
c8d242dd13
console: provide option to cascade metadata on dependency conflicts (close #1593) (#4846) 2020-06-09 18:26:44 +02:00
soorajshankar
2861beaa20
console: fix enum tables reload data button UI (close #4647) (#4877) 2020-06-09 17:10:26 +02:00
soorajshankar
0df38f0a95
console: respect read-only mode in actions pages (close #4656) (#4764) 2020-06-09 14:23:02 +02:00
Ryan Dsouza
dd977d6c22
console: convert About and Login components to typescript (#4794) 2020-06-09 13:21:04 +02:00
Marek Dano
fa60c7d4b6
console: migrate telemetry to typescript (#4737) 2020-06-09 11:01:12 +02:00
Aleksandra Sikora
e4ff1badd6
Merge branch 'master' into migrate-sidebar-to-ts 2020-06-08 20:59:17 +02:00
Aleksandra Sikora
e800e32bdf
console: fix "Cannot read property 'foldable'" runtime error in Browse Rows page (fix #4907) (#5016) 2020-06-08 20:10:39 +05:30
Aleksandra Sikora
547e658b6d
console: replace remote schema url in tests (#5011)
* console: replace remote schema url

* Rename lint to console lint
2020-06-08 17:45:43 +05:30
Vamshi Surabhi
2a9bc2354f
add relay modern support (#4458)
* validation support for unions and interfaces

* refactor SQL generation logic for improved readability

* '/v1/relay' endpoint for relay schema

* implement 'Node' interface and top level 'node' field resolver

* add relay toggle on graphiql

* fix explain api response & index plan id with query type

* add hasura mutations to relay

* add relay pytests

* update CHANGELOG.md

Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
2020-06-08 17:43:01 +05:30
Xetera
2ada31292f
console: add new sidebar icon that separates enums from tables (fix #4984) (#4992) 2020-06-06 17:17:40 +05:30
Marek Dano
20cf05d883
console: migrate Globals to TS (#4587) 2020-06-06 16:34:35 +05:30
Sameer Kolhar
d67757c23a
console: update QueryAnalyzer to support subscriptions (close #2541) (#4965) 2020-06-06 15:23:37 +05:30
Aleksandra Sikora
342c017d1b
Merge branch 'master' into migrate-sidebar-to-ts 2020-06-05 21:36:02 +02:00
Aleksandra Sikora
2b4d12ec49 Fix eslint config, run prettier 2020-06-05 21:35:38 +02:00
Aleksandra Sikora
d651319110 Fix location type 2020-06-05 21:31:57 +02:00
Aleksandra Sikora
78d2f2ced0 Merge branch 'master' into migrate-sidebar-to-ts 2020-06-05 21:25:19 +02:00
Sameer Kolhar
e4e4856085
console: improve error handling for prerelease notification opt-out (#4983) 2020-06-05 15:38:01 +05:30
Rishichandra Wawhal
aaab6d3eb6
console: add scheduled triggers support (#4732) 2020-06-05 13:40:08 +05:30
soorajshankar
1b3f5b8fcf
console: fix regression in editing permissions manually (fix #4683) (#4826) 2020-06-04 20:51:01 +05:30
Aleksandra Sikora
45c8699e23
console: dependencies cleanup (#4705) 2020-06-02 13:44:45 +05:30
Aleksandra Sikora
af0d4d8f08
console: replace remote schema url in tests (#4964) 2020-06-02 12:41:14 +05:30
Marek Dano
61349c091a
console: migrate ErrorBoundary to TS (#4542) 2020-05-29 19:10:17 +05:30
Kshitiz Kumar
a2a492e5d9
console: migrate CollapsibleToggle to TS (#4697) 2020-05-29 18:34:28 +05:30
Rishichandra Wawhal
6b590cb4f8
console: remote joins code improvements (#4920) 2020-05-29 18:00:37 +05:30
Aleksandra Sikora
41b3be82fb
workflow: add lint and format action for console (#4501) 2020-05-29 16:45:43 +05:30
Rishichandra Wawhal
ea2f1679eb
console: require async globals before render; track runtime errors (#4449) 2020-05-29 15:15:33 +05:30
soorajshankar
d2aac3732a
console: allow entering big int values (close #3667) (#4775) 2020-05-29 14:40:02 +05:30
soorajshankar
b2fd57a8e2
console: fix visiting view modify page overwriting raw sql content (close #4798) (#4810) 2020-05-29 14:11:02 +05:30
Aleksandra Sikora
bc16668ff6
console: remove deprecated better-npm-run (#4819) 2020-05-29 12:09:58 +05:30
Rikin Kachhia
594b387263
console: add Help button and move About page to settings (#4848) 2020-05-27 21:43:04 +05:30
Tirumarai Selvan
c0d2bc6653
Remote Joins: Create relationships across database and remote schemas (#2392)
add remote joins: Create relationships across database and remote schemas (#2392)

Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>

Co-authored-by: Chris Done <chrisdone@gmail.com>
Co-authored-by: Chris Done <github@chrisdone.com>
Co-authored-by: wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Aravind Shankar <aravind@hasura.io>
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
Co-authored-by: nizar-m <19857260+nizar-m@users.noreply.github.com>
Co-authored-by: Praveen Durairaju <praveend.web@gmail.com>
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Anon Ray <rayanon004@gmail.com>
Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io>
Co-authored-by: soorajshankar <soorajshankar@users.noreply.github.com>
Co-authored-by: Sooraj Sanker <sooraj@Soorajs-MacBook-Pro.local>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-27 20:32:58 +05:30
Aleksandra Sikora
c1197be208
console: fix dependency vulnerabilities (#4677) 2020-05-27 16:04:38 +05:30
Raj Anand
1b442fc2dd
console: migrate cypress tests to TypeScript (#4550) 2020-05-27 14:56:29 +05:30
Ryan Dsouza
b088db6ed7 console: migrate Container.js to TypeScript (#4724) 2020-05-27 14:20:26 +05:30
ryo
fb807843c9
console: migrate Button to TypeScript (#4570) 2020-05-27 13:25:40 +05:30
Aleksandra Sikora
f7cb3c1f19
Merge branch 'master' into migrate-sidebar-to-ts 2020-05-25 19:29:16 +02:00
Vamshi Surabhi
ff99b24031 fix a security issue with 1.2 2020-05-22 14:40:57 +05:30
Marek Dano
289ff5e737
console: migrate VoyagerView to TS (#4734) 2020-05-20 15:33:19 +05:30
ryo
fffc65f153
console: migrate switch button and spinner to TypeScript (#4504) 2020-05-19 17:47:33 +05:30
Rikin Kachhia
7a7ff29e08
console: fix undercores not being displayed in raw sql (close #4754) (#4799) 2020-05-18 13:46:08 +05:30
Aleksandra Sikora
78aa346d72
console: fix displaying boolean values in Edit Row tab (#4682) 2020-05-15 14:36:45 +05:30
Rishichandra Wawhal
5a39143518
console: add more themes to ace editor for supporting syntax highlighting (#4600) 2020-05-14 23:27:56 +05:30
Ryan Dsouza
619d167329
console: migrate HTML helpers, route hooks helpers and version utils to TypeScript (#4641) 2020-05-14 19:30:05 +05:30
Aleksandra Sikora
8a2d90cfb1
console: fix bulk selected rows state in data browser (close #4654) (#4673) 2020-05-14 18:55:57 +05:30
Irshad Ansari
d039c12e1d
console: migrate Common/Modal to TypeScript (#4532) 2020-05-14 18:09:28 +05:30
Fadi Khadra
a94012b1b1
console: migrate WarningSymbol and TextInput to TypeScript (#4562) 2020-05-14 17:30:49 +05:30
Marek Dano
ced1b4d001
console: migrate TelemetryFilter file to TS (#4579) 2020-05-14 16:50:40 +05:30
gnyani
5d2b082194
console: trim column name input values (fix #4526) (#4545) 2020-05-14 16:20:12 +05:30
Aleksandra Sikora
1cbb765acd
console: fix rows limit display in permissions editor if set to zero (fix #4559) (#4750) 2020-05-14 15:35:00 +05:30
Tirumarai Selvan
cc8e2ccc78
Scheduled triggers (close #1914) (#3553)
server: add scheduled triggers 

Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-13 18:03:16 +05:30
Antoine Leblanc
201dcca59a
console: restore partial support for foreign tables (fix #4714) (#4742) 2020-05-12 17:18:35 +05:30
Jigyasu Arya
f993a6c907
console: fix checkbox for forwarding client headers in actions (close #4595) (#4669) 2020-05-12 15:22:23 +05:30
Fadi Khadra
cd1c562073
console: allow modifying default value for PK (close #4075) (#4679) 2020-05-12 11:46:48 +05:30
Marek Dano
cd1f43397c Replace react-router-dom by react-router version 3. 2020-05-08 19:57:02 +01:00
Rikin Kachhia
c2fdcd0471
console: optimise count fetch in data browser (#4692)
* in table-browse-rows, make intelligent count

* update changelog

* simplify getting estimatedCount

* prevent doubled requests

* hide estimated count

* update changelog

* Update CHANGELOG.md

Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-06 23:37:56 +05:30
Marek Dano
dbafb92a07 Replace 'any' in the Sidebar component and fix eslint issue. 2020-05-06 13:36:30 +01:00
Marek Dano
17a4b98e9a Migrate Sidebar to tsx. 2020-05-06 12:44:52 +01:00
Marek Dano
1e2c05426d Remove react-router and replace it with react-router-dom in the console project. 2020-05-06 12:44:15 +01:00
surendran82
5998d22231
console: add read replica support section to pro popup (#4118) 2020-05-02 14:41:40 +05:30
Aleksandra Sikora
43f12db1d3
console: update @babel/core and @babel/preset-env (#4628) 2020-05-01 18:34:52 +05:30
Aleksandra Sikora
09d3c89d4c
console: fix data browser css issue in safari (close #4632) (#4634) 2020-05-01 05:31:22 +05:30
Aleksandra Sikora
220338d5d7
console: pin dependency versions (#4612) 2020-04-30 13:09:17 +05:30
Rikin Kachhia
c2df714e5d
docs: update migrations docs (#3403) 2020-04-29 13:30:26 +05:30
Rishichandra Wawhal
74563402d4
console: update and freeze graphiql explorer to support operation transforms (#4567) 2020-04-27 16:46:09 +05:30
Aleksandra Sikora
4746be2018
console: fix table columns type comparision during column edit (close #4125) (#4393) 2020-04-27 16:13:22 +05:30
Fadi Khadra
d9b9c21198
console: migrate GqlCompabilityWarning to TS (#4544) 2020-04-27 15:42:34 +05:30
Muhammad Ubaid Raza
08aecff498
console: migrate graphql, sql, main utils to TS (#4522) 2020-04-27 15:14:02 +05:30
Aleksandra Sikora
79a3b6131d
console: make graphiql panel use whole height (#4553) 2020-04-27 14:32:39 +05:30
Antoine Leblanc
66e18b7dee
console: support materialized views (close #91) (#4270) 2020-04-24 15:13:42 +05:30
Rakesh Emmadi
d52bfcda4e
backend only insert permissions (rfc #4120) (#4224)
* move user info related code to Hasura.User module

* the RFC #4120 implementation; insert permissions with admin secret

* revert back to old RoleName based schema maps

An attempt made to avoid duplication of schema contexts in types
if any role doesn't possess any admin secret specific schema

* fix compile errors in haskell test

* keep 'user_vars' for session variables in http-logs

* no-op refacto

* tests for admin only inserts

* update docs for admin only inserts

* updated CHANGELOG.md

* default behaviour when admin secret is not set

* fix x-hasura-role to X-Hasura-Role in pytests

* introduce effective timeout in actions async tests

* update docs for admin-secret not configured case

* Update docs/graphql/manual/api-reference/schema-metadata-api/permission.rst

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* a complete iteration

backend insert permissions accessable via 'x-hasura-backend-privilege'
session variable

* console changes for backend-only permissions

* provide tooltip id; update labels and tooltips;

* requested changes

* requested changes

- remove className from Toggle component
- use appropriate function name (capitalizeFirstChar -> capitalize)

* use toggle props from definitelyTyped

* fix accidental commit

* Revert "introduce effective timeout in actions async tests"

This reverts commit b7a59c19d6.

* generate complete schema for both 'default' and 'backend' sessions

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* remove unnecessary import, export Toggle as is

* update session variable in tooltip

* 'x-hasura-use-backend-only-permissions' variable to switch

* update help texts

* update docs

* update docs

* update console help text

* regenerate package-lock

* serve no backend schema when backend_only: false and header set to true

- Few type name refactor as suggested by @0x777

* update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* fix a merge bug where a certain entity didn't get removed

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: rikinsk <rikin.kachhia@gmail.com>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-04-24 14:40:53 +05:30
Rishichandra Wawhal
2e7e54fc2e
console: preserve the returning field set in a derived action (#4530) 2020-04-23 18:27:42 +05:30
Aleksandra Sikora
447aac3692
console: allow adding post-update checks in update permissions (close #4142) (#4313) 2020-04-22 17:55:10 +05:30
ryo
ae11e9b557
console: migrate checkbox, icon and radio button to TypeScript (#4373) 2020-04-22 16:47:10 +05:30
Rikin Kachhia
20c3beeea0
console: prevent trailing spaces while creating new role (close #3871) (#4497) 2020-04-21 21:36:21 +05:30
Rikin Kachhia
a9bca2383f
console miscellaneous fixes (#4433)
* format row count in data browser for readablity
* move pre-release notification tooltip msg to top
* remove extra localPresets key from migrations (close #3976)
* make nullable and unique labels for columns clickable in insert and modify
* fix row delete for relationships in data browser
2020-04-21 18:41:44 +05:30
Aleksandra Sikora
386786f57c
console: fix columns reordering for relationship tables in data browser (#4483) 2020-04-21 16:46:24 +05:30
Jigyasu Arya
e991180f43
console: change react ace editor theme to eclipse (close #4437) (#4443) 2020-04-20 18:12:45 +05:30
ShahAnuj2610
bf719cbf34
console: surround string type column default value with quotes (close #4371) (#4423) 2020-04-17 21:32:13 +05:30
Aleksandra Sikora
550de3e8a0
console: add possible undefined check (#4445) 2020-04-17 11:58:47 +05:30
Rishichandra Wawhal
8a5cc73ae6
cli, console: actions dx improvements (close #4306, #4311) (#4308) 2020-04-16 13:40:47 +05:30
Aleksandra Sikora
72b2301bc0
console: persist page size in data browser (#4323) 2020-04-15 20:38:37 +05:30
Rakesh Emmadi
dc31b835e1
allow reusing Postgres scalars in custom types & actions (close #4125) (#4333)
* allow re-using Postgres scalars in custom types, close #4125

* add pytest tests

* update CHANGELOG.md

* add a doc pointer for reusable postgres scalars

* document the code, improve the CHANGELOG entry

As suggested by @lexi-lambda

* a bit more source code documentation, use WriterT to collect reused scalars

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* improve doc for Postgres scalars in custom graphql types

* Add some more references to Note; fix Haddock syntax

Also a few very minor tweaks:
  * Use HashSet instead of [] more pervasively
  * Export execWriterT from Hasura.Prelude
  * Use pattern guards in multi-way if
  * Tweak a few names/comments

* Pull buildActions out of buildAndCollectInfo, use buildInfoMap

* Tweak wording in documentation

* incorporate changes in console code

* account Postgres scalars for action input arguments

-> Avoid unnecessary 'throw500' in making action schema

* Review changes

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-04-15 17:33:13 +05:30
Ali Oğuzhan Yıldız
dfc1f98e61
console: convert theme files to typescript (#4325) 2020-04-15 13:49:52 +05:30
ShahAnuj2610
cba85cd4a8
console: redirect to /:table/browse from /:table (close #4330) (#4374) 2020-04-13 19:52:32 +05:30
Rishichandra Wawhal
61d58906e7
console: recover from SDL parse in actions type definition editor (fix #4385) (#4389) 2020-04-13 18:22:07 +05:30
Rishichandra Wawhal
9b66724b41
console, cli, cli-ext: query support for actions (close #4032) (#4318)
Co-authored-by: Aravind Shankar <aravind@hasura.io>
2020-04-13 15:51:53 +05:30
Rikin Kachhia
c08171ac89
console: set coookie policy for API calls to same-origin (#4336) 2020-04-09 16:03:29 +05:30
Aleksandra Sikora
f615efd37d
console: decouple row fetch and count queries in data browser (close #3793) (#4269) 2020-04-07 16:47:13 +05:30
Aleksandra Sikora
b1f8b656a7
console: set allow-js compiler flag for type checker (#4290) 2020-04-06 20:19:35 +05:30
Aleksandra Sikora
141f2afb01
console: fix linter config (#4137) 2020-04-06 16:53:04 +05:30
Aleksandra Sikora
ec56b0160b
console: persist columns order / collapsed state in data browser (close #3390) (#3753) 2020-04-06 16:03:45 +05:30
Rikin Kachhia
74b32fc9b8
console: keep entire graphiql in the viewport (#4286) 2020-04-04 19:19:21 +05:30
Rishichandra Wawhal
2b2145d024
console: persist derived action name after create (#4272) 2020-04-03 17:37:14 +05:30
Rikin Kachhia
7060997660
console: fix clone permission migrations (close #3985) (#4277) 2020-04-03 14:39:03 +05:30
Rishichandra Wawhal
8bcff193d9
console: allow customising graphql field names for columns of views (close #3689) (#4255) 2020-04-02 13:51:56 +05:30
Karthikeyan Chinnakonda
54dd3c94b9
include postgres version of the database while sending telemetry data (#4122)
* add new column "pg_version" while sending telemetry data

* make a new type for PGVersion and use serverVersion func

* define runTxIO action to run transaction(which exits on error)

Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-04-01 20:44:26 +05:30
Rikin Kachhia
88b29e37ab
console: fix rendering object values in data browser (#4264) 2020-04-01 17:40:09 +05:30
Rishichandra Wawhal
0abb6c275e
console: allow customising root fields of single row mutations (close #4203) (#4254) 2020-03-31 19:11:30 +05:30
Rikin Kachhia
8bd7f70818
console: fix computed field permission selection (#4246) 2020-03-31 12:57:08 +05:30