Commit graph

120 commits

Author SHA1 Message Date
navaneeth
bc19612b3a Merge branch 'release/v0.10.0' 2021-12-07 21:21:33 +05:30
navaneeth
0a6173bec1 Hoxfix for device window width 2021-12-03 18:34:33 +05:30
navaneeth
6ca57daf1e Merge remote-tracking branch 'origin/main' into develop 2021-12-03 18:28:27 +05:30
Navaneeth Pk
819f223b99
Default to desktop view if no widgets on mobile layout (#1506)
* Default to desktop view if no widgets on mobile layout

* Revert

* Fix
2021-12-03 18:27:53 +05:30
Navaneeth Pk
1408f5725e
Update logo colors (#1477) 2021-12-01 16:12:32 +05:30
Navaneeth Pk
20cccd1df7
Responsive canvas (#1363)
* Better canvas

* Better canvas

* Better canvas

* Fix for resize

* Fix for drag

* Fix for drag

* Fix for drag

* Adjust width of components by # of grid lines

* Adjust components to comply with gridline based width

* Fix the width of rigth sidebar

* Fix for subcontainer resize issue

* Fix for dropped widget width (sc)

* Fix subcontainer drag width

* Fix grid for sub container

* Fix viewer

* Fix

* Fix

* Use RnD for dragging within canvas

* bounds for subcontainers

* fix for subcontainers

* Fix for mouseover issue

* Fix

* Fix widget widths

* Fixes chart

* Fixes qr scanner and divider

* Remove scaleValue

* Mmerge fix

* Mmerge fix

* Fix for ormconfig

* Fixes for comments

* Add comment where the user clicked

* Disable dragging on viewer

* Max width for canvas

* Fix for widget click events

* Fix for radio button

* Rebase widget width and left offset for responsive canvas

* Fix

* Fix the width of file picker

* Fix for calendar widget

* Disable zoom selector

* Fixes comment positions

* css fixes

* Fix

* Recompute width and offset of subcontainer widgets based on its parent's width

* Calculate container width separately for modal children while migrating to responsive

* Refactor migration to responsive canvas whereinwhich all mutations are done only after all required changes are computed

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-11-16 17:14:09 +05:30
Nishant Samel
89c1f3f02c
Fixes logo alignment issue (#1291) 2021-10-26 10:03:25 +05:30
Sherfin Shamsudeen
53f510796f
Enforce order of app execution (#913)
* Run queries only after componentState is fully computed

* Run queries in the editor after componentState is computed

* Use promise ensure queries run after state is fully computed
2021-10-06 18:47:56 +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
Sherfin Shamsudeen
bd7242ff03
Bugfix/datepicker crashing when user types on it (#794)
* Validate datepicker has a moment object before using it as one

This commit ensures that the value a date picker holds is a moment
object before it format it using moment function

* Set selectedComponent for Viewer whenever component is clicked
2021-09-20 15:14:45 +05:30
Arpit
eab706089b
Router updates the url but not the view for launched apps when go to app event is fired. (#727)
* loading the application with the slug when props changed fixes the issue

* show the spinner when a new app is being loaded

* refactored
2021-09-15 21:28:15 +05:30
Navaneeth Pk
c5bf740507
Fixes datepicker z-index issue (#745) 2021-09-13 21:23:57 +05:30
Navaneeth Pk
e8eda697e6
Order of state computation (#732) 2021-09-13 12:47:45 +05:30
Navaneeth Pk
268167a86d
Fixes inconsistent exposed variables on viewer (#719) 2021-09-09 22:51:36 +05:30
Akshay
82f76e2799
Feature: app version preview & edit (#639)
* add ability to preview and edit versions

* add specs for get app versions

* create new app versions from prev definition

* fixes

* move default slug creation outside typeorm transaction

* set slug as app id when null

* fix app creation response

* fix entities not loading on test env

* add e2e test for version creation scenarios

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-08-30 17:13:27 +05:30
Gandharv
df1b7e905a
fix: dark mode toggle on app viewer (#556)
fix: dark mode toggle on app viewer
2021-08-20 15:35:39 +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
Navaneeth Pk
8ada8273a0
Feature: event action to switch apps (#342) 2021-06-28 12:06:23 +05:30
Navaneeth Pk
cc2983600e
Feature: url params should be accessible from apps (#337) 2021-06-27 12:59:55 +05:30
Akshay
b30b0b0b10
Feature: Friendly URLs for applications (#285)
* add migration to create slug for apps

* update migration file to include default slug population

* update schemafile

* add capability to get app by slug

* add capability to frontend to set and fetch app by slug

* remove unrelated changes from lint

* respond default 204 itself when success else render error

* make input field to show error when slug taken

* wip: show error message

* Cleanup

* add new route to fetch app by slug

* add slug to show json jbuilder

* update react components to fetch app by both id and slug

* fix launch link not being set

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-06-22 20:03:13 +05:30
navaneeth
8bf5e32a8e Prevent widgets from scaling out of window 2021-06-04 09:22:29 +05:30
navaneeth
6e081e977d Remove menu button from viewer 2021-06-04 00:23:51 +05:30
navaneeth
4700063eef Feature: Scale widget width to fit mobile devices 2021-06-03 22:10:54 +05:30
navaneeth
5664f2ef95 Feature: Detect devices and switch layouts 2021-06-03 21:45:27 +05:30
navaneeth
94bede4269 Feature: Switch visibility on devices 2021-06-03 20:36:49 +05:30
navaneeth
c40dd34b32 Changed assets directory to work with firebase 2021-05-20 10:21:36 +05:30
navaneeth
2787d9efd5 Feature: Public applications 🎉 2021-05-07 13:55:09 +05:30
navaneeth
8ecad4ff9b Loading progress-bar for app viewer 2021-05-03 17:57:46 +05:30
navaneeth
afc56e80a9 Fix for incorrect value of globals in app currentstate 2021-05-02 12:09:37 +05:30
Navaneeth Pk
8b481ae9f4
ESLint fixes (#138)
* ESLint fixes

* Eslinted
2021-04-30 13:40:57 +05:30
navaneeth
2e3e637eb2 Setup prettier, suggested fixes 2021-04-30 12:01:32 +05:30
navaneeth
d7e7f3bb72 BugFix for changeSet of tables not being updated sometimes 2021-04-26 23:10:43 +05:30
navaneeth
de5b6194e9 Feature: Multi-select dropdown as table column type 2021-04-26 22:41:27 +05:30
navaneeth
ae5d9c64b7 Feature: Components should be able to fire events from editor 2021-04-26 11:02:02 +05:30
navaneeth
cf107747cb Fix for broken link in app viewer 2021-04-25 19:40:35 +05:30
navaneeth
537c9986e6 Feature: Bulk update query for tables, GUI mode for postgres 2021-04-24 18:27:15 +05:30
navaneeth
a3cf5114aa BugFix: Disable drag in viewer mode 2021-04-21 12:22:57 +05:30
navaneeth
7b1b2f2c30 Display alerts if queries fail 2021-04-20 15:22:00 +05:30
navaneeth
df612ac09d Display app name in viewer 2021-04-20 11:25:31 +05:30
navaneeth
7d90f6d068 Show transformer errors as toasts 2021-04-18 20:51:37 +05:30
navaneeth
1cd26c07e7 Transformers can access currentState data 2021-04-18 20:29:58 +05:30
navaneeth
02e48b0171 Momentjs in transformers, buffix for transform editor 2021-04-18 18:47:55 +05:30
navaneeth
2156c19e5e Frontend: Authorise OAuth2 services 2021-04-18 14:59:44 +05:30
navaneeth
2f01a36a9e Frontend changes for deploying to firebase 2021-04-16 12:25:40 +05:30
navaneeth
e448840b8a Query services should use encrypted credentials 2021-04-15 13:17:24 +05:30
navaneeth
c49eb98d60 Component: Multiselect dropdown 2021-04-14 22:31:34 +05:30
navaneeth
f926a4d680 Action: Open webpage 2021-04-14 19:01:37 +05:30
navaneeth
78ee171868 Fix for multiple alerts being triggered 2021-04-14 09:56:44 +05:30
navaneeth
7cde21f7db Feature: Checkbox component 2021-04-12 13:24:13 +05:30
navaneeth
ad0e89eb82 BugFix: refreshing query with dynamic vars won't work 2021-04-11 10:51:53 +05:30
navaneeth
8511965f9c Minor UI changes 2021-04-11 10:05:11 +05:30
navaneeth
d52cf98cb2 Featue: Show notification on query success 2021-04-11 08:44:29 +05:30
navaneeth
87a44130c1 Use svg for logo 2021-04-10 16:54:47 +05:30
navaneeth
0206fa783b Feature: request confirmation before running queries 2021-04-10 10:03:00 +05:30
navaneeth
977667e9d3 Feature: Executing transformations, trying new logo 2021-04-10 08:02:23 +05:30
navaneeth
099637ff5f Feature: Loading state for queries & prop for table 2021-04-08 20:49:18 +05:30
navaneeth
b00b08b826 Ability to set name for table columns & map data 2021-04-08 14:37:35 +05:30
navaneeth
e355391a4e Resolve dynamic objects and arrays for queries 2021-04-08 12:50:44 +05:30
navaneeth
ad50b339cb OpenAPI editor for stripe - initial version 2021-04-08 11:53:39 +05:30
navaneeth
19455a605d BugFix: Issue in updating position of dropped components 2021-04-07 14:19:51 +05:30
navaneeth
336e76a45b Feature: Can run queries on page load 2021-04-07 12:33:03 +05:30
navaneeth
2e7eaa7fe3 Feature: Event selector for table action buttons 2021-04-06 19:46:32 +05:30
navaneeth
10ab817f22 Dynamic variables for postgres queries 2021-04-06 08:44:52 +05:30
navaneeth
cc782ab2f4 onRowClicked event for tables 2021-04-05 13:19:17 +05:30
navaneeth
bdd8ec3d70 Bindings for components results/other data 2021-04-04 18:41:17 +05:30
navaneeth
109204287e Dynamic bindings for queries 2021-04-04 12:16:53 +05:30
navaneeth
ff7c915026 Feature: Dynamic data for tables 2021-04-04 11:56:46 +05:30
navaneeth
e9724d0e72 Features: Run queries, execute PG queries on backend 2021-04-04 09:18:04 +05:30
navaneeth
285ade7bd0 Feature: Actions - alert action for buttons 2021-04-02 21:12:48 +05:30
navaneeth
782def75b3 Feature: App viewer 2021-04-02 16:39:55 +05:30