Commit graph

27 commits

Author SHA1 Message Date
deepeshgarg007
9f846f9a3b fix: Hide default arrow from select field in webforms 2019-11-09 22:03:27 +05:30
Shivam Mishra
9bbd627db8
Merge pull request #8702 from hrwX/align-dropdown
fix(Select): specify top for dropdown arrow
2019-10-30 10:37:59 +05:30
Himanshu
23b93ecfb5
Update controls.less 2019-10-29 17:17:50 +05:30
Himanshu Warekar
9904bbe387 fix: specify top for dropdown arrow 2019-10-29 16:16:28 +05:30
Faris Ansari
e9f0d8dd4e feat: Ability to block module cards for all users 2019-10-29 01:17:17 +05:30
Himanshu
b50d6c0815 feat: Select dropdown arrow (#8549)
* feat: select arrow

* fix: muted text and change px to em

* fix: Inject select icon

* fix: use wrapper instead of input_wrapper
2019-10-23 07:41:58 +00:00
Faris Ansari
f26c8895bd
feat: API to scan and get barcode from camera (#8415)
* feat: API to scan and get barcode from camera

- frappe.barcode.scan_barcode

* fix: Use cordova barcodeScanner in mobile app

* style: Undefined variable and no console
2019-09-14 15:14:03 +05:30
Faris Ansari
4a66d5284e
Merge pull request #7408 from scmmishra/web-form-refactor
Web Form Refactor
2019-06-25 18:52:09 +05:30
Faris Ansari
11e6782e37 fix: Move quill.less to controls.less 2019-06-21 11:39:01 +05:30
Faris Ansari
0d1f566e68 fix: Remove duplicated css 2019-06-20 13:56:05 +05:30
Faris Ansari
ec122c9d9f feat(control): Multi Select List 2019-06-13 21:27:30 +05:30
Faris Ansari
0b574a34b5
Merge branch 'develop' into desktop-fixes 2019-04-01 10:18:57 +05:30
Faris Ansari
65484367bd fix: Desktop
- Customize Shortcuts dialog
- Show / Hide cards dialog
- MultiSelect UI Pills
2019-03-29 13:16:11 +05:30
Mangesh-Khairnar
c9f8c4e40e refactor: move the css classes for star rating from website saas to control less file 2019-03-25 16:47:28 +05:30
Faris Ansari
3b86f16b73 New Control: Table MultiSelect (#6675)
* feat(control): Add Table MultiSelect control

* fix: Use btn-group instead of span

* fix: Remove functionality

* fix: Add 'Table MultiSelect' to Field doctypes

* fix: Replace usage of string 'Table' with array `table_fields`

* fix: Use internal array to store values instead of building from HTML elements

* fix(style): Add semicolon

* fix: Read only mode and click to navigate to form

* style: indent

* fix: fallback to empty array

* fix: Add formatters in js and py

* style: missing semicolon

* fix: Add docfield validation
2018-12-28 15:36:59 +05:30
Faris Ansari
8ec0bdc402 fix(HTMLEditor): Inherit HTML Editor from Markdown Editor (#6573) 2018-12-01 10:33:22 +05:30
Faris Ansari
8f730d0ffd fix(Markdown): Integrate with Ace editor 2018-11-26 13:06:35 +05:30
Suraj Shetty
e85589f46c HTML Editor control (#6237)
* Add HTML editor

* Add HTML editor map to db_schema.py

* Revert permission change
- ref #6218

* Fix typo

* Add HTML Editor entry to customize form field

* Update customize_form_field.json

* Update permissions.py

* Debounce preview generation

* Translate strings
2018-10-11 14:07:16 +05:30
Faris Ansari
fa359537bb fix: Datepicker styles (#6070) 2018-09-10 09:36:03 +05:30
Faris Ansari
adfc4d726f fix(css): Commonify awesomplete styles (#6029) 2018-08-29 16:12:32 +05:30
Prateeksha Singh
a0f497edcf [Refactor] Webforms (#5537)
* [webform] login and date control working

* [webform] text editor and autocomplete imports

* [webform] add utils (before commons) to web js

* [website][init] messages in website

* [webform][wip] date field

* [webform][purge] form via controls and values

* [webform] remove old extraneous get_data code

* [webform][purge] remove upload handler and other listeners

* [webform][new] WebForm object

* [webform] save docs

* [webform] edit profile

* [controls] import awesomplete in multiselect

* [webform] handle existing doc or new form

* [es-module] independence of grid control by import structure

* [webform] grid on website! Stage I

* [webform][grid] include meta, model and perm on website >.<

* [webform] fix payment details

* [webform][fix] get table fields

* [webform][test] remove server field html test as not required

* [webform] check document permission

* Rename WebForm.js to webform.js
2018-06-22 11:35:52 +05:30
Suraj Shetty
a93bc87363 Permission fixes (#5530)
* Add User Permissions to Config module

* Update Permission Manager help

* Fix share button

* Remove user-permissions page

* Remove unnecessary error modals

* User Permission UI fixes
- Fix double multicheck bug on save
- Add margin above and below select all button

* Update user_permissions dict realtime on client side

- Remove user_permissions from boot

* Cast permission dict values to int
2018-05-04 19:49:11 +05:30
Prateeksha Singh
03720775d0
Merge pull request #4967 from manassolanki/fix-data-column
fix the overflow in the controls
2018-02-05 12:01:50 +05:30
Manas Solanki
07181b37d7 fix the overflow in the controls 2018-02-05 11:56:41 +05:30
Faris Ansari
7595fb75ba
New ListView 💥 + DataTable (#4577)
* first cut

* Code refactoring, styling

* Added Sorting

* Revert query_report to use slickgrid

* cleanup

* Edit cell working

* Add regrid, remove datatable

* Add clusterize

* Update lib, fix get_checked_items

* New ReportView

* wip

* Enable editing, fix styles

* update lib

* wip

* fix refresh rows and editable cells

* Refresh list_view every 3s, decouple refreshing logic

* Report editing fixes

* Cleanup loading fields, add column then refresh list

* [wip] New List View

* [working] Render results

* ListView is now BaseList, add new ListView and GanttView

* Create new page for each ListView

* GanttView working

* CalendarView working

* KanbanView working

* Cache list_view based on page_name

* Gantt view buttons on mobile

* Add ReportView

* Refresh datatable on render

* Setup like

* [start][filters] clean up FilterList

* [filters] refactor FilterList

* [filters] minor fix

* [filters] fix remove filter

* filter utils

* more utils, remove apply

* rewrite as class, remove 'me' references

* [filter] implement on_change to decouple parent functions

* Integrate new filters with new BaseList

* Setup freeze area for ListView

* Set breadcrumbs on setup_page

* Trigger list update from events

* Setup footnote area

* Fix Kanban Board filters

* Add filters to standard filters, then filter_list

* Remove old files

* Fix ImageView

* Some more fixes for BaseList.init

* Fix order_by on load

* Report View: remember columns

* Fix for hidden filters

* Fix for delete items

* InboxView

* Shift select checkboxes

* Fix ESLint errors

* More refactoring

- Move ListMenu to Listview
- New FileView
- Ability to add custom breadcrumbs

* FileManager working

* Tags, set filters from route options

* Custom Reports Working

* List Sidebar reports

* Report Name as title

* Fix ESLint errors

* Fix UI tests

* Fix Kanban test

* Format ID column

* [fix] Kanban cards title

* Checkbox fix

* Fix Activity Page

* Update rows in Report in place

* Child Table columns in Report View
2017-12-27 11:24:25 +05:30
Manas Solanki
520bfc2ae4 New data import (#4601)
* created/moved the files

* added the model for the downloading the data

* add the file with the error data

* changes added other changes and fix codacy

* changes in the config and utils files

* fixed the test cases

* minor changes in the data keys dict

* changed the test file location

* fixed the tests

* set the route in the list view and show only erors

* minor fixes in the childtable import and log tables rendering

* Refactor Download dialog to use MultiCheck
2017-12-15 12:17:24 +05:30
Prateeksha Singh
d1aa5c60b4 [Multicheck control] (#4529)
* multicheck control

* [checkboxes] replace in domain settings

* [checkboxes] use in setup_wizard domains

* [multicheck] minor

* [multicheck] set and get value as an array

* [multicheck] make controls.less

* basic view control with value as array object

* load active domains

* selenium helper: multicheck

* [multicheck] make field if not present

* [multicheck] append control in an HTML field
2017-12-06 13:25:33 +05:30