No description
Find a file
Devin Slauenwhite 19d211f1d2
feat: rearranging standard fields in customize form (#19822)
* feat: rearranging standing fields

* fix: fixed creation of property setter

* refactor: renamed setup_sortable

* fix: loading field_order property

* refactor: removed redundant db call

* fix: field_order not found

* test: Added tests for field order in customize form

* refactor: better naming

* refactor: simplified logic

* feat: Updating field order on custom field creation

* feat: Added support for custom fiels

* refactor: moving to meta

* refactor: changed property type to json

* fix: new standard field insert order.

* fix: don't modify insert_after of system generated custom fields.

# This is because system generated fields are to be treated as standard fields. If the user restores the form to default, this value will be used to reset the original position.

# The new position of form fields are stored in the field_order Property Setter.

* fix: treat system generated fields as standard fields when sorting.

* revert: check for is_system_generated

* Revert "fix: new standard field insert order."

This reverts commit 6cdbe42f28d5944165dd100a9bb9172463951fda.

* fix: prioritize field_order over insert_after.

# Use insert_after as fallback in event the field doesn't exist in field_order

* fix(test): delete existing custom field

* fix: order of standard fields without field_order property.

* Revert "Revert "fix: new standard field insert order.""

This reverts commit c830f1ba2fe1e602b09c11a897869d9992097c1e.

* test: field order of newly migrated standard fields.

* fix(test): clear test_standard_field from previous test run.

* fix: sort with insert_after for system generated fields.

* fix(test): reset standard field creation before re-run and after successful test.

* fix: insert_after position should be + 1

* chore: remove debug statement

* test: system generated customized fields

* chore: remove print

* chore: lint all

* fix: show quick link to Table MultiSelect DocTypes

* refactor: change backend implementation of `CustomizeForm` and `Meta`

* test: simplify tests

* fix: rename `idx` to `index` for clarity

* perf: define `existing_fields` conditionally

---------

Co-authored-by: Aradhya <aradhyatripathi51@gmail.com>
Co-authored-by: Aradhya Tripathi <67282231+Aradhya-Tripathi@users.noreply.github.com>
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2023-06-08 17:14:44 +05:30
.github chore: bump requests, chardet, and dropbox to latest versions (#21080) 2023-05-24 15:05:50 +05:30
cypress test: fixed failing UI test 2023-05-27 15:28:15 +05:30
esbuild fix(build): Propogate exit code from yarn build to bench build (#21084) 2023-05-23 15:47:13 +05:30
frappe feat: rearranging standard fields in customize form (#19822) 2023-06-08 17:14:44 +05:30
.editorconfig chore: editorconfig handle doctype.json files 2023-01-11 17:08:48 +05:30
.eslintignore fix: Miscellaneous changes (#12343) 2021-02-08 12:05:37 +05:30
.eslintrc refactor: Replace fluxify with vuex 2022-07-05 19:45:17 +05:30
.flake8 chore(flake8): ignore B028 (#19612) 2023-01-17 10:55:54 +05:30
.git-blame-ignore-revs chore: ignore redis.cache commit 2023-06-08 11:48:06 +05:30
.gitignore fix: Add missing licences for vendored library 2022-07-04 08:29:56 +05:30
.mergify.yml chore(mergify): remove dead branches 2023-02-10 21:28:30 +05:30
.pre-commit-config.yaml feat: setup wizard progress telemetry 2023-04-25 11:54:56 +05:30
.releaserc ci: better release notes generation (#19380) 2022-12-21 12:14:35 +05:30
attributions.md refactor: Itenticon 2022-08-11 23:53:21 +05:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-12 09:14:34 +05:30
codecov.yml ci: update codecov.yml flags 2023-01-10 13:19:12 +05:30
CODEOWNERS chore: remove even_streaming from CODEOWNERS 2022-08-26 00:39:41 +05:30
commitlint.config.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
cypress.config.js test(UI): use non-admin user for tests 2022-09-10 12:48:33 +05:30
generate_bootstrap_theme.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
hooks.md chore!: remove dead hooks app_icon & app_color 2022-05-10 14:41:01 +05:30
LICENSE chore: Update copyright until date to 2021 2021-09-03 12:19:15 +05:30
node_utils.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
package.json fix: vueflow & pinia setup 2023-05-01 15:41:55 +05:30
pyproject.toml chore: bump requests, chardet, and dropbox to latest versions (#21080) 2023-05-24 15:05:50 +05:30
README.md chore: update readme 2023-05-25 15:49:39 +05:30
SECURITY.md Update SECURITY.md 2023-01-10 16:49:44 +05:30
setup.py fix: Add temporary backwards compatible setup.py 2022-06-14 18:21:48 +05:30
sider.yml chore(sider): add sider default config for flake8 + ignore tab errors (W191) (#12587) 2021-03-16 17:07:41 +05:30
socketio.js perf: unsubscribe from list_update events (#20423) 2023-03-22 10:02:37 +05:30
yarn.lock fix: vueflow & pinia setup 2023-05-01 15:41:55 +05:30


a web framework with "batteries included"

it's pronounced - fra-pay

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext.

Login for the PWD site: (username: Administrator, password: admin)

Table of Contents

Installation

Production

Development

Contributing

  1. Code of Conduct
  2. Contribution Guidelines
  3. Security Policy
  4. Translations

Resources

  1. frappeframework.com - Official documentation of the Frappe Framework.
  2. frappe.school - Pick from the various courses by the maintainers or from the community.

License

This repository has been released under the MIT License.

By contributing to Frappe, you agree that your contributions will be licensed under its MIT License.