Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Client Rewrite): List View #26807

Merged
merged 57 commits into from
Jul 1, 2024
Merged

Conversation

GursheenK
Copy link
Member

@GursheenK GursheenK commented Jun 20, 2024

Added List View for Desk.

List Controls
Screen.Recording.2024-06-20.at.6.16.51.PM.mov
List Column Settings
Screen.Recording.2024-06-20.at.6.05.14.PM.mov
Default & Saved Views
Screen.Recording.2024-06-20.at.6.39.19.PM.mov

Default View

  • In the default list view, DocFields which have the in_list_view check enabled are shown initially.
  • Any column changes like resizing, change of column sequence and change of labels are saved to the default view automatically.
  • Any sort selector changes like change of sort order or the sort field are also stored automatically.
  • On clicking the Reset to Default button, the customisations on top of the default view are erased.

Saved / Custom Views

  • One can optionally save a particular configuration of columns, filters and sorting as a named view to quickly navigate to it. These views are shown inside the View Switcher dropdown as saved views.
  • Any changes made to the Saved Views are not automatically saved until the user explicitly clicks on the Save Changes button inside the View Switcher dropdown.

no-docs

GursheenK and others added 30 commits May 17, 2024 18:26
Co-authored-by: Rucha Mahabal <24353136+ruchamahabal@users.noreply.github.com>
Co-authored-by: Rucha Mahabal <24353136+ruchamahabal@users.noreply.github.com>
Co-authored-by: Rucha Mahabal <24353136+ruchamahabal@users.noreply.github.com>
Co-authored-by: Rucha Mahabal <24353136+ruchamahabal@users.noreply.github.com>
- Move ViewSwitcher to LHS

- Fix ordering of List Controls

- Fix Sort Order Control width

Co-authored-by: Rucha Mahabal <24353136+ruchamahabal@users.noreply.github.com>
- sort order tooltip

Co-authored-by: Rucha Mahabal <24353136+ruchamahabal@users.noreply.github.com>
desk/src/utils/list.js Outdated Show resolved Hide resolved
desk/src/utils/list.js Outdated Show resolved Hide resolved
desk/src/utils/list.js Show resolved Hide resolved
desk/src/components/List/ListFilters.vue Show resolved Hide resolved
frappe/desk/doctype/view_config/view_config.py Outdated Show resolved Hide resolved
frappe/desk/doctype/view_config/view_config.py Outdated Show resolved Hide resolved
frappe/desk/doctype/view_config/view_config.py Outdated Show resolved Hide resolved
frappe/desk/doctype/view_config/view_config.py Outdated Show resolved Hide resolved
desk/src/components/List/ListFilters.vue Outdated Show resolved Hide resolved
@ruchamahabal ruchamahabal marked this pull request as ready for review July 1, 2024 08:32
@ruchamahabal ruchamahabal merged commit 4e7bb75 into frappe:client-rewrite Jul 1, 2024
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants