Commit Graph

4504 Commits

Author SHA1 Message Date
Shrikant Sharat Kandula
6accb9e364
fix: Use CDN for all assets (#10417)
Co-authored-by: Nayan <nayan@appsmith.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2022-01-26 02:19:43 +05:30
Ashok Kumar M
2a8e37bf3b
feat: Sliding Canvas for Dragging and Selection (#9983)
* Move existing canvas's to CanvasArenas folder

* moving hooks to canvas arenas folder.

* Sticky canvas implementation.

* fixing specs(WIP)

* dip

* fixing test cases.

* removing comments.

* fixing build

* renaming for readability.

* adding folder for canvas based sagas.

* Resolve conflicts.

* fixing failed cases.

* fixing cypress cases.

* fixing bugs introduced coz of drag and drop.

* fixing bugs.

* few more bug fixes in draw to select.

* mouse pointer default when drag to select.

* bug fix.

* dip

* integrating intersection api.

* dip need to adjust offset

* fixing offset issues.

* readability fix

* rebase bug fixes.

* bug fix.

* adjust canvas slider on mouse over.

* unwanted changes.

* left offset fix + removing dead code.

* fixing bugs.

* fixing broken test cases.

* addressing code review comments.
2022-01-25 20:58:31 +05:30
NandanAnantharamu
91986714f6
test: commenting out Typescript tests (#10619) 2022-01-25 20:21:54 +05:30
NandanAnantharamu
5245984ff8
test: Table Download test (#10571)
* Table Download test

* updated test
2022-01-25 19:37:51 +05:30
Confidence Okoghenun
98a8aab728
feat: Adds code hint for JS promises in JS Object editor (#10570) 2022-01-25 19:34:10 +05:30
akash-codemonk
94d37f55dd
feat: improved guided tour (#9125) 2022-01-25 19:26:52 +05:30
Ankita Kinger
e30fec9109
fix: Incorrect member list sorting on user roles (#10594) 2022-01-25 19:25:32 +05:30
Bhavin K
b52ec44966
fix: changed cap default to fix ux issue on js toggle (#10424)
* fix: changed cap default to fix ux issue on js toggle

* fix: hard check on capSide hide

* fix: always show capSide if dynamic capType

* docs: label, help text update

* fix: remove hidden condition
2022-01-25 13:54:36 +00:00
Bhavin K
cd02572374
fix: table column name migration update (#10383)
* fix: table column name migration update

* test: added test case for migration

* fix: migration version update

* fix: update latest version logic

* fix: cypress updated

* fix: updated test case

* fix: delay added

* fix: test case update

* fix/ one more custom column added
2022-01-25 13:54:13 +00:00
Apeksha Bhosale
5f91f2d20f
added functions while checking isAsync (#10425) 2022-01-25 13:53:53 +00:00
ankurrsinghal
3e0749c82f
fix: hover highlight for menu item (#10610)
Co-authored-by: Ankur Singhal <ankursinghal@Ankurs-MacBook-Pro.local>
2022-01-25 15:15:52 +05:30
rahulramesha
302cdf0d03
fix: Reflow onboarding typo fix (#10543)
* fixing reflow on boarding typo
2022-01-21 20:08:47 +05:30
Favour Ohanekwu
1b858bcf5c
fix: Remove private widgets from autocompletion (#10535) 2022-01-21 13:08:40 +01:00
Ashok Kumar M
6bc1bdd5e1
fix: Fixing GRID_DENSITY_MIGRATION_V1 based configs and adding test cases. (#10488) 2022-01-21 15:49:10 +05:30
Bhavin K
9976cb5018
fix: handle no color as transperant (#10498) 2022-01-21 15:31:30 +05:30
rahulramesha
1b2295d31f
react spring upgrade (#10427)
Upgrading react-spring
2022-01-21 11:42:46 +05:30
akash-codemonk
978e820b9f
fix: page settings invoking onClick on drag (#10449) 2022-01-21 11:35:27 +05:30
Leo Thomas
58b376fa9b
fix: Fix 10463 js object cloning issue (#10523)
* fixes js object cloning issue

* fix10463- JSObject returning new name of cloned object

Co-authored-by: Irongade <adeoluayangade@yahoo.com>
Co-authored-by: Leo Thomas <leoweb2010@gmail.com>
2022-01-20 22:02:11 +05:30
Favour Ohanekwu
f7ce277e4c
fix: currentItem showing error in debugger for list widgets (#10338) 2022-01-20 11:59:03 +01:00
rahulramesha
b6bcfec549
chore: Reflow Info Card (#10481)
* removing reflow flag and adding Reflow Info card

* verbage correction

* adding reflow docs link
2022-01-20 14:59:09 +05:30
Aishwarya-U-R
067d18a84e
test: Skipping JSObjectToListWidgetSpec.ts until open bug is fixed (#10477)
This PR skips tests from JSObject_To_ListWidgetSpec.ts until Bug #10284 is fixed
2022-01-19 17:37:30 +05:30
Bhavin K
832622a221
fix/datepicker derived property condition updates (#10353)
- fixed mix / max date validation error on datepicker
2022-01-19 16:29:08 +05:30
Parthvi12
69fabb908b
Automated mongoDB app with CRUD operations (#10409) 2022-01-19 13:55:14 +05:30
Bhavin K
63ce7e108a
fix: changed height calc for embeded app page (#10440) 2022-01-19 11:48:11 +05:30
Tolulope Adetula
70cff3c373
fix: Copy and paste (#10422)
* fix: Copy and paste

* fix: test cases

* fix: onPaste action

* Update index.tsx
2022-01-18 19:54:34 +01:00
Parthvi12
a8eb1d838b
test: Adding fix for Chart_Widget_Loading_spec (#10462)
* Adding fix for Chart_Widget_Loading_spec

* adding wait after reloading

* commenting delete datasource part

* updating test

Co-authored-by: Parthvi Goswami <parthvigoswami@Parthvis-MacBook-Pro.local>
2022-01-18 21:07:29 +05:30
Arsalan Yaldram
de3298ae9c
feat: Added Circular progress Widget (#10244)
* Added Circular Porgress Widget

* Updated the svg icon for the widget.

* Added strokeLineCap prop to the widget.

* Added Rounding for percent values.

* Review Changes completed. Removed un-necessary props, added Default Values.

* App crashes when a modal has a filepicker? (#10376)

(cherry picked from commit f646eeafc1)

* Revert "chore: Don't take client subscription into account for fork application (#10220)" (#10375)

This reverts commit 814a7d57f9.

* Added widget entries in TernServer files.

* Added Radial Separators.

* Removed Steps Functionality.

* Added isJSConvertible to progress property.

* Resovled eslint error under EntityDefinition.ts

Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com>
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
Co-authored-by: Abhijeet <41686026+abhvsn@users.noreply.github.com>
2022-01-18 14:36:14 +00:00
Ayangade Adeoluwa
28a3f59452
feat: Displays validation errors corresponding to a particular form control. (#10365)
* initial implementation, still WIP

* Cleaning up implementation

* added types for evaluation errors and error handling

* remove unneccessary console.log

* better naming for variables

* add unique identifier for error text

* add unique identifier for error text message
2022-01-18 13:09:04 +01:00
Ayangade Adeoluwa
f9e8c84fcd
fix: Fixes UI inconsistencies on the app (#10433)
* Fixes UI inconsistencies on the app

* using a better implementation
2022-01-18 10:09:34 +01:00
balajisoundar
02785b90b2
feat: Input, Phone no., Currency input widget (#10259)
* feat: Input, Phone no., Currency Widget

* cypress tests, jest test, QA and CR callouts

* fix tests

* Cypress and jest test fixes
2022-01-18 13:22:24 +05:30
Keyur Paralkar
d88022939e
fix: added loading state for chart widget (#10262)
* fix: added loading state for chart widget

* test: added cypress tests

* refactor: moved the loading logic from widget to component
2022-01-18 13:21:28 +05:30
akash-codemonk
541e105b07
fix: Signposting intro modal UI issue (#10403) 2022-01-18 12:42:52 +05:30
Ayush Pahwa
a6d2d6fd89
feat: 5705 entity selector component (#10400)
* Added new files for entity selector component

* Add error handling to data fetched via API

* Added init eval for schemas in entity selector

* Extracting conditionalOutput for schema from state and passing it to individual schema

* Removed unnecessary loop

* Fixed CSS of ES, added new Icon

* Minor refactor
2022-01-18 07:10:58 +00:00
Pawan Kumar
8e03dae88e
fix http issue in filepicker v1 too (#10426)
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2022-01-17 10:34:45 +00:00
Parthvi12
4871035742
test: Adding fix for Table_widget_add_button spec's test (#10423)
* Adding fix for Table_widget_add_button spec's test

* updating test

* commenting changing column type to button in second test
2022-01-17 15:00:58 +05:30
Paul Li
fa29fef4a5
fix: When all the rows are hidden the user must not be displayed with number of records or pages in the Deploy mode (#10356)
* fix: When all the rows are hidden the user must not be displayed with number of records or pages in the Deploy mode

-- Make header options JS convertible

* fix: When all the rows are hidden the user must not be displayed with number of records or pages in the Deploy mode

-- Fix a broken test case accordingly
2022-01-16 15:04:24 +08:00
dependabot[bot]
bfc6b1f29b
chore: bump follow-redirects from 1.13.0 to 1.14.7 in /app/client (#10371)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 12:42:25 +05:30
dependabot[bot]
a033cd3a19
chore: bump postcss from 7.0.35 to 8.2.13 in /app/client (#10246)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...8.2.13)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2022-01-15 12:41:36 +05:30
Snyk bot
4bc56cb99e
chore: [Snyk] Security upgrade node-sass from 7.0.0 to 7.0.1 (#10016)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2022-01-15 04:25:27 +05:30
imgbot[bot]
cca32e7e6d
chore: [ImgBot] Optimize images (#10344)
*Total -- 240.33kb -> 209.06kb (13.01%)

/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/EmptyApp.snap.png -- 20.32kb -> 13.87kb (31.78%)
/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/loginpage.snap.png -- 35.57kb -> 26.33kb (25.96%)
/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/Profile.snap.png -- 31.54kb -> 24.07kb (23.66%)
/app/client/cypress/fixtures/GlobeChristmas.jpeg -- 149.94kb -> 141.86kb (5.39%)
/app/client/src/widgets/ProgressBarWidget/icon.svg -- 0.86kb -> 0.84kb (1.82%)
/app/client/src/assets/icons/widget/tabs/scroll-nav-left.svg -- 0.24kb -> 0.23kb (1.24%)
/app/client/src/assets/icons/widget/tabs/scroll-nav-right.svg -- 0.24kb -> 0.23kb (1.24%)
/app/client/src/widgets/MapChartWidget/icon.svg -- 0.82kb -> 0.81kb (0.72%)
/app/client/src/assets/icons/widget/map-chart.svg -- 0.82kb -> 0.81kb (0.72%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-01-14 23:23:24 +05:30
Ayangade Adeoluwa
3d8e605245
projection selector component (#10294) 2022-01-14 19:23:33 +05:30
Ayush Pahwa
f100b5918d
fix: Where clause UI fixes (10406) (#10411)
* Replaced vh with vw, fixed logic for customStyles

* Removed console logs

* Updated width of the dropdown options

* Fixes where clause filter group delete icon placement

Co-authored-by: Irongade <adeoluayangade@yahoo.com>
2022-01-14 19:20:54 +05:30
Favour Ohanekwu
72f8b7e2e1
feat: Support OAuth for all plugin types (#9657)
* customize datasource authorization

* improve performance

* fix save datasource bug

* switch auth type from form config

* better naming of components

* fix minor bug

* minor bug fix

* minor bug fix

* syntax cleanup

* Add comments where necessary

* Added comments where necessary

* fix broken airtable page

* code refactor and annotation
2022-01-14 12:01:54 +05:30
Anand Srinivasan
2bcd73e41d
fix: revert this.params solution (#10322)
* revert changes

* code clean up

Co-authored-by: Apeksha Bhosale <7846888+ApekshaBhosale@users.noreply.github.com>
2022-01-14 11:50:01 +05:30
albinAppsmith
ea0f0fd176
fix: Widget pane not closing when switching from canvas (#10323) 2022-01-14 11:29:19 +05:30
Arpit Mohan
18276f962b
chore: Removing trailing slash from application API endpoint. (#10316)
- This causes issues in Vercel's deploy preview when creating an app.
2022-01-13 17:49:58 +00:00
Shrikant Sharat Kandula
3610241b38
Fix path to http nginx config file (#10395) 2022-01-13 19:02:35 +05:30
Ashok Kumar M
0149085bf8
feat: Reflow and Resize while Dragging and Resizing widgets. (#9054)
* resize n reflow rough cut

* removing warnings

* relatively stable changes

* minor bug fix

* reflow relative collision

* working dp cut

* fix for reflow of widgets closer next to each other

* disabling scroll

* Drag with reflow

* reflow fix

* overlap and retracing fix

* On Drop updates.

* bug when no displacement but resize update.

* temp fix for new widget addition.

* reflow bug fixes

* new widget addition bug.

* stop reflow on leave.

* fix corner case overlap

* update bottom row when reflowed widgets go beyond bottom boundary.

* capture mouse positions on enter

* enable container jumps with faster mouse movements.

* reflow only for snap changes.

* restructured reflow Algorithm

* collision check and bug fixes

* undo redo fix for new widget drop

* resizable fix snapRows fix

* directional stability

* self collision fix

* first round of perf fixes

* update bottom row while resizing and resize-reflowing

* performance fix and overlapping fix

* Remove eslint warning

* remove eslint warning

* eslint warning

* can reflowed Drop Indication Stability

* container jumps and force direction on entering canvas

* fixing scroll on resize jitters.

* reflow when jumping into container.

* reflow ux fixes while leaving container

* resizing fixes.

* fixes for edge move.

* restrict container jumps into reflowed containers.

* container jump direction reflow

* checkbox dimensions fix.

* Excess bottom rows not lost post dragging or resizing widgets.

* fixing the after drop css glitch.

* double first move trigger bug fix.

* stop reflow only if reflowing

* stabilize container exit directions

* using acceleration and speed instead of movement covered to restrict reflow.

* fixing modal drops.

* remove warnings.

* reflow resize styles

* moving acceleration and movement logic to a monitoring effect.

* adding beta flag for reflow.

* fixing jest tests

* Adding analytics to beta flag toggle.

* Adding placeholder for reflow beta screens.

* fixing initial load's screen

* few more crashes.

* force close onboarding for the session.

* fixing bugs in reset canvas.

* Beta flag bug fixes.

* fixing bugs.

* restrict reflow screens during onboarding.

* disabling reflow screens in tests.

* code review comments.

* fixing store based specs.

* fixing cypress failures.

* fixing specs.

* code cleanup

* reverting yarn lock changes

* removing onboarding screens.

* more cleanup and function descriptors

* keeping reflow under the hood.

Co-authored-by: rahulramesha <rahul@appsmith.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2022-01-13 18:51:57 +05:30
Daniel
19f00cbca7
Merge pull request #10328 from appsmithorg/fix/broken-datasource-alignment
fix: Datasource alignment is broken under the active tab
2022-01-13 11:49:04 +01:00
Aman Agarwal
8cc35e797e
fix: added condition for where clause evaluated value binding path (#10308) 2022-01-13 14:22:00 +05:30