Commit graph

400 commits

Author SHA1 Message Date
Gandharv
8591dc4362
Add new navbar changes (#1538)
* Add new navbar changes

* css fixes

* canvas bg color picker

* css fixes

* add minimize icon

* add spacing when query panel closed

* add svg icon files

* reduce create button size and align to middle

* fix global settings styles

* retain selected data source on panel height change
2021-12-09 09:13:32 +05:30
Gandharv
4474f06e96
Homepage navbar active item border alignment issue (#1534) 2021-12-08 10:50:46 +05:30
Akshay
bf13cf5e1c
Feature: library apps with templates (#1529) 2021-12-07 18:55:41 +05:30
Gandharv
d398266991
fix toggle value (#1525) 2021-12-07 15:41:12 +05:30
Gandharv
7a8698645e
Add checked prop to toggle element (#1520)
* fix: add checked prop to toogle element

* add onChange value based on event.target.checked
2021-12-07 11:21:56 +05:30
Arpit
2b303c026b
[Feature] : Gsheet update operation (#1453)
* gsheet update op: schema and UI

* gsheet update op: server

* update operation for google sheet datsource api

* remove unsued comments

* backward compatiable: removed custom rule for sheet

* unsused consolelogs

* .

* Show gsheets update query body as a single-line codehinter

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-02 12:25:40 +05:30
Navaneeth Pk
1408f5725e
Update logo colors (#1477) 2021-12-01 16:12:32 +05:30
Sherfin Shamsudeen
daf2dcb8d1
Feature/dashboard redesign phase 1 (#1472)
* Display apps as cards on dashboard

* Add alignment, border and font styles to app cards

* Arrange app cards in 3x5 grid on dashboard

* Fix bug with app list index calculation

* Remove overflow and scrollbar from homepage body

* Align homepage header with apps grid

* Display three-dots icon on top-left of app card

* Highlight app card on hover on dashboard

* Replace edit and launch buttons with new design on app card

* Align app cards along with folder panel

* Change three-dots image of app menu

* Align app name and details towards center of app card

* Support dark mode in dashboard

* Apply brand colors to app dashboard

* Set canvas container bg color to #2f3c4c for dark mode

* Hide scrollbar from app body

* Fix alignment issues on app dashboard when app create button is not shown

* Rename svg file for three-dots icon on app card
2021-12-01 13:50:21 +05:30
Gandharv
29b20ce1e8
fix rest api defaults (#1450) 2021-11-24 16:12:16 +05:30
Gandharv
b61d07e0c5
Refactor: move default options to schema files (#1425)
* refactor: move default options to schema files

* fix: use options instead of source.options

* add default empty object when defaults not present in schema

* add null checks for gsheets and slack component

* removes un-necessary console log

* delete constancts file

* delete default options file for data sources
2021-11-22 13:52:32 +05:30
Arpit
31e8752b65
code hinter height fixed for queryEditors - datasources (#1431) 2021-11-21 09:44:26 +05:30
Gandharv
1ddd170539
Add schema for data query editor (#1361)
* Initial commit for data query schema changes

* db: add mssql schema

* api: add graphql schema

* api: add redis data query editor

* db: add my sql db

* api: dataquery - add airtable api schema

* api: dataquery - add dynamodb api schema

* database: dataquery - add database api schema

* database: dataquery - add elastic search api schema

* database: dataquery - add mongo db schema

* database: dataquery - add postgre sql schema

* api: dataquery - add slack schema

* api: dataquery - add google sheets schema

* database: dataquery - add gcs schema

* fix: dynamodb styles

* fix: elastic search styles

* fix: firestore styles

* fix: remove line numbers + add className prop + add initialValue prop

* remove line numbers

* cleanup: remove jsx files of data queries

* cleanup: fix merge conflicts

* fix: on edit dropdowns not retaining value

* fix: remove unnecessary log statement
2021-11-17 23:29:00 +05:30
Trevor Bayless
84f8f3c5bc
Adjust confirmation dialog logic so closed dialogs can reopen (#1259) 2021-10-29 07:18:33 +05:30
Nishant Samel
89c1f3f02c
Fixes logo alignment issue (#1291) 2021-10-26 10:03:25 +05:30
Gandharv
c8f3479432
add encrypted icon to firestore data source (#1272) 2021-10-25 14:46:46 +05:30
Bhavin Ag
37d3bb4ae9
update theme toggle position to bottom (#1186) 2021-10-21 22:57:31 +05:30
Arnav Puri
6c137306d8
Fixed #1049 Broken Toggle Button (#1061) 2021-10-15 07:40:08 +05:30
Akshay
7023f72d1d
Feature: User access management 🔥 (#918)
* create migrations for group permissions setup

* define new entities and relationships

* revise migrations

* rename columns

* add migration to populate permission groups for existing users

* Feature: User access permission group usage (#883)

* create migrations for group permissions setup

* define new entities and relationships

* revise migrations

* rename columns

* add migration to populate permission groups for existing users

* revise migrations

* hide roles usage

* setup group permissions for apps and users

* fix defaultChecked

* fix update permission checkbox

* fix casl ability check to have params passed

* fix casl apps abilities to check with app specific permission

* add ability to delete groups

* conditionally render edit and delete options for all and admin users

* fix user role to group migration

* revise group management pages to disallow updating default group

* move manage users and groups to navbar dropdown

* show only addable apps and users on dropdowns

* rename header as profile settings

* scope addable apps and users by organization

* scope viewable apps on homepage

* hide manage groups link from non admins

* make permissions to be used with radio input

* add loading state for add apps/users buttons

* revise unit tests

* revise migrations

* fix e2e tests

* comment out dead code

* fix seeds script

* handle folder count

* captalize error toast

* hide manage users dropdown for non admins

* show fobidden error on blank homepage

* fix folder app count

* fix invalid state set

* make group name clickable for edit instead

* users with edit permission can deploy apps

* not show edit link on homepage if user dont have update permission

* remove unused entity from merge

* remove roles usage from manage org users page

* fix folder count and blank slate on homepage

* disable add buttons if there is no selections

* humanize default groups on view

* make app added onto groups have read permission by default

* not show app menu if user is not admin

* remove admin users from group user addition dropdown

* create default permissions for app cloned

* fix querying index page without page params

* fix admin scoped out from group add

* remove apps from header

* fix invitation url not shown

* scope admin deletion check by org

* scope public apps by organization

* add specs for group permissions e2e

* removed unused entity and add group permissions spec

* remove console logs

* remove unused permission

* scope public app count by org

* remove console log

* refactor manage group permission resources component

* update group permssion in org scope
2021-10-11 20:45:58 +05:30
Gandharv
53d6d5d73c
Bug fix: selection of correct navitem (#920)
This PR fixes the navbar when users are also highlighted
2021-10-07 11:19:58 +05:30
Akshit Arora
177782c955
Refactor: change pahtName to pathName (#911)
* change pahtName to pathName

* refactor: classname
2021-10-06 21:15:20 +05:30
Arpit
26c9cc655c
Fix linting errors across the app (#785)
* eslint-setup: rules for frontend and server

* setup pre-commit:hook

* frontend:eslint fixes

* frontend eslint errors and warning fixed

* eslint:fix for ./server

* fix server/test: expectatin string lint/error

* pre-commit:updated

* removed unwanted install cmd from docker file

* recommended settings and extension for vscode

* husky prepare script added

* updated extension recommendations

* added prettier as recommended extension

* added pre-commit to package.json

* remove .prettierrc file

* resolve changes

* resolve changes
2021-09-21 19:18:28 +05:30
Gandharv
9d347ff38f
fix import camelcase of GoogleSheets 2021-09-15 13:10:11 +05:30
Gandharv
a07bc59a72
Feature: Add dynamic form for datasources (#676)
* feat: add dynamic form (airtable)

* feat: add schema for rest api

* feat: add schema for graphql

* feat: add schema for stripe

* feat: add schema for google sheets

* feat: add schema for slack

* fix: options from correct key

* fix: schema url

* rename headers to http-headers

* fix placeholder

* feat: add schema for dynamodb

* feat: add schema for redis, elastic search, firestore

* feat: add shema for mongodb, postgresql

* feat: add mysql schema

* fix: remove azure option

* feat: add dropdown component flip type

* feat: add mssql schema

* chore: delete previous components

* remove console log

* fix: database value set as port

* feat: add helptext prop to input

* remove unwanted class on toggle

* change placeholders

* change placeholder

* fix typo

* add ssl_enabled to schema
2021-09-15 08:20:55 +05:30
Arpit
9682a82d4b
Login redirection (#712)
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-09-08 18:39:30 +05:30
Akshay
960bacd0c6
fixes pagination on home page (#589) 2021-08-24 11:14:16 +05:30
Gandharv
6837104171
Feature: redesign left sidebar 🎉 (#512)
* feat: add left sidebar new ui ❇️

* new: add svg spring motion dark mode icons

* - add tooltip
- reduce icon size to 20px h&w
- fix indentation

* remove logs

* fix: typo

* fix: on click of arrow the ref was not captured, react repo has reference to this issue at : https://github.com/facebook/react/issues/20325

* css fixes

* color changes for moon icon

* revert css'

* fix back button not working due to incorrect clean up function

* feat: add use-router hook component

* - make sun svg have a white circle inside
- fix the alignment of darkmode toggle on homepage

* fix: pkg lock after fresh install with 7.20.x
2021-08-17 11:31:12 +05:30
Sherfin Shamsudeen
f4cb29ff69
Feature: Profile page for users (#501)
* Add endpoint to update user first and last name, password

* Add settings page that allows editing user details

* Respond with first and last name when user is updated

* Add 'Settings' item in the drop-down down for user

* Add newline for index.js of settings page

* Supply missing newlines

* Ask for current password inorder to change password

* Add end-point to change password

This commit also adds a Guard to ensure that the user reenters
existing valid password.

* Add e2e test for change_password endpoint

* Copy change for the toast presenting misentered current password while changing password

* Change password when enter key is pressed from 'new password' box

* Add newline and the end of password-revalidate.guard.ts
2021-08-12 21:03:52 +05:30
Navaneeth Pk
150961b591
Feature/dark mode (#366)
* Dark mode part 1

* Dark mode part 2

* Dark mode part 3

* Dark mode part 4

* Dark mode part 5

* Dark mode part 6

* Dark mode part 7

* Dark mode part 7

* Dark mode part 8

* set light mode as default

* Dark mode part 9

* Dark mode part 10

* Dark mode part 11
2021-07-03 19:47:47 +05:30
Prasad Walvekar
c7446d4046
Chore: Rename class to className (#345) 2021-06-28 13:10:14 +05:30
Prasad Walvekar
b0310091b2
Fix console warnings (#344) 2021-06-28 11:58:00 +05:30
Navaneeth Pk
22e3002265
Feature: Delete apps (#323) 2021-06-25 23:13:44 +05:30
Prasad Walvekar
ab6706f1ba
[Tests] Dashboard header (#308)
* Add E2E tests for Dashboard header

* Move data attribute to table
2021-06-24 21:34:45 +05:30
navaneeth
f72811b9bb Feature: Onboarding page for self-hosted installations 2021-06-06 12:27:27 +05:30
navaneeth
472861c455 Remove header menu button 2021-06-04 00:07:51 +05:30
navaneeth
96e64cd744 Cleanup dashboard to support mobile devices 2021-06-04 00:02:42 +05:30
navaneeth
ab03d55d50 Remove external svg dependencies 2021-05-31 16:08:18 +05:30
navaneeth
c6923bd77f Fixed a bug that crashed dashboard 2021-05-25 21:03:17 +05:30
navaneeth
cf8f760409 Cleanup organization users page 2021-05-25 19:23:33 +05:30
navaneeth
0d327bae34 Update ashboard headers 2021-05-25 18:48:17 +05:30
navaneeth
c40dd34b32 Changed assets directory to work with firebase 2021-05-20 10:21:36 +05:30
navaneeth
6742734b9a Fix for incorrect header height 2021-05-19 16:43:39 +05:30
navaneeth
14f237b574 Added header component for dashboard & users pages 2021-05-19 16:15:36 +05:30
navaneeth
e6198809ba Fix for incorrect total number of apps 2021-05-19 14:46:42 +05:30
navaneeth
ad4ddea5cd Show page stats in pagination component 2021-05-19 12:09:12 +05:30
navaneeth
8aa1bb5070 Paginate apps on dashboard 2021-05-19 12:06:18 +05:30
navaneeth
542e706328 Pagination component 2021-05-19 12:05:29 +05:30
navaneeth
c58f01eb52 Fixes for public applications 2021-05-07 15:56:51 +05:30
navaneeth
2787d9efd5 Feature: Public applications 🎉 2021-05-07 13:55:09 +05:30
navaneeth
2e3e637eb2 Setup prettier, suggested fixes 2021-04-30 12:01:32 +05:30
navaneeth
ffa2fb03d1 Initial commit for react app 2021-03-31 19:31:01 +05:30