Commit graph

306 commits

Author SHA1 Message Date
Gandharv
df5df1a352
Add padding to align the editor header with sidebar (#1594) 2021-12-16 13:05:07 +05:30
Gandharv
9a9c4dbfa8
Change app version name to 10px (#1591)
Adds font size to `.app-version-name`
2021-12-16 13:03:20 +05:30
Arpit
847fe94850
[Chore] Popup Code Hinter component style fixes (#1561)
* popup icon alignment:fix

* preview bg code block in popup hinter

* portal modal style fixes

* theme classes for preview error

* style fixes

* style fixes-darkmode height

* added color var and theme border mixin

* not related
2021-12-15 09:53:17 +05:30
Arpit
9172f9aa96
[Bugfix] fixes app-name in darkmode (#1564)
* fixes app-name in darkmode

* added  bgdark var to scss
2021-12-11 04:36:03 +05:30
Arpit
b9754c4b6b
[Feature] popup modal for code hinter (#1465)
* portal for code hinter popup

* codehinter portal styles

* portal editor height

* update icons

* hinter changes

* refactoring to a separate dir

* code hinter - portal

* component details added in the portal header

* portal header: source name fixed

* portal header: inlcludes field name in the header

* display field names for rest api

* display field names for transformation

* handle for empty component names

* portal preview code bg

* foreUpdate

* foreUpdate

* refactored and using same codemirror component to render portal's editor

* clone codemirror to two different component

* fixed - need click to render the field data

* force update

* table component cell types: included

* chart component types: included

* alignment of the preview area

* btn color adapts to theme-fix

* remove console.logs

* disable portal editor for event manager

* scss unsued ruleset removed

* name fixes and remove unsued var

* .

* null check

* removed hardcode componentName

* app z-indexes: added z-index for suggestion-hints

* hook exhaustive-deps

* portal custom hook

* updated function name

* icon position fix

* hinter fails to open in certail scenarios: fixed
2021-12-10 08:39:23 +05:30
Gandharv
bdc3353f09
remove bg color from canvas container (#1544) 2021-12-09 12:59:41 +05:30
Gandharv
9ada6d2aa6
Reduce 3px from editor and inspector (#1540) 2021-12-09 10:12:34 +05:30
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
Gandharv
53808bad0d
fix color diff in library page (#1533) 2021-12-07 20:54:53 +05:30
Gandharv
d8c3556d3e
change max-height to height for homepage body (#1527) 2021-12-07 18:06:43 +05:30
Gandharv
8eca3b4fe1
fix: dark mode styles for widget inspector (#1526) 2021-12-07 17:37:55 +05:30
Gandharv
0c57a0b728
main wrapper position relative change (#1523) 2021-12-07 14:17:02 +05:30
Gandharv
f3828339cb
fix: tabs text jump in inspector (#1508) 2021-12-05 15:31:57 +05:30
navaneeth
e7fc123b2a Update color of folder app count badges 2021-12-04 23:18:16 +05:30
navaneeth
5a98cb8ac2 App title should not overflow to next line 2021-12-04 23:13:54 +05:30
Gandharv
06201a3679
Split properties and styles for component inspector (#1467)
* split properties and styles for component inspector

* add accordion for table component

* add accordion to charts.jsx

* add accordion button css

* css changes

* move +add to right + change basic fields to properties

* keep events and layout closed by default

* center empty text

* add empty text for handler events

* css changes

* add margin bottom for table columns+cards

* css fixes

* add spacing below add+ button
2021-12-04 23:11:25 +05:30
navaneeth
c834f4fc26 Change the table widget scrollbar track color 2021-12-01 18:14:35 +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
Sherfin Shamsudeen
c2ad1f029d
Set overflow to auto for .jet-data-table:hover (#1457) 2021-11-25 13:28:10 +05:30
Navaneeth Pk
354ccd7786
Tabs widget (#1438)
* Feature: Tab widget

* Fix container in container crash

* Container inside tabs

* props

* Fix

* Add icon

* Default tab property

* Fix lint issues with Tabs.jsx

* Introduce tab id to select between tabs

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-11-22 21:41:26 +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
Arpit
7663147525
Feature: Code editor widget (#1381)
* Code Editor Widget

* code editor docs added

* updated to Code Mirror

* updated to Code Mirror

* Language resources do not need to be importe in @codemirror-v3.x

* code editor docs: updated with language mode info and link

* comment pkg.json for future ref - @uiw/react-codemirror versions

* docs: supported lang

* widget reference sidebar alphabetical order

* removed comment form pkg.json
2021-11-15 12:12:02 +05:30
Gandharv
6c02987cb7
Fixes nav links css for dark mode (#1396) 2021-11-11 21:22:31 +05:30
navaneeth
6d8ac86f36 Fixes nav tab font inconsistency 2021-11-04 14:49:49 +05:30
Sherfin Shamsudeen
8bbbbfc869
Feature: Calendar widget 🗓 (#1368)
* Insert required boilerplate code for Calendar widget

* Display basic calendar

* Display events on calendar widget

* Pass JS date object as calendar default event date

* Add resource scheduling to Calendar widget

* Add icon for Calendar widget

* Allow configuration of views and default view for calendar

* Add onEventSelect event to Calendar widget

* Accept date as string for Calendar

* Option to disable/enable toolbar in Calendar

* Add default date to Calendar

* Add support for setting color of calendar events

* Set calendar cell size to 50px

* Allow spacious and compact cell sizes for Calendar

* Add support for "select slots" event for calendar

* Add support for custom event tooltip for Calendar

* Add support to not highlight today and now in Calendar

* Add visible border for Calendar events

* Set 14px font size for calendar toolbar

* Add dark mode styles for calendar

* Make calendar view mode controllable with logic

* Add documentation for calendar widget

* Add additional documentation for calendar events

* Expose default view instead of view for calendar

* Add documentation for changes in calendar

* Style updates to calendar

* Increase padding for calendar events
2021-11-04 14:23:50 +05:30
Gandharv
3e1a5c1fb0
UI: Add a preview loader while a comment is being added to the canvas (#1358)
* ui: add a comment-loader while a comment is being added

* ui: add loader while notifications are being loaded

* add correct y co-ordinate for temp loader

* on tab change add loader for comment sidebar notifications
2021-11-03 19:36:18 +05:30
Gandharv
ff8a6a0e61
reduce header size and fix launch button border (#1355) 2021-11-02 10:59:40 +05:30
Gandharv
22bce1f4fb
Feature: Collaboration ( realtime comments for canvas ) 🔥 (#810)
* feat: initial commit for collaboration feature

* add dnd to comments

* add positions endpoint

* feat: encapsulate all http common logic in http-client

* segregate sections and transfer responsibility of state

* feat: use-spring to add fade effect 

* fix: open in right

* fix: left-right position css

* add footer for message

* integrate getcomment endpoint

* use fromnow for date ago

* add dnd

* - Add data trasfer object for comment
- Add class-validator package to check the response type from client
- Add comment repository class for persistance layer
- Add comment service with std. http methods
- Update controller with all http methods
- Update comment module
- Fix http-client bug when error is thrown

* fix http client bug when error is thrown

* feat: add entity thread

* feat: add migrations for thread and comment

* update entitites

* add tid to migration

* filter comments by tid(thread_id)

* fix: comment migration, add missing column comment

* feat: integrate in ui

* feat: split comments based on app_id

* fix: dnd to correct position

* package json engines

* engines update

* update npm

* npm 6 to 7

* fix: add user initials to thread

* fix: add firtname lastname to the comments

* - Return user object when save thread called
- Hide password field from user response
- Fix created_at date typo
- Instead of fetch all threads on new thread added, add the response to array of existing threads

* feat: update ui components

* change icon on comments view

* ui fixes

* fix: close icon close the popover

* temp: comment select: false

* use currentUser from localStorage

* fix: on click outside if comment is open, dont hit addThread

* fix: auth token issue in http-client

* on drag hide the comment if open

* add jwt auth

* spec: add test for comment & thread

* cleanup: remove console.log

* feat: add comment actions

* feat: add edit, delete, resolve options

* feat: add mentions component

* feat: add nestjs websockets

* temp

* websocket: establish client-server communication

* ws: add message listner to comments module in ui

* feat: add broadcast method to broadcast new events to all clients 💣

* ws: cleanup 🤙

* fix: remove max height from comment actions

* feat: add user mentions, emoji support

* fix: add static list of users - temp

* update and delete iterations

* - Rename comment, thread to comments, threads
- Add conditional actions
  - Show edit, delete only if he is comment owner
  - Show resolve only if he is thread owner

* reset engines

* move svgr webpack to deps

* fix: ui issues

* remove log stmt

* refactor: move resolved icon to comment-header

* feat: allow comments to be added on top of widgets

* feat: add keyboard shortcut

* scroll to bottom on comment add

* ui fixes

* feat: add react toast for notification display

* feat: add comment badge

* fix: ws connection

* fix: ws

* remove rvrse

* feat: add comment sidebar

* feat: add comment right sidebar

* fix: add missing foreign key elements

* - upgrade typeorm to 0.2.38
- comment sidebar ui
- added filter ui

* feat: on click of right sidebar notificaiton open the comment box

* reset engines

* fix: add organization id to the comment and thread module

* fix: add current version id

* add currentversion id

* disable comments if no id present

* temp:checking for heroku deploy

* fetch app on edit and deploy version

* rename current_version_id to app_versions_id

* ui fixes

* show mentioned user in blue color

* add ui changes

* add authorization for create thread

* change color to blue on click of comment, add auth for other endpoints of thread

* update threads, notifications using socket

* add auth for comments

* remove events spec file

* fix duplicate key error

* fix notificaitons updation on edit, delete, resolve buttons clicked

* update notifications for edit

* feature toggle changes for frontend

* add check for comments server

* add emoji mart package for emoji

* add reply count in comment sidebar

* subtract 1 from count in comment sidebar

* change empty text when no comments available
2021-11-01 12:58:03 +05:30
Yash Soni
765fdf007a
launch btn css fix (#1308) 2021-10-28 02:44:31 +05:30
akk312000
0192563232
Breadcrumbs not visible in dark mode #1028 (#1313)
* Added email field on profile page

* Fix:Breadcrumbs not visible in dark mode
2021-10-28 02:35:18 +05:30
navaneeth
669bc896fc Merge remote-tracking branch 'origin/main' into develop 2021-10-26 18:34:40 +05:30
Arpit
ed3b166628
select search component fixed: event manager - actions (#1303) 2021-10-26 17:08:52 +05:30
Nishant Samel
89c1f3f02c
Fixes logo alignment issue (#1291) 2021-10-26 10:03:25 +05:30
Rodolfo Nei
d5b062701a
fix widget documentation link to persist the applied theme (#1293) 2021-10-26 10:02:34 +05:30
Gurvir
f10727068e
Removes empty rulesets and commented out code (#1254) 2021-10-25 09:06:30 +05:30
SAI SUMANTH KUMAR
3ec6e2d06a
dropdown to H1 - H6 tags in Text Editor (#1207) 2021-10-24 20:43:55 +05:30
Mohammad Farhan
36d39cb47b
Fixes close button in dark mode (#1187) 2021-10-24 19:49:00 +05:30
Raj Mhatre
a238efe062
fixed edit icon in databse section in dark mode (#1215) 2021-10-24 19:47:36 +05:30
SAI SUMANTH KUMAR
eec6263dda
Fixes the overflow issue of text editor (#1214)
* Update DraftEditor.jsx

* Update theme.scss
2021-10-23 17:50:53 +05:30
Sherfin Shamsudeen
65b5735b74
Feature/resize dropdowns (#1206)
* Resize dropdown height

* Fix for label

* fix

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-10-22 14:42:37 +05:30
Sherfin Shamsudeen
a7502e5f03
Feature/cell types (#1194)
* Add custom spacing for table cells

* Add migration to set every tables cell spacing compact

* Rename cellSpacing to cellSize

* Add documentation for table cellSize
2021-10-22 07:49:51 +05:30
Trevor Bayless
8ccdb3eedb
Update theme so all hr-text classes respond to theme switching (#1168) 2021-10-21 07:48:17 +05:30
Aratrik Pal
25009b3a2a
Email should not be clickable #972 (#1163) 2021-10-20 22:50:29 +05:30
Ksathwik03
82b1237128
Remove border radius of container widget (#1151) 2021-10-19 16:52:51 +05:30
Raj Mhatre
ccb5df757e
fixed edit icon in inspector not visible in dark mode (#1133) 2021-10-18 20:16:44 +05:30
Arpit
78d0ce343b
Bugfix: fix widgets alignment consistency (#1083)
* widgets dimensions updated: follow up PR-#869

* removed unwanted console.log

* toggle widget minor tweaks

* Fixes the padding of dropdown & multi-select dropdown

* Minor corrections

* Fix padding of datepicker and date range picker

* Fix for toggle switch

* fix checkbox and removed duplicate classname in radio widget

* multi-select width update

* fixed widgets styles

* alignment consistency

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-10-16 08:44:29 +05:30
Raj Mhatre
26cba4ece9
fixed dark mode text in groups page (#1099) 2021-10-16 08:41:34 +05:30
Srijit Mondal
ee047f441f
Aligns blue bottom border in query editor (#1033) 2021-10-14 13:44:58 +05:30
Raj Mhatre
7565ea5b20
Fixes section header color in dark mode (#1009) 2021-10-13 23:08:41 +05:30
Mohammad Farhan
99cb7fca78
missing table horizontal scroll fixed (#1017) 2021-10-13 22:31:54 +05:30
Deepanshu Dhruw
a1a4637eb5
updated font-weight of add folder button #956 (#960)
* updated font-weight of add folder btn

* added font-weight:500 css class in theme.scss and updated folder create classes
2021-10-11 08:31:03 +05:30
Sherfin Shamsudeen
258ba5c1da
Use focus pseudoclass instead of focus-within to highlight table-row (#925) 2021-10-07 13:13:53 +05:30
Arpit
22cfe0af89
Follow up PR to #869: update widgets size (#877)
* widgets dimensions updated: follow up PR-#869

* removed unwanted console.log

* toggle widget minor tweaks

* Fixes the padding of dropdown & multi-select dropdown

* Minor corrections

* Fix padding of datepicker and date range picker

* Fix for toggle switch

* fix checkbox and removed duplicate classname in radio widget

* multi-select width update

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-10-07 12:22:02 +05:30
Sherfin Shamsudeen
c2e97af003
Selected row should be highlighted for table widget (#902)
* Add functionality to highlight selected row

* Add migration to set highlightSelectRow to false for existing tables

* Add documentation for highlighting selected row

* Support highlighting selected row for striped table
2021-10-05 19:36:30 +05:30
Maurits Lourens
f1b80e1a07
Make table headers more legible in dark mode (#891) 2021-10-05 07:48:17 +05:30
Navaneeth Pk
5c380d98e8
Multiple minor fixes for table widget (#871) 2021-09-30 08:43:22 +05:30
Viraj Bahulkar
41387a32b9
Fix event handler name not visible in darkmode (#844)
* Fix event handler name not visible in darkmode

* Add filter property for dark and light colors

* Add class next to .theme-dark for darkmode
2021-09-27 19:37:02 +05:30
Gandharv
ec4fc4e582
Fixes striped table when element selected is text/dropdown/multiselect/editable/datepicker (#740)
* fix: striped table when element selected is text

* fix: when column type is dropdown fix ui

* fix: when category-type is multiselect

* fix: make overflow-x scroll so that more radio buttons can fit

* fix: when column is editable fix styles

* add text styles: additional

* fix: datepicker + striped table

* multicursor trick if to switch - witchcraft

* fix: add array check in tags component

* fix: action  buttons

* merge badge and badges case

* change overflow x to initial - temporary

* fix conflict

* add padding left, right

* Update frontend/src/Editor/Components/Table/Table.jsx

Co-authored-by: Sherfin Shamsudeen <sherfin@tooljet.io>

* increase min height from 35 -> 55

Co-authored-by: Sherfin Shamsudeen <sherfin@tooljet.io>
2021-09-27 18:27:06 +05:30
Arpit
5d0ae0ed69
Canvas grid resized when resizing a component and component snaps to the nearest grid. (#792)
* canvas grid resized when resizing a component and component snaps to the new next grid size

* resize grid while dragging and resizing a component in the canvas

* values refactored backward

* Minor changes

* Few more fixes

* remove resizer-selected

* Anotehr change

* Revert "Anotehr change"

This reverts commit 63a3649bff.

* clicking on canvas area, dis-selects the widget and selectedComponent={}

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-09-27 15:18:02 +05:30
Gandharv
f09542180f
add datasource type into individual schema (#762)
* feat: add datasource type into individual schema

* add active class when dark mode

* fix: change type key to source
2021-09-22 10:43:12 +05:30
Akhil G Krishnan
e14577a0db
Minimum text height added for dropdown elements. (#811) 2021-09-21 19:20:40 +05:30
Gandharv
5bb0594973
Enable suggestion box for codehinter (#737)
* enable suggestion box for codehinter

* add heading as type of the preview

* add preview only on focus

* remove box shadow

* add background to widget inspector documentation footer link

* doc footer updats

* add condition where boolean value was not getting printed

* use index as key
2021-09-15 21:10:59 +05:30
Navaneeth Pk
b1638dc0cb
Fix dropdown text height (#749) 2021-09-14 11:57:14 +05:30
navaneeth
980198c4fb Focused widgt should always be in the foreground 2021-09-08 14:24:51 +05:30
Akshay
2d20e262c9
Feature: Data query runs can also run events (#666)
* add capability to add events on data query runs

* UI fixes

* change popover placement to top
2021-09-06 20:10:51 +05:30
Navaneeth Pk
b12cc7f309
Input validation for widgets (#693)
* Validations

* Fix

* Validation for table cells

* fix
2021-09-06 14:20:38 +05:30
navaneeth
6d4ccd607c Theme color fixes for dark mode 2021-09-05 11:34:49 +05:30
navaneeth
696c5358d4 Remove extra margins from dropdowns 2021-09-05 11:02:17 +05:30
navaneeth
ab375398db Correct the dimensions of dropdowns for UI consistency 2021-09-05 10:42:03 +05:30
Gandharv
750d4b1d27
Reduce height of editor header from 56 -> 48px (#686)
* fix: reduce height of header from 56 -> 48px

* fix: tab highlight
2021-09-05 10:28:10 +05:30
Gandharv
bd98fbdeee
fix: query pane margin (#683) 2021-09-03 10:31:01 +05:30
Navaneeth Pk
8041834210
Show map center (#678) 2021-09-02 20:50:42 +05:30
Arpit
341ab2cae5
Fix for dashboard scroll issue (#668) 2021-09-01 21:07:24 +05:30
Gandharv
4b0c9e95c1
Redesigned widget sidebar (#655)
* design: change widget sidebar design

t # with '#' will be ignored, and an empty message aborts the commit.

* add empty text if search invalid

* fix: the expand query button getting cut

* make css changes

* small rgb fix

* add bg color

* feat: add integration section

* update categories

* add text, datepicker to common list

* remove space from title

* fix canvas alignment

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-09-01 18:41:17 +05:30
Gandharv
e7a254022b
change text i/p outline to gray-400 (#667) 2021-09-01 17:46:38 +05:30
Gandharv
a8c9845aa0
Remove overflow from table widget (#660) 2021-09-01 13:00:09 +05:30
Gandharv
633e8c9e88
fix datepicker styles (#658) 2021-09-01 10:25:59 +05:30
navaneeth
8a462c1fd1 Vertically align cell contents 2021-09-01 10:13:14 +05:30
Gandharv
1bfc6602fc textfield: firefox scrollbar issue fix (#650)
* textfield: firefox scrollbar issue fix

* cross-button: in widget inspector the cross was misaligned

* replace overflow scroll with auto
2021-08-31 19:40:11 +05:30
Gandharv
365e9e3cb3
Redesigned Rest api query builder 🎉 (#612)
* feat: add rest api new design

* fix page break on create/save query

* remove console.log

* align the i/p fields

* rename files

* remove border from i/p

* remove hover styles

* fix: filter empty headers, url_params, body

* fix when editmode headers empty

* fix the options on preview getting null

* fix navlink color on dark mode

* add color for non active tab in dark mode
2021-08-30 16:55:27 +05:30
navaneeth
1e2a6dfef5 BugFix: style consistency for color picker 2021-08-29 12:07:20 +05:30
Sherfin Shamsudeen
91b32adaed
Multi-events for action buttons, query params option for Go-to-app action (#560)
* Add query params option to Go-to-app action

This commit adds support for setting query params for the
go-to-app action. When the new app is launched, the passed in
object will be sent as search query params.

* Allow user to enter URL params in multiple input boxes

* Abstract goto-app action logic to a separate container

* Supply necessary newline

* Set 'type' of 'app' property of go-to-app action to 'text'

* List only those apps that has proper slugs for goto-app action

* Modify goto-app action config panel to support Event Manager

* Use EventManager instead of EventSelector for table action config

* Add data migration to make old apps support multiple event handlers

* Fix UpdateDefinitionsForTableActionEvent migration

This commit ensures that the migration recreates onClick event properly

* Fix bug that caused an 'onBulkUpdate' event to be created during migration

* Remove EventSelector

* Add margin above `remove handler` button on Table actions inspector panel
2021-08-26 20:33:59 +05:30
navaneeth
f3e08a2d0f Set scrollable height for codehinter 2021-08-21 10:12:04 +05:30
navaneeth
636bf0bc4b Codehinter enhancements 2021-08-21 09:39:04 +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
f88411f01b
Feature: copy invitation link (#465)
* Send invitation tokens with the response to GET:organizations/users

* Add column in users table displaying 'copy invitation' button

This commit also makes the app generate corresponding invitation
URL and copies it to the clipboard.

* Add 'Copy invitation' button next to user's 'invited' status

This commit adds an icon button next to the 'invited' label
of users who are invited. Clicking on the button will copy the
corresponding invitation URL to clipboard, and will also
display a notification that says 'Invitation URL copied to clipboard'

* Remoce unnecessary import of Button

* Remove unnecessary empty line

* Remove unnecessary skeletal line

* Supply a newline at the end of theme.scss

* Show 'Copy invitation' button only for admins

* Send invitation token to front-end only if an admin is logged in

* Show 'copy invitation' button only if invitation token is available
2021-08-09 16:01:08 +05:30
Viraj Bahulkar
8c9a566850
Fix dropdown not visible inside table cell (#437) 2021-08-02 20:02:23 +05:30
Arpit Nath
88b914103c
Fix for incorrect position of user role dropdown (#438)
* dropdown selection role fix

* extra space/padding at the bottom of the select fix
2021-08-02 20:01:46 +05:30
Viraj Bahulkar
f837b31e0b
Fix input consistency in posgres GUI (#385)
* Fix input consistency in posgres GUI

* Add wrapper class to GUI select search element
2021-07-30 11:36:27 +05:30
Viraj Bahulkar
8bed7b39e1
Fix dark mode table header issue (#394) 2021-07-13 16:33:22 +05:30
Navaneeth Pk
9f9f833820
Set default operations for data sources (#378) 2021-07-04 01:21:20 +05:30
Navaneeth Pk
23df1b981f
UI fixes for query editor (#375) 2021-07-03 22:37:50 +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
8d29363a31
Bug fixes and improvements for inspector (#365) 2021-07-03 12:19:43 +05:30
Navaneeth Pk
cf2673d237
Feature: previews for CodeHinter fields (#334)
* Feature: previews for codehinter fields

* css fix
2021-06-26 22:53:00 +05:30
Navaneeth Pk
a770eeaa63
Chore: Use tabler spinner instead of custom css (#328) 2021-06-25 23:49:45 +05:30
Prasad Walvekar
301c385816
Show spinner while verifying slug uniqueness (#315)
* Show spinner while verifying slug uniqueness

* Rename variable
2021-06-25 18:22:32 +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